MicrosoftGraphMailboxSettings Class

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

Implements

public final class MicrosoftGraphMailboxSettings
implements JsonSerializable<MicrosoftGraphMailboxSettings>

mailboxSettings.

Constructor Summary

Constructor Description
MicrosoftGraphMailboxSettings()

Creates an instance of MicrosoftGraphMailboxSettings class.

Method Summary

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

Get the additionalProperties property: mailboxSettings.

String archiveFolder()

Get the archiveFolder property: Folder ID of an archive folder for the user.

MicrosoftGraphAutomaticRepliesSetting automaticRepliesSetting()

Get the automaticRepliesSetting property: automaticRepliesSetting.

String dateFormat()

Get the dateFormat property: The date format for the user's mailbox.

MicrosoftGraphDelegateMeetingMessageDeliveryOptions delegateMeetingMessageDeliveryOptions()

Get the delegateMeetingMessageDeliveryOptions property: delegateMeetingMessageDeliveryOptions.

static MicrosoftGraphMailboxSettings fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphMailboxSettings from the JsonReader.

MicrosoftGraphLocaleInfo language()

Get the language property: localeInfo.

String timeFormat()

Get the timeFormat property: The time format for the user's mailbox.

String timeZone()

Get the timeZone property: The default time zone for the user's mailbox.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphMailboxSettings withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: mailboxSettings.

MicrosoftGraphMailboxSettings withArchiveFolder(String archiveFolder)

Set the archiveFolder property: Folder ID of an archive folder for the user.

MicrosoftGraphMailboxSettings withAutomaticRepliesSetting(MicrosoftGraphAutomaticRepliesSetting automaticRepliesSetting)

Set the automaticRepliesSetting property: automaticRepliesSetting.

MicrosoftGraphMailboxSettings withDateFormat(String dateFormat)

Set the dateFormat property: The date format for the user's mailbox.

MicrosoftGraphMailboxSettings withDelegateMeetingMessageDeliveryOptions(MicrosoftGraphDelegateMeetingMessageDeliveryOptions delegateMeetingMessageDeliveryOptions)

Set the delegateMeetingMessageDeliveryOptions property: delegateMeetingMessageDeliveryOptions.

MicrosoftGraphMailboxSettings withLanguage(MicrosoftGraphLocaleInfo language)

Set the language property: localeInfo.

MicrosoftGraphMailboxSettings withTimeFormat(String timeFormat)

Set the timeFormat property: The time format for the user's mailbox.

MicrosoftGraphMailboxSettings withTimeZone(String timeZone)

Set the timeZone property: The default time zone for the user's mailbox.

MicrosoftGraphMailboxSettings withWorkingHours(MicrosoftGraphWorkingHours workingHours)

Set the workingHours property: workingHours.

MicrosoftGraphWorkingHours workingHours()

Get the workingHours property: workingHours.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphMailboxSettings

public MicrosoftGraphMailboxSettings()

Creates an instance of MicrosoftGraphMailboxSettings class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: mailboxSettings.

Returns:

the additionalProperties value.

archiveFolder

public String archiveFolder()

Get the archiveFolder property: Folder ID of an archive folder for the user.

Returns:

the archiveFolder value.

automaticRepliesSetting

public MicrosoftGraphAutomaticRepliesSetting automaticRepliesSetting()

Get the automaticRepliesSetting property: automaticRepliesSetting.

Returns:

the automaticRepliesSetting value.

dateFormat

public String dateFormat()

Get the dateFormat property: The date format for the user's mailbox.

Returns:

the dateFormat value.

delegateMeetingMessageDeliveryOptions

public MicrosoftGraphDelegateMeetingMessageDeliveryOptions delegateMeetingMessageDeliveryOptions()

Get the delegateMeetingMessageDeliveryOptions property: delegateMeetingMessageDeliveryOptions.

Returns:

the delegateMeetingMessageDeliveryOptions value.

fromJson

public static MicrosoftGraphMailboxSettings fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphMailboxSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

language

public MicrosoftGraphLocaleInfo language()

Get the language property: localeInfo.

Returns:

the language value.

timeFormat

public String timeFormat()

Get the timeFormat property: The time format for the user's mailbox.

Returns:

the timeFormat value.

timeZone

public String timeZone()

Get the timeZone property: The default time zone for the user's mailbox.

Returns:

the timeZone value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphMailboxSettings withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: mailboxSettings.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphMailboxSettings object itself.

withArchiveFolder

public MicrosoftGraphMailboxSettings withArchiveFolder(String archiveFolder)

Set the archiveFolder property: Folder ID of an archive folder for the user.

Parameters:

archiveFolder - the archiveFolder value to set.

Returns:

the MicrosoftGraphMailboxSettings object itself.

withAutomaticRepliesSetting

public MicrosoftGraphMailboxSettings withAutomaticRepliesSetting(MicrosoftGraphAutomaticRepliesSetting automaticRepliesSetting)

Set the automaticRepliesSetting property: automaticRepliesSetting.

Parameters:

automaticRepliesSetting - the automaticRepliesSetting value to set.

Returns:

the MicrosoftGraphMailboxSettings object itself.

withDateFormat

public MicrosoftGraphMailboxSettings withDateFormat(String dateFormat)

Set the dateFormat property: The date format for the user's mailbox.

Parameters:

dateFormat - the dateFormat value to set.

Returns:

the MicrosoftGraphMailboxSettings object itself.

withDelegateMeetingMessageDeliveryOptions

public MicrosoftGraphMailboxSettings withDelegateMeetingMessageDeliveryOptions(MicrosoftGraphDelegateMeetingMessageDeliveryOptions delegateMeetingMessageDeliveryOptions)

Set the delegateMeetingMessageDeliveryOptions property: delegateMeetingMessageDeliveryOptions.

Parameters:

delegateMeetingMessageDeliveryOptions - the delegateMeetingMessageDeliveryOptions value to set.

Returns:

the MicrosoftGraphMailboxSettings object itself.

withLanguage

public MicrosoftGraphMailboxSettings withLanguage(MicrosoftGraphLocaleInfo language)

Set the language property: localeInfo.

Parameters:

language - the language value to set.

Returns:

the MicrosoftGraphMailboxSettings object itself.

withTimeFormat

public MicrosoftGraphMailboxSettings withTimeFormat(String timeFormat)

Set the timeFormat property: The time format for the user's mailbox.

Parameters:

timeFormat - the timeFormat value to set.

Returns:

the MicrosoftGraphMailboxSettings object itself.

withTimeZone

public MicrosoftGraphMailboxSettings withTimeZone(String timeZone)

Set the timeZone property: The default time zone for the user's mailbox.

Parameters:

timeZone - the timeZone value to set.

Returns:

the MicrosoftGraphMailboxSettings object itself.

withWorkingHours

public MicrosoftGraphMailboxSettings withWorkingHours(MicrosoftGraphWorkingHours workingHours)

Set the workingHours property: workingHours.

Parameters:

workingHours - the workingHours value to set.

Returns:

the MicrosoftGraphMailboxSettings object itself.

workingHours

public MicrosoftGraphWorkingHours workingHours()

Get the workingHours property: workingHours.

Returns:

the workingHours value.

Applies to