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.Stringemail()Get the email property: The email address provided for the recipient of the sharing invitation.MicrosoftGraphIdentitySetinvitedBy()Get the invitedBy property: identitySet.StringredeemedBy()Get the redeemedBy property: The redeemedBy property.BooleansignInRequired()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.MicrosoftGraphSharingInvitationwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: sharingInvitation.MicrosoftGraphSharingInvitationwithEmail(String email)Set the email property: The email address provided for the recipient of the sharing invitation.MicrosoftGraphSharingInvitationwithInvitedBy(MicrosoftGraphIdentitySet invitedBy)Set the invitedBy property: identitySet.MicrosoftGraphSharingInvitationwithRedeemedBy(String redeemedBy)Set the redeemedBy property: The redeemedBy property.MicrosoftGraphSharingInvitationwithSignInRequired(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.
-
-