Class AppCenterIsKeyApplicableResponse.AdditionalInfo
java.lang.Object
io.openems.common.jsonrpc.response.AppCenterIsKeyApplicableResponse.AdditionalInfo
- Enclosing class:
AppCenterIsKeyApplicableResponse
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAdditionalInfo
(String keyId, List<AppCenterGetPossibleAppsResponse.Bundle> bundles, List<AppCenterIsKeyApplicableResponse.Registration> registrations, List<AppCenterIsKeyApplicableResponse.Usage> usages) -
Method Summary
Modifier and TypeMethodDescriptionstatic final AppCenterIsKeyApplicableResponse.AdditionalInfo
from
(com.google.gson.JsonObject jsonObject) Creates aAppCenterIsKeyApplicableResponse.AdditionalInfo
from anJsonObject
.final com.google.gson.JsonObject
Creates aJsonObject
of this object.
-
Field Details
-
keyId
-
bundles
-
registrations
-
usages
-
-
Constructor Details
-
AdditionalInfo
public AdditionalInfo(String keyId, List<AppCenterGetPossibleAppsResponse.Bundle> bundles, List<AppCenterIsKeyApplicableResponse.Registration> registrations, List<AppCenterIsKeyApplicableResponse.Usage> usages)
-
-
Method Details
-
from
public static final AppCenterIsKeyApplicableResponse.AdditionalInfo from(com.google.gson.JsonObject jsonObject) throws OpenemsError.OpenemsNamedException Creates aAppCenterIsKeyApplicableResponse.AdditionalInfo
from anJsonObject
.- Parameters:
jsonObject
- theJsonObject
to parse- Returns:
- the
AppCenterIsKeyApplicableResponse.AdditionalInfo
- Throws:
OpenemsError.OpenemsNamedException
-
toJsonObject
public final com.google.gson.JsonObject toJsonObject()Creates aJsonObject
of this object.- Returns:
- the
JsonObject
-