Class: MicrosoftGraph::Models::ManagedAndroidStoreApp
- Inherits:
-
ManagedApp
- Object
- Entity
- MobileApp
- ManagedApp
- MicrosoftGraph::Models::ManagedAndroidStoreApp
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/managed_android_store_app.rb
Overview
Contains properties and inherited properties for Android store apps that you can manage with an Intune app protection policy.
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
-
#app_store_url ⇒ Object
Gets the appStoreUrl property value.
-
#app_store_url=(value) ⇒ Object
Sets the appStoreUrl property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new managedAndroidStoreApp and sets the default values.
-
#minimum_supported_operating_system ⇒ Object
Gets the minimumSupportedOperatingSystem property value.
-
#minimum_supported_operating_system=(value) ⇒ Object
Sets the minimumSupportedOperatingSystem property value.
-
#package_id ⇒ Object
Gets the packageId property value.
-
#package_id=(value) ⇒ Object
Sets the packageId property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from ManagedApp
#app_availability, #app_availability=, #version, #version=
Methods inherited from MobileApp
#assignments, #assignments=, #categories, #categories=, #created_date_time, #created_date_time=, #description, #description=, #developer, #developer=, #display_name, #display_name=, #information_url, #information_url=, #is_featured, #is_featured=, #large_icon, #large_icon=, #last_modified_date_time, #last_modified_date_time=, #notes, #notes=, #owner, #owner=, #privacy_information_url, #privacy_information_url=, #publisher, #publisher=, #publishing_state, #publishing_state=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new managedAndroidStoreApp and sets the default values.
39 40 41 42 |
# File 'lib/models/managed_android_store_app.rb', line 39 def initialize() super @odata_type = "#microsoft.graph.managedAndroidStoreApp" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
48 49 50 51 |
# File 'lib/models/managed_android_store_app.rb', line 48 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ManagedAndroidStoreApp.new end |
Instance Method Details
#app_store_url ⇒ Object
Gets the appStoreUrl property value. The Android AppStoreUrl.
24 25 26 |
# File 'lib/models/managed_android_store_app.rb', line 24 def app_store_url return @app_store_url end |
#app_store_url=(value) ⇒ Object
Sets the appStoreUrl property value. The Android AppStoreUrl.
32 33 34 |
# File 'lib/models/managed_android_store_app.rb', line 32 def app_store_url=(value) @app_store_url = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
56 57 58 59 60 61 62 |
# File 'lib/models/managed_android_store_app.rb', line 56 def get_field_deserializers() return super.merge({ "appStoreUrl" => lambda {|n| @app_store_url = n.get_string_value() }, "minimumSupportedOperatingSystem" => lambda {|n| = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::.create_from_discriminator_value(pn) }) }, "packageId" => lambda {|n| @package_id = n.get_string_value() }, }) end |
#minimum_supported_operating_system ⇒ Object
Gets the minimumSupportedOperatingSystem property value. Contains properties for the minimum operating system required for an Android mobile app.
67 68 69 |
# File 'lib/models/managed_android_store_app.rb', line 67 def return end |
#minimum_supported_operating_system=(value) ⇒ Object
Sets the minimumSupportedOperatingSystem property value. Contains properties for the minimum operating system required for an Android mobile app.
75 76 77 |
# File 'lib/models/managed_android_store_app.rb', line 75 def (value) = value end |
#package_id ⇒ Object
Gets the packageId property value. The app’s package ID.
82 83 84 |
# File 'lib/models/managed_android_store_app.rb', line 82 def package_id return @package_id end |
#package_id=(value) ⇒ Object
Sets the packageId property value. The app’s package ID.
90 91 92 |
# File 'lib/models/managed_android_store_app.rb', line 90 def package_id=(value) @package_id = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
98 99 100 101 102 103 104 |
# File 'lib/models/managed_android_store_app.rb', line 98 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("appStoreUrl", @app_store_url) writer.write_object_value("minimumSupportedOperatingSystem", ) writer.write_string_value("packageId", @package_id) end |