Class: MicrosoftGraph::Models::IosLobApp
- Inherits:
-
MobileLobApp
- Object
- Entity
- MobileApp
- MobileLobApp
- MicrosoftGraph::Models::IosLobApp
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/ios_lob_app.rb
Overview
Contains properties and inherited properties for iOS Line Of Business apps.
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
-
#applicable_device_type ⇒ Object
Gets the applicableDeviceType property value.
-
#applicable_device_type=(value) ⇒ Object
Sets the applicableDeviceType property value.
-
#build_number ⇒ Object
Gets the buildNumber property value.
-
#build_number=(value) ⇒ Object
Sets the buildNumber property value.
-
#bundle_id ⇒ Object
Gets the bundleId property value.
-
#bundle_id=(value) ⇒ Object
Sets the bundleId property value.
-
#expiration_date_time ⇒ Object
Gets the expirationDateTime property value.
-
#expiration_date_time=(value) ⇒ Object
Sets the expirationDateTime property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new iosLobApp 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.
-
#version_number ⇒ Object
Gets the versionNumber property value.
-
#version_number=(value) ⇒ Object
Sets the versionNumber property value.
Methods inherited from MobileLobApp
#committed_content_version, #committed_content_version=, #content_versions, #content_versions=, #file_name, #file_name=, #size, #size=
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 iosLobApp and sets the default values.
79 80 81 82 |
# File 'lib/models/ios_lob_app.rb', line 79 def initialize() super @odata_type = "#microsoft.graph.iosLobApp" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
88 89 90 91 |
# File 'lib/models/ios_lob_app.rb', line 88 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IosLobApp.new end |
Instance Method Details
#applicable_device_type ⇒ Object
Gets the applicableDeviceType property value. Contains properties of the possible iOS device types the mobile app can run on.
34 35 36 |
# File 'lib/models/ios_lob_app.rb', line 34 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.
42 43 44 |
# File 'lib/models/ios_lob_app.rb', line 42 def applicable_device_type=(value) @applicable_device_type = value end |
#build_number ⇒ Object
Gets the buildNumber property value. The build number of iOS Line of Business (LoB) app.
49 50 51 |
# File 'lib/models/ios_lob_app.rb', line 49 def build_number return @build_number end |
#build_number=(value) ⇒ Object
Sets the buildNumber property value. The build number of iOS Line of Business (LoB) app.
57 58 59 |
# File 'lib/models/ios_lob_app.rb', line 57 def build_number=(value) @build_number = value end |
#bundle_id ⇒ Object
Gets the bundleId property value. The Identity Name.
64 65 66 |
# File 'lib/models/ios_lob_app.rb', line 64 def bundle_id return @bundle_id end |
#bundle_id=(value) ⇒ Object
Sets the bundleId property value. The Identity Name.
72 73 74 |
# File 'lib/models/ios_lob_app.rb', line 72 def bundle_id=(value) @bundle_id = value end |
#expiration_date_time ⇒ Object
Gets the expirationDateTime property value. The expiration time.
96 97 98 |
# File 'lib/models/ios_lob_app.rb', line 96 def expiration_date_time return @expiration_date_time end |
#expiration_date_time=(value) ⇒ Object
Sets the expirationDateTime property value. The expiration time.
104 105 106 |
# File 'lib/models/ios_lob_app.rb', line 104 def expiration_date_time=(value) @expiration_date_time = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
111 112 113 114 115 116 117 118 119 120 |
# File 'lib/models/ios_lob_app.rb', line 111 def get_field_deserializers() return super.merge({ "applicableDeviceType" => lambda {|n| @applicable_device_type = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IosDeviceType.create_from_discriminator_value(pn) }) }, "buildNumber" => lambda {|n| @build_number = n.get_string_value() }, "bundleId" => lambda {|n| @bundle_id = n.get_string_value() }, "expirationDateTime" => lambda {|n| @expiration_date_time = n.get_date_time_value() }, "minimumSupportedOperatingSystem" => lambda {|n| = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::.create_from_discriminator_value(pn) }) }, "versionNumber" => lambda {|n| @version_number = n.get_string_value() }, }) end |
#minimum_supported_operating_system ⇒ Object
Gets the minimumSupportedOperatingSystem property value. The value for the minimum applicable operating system.
125 126 127 |
# File 'lib/models/ios_lob_app.rb', line 125 def return end |
#minimum_supported_operating_system=(value) ⇒ Object
Sets the minimumSupportedOperatingSystem property value. The value for the minimum applicable operating system.
133 134 135 |
# File 'lib/models/ios_lob_app.rb', line 133 def (value) = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
141 142 143 144 145 146 147 148 149 150 |
# File 'lib/models/ios_lob_app.rb', line 141 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("applicableDeviceType", @applicable_device_type) writer.write_string_value("buildNumber", @build_number) writer.write_string_value("bundleId", @bundle_id) writer.write_date_time_value("expirationDateTime", @expiration_date_time) writer.write_object_value("minimumSupportedOperatingSystem", ) writer.write_string_value("versionNumber", @version_number) end |
#version_number ⇒ Object
Gets the versionNumber property value. The version number of iOS Line of Business (LoB) app.
155 156 157 |
# File 'lib/models/ios_lob_app.rb', line 155 def version_number return @version_number end |
#version_number=(value) ⇒ Object
Sets the versionNumber property value. The version number of iOS Line of Business (LoB) app.
163 164 165 |
# File 'lib/models/ios_lob_app.rb', line 163 def version_number=(value) @version_number = value end |