Class MicrosoftGraphAutomaticRepliesSetting
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphAutomaticRepliesSetting
-
public final class MicrosoftGraphAutomaticRepliesSetting extends Object
automaticRepliesSetting.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphAutomaticRepliesSetting()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: automaticRepliesSetting.MicrosoftGraphExternalAudienceScope
externalAudience()
Get the externalAudience property: The externalAudience property.String
externalReplyMessage()
Get the externalReplyMessage property: The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled.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: The status property.void
validate()
Validates the instance.MicrosoftGraphAutomaticRepliesSetting
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: automaticRepliesSetting.MicrosoftGraphAutomaticRepliesSetting
withExternalAudience(MicrosoftGraphExternalAudienceScope externalAudience)
Set the externalAudience property: The externalAudience property.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: The status property.
-
-
-
Method Detail
-
externalAudience
public MicrosoftGraphExternalAudienceScope externalAudience()
Get the externalAudience property: The externalAudience property.- Returns:
- the externalAudience value.
-
withExternalAudience
public MicrosoftGraphAutomaticRepliesSetting withExternalAudience(MicrosoftGraphExternalAudienceScope externalAudience)
Set the externalAudience property: The externalAudience property.- Parameters:
externalAudience
- the externalAudience value to set.- Returns:
- the MicrosoftGraphAutomaticRepliesSetting object itself.
-
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.
-
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.
-
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.
-
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.
-
scheduledEndDateTime
public MicrosoftGraphDateTimeZone scheduledEndDateTime()
Get the scheduledEndDateTime property: dateTimeTimeZone.- Returns:
- the scheduledEndDateTime value.
-
withScheduledEndDateTime
public MicrosoftGraphAutomaticRepliesSetting withScheduledEndDateTime(MicrosoftGraphDateTimeZone scheduledEndDateTime)
Set the scheduledEndDateTime property: dateTimeTimeZone.- Parameters:
scheduledEndDateTime
- the scheduledEndDateTime value to set.- Returns:
- the MicrosoftGraphAutomaticRepliesSetting object itself.
-
scheduledStartDateTime
public MicrosoftGraphDateTimeZone scheduledStartDateTime()
Get the scheduledStartDateTime property: dateTimeTimeZone.- Returns:
- the scheduledStartDateTime value.
-
withScheduledStartDateTime
public MicrosoftGraphAutomaticRepliesSetting withScheduledStartDateTime(MicrosoftGraphDateTimeZone scheduledStartDateTime)
Set the scheduledStartDateTime property: dateTimeTimeZone.- Parameters:
scheduledStartDateTime
- the scheduledStartDateTime value to set.- Returns:
- the MicrosoftGraphAutomaticRepliesSetting object itself.
-
status
public MicrosoftGraphAutomaticRepliesStatus status()
Get the status property: The status property.- Returns:
- the status value.
-
withStatus
public MicrosoftGraphAutomaticRepliesSetting withStatus(MicrosoftGraphAutomaticRepliesStatus status)
Set the status property: The status property.- Parameters:
status
- the status value to set.- Returns:
- the MicrosoftGraphAutomaticRepliesSetting object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: automaticRepliesSetting.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphAutomaticRepliesSetting withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: automaticRepliesSetting.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphAutomaticRepliesSetting object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-