Class: MicrosoftGraph::Models::IosDeviceFeaturesConfiguration
- Inherits:
-
AppleDeviceFeaturesConfigurationBase
- Object
- Entity
- DeviceConfiguration
- AppleDeviceFeaturesConfigurationBase
- MicrosoftGraph::Models::IosDeviceFeaturesConfiguration
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/ios_device_features_configuration.rb
Overview
iOS Device Features Configuration Profile.
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
-
#asset_tag_template ⇒ Object
Gets the assetTagTemplate property value.
-
#asset_tag_template=(value) ⇒ Object
Sets the assetTagTemplate property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#home_screen_dock_icons ⇒ Object
Gets the homeScreenDockIcons property value.
-
#home_screen_dock_icons=(value) ⇒ Object
Sets the homeScreenDockIcons property value.
-
#home_screen_pages ⇒ Object
Gets the homeScreenPages property value.
-
#home_screen_pages=(value) ⇒ Object
Sets the homeScreenPages property value.
-
#initialize ⇒ Object
constructor
Instantiates a new iosDeviceFeaturesConfiguration and sets the default values.
-
#lock_screen_footnote ⇒ Object
Gets the lockScreenFootnote property value.
-
#lock_screen_footnote=(value) ⇒ Object
Sets the lockScreenFootnote property value.
-
#notification_settings ⇒ Object
Gets the notificationSettings property value.
-
#notification_settings=(value) ⇒ Object
Sets the notificationSettings property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from DeviceConfiguration
#assignments, #assignments=, #created_date_time, #created_date_time=, #description, #description=, #device_setting_state_summaries, #device_setting_state_summaries=, #device_status_overview, #device_status_overview=, #device_statuses, #device_statuses=, #display_name, #display_name=, #last_modified_date_time, #last_modified_date_time=, #user_status_overview, #user_status_overview=, #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 iosDeviceFeaturesConfiguration and sets the default values.
45 46 47 48 |
# File 'lib/models/ios_device_features_configuration.rb', line 45 def initialize() super @odata_type = "#microsoft.graph.iosDeviceFeaturesConfiguration" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
54 55 56 57 |
# File 'lib/models/ios_device_features_configuration.rb', line 54 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IosDeviceFeaturesConfiguration.new end |
Instance Method Details
#asset_tag_template ⇒ Object
Gets the assetTagTemplate property value. Asset tag information for the device, displayed on the login window and lock screen.
30 31 32 |
# File 'lib/models/ios_device_features_configuration.rb', line 30 def asset_tag_template return @asset_tag_template end |
#asset_tag_template=(value) ⇒ Object
Sets the assetTagTemplate property value. Asset tag information for the device, displayed on the login window and lock screen.
38 39 40 |
# File 'lib/models/ios_device_features_configuration.rb', line 38 def asset_tag_template=(value) @asset_tag_template = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
62 63 64 65 66 67 68 69 70 |
# File 'lib/models/ios_device_features_configuration.rb', line 62 def get_field_deserializers() return super.merge({ "assetTagTemplate" => lambda {|n| @asset_tag_template = n.get_string_value() }, "homeScreenDockIcons" => lambda {|n| @home_screen_dock_icons = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IosHomeScreenItem.create_from_discriminator_value(pn) }) }, "homeScreenPages" => lambda {|n| @home_screen_pages = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IosHomeScreenPage.create_from_discriminator_value(pn) }) }, "lockScreenFootnote" => lambda {|n| @lock_screen_footnote = n.get_string_value() }, "notificationSettings" => lambda {|n| @notification_settings = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IosNotificationSettings.create_from_discriminator_value(pn) }) }, }) end |
#home_screen_dock_icons ⇒ Object
Gets the homeScreenDockIcons property value. A list of app and folders to appear on the Home Screen Dock. This collection can contain a maximum of 500 elements.
75 76 77 |
# File 'lib/models/ios_device_features_configuration.rb', line 75 def home_screen_dock_icons return @home_screen_dock_icons end |
#home_screen_dock_icons=(value) ⇒ Object
Sets the homeScreenDockIcons property value. A list of app and folders to appear on the Home Screen Dock. This collection can contain a maximum of 500 elements.
83 84 85 |
# File 'lib/models/ios_device_features_configuration.rb', line 83 def home_screen_dock_icons=(value) @home_screen_dock_icons = value end |
#home_screen_pages ⇒ Object
Gets the homeScreenPages property value. A list of pages on the Home Screen. This collection can contain a maximum of 500 elements.
90 91 92 |
# File 'lib/models/ios_device_features_configuration.rb', line 90 def home_screen_pages return @home_screen_pages end |
#home_screen_pages=(value) ⇒ Object
Sets the homeScreenPages property value. A list of pages on the Home Screen. This collection can contain a maximum of 500 elements.
98 99 100 |
# File 'lib/models/ios_device_features_configuration.rb', line 98 def home_screen_pages=(value) @home_screen_pages = value end |
#lock_screen_footnote ⇒ Object
Gets the lockScreenFootnote property value. A footnote displayed on the login window and lock screen. Available in iOS 9.3.1 and later.
105 106 107 |
# File 'lib/models/ios_device_features_configuration.rb', line 105 def lock_screen_footnote return @lock_screen_footnote end |
#lock_screen_footnote=(value) ⇒ Object
Sets the lockScreenFootnote property value. A footnote displayed on the login window and lock screen. Available in iOS 9.3.1 and later.
113 114 115 |
# File 'lib/models/ios_device_features_configuration.rb', line 113 def lock_screen_footnote=(value) @lock_screen_footnote = value end |
#notification_settings ⇒ Object
Gets the notificationSettings property value. Notification settings for each bundle id. Applicable to devices in supervised mode only (iOS 9.3 and later). This collection can contain a maximum of 500 elements.
120 121 122 |
# File 'lib/models/ios_device_features_configuration.rb', line 120 def notification_settings return @notification_settings end |
#notification_settings=(value) ⇒ Object
Sets the notificationSettings property value. Notification settings for each bundle id. Applicable to devices in supervised mode only (iOS 9.3 and later). This collection can contain a maximum of 500 elements.
128 129 130 |
# File 'lib/models/ios_device_features_configuration.rb', line 128 def notification_settings=(value) @notification_settings = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
136 137 138 139 140 141 142 143 144 |
# File 'lib/models/ios_device_features_configuration.rb', line 136 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("assetTagTemplate", @asset_tag_template) writer.write_collection_of_object_values("homeScreenDockIcons", @home_screen_dock_icons) writer.write_collection_of_object_values("homeScreenPages", @home_screen_pages) writer.write_string_value("lockScreenFootnote", @lock_screen_footnote) writer.write_collection_of_object_values("notificationSettings", @notification_settings) end |