public class GetFieldNamesRequest extends JsonrpcRequest
{ "jsonrpc": "2.0", "id": "UUID", "method": "getMeters", "params": { "meterId": String } }
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
METHOD |
JSONRPC_VERSION
Constructor and Description |
---|
GetFieldNamesRequest(java.lang.String meterId) |
GetFieldNamesRequest(java.util.UUID id,
java.lang.String meterId) |
Modifier and Type | Method and Description |
---|---|
static GetFieldNamesRequest |
from(JsonrpcRequest r) |
java.lang.String |
getMeterId() |
com.google.gson.JsonObject |
getParams() |
getId, toJsonObject
getMethod
from, from, toString
public static final java.lang.String METHOD
public GetFieldNamesRequest(java.lang.String meterId)
public GetFieldNamesRequest(java.util.UUID id, java.lang.String meterId)
public static GetFieldNamesRequest from(JsonrpcRequest r) throws OpenemsError.OpenemsNamedException
public java.lang.String getMeterId()
public com.google.gson.JsonObject getParams()
getParams
in class AbstractJsonrpcRequest