@JsonIgnore
  public Type getType() {
    return getEmit().stream()
        .findFirst()
        .filter(String.class::isInstance)
        .map(String.class::cast)
        .map(Type::fromValue)
        .orElse(Type.UNKNOWN);
  }
Gets the type of the request.

@return the type of the request
ethereum/ethstats/src/main/java/org/hyperledger/besu/ethstats/request/EthStatsRequest.java