Class: MicrosoftGraph::Models::ManagedIOSStoreApp
- Inherits:
-
ManagedApp
- Object
- Entity
- MobileApp
- ManagedApp
- MicrosoftGraph::Models::ManagedIOSStoreApp
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/managed_i_o_s_store_app.rb
Overview
Contains properties and inherited properties for an iOS store app 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.
-
#applicable_device_type ⇒ Object
Gets the applicableDeviceType property value.
-
#applicable_device_type=(value) ⇒ Object
Sets the applicableDeviceType property value.
-
#bundle_id ⇒ Object
Gets the bundleId property value.
-
#bundle_id=(value) ⇒ Object
Sets the bundleId property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new managedIOSStoreApp 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.
-
#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 managedIOSStoreApp and sets the default values.
72 73 74 75 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 72 def initialize() super @odata_type = "#microsoft.graph.managedIOSStoreApp" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
81 82 83 84 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 81 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ManagedIOSStoreApp.new end |
Instance Method Details
#app_store_url ⇒ Object
Gets the appStoreUrl property value. The Apple AppStoreUrl.
27 28 29 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 27 def app_store_url return @app_store_url end |
#app_store_url=(value) ⇒ Object
Sets the appStoreUrl property value. The Apple AppStoreUrl.
35 36 37 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 35 def app_store_url=(value) @app_store_url = value end |
#applicable_device_type ⇒ Object
Gets the applicableDeviceType property value. Contains properties of the possible iOS device types the mobile app can run on.
42 43 44 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 42 def applicable_device_type return @applicable_device_type end |
#applicable_device_type=(value) ⇒ Object
Sets the applicableDeviceType property value. Contains properties of the possible iOS device types the mobile app can run on.
50 51 52 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 50 def applicable_device_type=(value) @applicable_device_type = value end |
#bundle_id ⇒ Object
Gets the bundleId property value. The app’s Bundle ID.
57 58 59 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 57 def bundle_id return @bundle_id end |
#bundle_id=(value) ⇒ Object
Sets the bundleId property value. The app’s Bundle ID.
65 66 67 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 65 def bundle_id=(value) @bundle_id = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
89 90 91 92 93 94 95 96 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 89 def get_field_deserializers() return super.merge({ "appStoreUrl" => lambda {|n| @app_store_url = n.get_string_value() }, "applicableDeviceType" => lambda {|n| @applicable_device_type = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IosDeviceType.create_from_discriminator_value(pn) }) }, "bundleId" => lambda {|n| @bundle_id = n.get_string_value() }, "minimumSupportedOperatingSystem" => lambda {|n| = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::.create_from_discriminator_value(pn) }) }, }) end |
#minimum_supported_operating_system ⇒ Object
Gets the minimumSupportedOperatingSystem property value. Contains properties of the minimum operating system required for an iOS mobile app.
101 102 103 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 101 def return end |
#minimum_supported_operating_system=(value) ⇒ Object
Sets the minimumSupportedOperatingSystem property value. Contains properties of the minimum operating system required for an iOS mobile app.
109 110 111 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 109 def (value) = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
117 118 119 120 121 122 123 124 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 117 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("applicableDeviceType", @applicable_device_type) writer.write_string_value("bundleId", @bundle_id) writer.write_object_value("minimumSupportedOperatingSystem", ) end |