Class: MicrosoftGraph::DeviceManagement::WindowsAutopilotDeviceIdentities::Item::UpdateDeviceProperties::UpdateDevicePropertiesPostRequestBody
- Inherits:
-
Object
- Object
- MicrosoftGraph::DeviceManagement::WindowsAutopilotDeviceIdentities::Item::UpdateDeviceProperties::UpdateDevicePropertiesPostRequestBody
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.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.
-
#addressable_user_name ⇒ Object
Gets the addressableUserName property value.
-
#addressable_user_name=(value) ⇒ Object
Sets the addressableUserName property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#group_tag ⇒ Object
Gets the groupTag property value.
-
#group_tag=(value) ⇒ Object
Sets the groupTag property value.
-
#initialize ⇒ Object
constructor
Instantiates a new updateDevicePropertiesPostRequestBody and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#user_principal_name ⇒ Object
Gets the userPrincipalName property value.
-
#user_principal_name=(value) ⇒ Object
Sets the userPrincipalName property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new updateDevicePropertiesPostRequestBody and sets the default values.
64 65 66 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 64 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
72 73 74 75 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 72 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return UpdateDevicePropertiesPostRequestBody.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.
34 35 36 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 34 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.
42 43 44 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 42 def additional_data=(value) @additional_data = value end |
#addressable_user_name ⇒ Object
Gets the addressableUserName property value. The addressableUserName property
49 50 51 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 49 def addressable_user_name return @addressable_user_name end |
#addressable_user_name=(value) ⇒ Object
Sets the addressableUserName property value. The addressableUserName property
57 58 59 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 57 def addressable_user_name=(value) @addressable_user_name = value end |
#display_name ⇒ Object
Gets the displayName property value. The displayName property
80 81 82 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 80 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. The displayName property
88 89 90 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 88 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
95 96 97 98 99 100 101 102 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 95 def get_field_deserializers() return { "addressableUserName" => lambda {|n| @addressable_user_name = n.get_string_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "groupTag" => lambda {|n| @group_tag = n.get_string_value() }, "userPrincipalName" => lambda {|n| @user_principal_name = n.get_string_value() }, } end |
#group_tag ⇒ Object
Gets the groupTag property value. The groupTag property
107 108 109 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 107 def group_tag return @group_tag end |
#group_tag=(value) ⇒ Object
Sets the groupTag property value. The groupTag property
115 116 117 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 115 def group_tag=(value) @group_tag = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
123 124 125 126 127 128 129 130 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 123 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("addressableUserName", @addressable_user_name) writer.write_string_value("displayName", @display_name) writer.write_string_value("groupTag", @group_tag) writer.write_string_value("userPrincipalName", @user_principal_name) writer.write_additional_data(@additional_data) end |
#user_principal_name ⇒ Object
Gets the userPrincipalName property value. The userPrincipalName property
135 136 137 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 135 def user_principal_name return @user_principal_name end |
#user_principal_name=(value) ⇒ Object
Sets the userPrincipalName property value. The userPrincipalName property
143 144 145 |
# File 'lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_post_request_body.rb', line 143 def user_principal_name=(value) @user_principal_name = value end |