Class: MicrosoftGraph::Models::IosMobileAppConfiguration
- Inherits:
-
ManagedDeviceMobileAppConfiguration
- Object
- Entity
- ManagedDeviceMobileAppConfiguration
- MicrosoftGraph::Models::IosMobileAppConfiguration
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/ios_mobile_app_configuration.rb
Overview
Contains properties, inherited properties and actions for iOS mobile app configurations.
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
-
#encoded_setting_xml ⇒ Object
Gets the encodedSettingXml property value.
-
#encoded_setting_xml=(value) ⇒ Object
Sets the encodedSettingXml property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new iosMobileAppConfiguration and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#settings ⇒ Object
Gets the settings property value.
-
#settings=(value) ⇒ Object
Sets the settings property value.
Methods inherited from ManagedDeviceMobileAppConfiguration
#assignments, #assignments=, #created_date_time, #created_date_time=, #description, #description=, #device_status_summary, #device_status_summary=, #device_statuses, #device_statuses=, #display_name, #display_name=, #last_modified_date_time, #last_modified_date_time=, #targeted_mobile_apps, #targeted_mobile_apps=, #user_status_summary, #user_status_summary=, #user_statuses, #user_statuses=, #version, #version=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new iosMobileAppConfiguration and sets the default values.
21 22 23 24 |
# File 'lib/models/ios_mobile_app_configuration.rb', line 21 def initialize() super @odata_type = "#microsoft.graph.iosMobileAppConfiguration" 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_mobile_app_configuration.rb', line 30 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IosMobileAppConfiguration.new end |
Instance Method Details
#encoded_setting_xml ⇒ Object
Gets the encodedSettingXml property value. mdm app configuration Base64 binary.
38 39 40 |
# File 'lib/models/ios_mobile_app_configuration.rb', line 38 def encoded_setting_xml return @encoded_setting_xml end |
#encoded_setting_xml=(value) ⇒ Object
Sets the encodedSettingXml property value. mdm app configuration Base64 binary.
46 47 48 |
# File 'lib/models/ios_mobile_app_configuration.rb', line 46 def encoded_setting_xml=(value) @encoded_setting_xml = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
53 54 55 56 57 58 |
# File 'lib/models/ios_mobile_app_configuration.rb', line 53 def get_field_deserializers() return super.merge({ "encodedSettingXml" => lambda {|n| @encoded_setting_xml = n.get_object_value(lambda {|pn| Base64url.create_from_discriminator_value(pn) }) }, "settings" => lambda {|n| @settings = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AppConfigurationSettingItem.create_from_discriminator_value(pn) }) }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
64 65 66 67 68 69 |
# File 'lib/models/ios_mobile_app_configuration.rb', line 64 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("encodedSettingXml", @encoded_setting_xml) writer.write_collection_of_object_values("settings", @settings) end |
#settings ⇒ Object
Gets the settings property value. app configuration setting items.
74 75 76 |
# File 'lib/models/ios_mobile_app_configuration.rb', line 74 def settings return @settings end |
#settings=(value) ⇒ Object
Sets the settings property value. app configuration setting items.
82 83 84 |
# File 'lib/models/ios_mobile_app_configuration.rb', line 82 def settings=(value) @settings = value end |