MicrosoftGraphAutomaticRepliesSetting Class

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

Implements

public final class MicrosoftGraphAutomaticRepliesSetting
implements JsonSerializable<MicrosoftGraphAutomaticRepliesSetting>

automaticRepliesSetting.

Constructor Summary

Constructor Description
MicrosoftGraphAutomaticRepliesSetting()

Creates an instance of MicrosoftGraphAutomaticRepliesSetting class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: automaticRepliesSetting.

MicrosoftGraphExternalAudienceScope externalAudience()

Get the externalAudience property: externalAudienceScope.

String externalReplyMessage()

Get the externalReplyMessage property: The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled.

static MicrosoftGraphAutomaticRepliesSetting fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphAutomaticRepliesSetting from the JsonReader.

String internalReplyMessage()

Get the internalReplyMessage property: The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled.

MicrosoftGraphDateTimeZone scheduledEndDateTime()

Get the scheduledEndDateTime property: dateTimeTimeZone.

MicrosoftGraphDateTimeZone scheduledStartDateTime()

Get the scheduledStartDateTime property: dateTimeTimeZone.

MicrosoftGraphAutomaticRepliesStatus status()

Get the status property: automaticRepliesStatus.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphAutomaticRepliesSetting withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: automaticRepliesSetting.

MicrosoftGraphAutomaticRepliesSetting withExternalAudience(MicrosoftGraphExternalAudienceScope externalAudience)

Set the externalAudience property: externalAudienceScope.

MicrosoftGraphAutomaticRepliesSetting withExternalReplyMessage(String externalReplyMessage)

Set the externalReplyMessage property: The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled.

MicrosoftGraphAutomaticRepliesSetting withInternalReplyMessage(String internalReplyMessage)

Set the internalReplyMessage property: The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled.

MicrosoftGraphAutomaticRepliesSetting withScheduledEndDateTime(MicrosoftGraphDateTimeZone scheduledEndDateTime)

Set the scheduledEndDateTime property: dateTimeTimeZone.

MicrosoftGraphAutomaticRepliesSetting withScheduledStartDateTime(MicrosoftGraphDateTimeZone scheduledStartDateTime)

Set the scheduledStartDateTime property: dateTimeTimeZone.

MicrosoftGraphAutomaticRepliesSetting withStatus(MicrosoftGraphAutomaticRepliesStatus status)

Set the status property: automaticRepliesStatus.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphAutomaticRepliesSetting

public MicrosoftGraphAutomaticRepliesSetting()

Creates an instance of MicrosoftGraphAutomaticRepliesSetting class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: automaticRepliesSetting.

Returns:

the additionalProperties value.

externalAudience

public MicrosoftGraphExternalAudienceScope externalAudience()

Get the externalAudience property: externalAudienceScope.

Returns:

the externalAudience value.

externalReplyMessage

public String externalReplyMessage()

Get the externalReplyMessage property: The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled.

Returns:

the externalReplyMessage value.

fromJson

public static MicrosoftGraphAutomaticRepliesSetting fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphAutomaticRepliesSetting from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphAutomaticRepliesSetting 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 MicrosoftGraphAutomaticRepliesSetting.

internalReplyMessage

public String internalReplyMessage()

Get the internalReplyMessage property: The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled.

Returns:

the internalReplyMessage value.

scheduledEndDateTime

public MicrosoftGraphDateTimeZone scheduledEndDateTime()

Get the scheduledEndDateTime property: dateTimeTimeZone.

Returns:

the scheduledEndDateTime value.

scheduledStartDateTime

public MicrosoftGraphDateTimeZone scheduledStartDateTime()

Get the scheduledStartDateTime property: dateTimeTimeZone.

Returns:

the scheduledStartDateTime value.

status

public MicrosoftGraphAutomaticRepliesStatus status()

Get the status property: automaticRepliesStatus.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphAutomaticRepliesSetting withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: automaticRepliesSetting.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphAutomaticRepliesSetting object itself.

withExternalAudience

public MicrosoftGraphAutomaticRepliesSetting withExternalAudience(MicrosoftGraphExternalAudienceScope externalAudience)

Set the externalAudience property: externalAudienceScope.

Parameters:

externalAudience - the externalAudience value to set.

Returns:

the MicrosoftGraphAutomaticRepliesSetting object itself.

withExternalReplyMessage

public MicrosoftGraphAutomaticRepliesSetting withExternalReplyMessage(String externalReplyMessage)

Set the externalReplyMessage property: The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled.

Parameters:

externalReplyMessage - the externalReplyMessage value to set.

Returns:

the MicrosoftGraphAutomaticRepliesSetting object itself.

withInternalReplyMessage

public MicrosoftGraphAutomaticRepliesSetting withInternalReplyMessage(String internalReplyMessage)

Set the internalReplyMessage property: The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled.

Parameters:

internalReplyMessage - the internalReplyMessage value to set.

Returns:

the MicrosoftGraphAutomaticRepliesSetting object itself.

withScheduledEndDateTime

public MicrosoftGraphAutomaticRepliesSetting withScheduledEndDateTime(MicrosoftGraphDateTimeZone scheduledEndDateTime)

Set the scheduledEndDateTime property: dateTimeTimeZone.

Parameters:

scheduledEndDateTime - the scheduledEndDateTime value to set.

Returns:

the MicrosoftGraphAutomaticRepliesSetting object itself.

withScheduledStartDateTime

public MicrosoftGraphAutomaticRepliesSetting withScheduledStartDateTime(MicrosoftGraphDateTimeZone scheduledStartDateTime)

Set the scheduledStartDateTime property: dateTimeTimeZone.

Parameters:

scheduledStartDateTime - the scheduledStartDateTime value to set.

Returns:

the MicrosoftGraphAutomaticRepliesSetting object itself.

withStatus

public MicrosoftGraphAutomaticRepliesSetting withStatus(MicrosoftGraphAutomaticRepliesStatus status)

Set the status property: automaticRepliesStatus.

Parameters:

status - the status value to set.

Returns:

the MicrosoftGraphAutomaticRepliesSetting object itself.

Applies to