Class ConfigurationOptionRepresentation
java.lang.Object
com.cumulocity.rest.representation.BaseResourceRepresentation
com.cumulocity.rest.representation.AbstractExtensibleRepresentation
com.cumulocity.rest.representation.application.microservice.ConfigurationOptionRepresentation
- All Implemented Interfaces:
ResourceRepresentation
,org.svenson.DynamicProperties
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionConfigurationOptionRepresentation
(String key, String defaultValue, boolean editable, ConfigurationOptionSchemaRepresentation valueSchema) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
getKey()
int
hashCode()
boolean
void
setDefaultValue
(String defaultValue) void
setEditable
(boolean editable) void
void
setValueSchema
(ConfigurationOptionSchemaRepresentation valueSchema) toString()
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
-
Constructor Details
-
ConfigurationOptionRepresentation
public ConfigurationOptionRepresentation() -
ConfigurationOptionRepresentation
public ConfigurationOptionRepresentation(String key, String defaultValue, boolean editable, ConfigurationOptionSchemaRepresentation valueSchema)
-
-
Method Details
-
builder
-
setKey
-
setDefaultValue
-
setEditable
public void setEditable(boolean editable) -
setValueSchema
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classBaseResourceRepresentation
-
getKey
-
getDefaultValue
-
isEditable
@JSONProperty(ignoreIfNull=true) public boolean isEditable() -
getValueSchema
-