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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionConfigurationOptionRepresentation(String key, String defaultValue, boolean editable, ConfigurationOptionSchemaRepresentation valueSchema) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetKey()inthashCode()booleanvoidsetDefaultValue(String defaultValue) voidsetEditable(boolean editable) voidvoidsetValueSchema(ConfigurationOptionSchemaRepresentation valueSchema) toString()Methods 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
-
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:
toStringin classBaseResourceRepresentation
-
getKey
-
getDefaultValue
-
isEditable
@JSONProperty(ignoreIfNull=true) public boolean isEditable() -
getValueSchema
-