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
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.
70 71 72 73 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 70 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
79 80 81 82 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 79 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.
25 26 27 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 25 def app_store_url return @app_store_url end |
#app_store_url=(value) ⇒ Object
Sets the appStoreUrl property value. The Apple AppStoreUrl.
33 34 35 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 33 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.
40 41 42 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 40 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.
48 49 50 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 48 def applicable_device_type=(value) @applicable_device_type = value end |
#bundle_id ⇒ Object
Gets the bundleId property value. The app’s Bundle ID.
55 56 57 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 55 def bundle_id return @bundle_id end |
#bundle_id=(value) ⇒ Object
Sets the bundleId property value. The app’s Bundle ID.
63 64 65 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 63 def bundle_id=(value) @bundle_id = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
87 88 89 90 91 92 93 94 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 87 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| @minimum_supported_operating_system = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IosMinimumOperatingSystem.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.
99 100 101 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 99 def return @minimum_supported_operating_system 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.
107 108 109 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 107 def (value) @minimum_supported_operating_system = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
115 116 117 118 119 120 121 122 |
# File 'lib/models/managed_i_o_s_store_app.rb', line 115 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", @minimum_supported_operating_system) end |