@ExperimentalApi public class RestObject extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RestObject.Properties
Common property keys that may be present on a RestObject
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
jsonProperties |
Constructor and Description |
---|
RestObject() |
Modifier and Type | Method and Description |
---|---|
io.atlassian.fugue.Pair |
addProperty(io.atlassian.fugue.Pair<String,Object> keyValuePair) |
com.google.common.collect.ImmutableMap<String,Object> |
getProperties()
Deprecated.
since 7.0.1. Use
properties() |
Object |
getProperty(String key) |
boolean |
hasProperty(String key) |
Map<String,Object> |
properties() |
void |
putProperties(Map<String,Object> properties) |
com.atlassian.fugue.Pair |
putProperty(com.atlassian.fugue.Pair<String,Object> keyValuePair)
Deprecated.
since 7.0.1. Use
addProperty(Pair) |
Object |
putProperty(String key,
Object value) |
Object |
removeProperty(String key) |
@Deprecated public com.google.common.collect.ImmutableMap<String,Object> getProperties()
properties()
public boolean hasProperty(String key)
@Deprecated public final com.atlassian.fugue.Pair putProperty(com.atlassian.fugue.Pair<String,Object> keyValuePair)
addProperty(Pair)
public final io.atlassian.fugue.Pair addProperty(io.atlassian.fugue.Pair<String,Object> keyValuePair)
Copyright © 2003–2021 Atlassian. All rights reserved.