public class Permission extends Entity implements IJsonBackedObject
| Modifier and Type | Field and Description |
|---|---|
IdentitySet |
grantedTo
The Granted To.
|
ItemReference |
inheritedFrom
The Inherited From.
|
SharingInvitation |
invitation
The Invitation.
|
SharingLink |
link
The Link.
|
java.util.List<java.lang.String> |
roles
The Roles.
|
java.lang.String |
shareId
The Share Id.
|
| Constructor and Description |
|---|
Permission() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
getRawObject()
Gets the raw representation of this class
|
protected ISerializer |
getSerializer()
Gets serializer
|
void |
setRawObject(ISerializer serializer,
com.google.gson.JsonObject json)
Sets the raw JSON object
|
additionalDataManagerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadditionalDataManager@SerializedName(value="grantedTo") @Expose public IdentitySet grantedTo
@SerializedName(value="inheritedFrom") @Expose public ItemReference inheritedFrom
@SerializedName(value="invitation") @Expose public SharingInvitation invitation
@SerializedName(value="link") @Expose public SharingLink link
@SerializedName(value="roles") @Expose public java.util.List<java.lang.String> roles
@SerializedName(value="shareId") @Expose public java.lang.String shareId
public com.google.gson.JsonObject getRawObject()
getRawObject in class Entityprotected ISerializer getSerializer()
getSerializer in class Entitypublic void setRawObject(ISerializer serializer, com.google.gson.JsonObject json)
setRawObject in interface IJsonBackedObjectsetRawObject in class Entityserializer - the serializerjson - the JSON object to set this object to