Class: MicrosoftGraph::Models::IosVppAppAssignmentSettings
- Inherits:
-
MobileAppAssignmentSettings
- Object
- MobileAppAssignmentSettings
- MicrosoftGraph::Models::IosVppAppAssignmentSettings
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/ios_vpp_app_assignment_settings.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 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.
19 20 21 22 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 19 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
28 29 30 31 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 28 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
36 37 38 39 40 41 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 36 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
47 48 49 50 51 52 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 47 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.
57 58 59 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 57 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.
65 66 67 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 65 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.
72 73 74 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 72 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.
80 81 82 |
# File 'lib/models/ios_vpp_app_assignment_settings.rb', line 80 def vpn_configuration_id=(value) @vpn_configuration_id = value end |