Class MicrosoftGraphSharingInvitation

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSharingInvitation

public final class MicrosoftGraphSharingInvitation extends Object
sharingInvitation.
  • Constructor Details

    • MicrosoftGraphSharingInvitation

      public MicrosoftGraphSharingInvitation()
      Creates an instance of MicrosoftGraphSharingInvitation class.
  • Method Details

    • 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

      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.