public class Permission extends Entity implements IJsonBackedObject
Modifier and Type | Field and Description |
---|---|
java.util.Calendar |
expirationDateTime
The Expiration Date Time.
|
IdentitySet |
grantedTo
The Granted To.
|
java.util.List<IdentitySet> |
grantedToIdentities
The Granted To Identities.
|
java.lang.Boolean |
hasPassword
The Has Password.
|
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
|
additionalDataManager
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
additionalDataManager
@SerializedName(value="expirationDateTime", alternate="ExpirationDateTime") @Expose public java.util.Calendar expirationDateTime
@SerializedName(value="grantedTo", alternate="GrantedTo") @Expose public IdentitySet grantedTo
@SerializedName(value="grantedToIdentities", alternate="GrantedToIdentities") @Expose public java.util.List<IdentitySet> grantedToIdentities
@SerializedName(value="hasPassword", alternate="HasPassword") @Expose public java.lang.Boolean hasPassword
@SerializedName(value="inheritedFrom", alternate="InheritedFrom") @Expose public ItemReference inheritedFrom
@SerializedName(value="invitation", alternate="Invitation") @Expose public SharingInvitation invitation
@SerializedName(value="link", alternate="Link") @Expose public SharingLink link
@SerializedName(value="roles", alternate="Roles") @Expose public java.util.List<java.lang.String> roles
@SerializedName(value="shareId", alternate="ShareId") @Expose public java.lang.String shareId
public com.google.gson.JsonObject getRawObject()
getRawObject
in class Entity
protected ISerializer getSerializer()
getSerializer
in class Entity
public void setRawObject(ISerializer serializer, com.google.gson.JsonObject json)
setRawObject
in interface IJsonBackedObject
setRawObject
in class Entity
serializer
- the serializerjson
- the JSON object to set this object to