Class: MicrosoftGraph::Models::ManagedAndroidLobApp
- Inherits:
-
ManagedMobileLobApp
- Object
- Entity
- MobileApp
- ManagedApp
- ManagedMobileLobApp
- MicrosoftGraph::Models::ManagedAndroidLobApp
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/managed_android_lob_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
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new ManagedAndroidLobApp 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.
-
#version_code ⇒ Object
Gets the versionCode property value.
-
#version_code=(value) ⇒ Object
Sets the versionCode property value.
-
#version_name ⇒ Object
Gets the versionName property value.
-
#version_name=(value) ⇒ Object
Sets the versionName property value.
Methods inherited from ManagedMobileLobApp
#committed_content_version, #committed_content_version=, #content_versions, #content_versions=, #file_name, #file_name=, #size, #size=
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 ManagedAndroidLobApp and sets the default values.
25 26 27 28 |
# File 'lib/models/managed_android_lob_app.rb', line 25 def initialize() super @odata_type = "#microsoft.graph.managedAndroidLobApp" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
34 35 36 37 |
# File 'lib/models/managed_android_lob_app.rb', line 34 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ManagedAndroidLobApp.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
42 43 44 45 46 47 48 49 |
# File 'lib/models/managed_android_lob_app.rb', line 42 def get_field_deserializers() return super.merge({ "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() }, "versionCode" => lambda {|n| @version_code = n.get_string_value() }, "versionName" => lambda {|n| @version_name = n.get_string_value() }, }) end |
#minimum_supported_operating_system ⇒ Object
Gets the minimumSupportedOperatingSystem property value. The value for the minimum applicable operating system.
54 55 56 |
# File 'lib/models/managed_android_lob_app.rb', line 54 def return end |
#minimum_supported_operating_system=(value) ⇒ Object
Sets the minimumSupportedOperatingSystem property value. The value for the minimum applicable operating system.
62 63 64 |
# File 'lib/models/managed_android_lob_app.rb', line 62 def (value) = value end |
#package_id ⇒ Object
Gets the packageId property value. The package identifier.
69 70 71 |
# File 'lib/models/managed_android_lob_app.rb', line 69 def package_id return @package_id end |
#package_id=(value) ⇒ Object
Sets the packageId property value. The package identifier.
77 78 79 |
# File 'lib/models/managed_android_lob_app.rb', line 77 def package_id=(value) @package_id = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
85 86 87 88 89 90 91 92 |
# File 'lib/models/managed_android_lob_app.rb', line 85 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("minimumSupportedOperatingSystem", ) writer.write_string_value("packageId", @package_id) writer.write_string_value("versionCode", @version_code) writer.write_string_value("versionName", @version_name) end |
#version_code ⇒ Object
Gets the versionCode property value. The version code of managed Android Line of Business (LoB) app.
97 98 99 |
# File 'lib/models/managed_android_lob_app.rb', line 97 def version_code return @version_code end |
#version_code=(value) ⇒ Object
Sets the versionCode property value. The version code of managed Android Line of Business (LoB) app.
105 106 107 |
# File 'lib/models/managed_android_lob_app.rb', line 105 def version_code=(value) @version_code = value end |
#version_name ⇒ Object
Gets the versionName property value. The version name of managed Android Line of Business (LoB) app.
112 113 114 |
# File 'lib/models/managed_android_lob_app.rb', line 112 def version_name return @version_name end |
#version_name=(value) ⇒ Object
Sets the versionName property value. The version name of managed Android Line of Business (LoB) app.
120 121 122 |
# File 'lib/models/managed_android_lob_app.rb', line 120 def version_name=(value) @version_name = value end |