public class Permission extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
| Modifier and Type | Field and Description |
|---|---|
java.time.OffsetDateTime |
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 |
|---|---|
void |
setRawObject(com.microsoft.graph.serializer.ISerializer serializer,
com.google.gson.JsonObject json)
Sets the raw JSON object
|
additionalDataManager@SerializedName(value="expirationDateTime",
alternate="ExpirationDateTime")
@Expose
@Nullable
public java.time.OffsetDateTime expirationDateTime
@SerializedName(value="grantedTo",
alternate="GrantedTo")
@Expose
@Nullable
public IdentitySet grantedTo
@SerializedName(value="grantedToIdentities",
alternate="GrantedToIdentities")
@Expose
@Nullable
public java.util.List<IdentitySet> grantedToIdentities
@SerializedName(value="hasPassword",
alternate="HasPassword")
@Expose
@Nullable
public java.lang.Boolean hasPassword
@SerializedName(value="inheritedFrom",
alternate="InheritedFrom")
@Expose
@Nullable
public ItemReference inheritedFrom
@SerializedName(value="invitation",
alternate="Invitation")
@Expose
@Nullable
public SharingInvitation invitation
@SerializedName(value="link",
alternate="Link")
@Expose
@Nullable
public SharingLink link
@SerializedName(value="roles",
alternate="Roles")
@Expose
@Nullable
public java.util.List<java.lang.String> roles
@SerializedName(value="shareId",
alternate="ShareId")
@Expose
@Nullable
public java.lang.String shareId
public void setRawObject(@Nonnull
com.microsoft.graph.serializer.ISerializer serializer,
@Nonnull
com.google.gson.JsonObject json)
setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObjectsetRawObject in class Entityserializer - the serializerjson - the JSON object to set this object to