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 class
OptionsRepresentation.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.OptionsRepresentationBuilder
builder()
String
getProperty(String name)
boolean
hasProperty(String name)
Set<String>
propertyNames()
Object
removeProperty(String name)
void
setProperty(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:
getProperty
in interfaceorg.svenson.DynamicProperties
- Overrides:
getProperty
in classAbstractExtensibleRepresentation
-
setProperty
public void setProperty(String name, Object value)
- Specified by:
setProperty
in interfaceorg.svenson.DynamicProperties
- Overrides:
setProperty
in classAbstractExtensibleRepresentation
-
propertyNames
public Set<String> propertyNames()
- Specified by:
propertyNames
in interfaceorg.svenson.DynamicProperties
- Overrides:
propertyNames
in classAbstractExtensibleRepresentation
-
hasProperty
public boolean hasProperty(String name)
- Specified by:
hasProperty
in interfaceorg.svenson.DynamicProperties
- Overrides:
hasProperty
in classAbstractExtensibleRepresentation
-
removeProperty
public Object removeProperty(String name)
- Specified by:
removeProperty
in interfaceorg.svenson.DynamicProperties
- Overrides:
removeProperty
in classAbstractExtensibleRepresentation
-
builder
public static OptionsRepresentation.OptionsRepresentationBuilder builder()
-
-