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
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.
43 44 45 46 |
# File 'lib/models/ios_device_features_configuration.rb', line 43 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
52 53 54 55 |
# File 'lib/models/ios_device_features_configuration.rb', line 52 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.
28 29 30 |
# File 'lib/models/ios_device_features_configuration.rb', line 28 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.
36 37 38 |
# File 'lib/models/ios_device_features_configuration.rb', line 36 def asset_tag_template=(value) @asset_tag_template = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
60 61 62 63 64 65 66 67 68 |
# File 'lib/models/ios_device_features_configuration.rb', line 60 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.
73 74 75 |
# File 'lib/models/ios_device_features_configuration.rb', line 73 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.
81 82 83 |
# File 'lib/models/ios_device_features_configuration.rb', line 81 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.
88 89 90 |
# File 'lib/models/ios_device_features_configuration.rb', line 88 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.
96 97 98 |
# File 'lib/models/ios_device_features_configuration.rb', line 96 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.
103 104 105 |
# File 'lib/models/ios_device_features_configuration.rb', line 103 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.
111 112 113 |
# File 'lib/models/ios_device_features_configuration.rb', line 111 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.
118 119 120 |
# File 'lib/models/ios_device_features_configuration.rb', line 118 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.
126 127 128 |
# File 'lib/models/ios_device_features_configuration.rb', line 126 def notification_settings=(value) @notification_settings = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
134 135 136 137 138 139 140 141 142 |
# File 'lib/models/ios_device_features_configuration.rb', line 134 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 |