public class OptionRepresentation extends BaseResourceRepresentation
Constructor and Description |
---|
OptionRepresentation() |
Modifier and Type | Method and Description |
---|---|
static OptionRepresentation |
asOptionRepresentation(String category,
String key,
String value) |
boolean |
equals(Object obj) |
String |
getCategory() |
String |
getKey() |
String |
getValue() |
int |
hashCode() |
boolean |
isFalse() |
boolean |
isTrue() |
void |
setCategory(String category) |
void |
setKey(String key) |
void |
setValue(String value) |
getSelf, getSelfDecoded, setSelf, toJSON, toString
public static OptionRepresentation asOptionRepresentation(String category, String key, String value)
@JSONProperty(ignoreIfNull=true) public String getCategory()
public void setCategory(String category)
@JSONProperty(ignoreIfNull=true) public String getKey()
public void setKey(String key)
@JSONProperty(ignoreIfNull=true) public String getValue()
public void setValue(String value)
@JSONProperty(ignore=true) public boolean isTrue()
@JSONProperty(ignore=true) public boolean isFalse()
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.