Class: MicrosoftGraph::Models::IosVppApp
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/ios_vpp_app.rb
Overview
Contains properties and inherited properties for iOS Volume-Purchased Program (VPP) 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
-
#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 iosVppApp and sets the default values.
-
#licensing_type ⇒ Object
Gets the licensingType property value.
-
#licensing_type=(value) ⇒ Object
Sets the licensingType property value.
-
#release_date_time ⇒ Object
Gets the releaseDateTime property value.
-
#release_date_time=(value) ⇒ Object
Sets the releaseDateTime property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#total_license_count ⇒ Object
Gets the totalLicenseCount property value.
-
#total_license_count=(value) ⇒ Object
Sets the totalLicenseCount property value.
-
#used_license_count ⇒ Object
Gets the usedLicenseCount property value.
-
#used_license_count=(value) ⇒ Object
Sets the usedLicenseCount property value.
-
#vpp_token_account_type ⇒ Object
Gets the vppTokenAccountType property value.
-
#vpp_token_account_type=(value) ⇒ Object
Sets the vppTokenAccountType property value.
-
#vpp_token_apple_id ⇒ Object
Gets the vppTokenAppleId property value.
-
#vpp_token_apple_id=(value) ⇒ Object
Sets the vppTokenAppleId property value.
-
#vpp_token_organization_name ⇒ Object
Gets the vppTokenOrganizationName property value.
-
#vpp_token_organization_name=(value) ⇒ Object
Sets the vppTokenOrganizationName property value.
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 iosVppApp and sets the default values.
91 92 93 94 |
# File 'lib/models/ios_vpp_app.rb', line 91 def initialize() super @odata_type = "#microsoft.graph.iosVppApp" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
100 101 102 103 |
# File 'lib/models/ios_vpp_app.rb', line 100 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IosVppApp.new end |
Instance Method Details
#app_store_url ⇒ Object
Gets the appStoreUrl property value. The store URL.
46 47 48 |
# File 'lib/models/ios_vpp_app.rb', line 46 def app_store_url return @app_store_url end |
#app_store_url=(value) ⇒ Object
Sets the appStoreUrl property value. The store URL.
54 55 56 |
# File 'lib/models/ios_vpp_app.rb', line 54 def app_store_url=(value) @app_store_url = value end |
#applicable_device_type ⇒ Object
Gets the applicableDeviceType property value. The applicable iOS Device Type.
61 62 63 |
# File 'lib/models/ios_vpp_app.rb', line 61 def applicable_device_type return @applicable_device_type end |
#applicable_device_type=(value) ⇒ Object
Sets the applicableDeviceType property value. The applicable iOS Device Type.
69 70 71 |
# File 'lib/models/ios_vpp_app.rb', line 69 def applicable_device_type=(value) @applicable_device_type = value end |
#bundle_id ⇒ Object
Gets the bundleId property value. The Identity Name.
76 77 78 |
# File 'lib/models/ios_vpp_app.rb', line 76 def bundle_id return @bundle_id end |
#bundle_id=(value) ⇒ Object
Sets the bundleId property value. The Identity Name.
84 85 86 |
# File 'lib/models/ios_vpp_app.rb', line 84 def bundle_id=(value) @bundle_id = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/models/ios_vpp_app.rb', line 108 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() }, "licensingType" => lambda {|n| @licensing_type = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::VppLicensingType.create_from_discriminator_value(pn) }) }, "releaseDateTime" => lambda {|n| @release_date_time = n.get_date_time_value() }, "totalLicenseCount" => lambda {|n| @total_license_count = n.get_number_value() }, "usedLicenseCount" => lambda {|n| @used_license_count = n.get_number_value() }, "vppTokenAccountType" => lambda {|n| @vpp_token_account_type = n.get_enum_value(MicrosoftGraph::Models::VppTokenAccountType) }, "vppTokenAppleId" => lambda {|n| @vpp_token_apple_id = n.get_string_value() }, "vppTokenOrganizationName" => lambda {|n| @vpp_token_organization_name = n.get_string_value() }, }) end |
#licensing_type ⇒ Object
Gets the licensingType property value. The supported License Type.
126 127 128 |
# File 'lib/models/ios_vpp_app.rb', line 126 def licensing_type return @licensing_type end |
#licensing_type=(value) ⇒ Object
Sets the licensingType property value. The supported License Type.
134 135 136 |
# File 'lib/models/ios_vpp_app.rb', line 134 def licensing_type=(value) @licensing_type = value end |
#release_date_time ⇒ Object
Gets the releaseDateTime property value. The VPP application release date and time.
141 142 143 |
# File 'lib/models/ios_vpp_app.rb', line 141 def release_date_time return @release_date_time end |
#release_date_time=(value) ⇒ Object
Sets the releaseDateTime property value. The VPP application release date and time.
149 150 151 |
# File 'lib/models/ios_vpp_app.rb', line 149 def release_date_time=(value) @release_date_time = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'lib/models/ios_vpp_app.rb', line 157 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("licensingType", @licensing_type) writer.write_date_time_value("releaseDateTime", @release_date_time) writer.write_number_value("totalLicenseCount", @total_license_count) writer.write_number_value("usedLicenseCount", @used_license_count) writer.write_enum_value("vppTokenAccountType", @vpp_token_account_type) writer.write_string_value("vppTokenAppleId", @vpp_token_apple_id) writer.write_string_value("vppTokenOrganizationName", @vpp_token_organization_name) end |
#total_license_count ⇒ Object
Gets the totalLicenseCount property value. The total number of VPP licenses.
175 176 177 |
# File 'lib/models/ios_vpp_app.rb', line 175 def total_license_count return @total_license_count end |
#total_license_count=(value) ⇒ Object
Sets the totalLicenseCount property value. The total number of VPP licenses.
183 184 185 |
# File 'lib/models/ios_vpp_app.rb', line 183 def total_license_count=(value) @total_license_count = value end |
#used_license_count ⇒ Object
Gets the usedLicenseCount property value. The number of VPP licenses in use.
190 191 192 |
# File 'lib/models/ios_vpp_app.rb', line 190 def used_license_count return @used_license_count end |
#used_license_count=(value) ⇒ Object
Sets the usedLicenseCount property value. The number of VPP licenses in use.
198 199 200 |
# File 'lib/models/ios_vpp_app.rb', line 198 def used_license_count=(value) @used_license_count = value end |
#vpp_token_account_type ⇒ Object
Gets the vppTokenAccountType property value. Possible types of an Apple Volume Purchase Program token.
205 206 207 |
# File 'lib/models/ios_vpp_app.rb', line 205 def vpp_token_account_type return @vpp_token_account_type end |
#vpp_token_account_type=(value) ⇒ Object
Sets the vppTokenAccountType property value. Possible types of an Apple Volume Purchase Program token.
213 214 215 |
# File 'lib/models/ios_vpp_app.rb', line 213 def vpp_token_account_type=(value) @vpp_token_account_type = value end |
#vpp_token_apple_id ⇒ Object
Gets the vppTokenAppleId property value. The Apple Id associated with the given Apple Volume Purchase Program Token.
220 221 222 |
# File 'lib/models/ios_vpp_app.rb', line 220 def vpp_token_apple_id return @vpp_token_apple_id end |
#vpp_token_apple_id=(value) ⇒ Object
Sets the vppTokenAppleId property value. The Apple Id associated with the given Apple Volume Purchase Program Token.
228 229 230 |
# File 'lib/models/ios_vpp_app.rb', line 228 def vpp_token_apple_id=(value) @vpp_token_apple_id = value end |
#vpp_token_organization_name ⇒ Object
Gets the vppTokenOrganizationName property value. The organization associated with the Apple Volume Purchase Program Token
235 236 237 |
# File 'lib/models/ios_vpp_app.rb', line 235 def vpp_token_organization_name return @vpp_token_organization_name end |
#vpp_token_organization_name=(value) ⇒ Object
Sets the vppTokenOrganizationName property value. The organization associated with the Apple Volume Purchase Program Token
243 244 245 |
# File 'lib/models/ios_vpp_app.rb', line 243 def vpp_token_organization_name=(value) @vpp_token_organization_name = value end |