Class: MicrosoftGraph::Models::IosUpdateDeviceStatus
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/ios_update_device_status.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
-
#compliance_grace_period_expiration_date_time ⇒ Object
Gets the complianceGracePeriodExpirationDateTime property value.
-
#compliance_grace_period_expiration_date_time=(value) ⇒ Object
Sets the complianceGracePeriodExpirationDateTime property value.
-
#device_display_name ⇒ Object
Gets the deviceDisplayName property value.
-
#device_display_name=(value) ⇒ Object
Sets the deviceDisplayName property value.
-
#device_id ⇒ Object
Gets the deviceId property value.
-
#device_id=(value) ⇒ Object
Sets the deviceId property value.
-
#device_model ⇒ Object
Gets the deviceModel property value.
-
#device_model=(value) ⇒ Object
Sets the deviceModel property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new iosUpdateDeviceStatus and sets the default values.
-
#install_status ⇒ Object
Gets the installStatus property value.
-
#install_status=(value) ⇒ Object
Sets the installStatus property value.
-
#last_reported_date_time ⇒ Object
Gets the lastReportedDateTime property value.
-
#last_reported_date_time=(value) ⇒ Object
Sets the lastReportedDateTime property value.
-
#os_version ⇒ Object
Gets the osVersion property value.
-
#os_version=(value) ⇒ Object
Sets the osVersion property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#status ⇒ Object
Gets the status property value.
-
#status=(value) ⇒ Object
Sets the status property value.
-
#user_id ⇒ Object
Gets the userId property value.
-
#user_id=(value) ⇒ Object
Sets the userId property value.
-
#user_name ⇒ Object
Gets the userName property value.
-
#user_name=(value) ⇒ Object
Sets the userName property value.
-
#user_principal_name ⇒ Object
Gets the userPrincipalName property value.
-
#user_principal_name=(value) ⇒ Object
Sets the userPrincipalName property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new iosUpdateDeviceStatus and sets the default values.
62 63 64 |
# File 'lib/models/ios_update_device_status.rb', line 62 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
70 71 72 73 |
# File 'lib/models/ios_update_device_status.rb', line 70 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IosUpdateDeviceStatus.new end |
Instance Method Details
#compliance_grace_period_expiration_date_time ⇒ Object
Gets the complianceGracePeriodExpirationDateTime property value. The DateTime when device compliance grace period expires
47 48 49 |
# File 'lib/models/ios_update_device_status.rb', line 47 def compliance_grace_period_expiration_date_time return @compliance_grace_period_expiration_date_time end |
#compliance_grace_period_expiration_date_time=(value) ⇒ Object
Sets the complianceGracePeriodExpirationDateTime property value. The DateTime when device compliance grace period expires
55 56 57 |
# File 'lib/models/ios_update_device_status.rb', line 55 def compliance_grace_period_expiration_date_time=(value) @compliance_grace_period_expiration_date_time = value end |
#device_display_name ⇒ Object
Gets the deviceDisplayName property value. Device name of the DevicePolicyStatus.
78 79 80 |
# File 'lib/models/ios_update_device_status.rb', line 78 def device_display_name return @device_display_name end |
#device_display_name=(value) ⇒ Object
Sets the deviceDisplayName property value. Device name of the DevicePolicyStatus.
86 87 88 |
# File 'lib/models/ios_update_device_status.rb', line 86 def device_display_name=(value) @device_display_name = value end |
#device_id ⇒ Object
Gets the deviceId property value. The device id that is being reported.
93 94 95 |
# File 'lib/models/ios_update_device_status.rb', line 93 def device_id return @device_id end |
#device_id=(value) ⇒ Object
Sets the deviceId property value. The device id that is being reported.
101 102 103 |
# File 'lib/models/ios_update_device_status.rb', line 101 def device_id=(value) @device_id = value end |
#device_model ⇒ Object
Gets the deviceModel property value. The device model that is being reported
108 109 110 |
# File 'lib/models/ios_update_device_status.rb', line 108 def device_model return @device_model end |
#device_model=(value) ⇒ Object
Sets the deviceModel property value. The device model that is being reported
116 117 118 |
# File 'lib/models/ios_update_device_status.rb', line 116 def device_model=(value) @device_model = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'lib/models/ios_update_device_status.rb', line 123 def get_field_deserializers() return super.merge({ "complianceGracePeriodExpirationDateTime" => lambda {|n| @compliance_grace_period_expiration_date_time = n.get_date_time_value() }, "deviceDisplayName" => lambda {|n| @device_display_name = n.get_string_value() }, "deviceId" => lambda {|n| @device_id = n.get_string_value() }, "deviceModel" => lambda {|n| @device_model = n.get_string_value() }, "installStatus" => lambda {|n| @install_status = n.get_enum_value(MicrosoftGraph::Models::IosUpdatesInstallStatus) }, "lastReportedDateTime" => lambda {|n| @last_reported_date_time = n.get_date_time_value() }, "osVersion" => lambda {|n| @os_version = n.get_string_value() }, "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::ComplianceStatus) }, "userId" => lambda {|n| @user_id = n.get_string_value() }, "userName" => lambda {|n| @user_name = n.get_string_value() }, "userPrincipalName" => lambda {|n| @user_principal_name = n.get_string_value() }, }) end |
#install_status ⇒ Object
Gets the installStatus property value. The installStatus property
142 143 144 |
# File 'lib/models/ios_update_device_status.rb', line 142 def install_status return @install_status end |
#install_status=(value) ⇒ Object
Sets the installStatus property value. The installStatus property
150 151 152 |
# File 'lib/models/ios_update_device_status.rb', line 150 def install_status=(value) @install_status = value end |
#last_reported_date_time ⇒ Object
Gets the lastReportedDateTime property value. Last modified date time of the policy report.
157 158 159 |
# File 'lib/models/ios_update_device_status.rb', line 157 def last_reported_date_time return @last_reported_date_time end |
#last_reported_date_time=(value) ⇒ Object
Sets the lastReportedDateTime property value. Last modified date time of the policy report.
165 166 167 |
# File 'lib/models/ios_update_device_status.rb', line 165 def last_reported_date_time=(value) @last_reported_date_time = value end |
#os_version ⇒ Object
Gets the osVersion property value. The device version that is being reported.
172 173 174 |
# File 'lib/models/ios_update_device_status.rb', line 172 def os_version return @os_version end |
#os_version=(value) ⇒ Object
Sets the osVersion property value. The device version that is being reported.
180 181 182 |
# File 'lib/models/ios_update_device_status.rb', line 180 def os_version=(value) @os_version = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'lib/models/ios_update_device_status.rb', line 188 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_date_time_value("complianceGracePeriodExpirationDateTime", @compliance_grace_period_expiration_date_time) writer.write_string_value("deviceDisplayName", @device_display_name) writer.write_string_value("deviceId", @device_id) writer.write_string_value("deviceModel", @device_model) writer.write_enum_value("installStatus", @install_status) writer.write_date_time_value("lastReportedDateTime", @last_reported_date_time) writer.write_string_value("osVersion", @os_version) writer.write_enum_value("status", @status) writer.write_string_value("userId", @user_id) writer.write_string_value("userName", @user_name) writer.write_string_value("userPrincipalName", @user_principal_name) end |
#status ⇒ Object
Gets the status property value. The status property
207 208 209 |
# File 'lib/models/ios_update_device_status.rb', line 207 def status return @status end |
#status=(value) ⇒ Object
Sets the status property value. The status property
215 216 217 |
# File 'lib/models/ios_update_device_status.rb', line 215 def status=(value) @status = value end |
#user_id ⇒ Object
Gets the userId property value. The User id that is being reported.
222 223 224 |
# File 'lib/models/ios_update_device_status.rb', line 222 def user_id return @user_id end |
#user_id=(value) ⇒ Object
Sets the userId property value. The User id that is being reported.
230 231 232 |
# File 'lib/models/ios_update_device_status.rb', line 230 def user_id=(value) @user_id = value end |
#user_name ⇒ Object
Gets the userName property value. The User Name that is being reported
237 238 239 |
# File 'lib/models/ios_update_device_status.rb', line 237 def user_name return @user_name end |
#user_name=(value) ⇒ Object
Sets the userName property value. The User Name that is being reported
245 246 247 |
# File 'lib/models/ios_update_device_status.rb', line 245 def user_name=(value) @user_name = value end |
#user_principal_name ⇒ Object
Gets the userPrincipalName property value. UserPrincipalName.
252 253 254 |
# File 'lib/models/ios_update_device_status.rb', line 252 def user_principal_name return @user_principal_name end |
#user_principal_name=(value) ⇒ Object
Sets the userPrincipalName property value. UserPrincipalName.
260 261 262 |
# File 'lib/models/ios_update_device_status.rb', line 260 def user_principal_name=(value) @user_principal_name = value end |