Class MicrosoftGraphSharingInvitation
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSharingInvitation
-
public final class MicrosoftGraphSharingInvitation extends Object
sharingInvitation.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphSharingInvitation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: sharingInvitation.String
email()
Get the email property: The email address provided for the recipient of the sharing invitation.MicrosoftGraphIdentitySet
invitedBy()
Get the invitedBy property: identitySet.String
redeemedBy()
Get the redeemedBy property: The redeemedBy property.Boolean
signInRequired()
Get the signInRequired property: If true the recipient of the invitation needs to sign in in order to access the shared item.void
validate()
Validates the instance.MicrosoftGraphSharingInvitation
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: sharingInvitation.MicrosoftGraphSharingInvitation
withEmail(String email)
Set the email property: The email address provided for the recipient of the sharing invitation.MicrosoftGraphSharingInvitation
withInvitedBy(MicrosoftGraphIdentitySet invitedBy)
Set the invitedBy property: identitySet.MicrosoftGraphSharingInvitation
withRedeemedBy(String redeemedBy)
Set the redeemedBy property: The redeemedBy property.MicrosoftGraphSharingInvitation
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.
-
-
-
Method Detail
-
email
public String email()
Get the email property: The email address provided for the recipient of the sharing invitation. Read-only.- Returns:
- the email value.
-
withEmail
public MicrosoftGraphSharingInvitation withEmail(String email)
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
public MicrosoftGraphIdentitySet invitedBy()
Get the invitedBy property: identitySet.- Returns:
- the invitedBy value.
-
withInvitedBy
public MicrosoftGraphSharingInvitation withInvitedBy(MicrosoftGraphIdentitySet invitedBy)
Set the invitedBy property: identitySet.- Parameters:
invitedBy
- the invitedBy value to set.- Returns:
- the MicrosoftGraphSharingInvitation object itself.
-
redeemedBy
public String redeemedBy()
Get the redeemedBy property: The redeemedBy property.- Returns:
- the redeemedBy value.
-
withRedeemedBy
public MicrosoftGraphSharingInvitation withRedeemedBy(String redeemedBy)
Set the redeemedBy property: The redeemedBy property.- Parameters:
redeemedBy
- the redeemedBy value to set.- Returns:
- the MicrosoftGraphSharingInvitation object itself.
-
signInRequired
public Boolean 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
public MicrosoftGraphSharingInvitation 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. Read-only.- Parameters:
signInRequired
- the signInRequired value to set.- Returns:
- the MicrosoftGraphSharingInvitation object itself.
-
additionalProperties
public Map<String,Object> 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.
-
-