Class: MicrosoftGraph::Models::MailboxSettings
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::MailboxSettings
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/mailbox_settings.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#archive_folder ⇒ Object
Gets the archiveFolder property value.
-
#archive_folder=(value) ⇒ Object
Sets the archiveFolder property value.
-
#automatic_replies_setting ⇒ Object
Gets the automaticRepliesSetting property value.
-
#automatic_replies_setting=(value) ⇒ Object
Sets the automaticRepliesSetting property value.
-
#date_format ⇒ Object
Gets the dateFormat property value.
-
#date_format=(value) ⇒ Object
Sets the dateFormat property value.
-
#delegate_meeting_message_delivery_options ⇒ Object
Gets the delegateMeetingMessageDeliveryOptions property value.
-
#delegate_meeting_message_delivery_options=(value) ⇒ Object
Sets the delegateMeetingMessageDeliveryOptions property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new mailboxSettings and sets the default values.
-
#language ⇒ Object
Gets the language property value.
-
#language=(value) ⇒ Object
Sets the language property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#time_format ⇒ Object
Gets the timeFormat property value.
-
#time_format=(value) ⇒ Object
Sets the timeFormat property value.
-
#time_zone ⇒ Object
Gets the timeZone property value.
-
#time_zone=(value) ⇒ Object
Sets the timeZone property value.
-
#user_purpose ⇒ Object
Gets the userPurpose property value.
-
#user_purpose=(value) ⇒ Object
Sets the userPurpose property value.
-
#working_hours ⇒ Object
Gets the workingHours property value.
-
#working_hours=(value) ⇒ Object
Sets the workingHours property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new mailboxSettings and sets the default values.
91 92 93 |
# File 'lib/models/mailbox_settings.rb', line 91 def initialize() @additional_data = Hash.new end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
99 100 101 102 |
# File 'lib/models/mailbox_settings.rb', line 99 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return MailboxSettings.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
46 47 48 |
# File 'lib/models/mailbox_settings.rb', line 46 def additional_data return @additional_data end |
#additional_data=(value) ⇒ Object
Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
54 55 56 |
# File 'lib/models/mailbox_settings.rb', line 54 def additional_data=(value) @additional_data = value end |
#archive_folder ⇒ Object
Gets the archiveFolder property value. Folder ID of an archive folder for the user.
61 62 63 |
# File 'lib/models/mailbox_settings.rb', line 61 def archive_folder return @archive_folder end |
#archive_folder=(value) ⇒ Object
Sets the archiveFolder property value. Folder ID of an archive folder for the user.
69 70 71 |
# File 'lib/models/mailbox_settings.rb', line 69 def archive_folder=(value) @archive_folder = value end |
#automatic_replies_setting ⇒ Object
Gets the automaticRepliesSetting property value. Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user.
76 77 78 |
# File 'lib/models/mailbox_settings.rb', line 76 def automatic_replies_setting return @automatic_replies_setting end |
#automatic_replies_setting=(value) ⇒ Object
Sets the automaticRepliesSetting property value. Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user.
84 85 86 |
# File 'lib/models/mailbox_settings.rb', line 84 def automatic_replies_setting=(value) @automatic_replies_setting = value end |
#date_format ⇒ Object
Gets the dateFormat property value. The date format for the user’s mailbox.
107 108 109 |
# File 'lib/models/mailbox_settings.rb', line 107 def date_format return @date_format end |
#date_format=(value) ⇒ Object
Sets the dateFormat property value. The date format for the user’s mailbox.
115 116 117 |
# File 'lib/models/mailbox_settings.rb', line 115 def date_format=(value) @date_format = value end |
#delegate_meeting_message_delivery_options ⇒ Object
Gets the delegateMeetingMessageDeliveryOptions property value. If the user has a calendar delegate, this specifies whether the delegate, mailbox owner, or both receive meeting messages and meeting responses. Possible values are: sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly.
122 123 124 |
# File 'lib/models/mailbox_settings.rb', line 122 def return end |
#delegate_meeting_message_delivery_options=(value) ⇒ Object
Sets the delegateMeetingMessageDeliveryOptions property value. If the user has a calendar delegate, this specifies whether the delegate, mailbox owner, or both receive meeting messages and meeting responses. Possible values are: sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly.
130 131 132 |
# File 'lib/models/mailbox_settings.rb', line 130 def (value) = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/models/mailbox_settings.rb', line 137 def get_field_deserializers() return { "archiveFolder" => lambda {|n| @archive_folder = n.get_string_value() }, "automaticRepliesSetting" => lambda {|n| @automatic_replies_setting = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::AutomaticRepliesSetting.create_from_discriminator_value(pn) }) }, "dateFormat" => lambda {|n| @date_format = n.get_string_value() }, "delegateMeetingMessageDeliveryOptions" => lambda {|n| = n.get_enum_value(MicrosoftGraph::Models::DelegateMeetingMessageDeliveryOptions) }, "language" => lambda {|n| @language = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::LocaleInfo.create_from_discriminator_value(pn) }) }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "timeFormat" => lambda {|n| @time_format = n.get_string_value() }, "timeZone" => lambda {|n| @time_zone = n.get_string_value() }, "userPurpose" => lambda {|n| @user_purpose = n.get_enum_value(MicrosoftGraph::Models::UserPurpose) }, "workingHours" => lambda {|n| @working_hours = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WorkingHours.create_from_discriminator_value(pn) }) }, } end |
#language ⇒ Object
Gets the language property value. The locale information for the user, including the preferred language and country/region.
155 156 157 |
# File 'lib/models/mailbox_settings.rb', line 155 def language return @language end |
#language=(value) ⇒ Object
Sets the language property value. The locale information for the user, including the preferred language and country/region.
163 164 165 |
# File 'lib/models/mailbox_settings.rb', line 163 def language=(value) @language = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
170 171 172 |
# File 'lib/models/mailbox_settings.rb', line 170 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
178 179 180 |
# File 'lib/models/mailbox_settings.rb', line 178 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
186 187 188 189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/models/mailbox_settings.rb', line 186 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("archiveFolder", @archive_folder) writer.write_object_value("automaticRepliesSetting", @automatic_replies_setting) writer.write_string_value("dateFormat", @date_format) writer.write_enum_value("delegateMeetingMessageDeliveryOptions", ) writer.write_object_value("language", @language) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("timeFormat", @time_format) writer.write_string_value("timeZone", @time_zone) writer.write_enum_value("userPurpose", @user_purpose) writer.write_object_value("workingHours", @working_hours) writer.write_additional_data(@additional_data) end |
#time_format ⇒ Object
Gets the timeFormat property value. The time format for the user’s mailbox.
204 205 206 |
# File 'lib/models/mailbox_settings.rb', line 204 def time_format return @time_format end |
#time_format=(value) ⇒ Object
Sets the timeFormat property value. The time format for the user’s mailbox.
212 213 214 |
# File 'lib/models/mailbox_settings.rb', line 212 def time_format=(value) @time_format = value end |
#time_zone ⇒ Object
Gets the timeZone property value. The default time zone for the user’s mailbox.
219 220 221 |
# File 'lib/models/mailbox_settings.rb', line 219 def time_zone return @time_zone end |
#time_zone=(value) ⇒ Object
Sets the timeZone property value. The default time zone for the user’s mailbox.
227 228 229 |
# File 'lib/models/mailbox_settings.rb', line 227 def time_zone=(value) @time_zone = value end |
#user_purpose ⇒ Object
Gets the userPurpose property value. The purpose of the mailbox. Differentiates a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. Possible values are: user, linked, shared, room, equipment, others, unknownFutureValue. Read-only.
234 235 236 |
# File 'lib/models/mailbox_settings.rb', line 234 def user_purpose return @user_purpose end |
#user_purpose=(value) ⇒ Object
Sets the userPurpose property value. The purpose of the mailbox. Differentiates a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. Possible values are: user, linked, shared, room, equipment, others, unknownFutureValue. Read-only.
242 243 244 |
# File 'lib/models/mailbox_settings.rb', line 242 def user_purpose=(value) @user_purpose = value end |
#working_hours ⇒ Object
Gets the workingHours property value. The days of the week and hours in a specific time zone that the user works.
249 250 251 |
# File 'lib/models/mailbox_settings.rb', line 249 def working_hours return @working_hours end |
#working_hours=(value) ⇒ Object
Sets the workingHours property value. The days of the week and hours in a specific time zone that the user works.
257 258 259 |
# File 'lib/models/mailbox_settings.rb', line 257 def working_hours=(value) @working_hours = value end |