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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OptionRepresentationasOptionRepresentation(String category, String key, String value) booleangetKey()getValue()inthashCode()booleanisFalse()booleanisTrue()voidsetCategory(String category) voidvoidMethods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setPropertyMethods 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
-