Class: MicrosoftGraph::Models::IosDeviceFeaturesConfiguration

Inherits:
AppleDeviceFeaturesConfigurationBase show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/ios_device_features_configuration.rb

Overview

iOS Device Features Configuration Profile.

Class Method Summary collapse

Instance Method Summary collapse

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

#initializeObject

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

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a ios_device_features_configuration

Raises:

  • (StandardError)


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_templateObject

Gets the assetTagTemplate property value. Asset tag information for the device, displayed on the login window and lock screen.

Returns:

  • a string



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.

Parameters:

  • value

    Value to set for the assetTagTemplate property.

Returns:

  • a void



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_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



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_iconsObject

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.

Returns:

  • a ios_home_screen_item



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.

Parameters:

  • value

    Value to set for the homeScreenDockIcons property.

Returns:

  • a void



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_pagesObject

Gets the homeScreenPages property value. A list of pages on the Home Screen. This collection can contain a maximum of 500 elements.

Returns:

  • a ios_home_screen_page



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.

Parameters:

  • value

    Value to set for the homeScreenPages property.

Returns:

  • a void



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_footnoteObject

Gets the lockScreenFootnote property value. A footnote displayed on the login window and lock screen. Available in iOS 9.3.1 and later.

Returns:

  • a string



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.

Parameters:

  • value

    Value to set for the lockScreenFootnote property.

Returns:

  • a void



113
114
115
# File 'lib/models/ios_device_features_configuration.rb', line 113

def lock_screen_footnote=(value)
    @lock_screen_footnote = value
end

#notification_settingsObject

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.

Returns:

  • a ios_notification_settings



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.

Parameters:

  • value

    Value to set for the notificationSettings property.

Returns:

  • a void



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

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


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