com.atlassian.confluence.api.model.content.id
Class JsonContentPropertyId
java.lang.Object
com.atlassian.confluence.api.model.content.id.JsonContentPropertyId
@ExperimentalApi
public class JsonContentPropertyId
- extends Object
Identifies a JsonContentProperty instance.
- Since:
- 5.6
UNSET
public static final ContentId UNSET
deserialise
public static JsonContentPropertyId deserialise(String id)
throws BadRequestException
- Throws:
BadRequestException
of
public static JsonContentPropertyId of(long id)
serialise
public String serialise()
asLong
public long asLong()
isSet
public boolean isSet()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
valueOf
@Deprecated
public static JsonContentPropertyId valueOf(String id)
throws BadRequestException
- Deprecated. since 5.6 Don't use. Use
deserialise(String) instead.
- Just for Jersey QueryParam automatic conversion.
Client code should use the deserialize factory method.
- Throws:
BadRequestException
Copyright © 2003–2015 Atlassian. All rights reserved.