Class Invitation

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Invitation
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Invitation extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Invitation.
  • Field Details

    • invitedUserDisplayName

      @SerializedName(value="invitedUserDisplayName", alternate="InvitedUserDisplayName") @Expose @Nullable public String invitedUserDisplayName
      The Invited User Display Name. The display name of the user being invited.
    • invitedUserEmailAddress

      @SerializedName(value="invitedUserEmailAddress", alternate="InvitedUserEmailAddress") @Expose @Nullable public String invitedUserEmailAddress
      The Invited User Email Address. The email address of the user being invited. Required. The following special characters are not permitted in the email address:Tilde (~)Exclamation point (!)At sign (@)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Hyphen (-)Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (`
    • invitedUserMessageInfo

      @SerializedName(value="invitedUserMessageInfo", alternate="InvitedUserMessageInfo") @Expose @Nullable public InvitedUserMessageInfo invitedUserMessageInfo
      The Invited User Message Info. Additional configuration for the message being sent to the invited user, including customizing message text, language and cc recipient list.
    • invitedUserType

      @SerializedName(value="invitedUserType", alternate="InvitedUserType") @Expose @Nullable public String invitedUserType
      The Invited User Type. The userType of the user being invited. By default, this is Guest. You can invite as Member if you're are company administrator. The default is false.
    • inviteRedeemUrl

      @SerializedName(value="inviteRedeemUrl", alternate="InviteRedeemUrl") @Expose @Nullable public String inviteRedeemUrl
      The Invite Redeem Url. The URL the user can use to redeem their invitation. Read-only.
    • inviteRedirectUrl

      @SerializedName(value="inviteRedirectUrl", alternate="InviteRedirectUrl") @Expose @Nullable public String inviteRedirectUrl
      The Invite Redirect Url. The URL user should be redirected to once the invitation is redeemed. Required.
    • sendInvitationMessage

      @SerializedName(value="sendInvitationMessage", alternate="SendInvitationMessage") @Expose @Nullable public Boolean sendInvitationMessage
      The Send Invitation Message. Indicates whether an email should be sent to the user being invited. The default is false.
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public String status
      The Status. The status of the invitation. Possible values: PendingAcceptance, Completed, InProgress, and Error
    • invitedUser

      @SerializedName(value="invitedUser", alternate="InvitedUser") @Expose @Nullable public User invitedUser
      The Invited User. The user created as part of the invitation creation. Read-Only
  • Constructor Details

    • Invitation

      public Invitation()
  • 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to