Class: MicrosoftGraph::Models::DeviceAppManagement
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/device_app_management.rb
Overview
Singleton entity that acts as a container for all device app management functionality.
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
-
#android_managed_app_protections ⇒ Object
Gets the androidManagedAppProtections property value.
-
#android_managed_app_protections=(value) ⇒ Object
Sets the androidManagedAppProtections property value.
-
#default_managed_app_protections ⇒ Object
Gets the defaultManagedAppProtections property value.
-
#default_managed_app_protections=(value) ⇒ Object
Sets the defaultManagedAppProtections property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new deviceAppManagement and sets the default values.
-
#ios_managed_app_protections ⇒ Object
Gets the iosManagedAppProtections property value.
-
#ios_managed_app_protections=(value) ⇒ Object
Sets the iosManagedAppProtections property value.
-
#is_enabled_for_microsoft_store_for_business ⇒ Object
Gets the isEnabledForMicrosoftStoreForBusiness property value.
-
#is_enabled_for_microsoft_store_for_business=(value) ⇒ Object
Sets the isEnabledForMicrosoftStoreForBusiness property value.
-
#managed_app_policies ⇒ Object
Gets the managedAppPolicies property value.
-
#managed_app_policies=(value) ⇒ Object
Sets the managedAppPolicies property value.
-
#managed_app_registrations ⇒ Object
Gets the managedAppRegistrations property value.
-
#managed_app_registrations=(value) ⇒ Object
Sets the managedAppRegistrations property value.
-
#managed_app_statuses ⇒ Object
Gets the managedAppStatuses property value.
-
#managed_app_statuses=(value) ⇒ Object
Sets the managedAppStatuses property value.
-
#managed_e_books ⇒ Object
Gets the managedEBooks property value.
-
#managed_e_books=(value) ⇒ Object
Sets the managedEBooks property value.
-
#mdm_windows_information_protection_policies ⇒ Object
Gets the mdmWindowsInformationProtectionPolicies property value.
-
#mdm_windows_information_protection_policies=(value) ⇒ Object
Sets the mdmWindowsInformationProtectionPolicies property value.
-
#microsoft_store_for_business_language ⇒ Object
Gets the microsoftStoreForBusinessLanguage property value.
-
#microsoft_store_for_business_language=(value) ⇒ Object
Sets the microsoftStoreForBusinessLanguage property value.
-
#microsoft_store_for_business_last_completed_application_sync_time ⇒ Object
Gets the microsoftStoreForBusinessLastCompletedApplicationSyncTime property value.
-
#microsoft_store_for_business_last_completed_application_sync_time=(value) ⇒ Object
Sets the microsoftStoreForBusinessLastCompletedApplicationSyncTime property value.
-
#microsoft_store_for_business_last_successful_sync_date_time ⇒ Object
Gets the microsoftStoreForBusinessLastSuccessfulSyncDateTime property value.
-
#microsoft_store_for_business_last_successful_sync_date_time=(value) ⇒ Object
Sets the microsoftStoreForBusinessLastSuccessfulSyncDateTime property value.
-
#mobile_app_categories ⇒ Object
Gets the mobileAppCategories property value.
-
#mobile_app_categories=(value) ⇒ Object
Sets the mobileAppCategories property value.
-
#mobile_app_configurations ⇒ Object
Gets the mobileAppConfigurations property value.
-
#mobile_app_configurations=(value) ⇒ Object
Sets the mobileAppConfigurations property value.
-
#mobile_apps ⇒ Object
Gets the mobileApps property value.
-
#mobile_apps=(value) ⇒ Object
Sets the mobileApps property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#targeted_managed_app_configurations ⇒ Object
Gets the targetedManagedAppConfigurations property value.
-
#targeted_managed_app_configurations=(value) ⇒ Object
Sets the targetedManagedAppConfigurations property value.
-
#vpp_tokens ⇒ Object
Gets the vppTokens property value.
-
#vpp_tokens=(value) ⇒ Object
Sets the vppTokens property value.
-
#windows_information_protection_policies ⇒ Object
Gets the windowsInformationProtectionPolicies property value.
-
#windows_information_protection_policies=(value) ⇒ Object
Sets the windowsInformationProtectionPolicies property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new deviceAppManagement and sets the default values.
85 86 87 |
# File 'lib/models/device_app_management.rb', line 85 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
93 94 95 96 |
# File 'lib/models/device_app_management.rb', line 93 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return DeviceAppManagement.new end |
Instance Method Details
#android_managed_app_protections ⇒ Object
Gets the androidManagedAppProtections property value. Android managed app policies.
70 71 72 |
# File 'lib/models/device_app_management.rb', line 70 def android_managed_app_protections return @android_managed_app_protections end |
#android_managed_app_protections=(value) ⇒ Object
Sets the androidManagedAppProtections property value. Android managed app policies.
78 79 80 |
# File 'lib/models/device_app_management.rb', line 78 def android_managed_app_protections=(value) @android_managed_app_protections = value end |
#default_managed_app_protections ⇒ Object
Gets the defaultManagedAppProtections property value. Default managed app policies.
101 102 103 |
# File 'lib/models/device_app_management.rb', line 101 def default_managed_app_protections return @default_managed_app_protections end |
#default_managed_app_protections=(value) ⇒ Object
Sets the defaultManagedAppProtections property value. Default managed app policies.
109 110 111 |
# File 'lib/models/device_app_management.rb', line 109 def default_managed_app_protections=(value) @default_managed_app_protections = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'lib/models/device_app_management.rb', line 116 def get_field_deserializers() return super.merge({ "androidManagedAppProtections" => lambda {|n| @android_managed_app_protections = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AndroidManagedAppProtection.create_from_discriminator_value(pn) }) }, "defaultManagedAppProtections" => lambda {|n| @default_managed_app_protections = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DefaultManagedAppProtection.create_from_discriminator_value(pn) }) }, "iosManagedAppProtections" => lambda {|n| @ios_managed_app_protections = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IosManagedAppProtection.create_from_discriminator_value(pn) }) }, "isEnabledForMicrosoftStoreForBusiness" => lambda {|n| @is_enabled_for_microsoft_store_for_business = n.get_boolean_value() }, "managedAppPolicies" => lambda {|n| @managed_app_policies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ManagedAppPolicy.create_from_discriminator_value(pn) }) }, "managedAppRegistrations" => lambda {|n| @managed_app_registrations = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ManagedAppRegistration.create_from_discriminator_value(pn) }) }, "managedAppStatuses" => lambda {|n| @managed_app_statuses = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ManagedAppStatus.create_from_discriminator_value(pn) }) }, "managedEBooks" => lambda {|n| @managed_e_books = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ManagedEBook.create_from_discriminator_value(pn) }) }, "mdmWindowsInformationProtectionPolicies" => lambda {|n| @mdm_windows_information_protection_policies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::MdmWindowsInformationProtectionPolicy.create_from_discriminator_value(pn) }) }, "microsoftStoreForBusinessLanguage" => lambda {|n| @microsoft_store_for_business_language = n.get_string_value() }, "microsoftStoreForBusinessLastCompletedApplicationSyncTime" => lambda {|n| @microsoft_store_for_business_last_completed_application_sync_time = n.get_date_time_value() }, "microsoftStoreForBusinessLastSuccessfulSyncDateTime" => lambda {|n| @microsoft_store_for_business_last_successful_sync_date_time = n.get_date_time_value() }, "mobileAppCategories" => lambda {|n| @mobile_app_categories = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::MobileAppCategory.create_from_discriminator_value(pn) }) }, "mobileAppConfigurations" => lambda {|n| @mobile_app_configurations = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ManagedDeviceMobileAppConfiguration.create_from_discriminator_value(pn) }) }, "mobileApps" => lambda {|n| @mobile_apps = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::MobileApp.create_from_discriminator_value(pn) }) }, "targetedManagedAppConfigurations" => lambda {|n| @targeted_managed_app_configurations = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::TargetedManagedAppConfiguration.create_from_discriminator_value(pn) }) }, "vppTokens" => lambda {|n| @vpp_tokens = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::VppToken.create_from_discriminator_value(pn) }) }, "windowsInformationProtectionPolicies" => lambda {|n| @windows_information_protection_policies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionPolicy.create_from_discriminator_value(pn) }) }, }) end |
#ios_managed_app_protections ⇒ Object
Gets the iosManagedAppProtections property value. iOS managed app policies.
142 143 144 |
# File 'lib/models/device_app_management.rb', line 142 def ios_managed_app_protections return @ios_managed_app_protections end |
#ios_managed_app_protections=(value) ⇒ Object
Sets the iosManagedAppProtections property value. iOS managed app policies.
150 151 152 |
# File 'lib/models/device_app_management.rb', line 150 def ios_managed_app_protections=(value) @ios_managed_app_protections = value end |
#is_enabled_for_microsoft_store_for_business ⇒ Object
Gets the isEnabledForMicrosoftStoreForBusiness property value. Whether the account is enabled for syncing applications from the Microsoft Store for Business.
157 158 159 |
# File 'lib/models/device_app_management.rb', line 157 def is_enabled_for_microsoft_store_for_business return @is_enabled_for_microsoft_store_for_business end |
#is_enabled_for_microsoft_store_for_business=(value) ⇒ Object
Sets the isEnabledForMicrosoftStoreForBusiness property value. Whether the account is enabled for syncing applications from the Microsoft Store for Business.
165 166 167 |
# File 'lib/models/device_app_management.rb', line 165 def is_enabled_for_microsoft_store_for_business=(value) @is_enabled_for_microsoft_store_for_business = value end |
#managed_app_policies ⇒ Object
Gets the managedAppPolicies property value. Managed app policies.
172 173 174 |
# File 'lib/models/device_app_management.rb', line 172 def managed_app_policies return @managed_app_policies end |
#managed_app_policies=(value) ⇒ Object
Sets the managedAppPolicies property value. Managed app policies.
180 181 182 |
# File 'lib/models/device_app_management.rb', line 180 def managed_app_policies=(value) @managed_app_policies = value end |
#managed_app_registrations ⇒ Object
Gets the managedAppRegistrations property value. The managed app registrations.
187 188 189 |
# File 'lib/models/device_app_management.rb', line 187 def managed_app_registrations return @managed_app_registrations end |
#managed_app_registrations=(value) ⇒ Object
Sets the managedAppRegistrations property value. The managed app registrations.
195 196 197 |
# File 'lib/models/device_app_management.rb', line 195 def managed_app_registrations=(value) @managed_app_registrations = value end |
#managed_app_statuses ⇒ Object
Gets the managedAppStatuses property value. The managed app statuses.
202 203 204 |
# File 'lib/models/device_app_management.rb', line 202 def managed_app_statuses return @managed_app_statuses end |
#managed_app_statuses=(value) ⇒ Object
Sets the managedAppStatuses property value. The managed app statuses.
210 211 212 |
# File 'lib/models/device_app_management.rb', line 210 def managed_app_statuses=(value) @managed_app_statuses = value end |
#managed_e_books ⇒ Object
Gets the managedEBooks property value. The Managed eBook.
217 218 219 |
# File 'lib/models/device_app_management.rb', line 217 def managed_e_books return @managed_e_books end |
#managed_e_books=(value) ⇒ Object
Sets the managedEBooks property value. The Managed eBook.
225 226 227 |
# File 'lib/models/device_app_management.rb', line 225 def managed_e_books=(value) @managed_e_books = value end |
#mdm_windows_information_protection_policies ⇒ Object
Gets the mdmWindowsInformationProtectionPolicies property value. Windows information protection for apps running on devices which are MDM enrolled.
232 233 234 |
# File 'lib/models/device_app_management.rb', line 232 def mdm_windows_information_protection_policies return @mdm_windows_information_protection_policies end |
#mdm_windows_information_protection_policies=(value) ⇒ Object
Sets the mdmWindowsInformationProtectionPolicies property value. Windows information protection for apps running on devices which are MDM enrolled.
240 241 242 |
# File 'lib/models/device_app_management.rb', line 240 def mdm_windows_information_protection_policies=(value) @mdm_windows_information_protection_policies = value end |
#microsoft_store_for_business_language ⇒ Object
Gets the microsoftStoreForBusinessLanguage property value. The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is -<country/regioncode2>, where is a lowercase two-letter code derived from ISO 639-1 and <country/regioncode2> is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture.
247 248 249 |
# File 'lib/models/device_app_management.rb', line 247 def microsoft_store_for_business_language return @microsoft_store_for_business_language end |
#microsoft_store_for_business_language=(value) ⇒ Object
Sets the microsoftStoreForBusinessLanguage property value. The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is -<country/regioncode2>, where is a lowercase two-letter code derived from ISO 639-1 and <country/regioncode2> is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture.
255 256 257 |
# File 'lib/models/device_app_management.rb', line 255 def microsoft_store_for_business_language=(value) @microsoft_store_for_business_language = value end |
#microsoft_store_for_business_last_completed_application_sync_time ⇒ Object
Gets the microsoftStoreForBusinessLastCompletedApplicationSyncTime property value. The last time an application sync from the Microsoft Store for Business was completed.
262 263 264 |
# File 'lib/models/device_app_management.rb', line 262 def microsoft_store_for_business_last_completed_application_sync_time return @microsoft_store_for_business_last_completed_application_sync_time end |
#microsoft_store_for_business_last_completed_application_sync_time=(value) ⇒ Object
Sets the microsoftStoreForBusinessLastCompletedApplicationSyncTime property value. The last time an application sync from the Microsoft Store for Business was completed.
270 271 272 |
# File 'lib/models/device_app_management.rb', line 270 def microsoft_store_for_business_last_completed_application_sync_time=(value) @microsoft_store_for_business_last_completed_application_sync_time = value end |
#microsoft_store_for_business_last_successful_sync_date_time ⇒ Object
Gets the microsoftStoreForBusinessLastSuccessfulSyncDateTime property value. The last time the apps from the Microsoft Store for Business were synced successfully for the account.
277 278 279 |
# File 'lib/models/device_app_management.rb', line 277 def microsoft_store_for_business_last_successful_sync_date_time return @microsoft_store_for_business_last_successful_sync_date_time end |
#microsoft_store_for_business_last_successful_sync_date_time=(value) ⇒ Object
Sets the microsoftStoreForBusinessLastSuccessfulSyncDateTime property value. The last time the apps from the Microsoft Store for Business were synced successfully for the account.
285 286 287 |
# File 'lib/models/device_app_management.rb', line 285 def microsoft_store_for_business_last_successful_sync_date_time=(value) @microsoft_store_for_business_last_successful_sync_date_time = value end |
#mobile_app_categories ⇒ Object
Gets the mobileAppCategories property value. The mobile app categories.
292 293 294 |
# File 'lib/models/device_app_management.rb', line 292 def mobile_app_categories return @mobile_app_categories end |
#mobile_app_categories=(value) ⇒ Object
Sets the mobileAppCategories property value. The mobile app categories.
300 301 302 |
# File 'lib/models/device_app_management.rb', line 300 def mobile_app_categories=(value) @mobile_app_categories = value end |
#mobile_app_configurations ⇒ Object
Gets the mobileAppConfigurations property value. The Managed Device Mobile Application Configurations.
307 308 309 |
# File 'lib/models/device_app_management.rb', line 307 def mobile_app_configurations return @mobile_app_configurations end |
#mobile_app_configurations=(value) ⇒ Object
Sets the mobileAppConfigurations property value. The Managed Device Mobile Application Configurations.
315 316 317 |
# File 'lib/models/device_app_management.rb', line 315 def mobile_app_configurations=(value) @mobile_app_configurations = value end |
#mobile_apps ⇒ Object
Gets the mobileApps property value. The mobile apps.
322 323 324 |
# File 'lib/models/device_app_management.rb', line 322 def mobile_apps return @mobile_apps end |
#mobile_apps=(value) ⇒ Object
Sets the mobileApps property value. The mobile apps.
330 331 332 |
# File 'lib/models/device_app_management.rb', line 330 def mobile_apps=(value) @mobile_apps = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 |
# File 'lib/models/device_app_management.rb', line 338 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_object_values("androidManagedAppProtections", @android_managed_app_protections) writer.write_collection_of_object_values("defaultManagedAppProtections", @default_managed_app_protections) writer.write_collection_of_object_values("iosManagedAppProtections", @ios_managed_app_protections) writer.write_boolean_value("isEnabledForMicrosoftStoreForBusiness", @is_enabled_for_microsoft_store_for_business) writer.write_collection_of_object_values("managedAppPolicies", @managed_app_policies) writer.write_collection_of_object_values("managedAppRegistrations", @managed_app_registrations) writer.write_collection_of_object_values("managedAppStatuses", @managed_app_statuses) writer.write_collection_of_object_values("managedEBooks", @managed_e_books) writer.write_collection_of_object_values("mdmWindowsInformationProtectionPolicies", @mdm_windows_information_protection_policies) writer.write_string_value("microsoftStoreForBusinessLanguage", @microsoft_store_for_business_language) writer.write_date_time_value("microsoftStoreForBusinessLastCompletedApplicationSyncTime", @microsoft_store_for_business_last_completed_application_sync_time) writer.write_date_time_value("microsoftStoreForBusinessLastSuccessfulSyncDateTime", @microsoft_store_for_business_last_successful_sync_date_time) writer.write_collection_of_object_values("mobileAppCategories", @mobile_app_categories) writer.write_collection_of_object_values("mobileAppConfigurations", @mobile_app_configurations) writer.write_collection_of_object_values("mobileApps", @mobile_apps) writer.write_collection_of_object_values("targetedManagedAppConfigurations", @targeted_managed_app_configurations) writer.write_collection_of_object_values("vppTokens", @vpp_tokens) writer.write_collection_of_object_values("windowsInformationProtectionPolicies", @windows_information_protection_policies) end |
#targeted_managed_app_configurations ⇒ Object
Gets the targetedManagedAppConfigurations property value. Targeted managed app configurations.
364 365 366 |
# File 'lib/models/device_app_management.rb', line 364 def targeted_managed_app_configurations return @targeted_managed_app_configurations end |
#targeted_managed_app_configurations=(value) ⇒ Object
Sets the targetedManagedAppConfigurations property value. Targeted managed app configurations.
372 373 374 |
# File 'lib/models/device_app_management.rb', line 372 def targeted_managed_app_configurations=(value) @targeted_managed_app_configurations = value end |
#vpp_tokens ⇒ Object
Gets the vppTokens property value. List of Vpp tokens for this organization.
379 380 381 |
# File 'lib/models/device_app_management.rb', line 379 def vpp_tokens return @vpp_tokens end |
#vpp_tokens=(value) ⇒ Object
Sets the vppTokens property value. List of Vpp tokens for this organization.
387 388 389 |
# File 'lib/models/device_app_management.rb', line 387 def vpp_tokens=(value) @vpp_tokens = value end |
#windows_information_protection_policies ⇒ Object
Gets the windowsInformationProtectionPolicies property value. Windows information protection for apps running on devices which are not MDM enrolled.
394 395 396 |
# File 'lib/models/device_app_management.rb', line 394 def windows_information_protection_policies return @windows_information_protection_policies end |
#windows_information_protection_policies=(value) ⇒ Object
Sets the windowsInformationProtectionPolicies property value. Windows information protection for apps running on devices which are not MDM enrolled.
402 403 404 |
# File 'lib/models/device_app_management.rb', line 402 def windows_information_protection_policies=(value) @windows_information_protection_policies = value end |