Class OptionsRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.tenant.OptionsRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation,org.svenson.DynamicProperties
public class OptionsRepresentation extends AbstractExtensibleRepresentation implements org.svenson.DynamicProperties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOptionsRepresentation.OptionsRepresentationBuilder
-
Constructor Summary
Constructors Constructor Description OptionsRepresentation()OptionsRepresentation(Map<String,Object> properties)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OptionsRepresentation.OptionsRepresentationBuilderbuilder()StringgetProperty(String name)booleanhasProperty(String name)Set<String>propertyNames()ObjectremoveProperty(String name)voidsetProperty(String name, Object value)-
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, set, set, set, setAttrs
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON, toString
-
-
-
-
Method Detail
-
getProperty
public String getProperty(String name)
- Specified by:
getPropertyin interfaceorg.svenson.DynamicProperties- Overrides:
getPropertyin classAbstractExtensibleRepresentation
-
setProperty
public void setProperty(String name, Object value)
- Specified by:
setPropertyin interfaceorg.svenson.DynamicProperties- Overrides:
setPropertyin classAbstractExtensibleRepresentation
-
propertyNames
public Set<String> propertyNames()
- Specified by:
propertyNamesin interfaceorg.svenson.DynamicProperties- Overrides:
propertyNamesin classAbstractExtensibleRepresentation
-
hasProperty
public boolean hasProperty(String name)
- Specified by:
hasPropertyin interfaceorg.svenson.DynamicProperties- Overrides:
hasPropertyin classAbstractExtensibleRepresentation
-
removeProperty
public Object removeProperty(String name)
- Specified by:
removePropertyin interfaceorg.svenson.DynamicProperties- Overrides:
removePropertyin classAbstractExtensibleRepresentation
-
builder
public static OptionsRepresentation.OptionsRepresentationBuilder builder()
-
-