Class: MicrosoftGraph::Models::ManagedDeviceMobileAppConfigurationDeviceStatus
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::ManagedDeviceMobileAppConfigurationDeviceStatus
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/managed_device_mobile_app_configuration_device_status.rb
Overview
Contains properties, inherited properties and actions for an MDM mobile app configuration status for a device.
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_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 managedDeviceMobileAppConfigurationDeviceStatus and sets the default values.
-
#last_reported_date_time ⇒ Object
Gets the lastReportedDateTime property value.
-
#last_reported_date_time=(value) ⇒ Object
Sets the lastReportedDateTime 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_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 managedDeviceMobileAppConfigurationDeviceStatus and sets the default values.
52 53 54 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 52 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
60 61 62 63 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 60 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ManagedDeviceMobileAppConfigurationDeviceStatus.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
37 38 39 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 37 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
45 46 47 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 45 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.
68 69 70 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 68 def device_display_name return @device_display_name end |
#device_display_name=(value) ⇒ Object
Sets the deviceDisplayName property value. Device name of the DevicePolicyStatus.
76 77 78 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 76 def device_display_name=(value) @device_display_name = value end |
#device_model ⇒ Object
Gets the deviceModel property value. The device model that is being reported
83 84 85 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 83 def device_model return @device_model end |
#device_model=(value) ⇒ Object
Sets the deviceModel property value. The device model that is being reported
91 92 93 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 91 def device_model=(value) @device_model = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 98 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() }, "deviceModel" => lambda {|n| @device_model = n.get_string_value() }, "lastReportedDateTime" => lambda {|n| @last_reported_date_time = n.get_date_time_value() }, "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::ComplianceStatus) }, "userName" => lambda {|n| @user_name = n.get_string_value() }, "userPrincipalName" => lambda {|n| @user_principal_name = n.get_string_value() }, }) end |
#last_reported_date_time ⇒ Object
Gets the lastReportedDateTime property value. Last modified date time of the policy report.
113 114 115 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 113 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.
121 122 123 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 121 def last_reported_date_time=(value) @last_reported_date_time = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
129 130 131 132 133 134 135 136 137 138 139 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 129 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("deviceModel", @device_model) writer.write_date_time_value("lastReportedDateTime", @last_reported_date_time) writer.write_enum_value("status", @status) 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
144 145 146 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 144 def status return @status end |
#status=(value) ⇒ Object
Sets the status property value. The status property
152 153 154 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 152 def status=(value) @status = value end |
#user_name ⇒ Object
Gets the userName property value. The User Name that is being reported
159 160 161 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 159 def user_name return @user_name end |
#user_name=(value) ⇒ Object
Sets the userName property value. The User Name that is being reported
167 168 169 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 167 def user_name=(value) @user_name = value end |
#user_principal_name ⇒ Object
Gets the userPrincipalName property value. UserPrincipalName.
174 175 176 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 174 def user_principal_name return @user_principal_name end |
#user_principal_name=(value) ⇒ Object
Sets the userPrincipalName property value. UserPrincipalName.
182 183 184 |
# File 'lib/models/managed_device_mobile_app_configuration_device_status.rb', line 182 def user_principal_name=(value) @user_principal_name = value end |