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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OptionRepresentation
asOptionRepresentation
(String category, String key, String value) boolean
getKey()
getValue()
int
hashCode()
boolean
isFalse()
boolean
isTrue()
void
setCategory
(String category) 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
-
OptionRepresentation
public OptionRepresentation()
-
-
Method Details
-
asOptionRepresentation
public static OptionRepresentation asOptionRepresentation(String category, String key, String value) -
getCategory
-
setCategory
-
getKey
-
setKey
-
getValue
-
setValue
-
isTrue
@JSONProperty(ignore=true) public boolean isTrue() -
isFalse
@JSONProperty(ignore=true) public boolean isFalse() -
hashCode
public int hashCode() -
equals
-