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