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
public class ExtensibleOptionRepresentation extends AbstractExtensibleRepresentation
-
-
Constructor Summary
Constructors Constructor Description ExtensibleOptionRepresentation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExtensibleOptionRepresentationasExtensibleOptionRepresentation(String category, String key, String value, boolean editable)StringgetCategory()BooleangetEditable()StringgetKey()StringgetValue()voidsetCategory(String category)voidsetEditable(Boolean editable)voidsetKey(String key)voidsetValue(String value)-
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
-
-
-
-
Method Detail
-
asExtensibleOptionRepresentation
public static ExtensibleOptionRepresentation asExtensibleOptionRepresentation(String category, String key, String value, boolean editable)
-
getCategory
@JSONProperty(ignoreIfNull=true) public String getCategory()
-
setCategory
public void setCategory(String category)
-
getKey
@JSONProperty(ignoreIfNull=true) public String getKey()
-
setKey
public void setKey(String key)
-
getValue
@JSONProperty(ignoreIfNull=true) public String getValue()
-
setValue
public void setValue(String value)
-
getEditable
@JSONProperty(ignoreIfNull=true) public Boolean getEditable()
-
setEditable
public void setEditable(Boolean editable)
-
-