Class: MicrosoftGraph::Models::DeleteUserFromSharedAppleDeviceActionResult
- Inherits:
-
DeviceActionResult
- Object
- DeviceActionResult
- MicrosoftGraph::Models::DeleteUserFromSharedAppleDeviceActionResult
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/delete_user_from_shared_apple_device_action_result.rb
Overview
Delete user from shared apple device action result
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
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new deleteUserFromSharedAppleDeviceActionResult 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.
Methods inherited from DeviceActionResult
#action_name, #action_name=, #action_state, #action_state=, #additional_data, #additional_data=, #last_updated_date_time, #last_updated_date_time=, #odata_type, #odata_type=, #start_date_time, #start_date_time=
Constructor Details
#initialize ⇒ Object
Instantiates a new deleteUserFromSharedAppleDeviceActionResult and sets the default values.
18 19 20 |
# File 'lib/models/delete_user_from_shared_apple_device_action_result.rb', line 18 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
26 27 28 29 |
# File 'lib/models/delete_user_from_shared_apple_device_action_result.rb', line 26 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return DeleteUserFromSharedAppleDeviceActionResult.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
34 35 36 37 38 |
# File 'lib/models/delete_user_from_shared_apple_device_action_result.rb', line 34 def get_field_deserializers() return super.merge({ "userPrincipalName" => lambda {|n| @user_principal_name = n.get_string_value() }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
44 45 46 47 48 |
# File 'lib/models/delete_user_from_shared_apple_device_action_result.rb', line 44 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("userPrincipalName", @user_principal_name) end |
#user_principal_name ⇒ Object
Gets the userPrincipalName property value. User principal name of the user to be deleted
53 54 55 |
# File 'lib/models/delete_user_from_shared_apple_device_action_result.rb', line 53 def user_principal_name return @user_principal_name end |
#user_principal_name=(value) ⇒ Object
Sets the userPrincipalName property value. User principal name of the user to be deleted
61 62 63 |
# File 'lib/models/delete_user_from_shared_apple_device_action_result.rb', line 61 def user_principal_name=(value) @user_principal_name = value end |