Class RestObject
- java.lang.Object
-
- com.atlassian.confluence.rest.api.model.RestObject
-
- Direct Known Subclasses:
RestEntity
,RestList
@ExperimentalApi public class RestObject extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RestObject.Properties
Common property keys that may be present on a RestObject
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Object>
jsonProperties
-
Constructor Summary
Constructors Constructor Description RestObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description io.atlassian.fugue.Pair
addProperty(io.atlassian.fugue.Pair<String,Object> keyValuePair)
Deprecated.since 7.20 useputProperty(String, Object)
com.google.common.collect.ImmutableMap<String,Object>
getProperties()
Deprecated.since 7.0.1.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.Object
putProperty(String key, Object value)
Object
removeProperty(String key)
-
-
-
Method Detail
-
getProperties
@Deprecated public com.google.common.collect.ImmutableMap<String,Object> getProperties()
Deprecated.since 7.0.1. Useproperties()
-
hasProperty
public boolean hasProperty(String key)
-
putProperty
@Deprecated public final com.atlassian.fugue.Pair putProperty(com.atlassian.fugue.Pair<String,Object> keyValuePair)
Deprecated.since 7.0.1. UseaddProperty(Pair)
-
addProperty
@Deprecated public final io.atlassian.fugue.Pair addProperty(io.atlassian.fugue.Pair<String,Object> keyValuePair)
Deprecated.since 7.20 useputProperty(String, Object)
- Since:
- 7.0.1
-
-