Class MicrosoftGraphSharingInvitation
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSharingInvitation
sharingInvitation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphSharingInvitation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: sharingInvitation.email()Get the email property: The email address provided for the recipient of the sharing invitation.Get the invitedBy property: identitySet.Get the redeemedBy property: The redeemedBy property.Get the signInRequired property: If true the recipient of the invitation needs to sign in in order to access the shared item.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: sharingInvitation.Set the email property: The email address provided for the recipient of the sharing invitation.withInvitedBy(MicrosoftGraphIdentitySet invitedBy) Set the invitedBy property: identitySet.withRedeemedBy(String redeemedBy) Set the redeemedBy property: The redeemedBy property.withSignInRequired(Boolean signInRequired) Set the signInRequired property: If true the recipient of the invitation needs to sign in in order to access the shared item.
-
Constructor Details
-
MicrosoftGraphSharingInvitation
public MicrosoftGraphSharingInvitation()Creates an instance of MicrosoftGraphSharingInvitation class.
-
-
Method Details
-
email
Get the email property: The email address provided for the recipient of the sharing invitation. Read-only.- Returns:
- the email value.
-
withEmail
Set the email property: The email address provided for the recipient of the sharing invitation. Read-only.- Parameters:
email- the email value to set.- Returns:
- the MicrosoftGraphSharingInvitation object itself.
-
invitedBy
Get the invitedBy property: identitySet.- Returns:
- the invitedBy value.
-
withInvitedBy
Set the invitedBy property: identitySet.- Parameters:
invitedBy- the invitedBy value to set.- Returns:
- the MicrosoftGraphSharingInvitation object itself.
-
redeemedBy
Get the redeemedBy property: The redeemedBy property.- Returns:
- the redeemedBy value.
-
withRedeemedBy
Set the redeemedBy property: The redeemedBy property.- Parameters:
redeemedBy- the redeemedBy value to set.- Returns:
- the MicrosoftGraphSharingInvitation object itself.
-
signInRequired
Get the signInRequired property: If true the recipient of the invitation needs to sign in in order to access the shared item. Read-only.- Returns:
- the signInRequired value.
-
withSignInRequired
Set the signInRequired property: If true the recipient of the invitation needs to sign in in order to access the shared item. Read-only.- Parameters:
signInRequired- the signInRequired value to set.- Returns:
- the MicrosoftGraphSharingInvitation object itself.
-
additionalProperties
Get the additionalProperties property: sharingInvitation.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphSharingInvitation withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: sharingInvitation.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphSharingInvitation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-