MicrosoftGraphSharingInvitation Class

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

Implements

public final class MicrosoftGraphSharingInvitation
implements JsonSerializable<MicrosoftGraphSharingInvitation>

sharingInvitation.

Constructor Summary

Constructor Description
MicrosoftGraphSharingInvitation()

Creates an instance of MicrosoftGraphSharingInvitation class.

Method Summary

Modifier and Type Method and 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.

static MicrosoftGraphSharingInvitation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSharingInvitation from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphSharingInvitation

public MicrosoftGraphSharingInvitation()

Creates an instance of MicrosoftGraphSharingInvitation class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: sharingInvitation.

Returns:

the additionalProperties value.

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.

fromJson

public static MicrosoftGraphSharingInvitation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSharingInvitation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphSharingInvitation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphSharingInvitation.

invitedBy

public MicrosoftGraphIdentitySet invitedBy()

Get the invitedBy property: identitySet.

Returns:

the invitedBy value.

redeemedBy

public String redeemedBy()

Get the redeemedBy property: The redeemedBy property.

Returns:

the redeemedBy value.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphSharingInvitation withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: sharingInvitation.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphSharingInvitation object itself.

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.

withInvitedBy

public MicrosoftGraphSharingInvitation withInvitedBy(MicrosoftGraphIdentitySet invitedBy)

Set the invitedBy property: identitySet.

Parameters:

invitedBy - the invitedBy value to set.

Returns:

the MicrosoftGraphSharingInvitation object itself.

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.

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.

Applies to