Class OptionRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.tenant.OptionRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation,org.svenson.DynamicProperties
public class OptionRepresentation extends AbstractExtensibleRepresentation
-
-
Constructor Summary
Constructors Constructor Description OptionRepresentation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OptionRepresentationasOptionRepresentation(String category, String key, String value)booleanequals(Object obj)StringgetCategory()StringgetKey()StringgetValue()inthashCode()booleanisFalse()booleanisTrue()voidsetCategory(String category)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
-
asOptionRepresentation
public static OptionRepresentation asOptionRepresentation(String category, String key, String value)
-
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)
-
isTrue
@JSONProperty(ignore=true) public boolean isTrue()
-
isFalse
@JSONProperty(ignore=true) public boolean isFalse()
-
-