Class: MicrosoftGraph::Models::IosVppAppAssignmentSettings
- Inherits:
-
MobileAppAssignmentSettings
- Object
- MobileAppAssignmentSettings
- MicrosoftGraph::Models::IosVppAppAssignmentSettings
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/ios_vpp_app_assignment_settings.rb
Overview
Contains properties used to assign an iOS VPP mobile app to a group.
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 iosVppAppAssignmentSettings and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#use_device_licensing ⇒ Object
Gets the useDeviceLicensing property value.
-
#use_device_licensing=(value) ⇒ Object
Sets the useDeviceLicensing property value.
-
#vpn_configuration_id ⇒ Object
Gets the vpnConfigurationId property value.
-
#vpn_configuration_id=(value) ⇒ Object
Sets the vpnConfigurationId property value.
Methods inherited from MobileAppAssignmentSettings
#additional_data, #additional_data=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new iosVppAppAssignmentSettings and sets the default values.
21 22 23 24 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 21 def initialize() super @odata_type = "#microsoft.graph.iosVppAppAssignmentSettings" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
30 31 32 33 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 30 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IosVppAppAssignmentSettings.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
38 39 40 41 42 43 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 38 def get_field_deserializers() return super.merge({ "useDeviceLicensing" => lambda {|n| @use_device_licensing = n.get_boolean_value() }, "vpnConfigurationId" => lambda {|n| @vpn_configuration_id = n.get_string_value() }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
49 50 51 52 53 54 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 49 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_boolean_value("useDeviceLicensing", @use_device_licensing) writer.write_string_value("vpnConfigurationId", @vpn_configuration_id) end |
#use_device_licensing ⇒ Object
Gets the useDeviceLicensing property value. Whether or not to use device licensing.
59 60 61 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 59 def use_device_licensing return @use_device_licensing end |
#use_device_licensing=(value) ⇒ Object
Sets the useDeviceLicensing property value. Whether or not to use device licensing.
67 68 69 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 67 def use_device_licensing=(value) @use_device_licensing = value end |
#vpn_configuration_id ⇒ Object
Gets the vpnConfigurationId property value. The VPN Configuration Id to apply for this app.
74 75 76 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 74 def vpn_configuration_id return @vpn_configuration_id end |
#vpn_configuration_id=(value) ⇒ Object
Sets the vpnConfigurationId property value. The VPN Configuration Id to apply for this app.
82 83 84 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 82 def vpn_configuration_id=(value) @vpn_configuration_id = value end |