Class: MicrosoftGraph::Models::UpdateWindowsDeviceAccountActionParameter
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::UpdateWindowsDeviceAccountActionParameter
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/update_windows_device_account_action_parameter.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.
-
#calendar_sync_enabled ⇒ Object
Gets the calendarSyncEnabled property value.
-
#calendar_sync_enabled=(value) ⇒ Object
Sets the calendarSyncEnabled property value.
-
#device_account ⇒ Object
Gets the deviceAccount property value.
-
#device_account=(value) ⇒ Object
Sets the deviceAccount property value.
-
#device_account_email ⇒ Object
Gets the deviceAccountEmail property value.
-
#device_account_email=(value) ⇒ Object
Sets the deviceAccountEmail property value.
-
#exchange_server ⇒ Object
Gets the exchangeServer property value.
-
#exchange_server=(value) ⇒ Object
Sets the exchangeServer property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new updateWindowsDeviceAccountActionParameter and sets the default values.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#password_rotation_enabled ⇒ Object
Gets the passwordRotationEnabled property value.
-
#password_rotation_enabled=(value) ⇒ Object
Sets the passwordRotationEnabled property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#session_initiation_protocal_address ⇒ Object
Gets the sessionInitiationProtocalAddress property value.
-
#session_initiation_protocal_address=(value) ⇒ Object
Sets the sessionInitiationProtocalAddress property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new updateWindowsDeviceAccountActionParameter and sets the default values.
67 68 69 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 67 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
75 76 77 78 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 75 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return UpdateWindowsDeviceAccountActionParameter.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.
37 38 39 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 37 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.
45 46 47 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 45 def additional_data=(value) @additional_data = value end |
#calendar_sync_enabled ⇒ Object
Gets the calendarSyncEnabled property value. Not yet documented
52 53 54 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 52 def calendar_sync_enabled return @calendar_sync_enabled end |
#calendar_sync_enabled=(value) ⇒ Object
Sets the calendarSyncEnabled property value. Not yet documented
60 61 62 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 60 def calendar_sync_enabled=(value) @calendar_sync_enabled = value end |
#device_account ⇒ Object
Gets the deviceAccount property value. Not yet documented
83 84 85 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 83 def device_account return @device_account end |
#device_account=(value) ⇒ Object
Sets the deviceAccount property value. Not yet documented
91 92 93 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 91 def device_account=(value) @device_account = value end |
#device_account_email ⇒ Object
Gets the deviceAccountEmail property value. Not yet documented
98 99 100 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 98 def device_account_email return @device_account_email end |
#device_account_email=(value) ⇒ Object
Sets the deviceAccountEmail property value. Not yet documented
106 107 108 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 106 def device_account_email=(value) @device_account_email = value end |
#exchange_server ⇒ Object
Gets the exchangeServer property value. Not yet documented
113 114 115 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 113 def exchange_server return @exchange_server end |
#exchange_server=(value) ⇒ Object
Sets the exchangeServer property value. Not yet documented
121 122 123 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 121 def exchange_server=(value) @exchange_server = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
128 129 130 131 132 133 134 135 136 137 138 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 128 def get_field_deserializers() return { "calendarSyncEnabled" => lambda {|n| @calendar_sync_enabled = n.get_boolean_value() }, "deviceAccount" => lambda {|n| @device_account = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WindowsDeviceAccount.create_from_discriminator_value(pn) }) }, "deviceAccountEmail" => lambda {|n| @device_account_email = n.get_string_value() }, "exchangeServer" => lambda {|n| @exchange_server = n.get_string_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "passwordRotationEnabled" => lambda {|n| @password_rotation_enabled = n.get_boolean_value() }, "sessionInitiationProtocalAddress" => lambda {|n| @session_initiation_protocal_address = n.get_string_value() }, } end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
143 144 145 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 143 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
151 152 153 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 151 def odata_type=(value) @odata_type = value end |
#password_rotation_enabled ⇒ Object
Gets the passwordRotationEnabled property value. Not yet documented
158 159 160 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 158 def password_rotation_enabled return @password_rotation_enabled end |
#password_rotation_enabled=(value) ⇒ Object
Sets the passwordRotationEnabled property value. Not yet documented
166 167 168 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 166 def password_rotation_enabled=(value) @password_rotation_enabled = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
174 175 176 177 178 179 180 181 182 183 184 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 174 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_boolean_value("calendarSyncEnabled", @calendar_sync_enabled) writer.write_object_value("deviceAccount", @device_account) writer.write_string_value("deviceAccountEmail", @device_account_email) writer.write_string_value("exchangeServer", @exchange_server) writer.write_string_value("@odata.type", @odata_type) writer.write_boolean_value("passwordRotationEnabled", @password_rotation_enabled) writer.write_string_value("sessionInitiationProtocalAddress", @session_initiation_protocal_address) writer.write_additional_data(@additional_data) end |
#session_initiation_protocal_address ⇒ Object
Gets the sessionInitiationProtocalAddress property value. Not yet documented
189 190 191 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 189 def session_initiation_protocal_address return @session_initiation_protocal_address end |
#session_initiation_protocal_address=(value) ⇒ Object
Sets the sessionInitiationProtocalAddress property value. Not yet documented
197 198 199 |
# File 'lib/models/update_windows_device_account_action_parameter.rb', line 197 def session_initiation_protocal_address=(value) @session_initiation_protocal_address = value end |