Class AppCenterGetInstalledAppsResponse.Instance
java.lang.Object
io.openems.common.jsonrpc.response.AppCenterGetInstalledAppsResponse.Instance
- Enclosing class:
AppCenterGetInstalledAppsResponse
Represents a OpenemsAppInstance from a
AppCenterGetInstalledAppsResponse
.
{
"appId": "App.Api.ModbusTcp.ReadOnly",
"instanceId": UUID
}
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final AppCenterGetInstalledAppsResponse.Instance
from
(com.google.gson.JsonObject jsonObject) Creates aAppCenterGetInstalledAppsResponse.Instance
from aJsonObject
.final com.google.gson.JsonObject
Gets this object as aJsonObject
.
-
Field Details
-
appId
-
instanceId
-
-
Constructor Details
-
Instance
-
-
Method Details
-
from
public static final AppCenterGetInstalledAppsResponse.Instance from(com.google.gson.JsonObject jsonObject) Creates aAppCenterGetInstalledAppsResponse.Instance
from aJsonObject
.- Parameters:
jsonObject
- theJsonObject
to parse.- Returns:
AppCenterGetInstalledAppsResponse.Instance
-
toJsonObject
public final com.google.gson.JsonObject toJsonObject()Gets this object as aJsonObject
.- Returns:
- the
JsonObject
-