Package com.microsoft.graph.models
Class Permission
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Permission
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Permission.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Expiration Date Time.Deprecated.The grantedTo property is deprecated.Deprecated.The grantedToIdentities property is deprecated.The Granted To Identities V2.The Granted To V2.The Has Password.The Inherited From.The Invitation.The Link.The Roles.The Share Id. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
expirationDateTime
@SerializedName(value="expirationDateTime", alternate="ExpirationDateTime") @Expose @Nullable public OffsetDateTime expirationDateTimeThe Expiration Date Time. A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there is no expiration set for this permission. Optional. -
grantedTo
@Deprecated @SerializedName(value="grantedTo", alternate="GrantedTo") @Expose @Nullable public IdentitySet grantedToDeprecated.The grantedTo property is deprecated. Please refer to grantedToV2The Granted To. -
grantedToIdentities
@Deprecated @SerializedName(value="grantedToIdentities", alternate="GrantedToIdentities") @Expose @Nullable public List<IdentitySet> grantedToIdentitiesDeprecated.The grantedToIdentities property is deprecated. Please refer to grantedToIdentitiesV2The Granted To Identities. -
grantedToIdentitiesV2
@SerializedName(value="grantedToIdentitiesV2", alternate="GrantedToIdentitiesV2") @Expose @Nullable public List<SharePointIdentitySet> grantedToIdentitiesV2The Granted To Identities V2. For link type permissions, the details of the users to whom permission was granted. Read-only. -
grantedToV2
@SerializedName(value="grantedToV2", alternate="GrantedToV2") @Expose @Nullable public SharePointIdentitySet grantedToV2The Granted To V2. For user type permissions, the details of the users and applications for this permission. Read-only. -
hasPassword
@SerializedName(value="hasPassword", alternate="HasPassword") @Expose @Nullable public Boolean hasPasswordThe Has Password. Indicates whether the password is set for this permission. This property only appears in the response. Optional. Read-only. For OneDrive Personal only.. -
inheritedFrom
@SerializedName(value="inheritedFrom", alternate="InheritedFrom") @Expose @Nullable public ItemReference inheritedFromThe Inherited From. Provides a reference to the ancestor of the current permission, if it is inherited from an ancestor. Read-only. -
invitation
@SerializedName(value="invitation", alternate="Invitation") @Expose @Nullable public SharingInvitation invitationThe Invitation. Details of any associated sharing invitation for this permission. Read-only. -
link
The Link. Provides the link details of the current permission, if it is a link type permissions. Read-only. -
roles
The Roles. The type of permission, for example, read. See below for the full list of roles. Read-only.
-
-
Constructor Details
-
Permission
public Permission()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-