Class ExtensibleOptionRepresentation
java.lang.Object
com.cumulocity.rest.representation.BaseResourceRepresentation
com.cumulocity.rest.representation.AbstractExtensibleRepresentation
com.cumulocity.rest.representation.tenant.ExtensibleOptionRepresentation
- All Implemented Interfaces:
ResourceRepresentation
,org.svenson.DynamicProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasExtensibleOptionRepresentation
(String category, String key, String value, boolean editable) getKey()
getValue()
void
setCategory
(String category) void
setEditable
(Boolean editable) void
void
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON, toString
-
Constructor Details
-
ExtensibleOptionRepresentation
public ExtensibleOptionRepresentation()
-
-
Method Details
-
asExtensibleOptionRepresentation
public static ExtensibleOptionRepresentation asExtensibleOptionRepresentation(String category, String key, String value, boolean editable) -
getCategory
-
setCategory
-
getKey
-
setKey
-
getValue
-
setValue
-
getEditable
-
setEditable
-