Class: MicrosoftGraph::Models::Windows10TeamGeneralConfiguration

Inherits:
DeviceConfiguration show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/windows10_team_general_configuration.rb

Overview

This topic provides descriptions of the declared methods, properties and relationships exposed by the windows10TeamGeneralConfiguration resource.

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 windows10TeamGeneralConfiguration and sets the default values.



136
137
138
139
# File 'lib/models/windows10_team_general_configuration.rb', line 136

def initialize()
    super
    @odata_type = "#microsoft.graph.windows10TeamGeneralConfiguration"
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 windows10_team_general_configuration

Raises:

  • (StandardError)


145
146
147
148
# File 'lib/models/windows10_team_general_configuration.rb', line 145

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return Windows10TeamGeneralConfiguration.new
end

Instance Method Details

#azure_operational_insights_block_telemetryObject

Gets the azureOperationalInsightsBlockTelemetry property value. Indicates whether or not to Block Azure Operational Insights.

Returns:

  • a boolean



76
77
78
# File 'lib/models/windows10_team_general_configuration.rb', line 76

def azure_operational_insights_block_telemetry
    return @azure_operational_insights_block_telemetry
end

#azure_operational_insights_block_telemetry=(value) ⇒ Object

Sets the azureOperationalInsightsBlockTelemetry property value. Indicates whether or not to Block Azure Operational Insights.

Parameters:

  • value

    Value to set for the azureOperationalInsightsBlockTelemetry property.

Returns:

  • a void



84
85
86
# File 'lib/models/windows10_team_general_configuration.rb', line 84

def azure_operational_insights_block_telemetry=(value)
    @azure_operational_insights_block_telemetry = value
end

#azure_operational_insights_workspace_idObject

Gets the azureOperationalInsightsWorkspaceId property value. The Azure Operational Insights workspace id.

Returns:

  • a string



91
92
93
# File 'lib/models/windows10_team_general_configuration.rb', line 91

def azure_operational_insights_workspace_id
    return @azure_operational_insights_workspace_id
end

#azure_operational_insights_workspace_id=(value) ⇒ Object

Sets the azureOperationalInsightsWorkspaceId property value. The Azure Operational Insights workspace id.

Parameters:

  • value

    Value to set for the azureOperationalInsightsWorkspaceId property.

Returns:

  • a void



99
100
101
# File 'lib/models/windows10_team_general_configuration.rb', line 99

def azure_operational_insights_workspace_id=(value)
    @azure_operational_insights_workspace_id = value
end

#azure_operational_insights_workspace_keyObject

Gets the azureOperationalInsightsWorkspaceKey property value. The Azure Operational Insights Workspace key.

Returns:

  • a string



106
107
108
# File 'lib/models/windows10_team_general_configuration.rb', line 106

def azure_operational_insights_workspace_key
    return @azure_operational_insights_workspace_key
end

#azure_operational_insights_workspace_key=(value) ⇒ Object

Sets the azureOperationalInsightsWorkspaceKey property value. The Azure Operational Insights Workspace key.

Parameters:

  • value

    Value to set for the azureOperationalInsightsWorkspaceKey property.

Returns:

  • a void



114
115
116
# File 'lib/models/windows10_team_general_configuration.rb', line 114

def azure_operational_insights_workspace_key=(value)
    @azure_operational_insights_workspace_key = value
end

#connect_app_block_auto_launchObject

Gets the connectAppBlockAutoLaunch property value. Specifies whether to automatically launch the Connect app whenever a projection is initiated.

Returns:

  • a boolean



121
122
123
# File 'lib/models/windows10_team_general_configuration.rb', line 121

def connect_app_block_auto_launch
    return @connect_app_block_auto_launch
end

#connect_app_block_auto_launch=(value) ⇒ Object

Sets the connectAppBlockAutoLaunch property value. Specifies whether to automatically launch the Connect app whenever a projection is initiated.

Parameters:

  • value

    Value to set for the connectAppBlockAutoLaunch property.

Returns:

  • a void



129
130
131
# File 'lib/models/windows10_team_general_configuration.rb', line 129

def connect_app_block_auto_launch=(value)
    @connect_app_block_auto_launch = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/models/windows10_team_general_configuration.rb', line 153

def get_field_deserializers()
    return super.merge({
        "azureOperationalInsightsBlockTelemetry" => lambda {|n| @azure_operational_insights_block_telemetry = n.get_boolean_value() },
        "azureOperationalInsightsWorkspaceId" => lambda {|n| @azure_operational_insights_workspace_id = n.get_string_value() },
        "azureOperationalInsightsWorkspaceKey" => lambda {|n| @azure_operational_insights_workspace_key = n.get_string_value() },
        "connectAppBlockAutoLaunch" => lambda {|n| @connect_app_block_auto_launch = n.get_boolean_value() },
        "maintenanceWindowBlocked" => lambda {|n| @maintenance_window_blocked = n.get_boolean_value() },
        "maintenanceWindowDurationInHours" => lambda {|n| @maintenance_window_duration_in_hours = n.get_number_value() },
        "maintenanceWindowStartTime" => lambda {|n| @maintenance_window_start_time = n.get_time_value() },
        "miracastBlocked" => lambda {|n| @miracast_blocked = n.get_boolean_value() },
        "miracastChannel" => lambda {|n| @miracast_channel = n.get_enum_value(MicrosoftGraph::Models::MiracastChannel) },
        "miracastRequirePin" => lambda {|n| @miracast_require_pin = n.get_boolean_value() },
        "settingsBlockMyMeetingsAndFiles" => lambda {|n| @settings_block_my_meetings_and_files = n.get_boolean_value() },
        "settingsBlockSessionResume" => lambda {|n| @settings_block_session_resume = n.get_boolean_value() },
        "settingsBlockSigninSuggestions" => lambda {|n|  = n.get_boolean_value() },
        "settingsDefaultVolume" => lambda {|n| @settings_default_volume = n.get_number_value() },
        "settingsScreenTimeoutInMinutes" => lambda {|n| @settings_screen_timeout_in_minutes = n.get_number_value() },
        "settingsSessionTimeoutInMinutes" => lambda {|n| @settings_session_timeout_in_minutes = n.get_number_value() },
        "settingsSleepTimeoutInMinutes" => lambda {|n| @settings_sleep_timeout_in_minutes = n.get_number_value() },
        "welcomeScreenBackgroundImageUrl" => lambda {|n| @welcome_screen_background_image_url = n.get_string_value() },
        "welcomeScreenBlockAutomaticWakeUp" => lambda {|n| @welcome_screen_block_automatic_wake_up = n.get_boolean_value() },
        "welcomeScreenMeetingInformation" => lambda {|n| @welcome_screen_meeting_information = n.get_enum_value(MicrosoftGraph::Models::WelcomeScreenMeetingInformation) },
    })
end

#maintenance_window_blockedObject

Gets the maintenanceWindowBlocked property value. Indicates whether or not to Block setting a maintenance window for device updates.

Returns:

  • a boolean



181
182
183
# File 'lib/models/windows10_team_general_configuration.rb', line 181

def maintenance_window_blocked
    return @maintenance_window_blocked
end

#maintenance_window_blocked=(value) ⇒ Object

Sets the maintenanceWindowBlocked property value. Indicates whether or not to Block setting a maintenance window for device updates.

Parameters:

  • value

    Value to set for the maintenanceWindowBlocked property.

Returns:

  • a void



189
190
191
# File 'lib/models/windows10_team_general_configuration.rb', line 189

def maintenance_window_blocked=(value)
    @maintenance_window_blocked = value
end

#maintenance_window_duration_in_hoursObject

Gets the maintenanceWindowDurationInHours property value. Maintenance window duration for device updates. Valid values 0 to 5

Returns:

  • a integer



196
197
198
# File 'lib/models/windows10_team_general_configuration.rb', line 196

def maintenance_window_duration_in_hours
    return @maintenance_window_duration_in_hours
end

#maintenance_window_duration_in_hours=(value) ⇒ Object

Sets the maintenanceWindowDurationInHours property value. Maintenance window duration for device updates. Valid values 0 to 5

Parameters:

  • value

    Value to set for the maintenanceWindowDurationInHours property.

Returns:

  • a void



204
205
206
# File 'lib/models/windows10_team_general_configuration.rb', line 204

def maintenance_window_duration_in_hours=(value)
    @maintenance_window_duration_in_hours = value
end

#maintenance_window_start_timeObject

Gets the maintenanceWindowStartTime property value. Maintenance window start time for device updates.

Returns:

  • a time



211
212
213
# File 'lib/models/windows10_team_general_configuration.rb', line 211

def maintenance_window_start_time
    return @maintenance_window_start_time
end

#maintenance_window_start_time=(value) ⇒ Object

Sets the maintenanceWindowStartTime property value. Maintenance window start time for device updates.

Parameters:

  • value

    Value to set for the maintenanceWindowStartTime property.

Returns:

  • a void



219
220
221
# File 'lib/models/windows10_team_general_configuration.rb', line 219

def maintenance_window_start_time=(value)
    @maintenance_window_start_time = value
end

#miracast_blockedObject

Gets the miracastBlocked property value. Indicates whether or not to Block wireless projection.

Returns:

  • a boolean



226
227
228
# File 'lib/models/windows10_team_general_configuration.rb', line 226

def miracast_blocked
    return @miracast_blocked
end

#miracast_blocked=(value) ⇒ Object

Sets the miracastBlocked property value. Indicates whether or not to Block wireless projection.

Parameters:

  • value

    Value to set for the miracastBlocked property.

Returns:

  • a void



234
235
236
# File 'lib/models/windows10_team_general_configuration.rb', line 234

def miracast_blocked=(value)
    @miracast_blocked = value
end

#miracast_channelObject

Gets the miracastChannel property value. Possible values for Miracast channel.

Returns:

  • a miracast_channel



241
242
243
# File 'lib/models/windows10_team_general_configuration.rb', line 241

def miracast_channel
    return @miracast_channel
end

#miracast_channel=(value) ⇒ Object

Sets the miracastChannel property value. Possible values for Miracast channel.

Parameters:

  • value

    Value to set for the miracastChannel property.

Returns:

  • a void



249
250
251
# File 'lib/models/windows10_team_general_configuration.rb', line 249

def miracast_channel=(value)
    @miracast_channel = value
end

#miracast_require_pinObject

Gets the miracastRequirePin property value. Indicates whether or not to require a pin for wireless projection.

Returns:

  • a boolean



256
257
258
# File 'lib/models/windows10_team_general_configuration.rb', line 256

def miracast_require_pin
    return @miracast_require_pin
end

#miracast_require_pin=(value) ⇒ Object

Sets the miracastRequirePin property value. Indicates whether or not to require a pin for wireless projection.

Parameters:

  • value

    Value to set for the miracastRequirePin property.

Returns:

  • a void



264
265
266
# File 'lib/models/windows10_team_general_configuration.rb', line 264

def miracast_require_pin=(value)
    @miracast_require_pin = 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)


272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
# File 'lib/models/windows10_team_general_configuration.rb', line 272

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_boolean_value("azureOperationalInsightsBlockTelemetry", @azure_operational_insights_block_telemetry)
    writer.write_string_value("azureOperationalInsightsWorkspaceId", @azure_operational_insights_workspace_id)
    writer.write_string_value("azureOperationalInsightsWorkspaceKey", @azure_operational_insights_workspace_key)
    writer.write_boolean_value("connectAppBlockAutoLaunch", @connect_app_block_auto_launch)
    writer.write_boolean_value("maintenanceWindowBlocked", @maintenance_window_blocked)
    writer.write_number_value("maintenanceWindowDurationInHours", @maintenance_window_duration_in_hours)
    writer.write_time_value("maintenanceWindowStartTime", @maintenance_window_start_time)
    writer.write_boolean_value("miracastBlocked", @miracast_blocked)
    writer.write_enum_value("miracastChannel", @miracast_channel)
    writer.write_boolean_value("miracastRequirePin", @miracast_require_pin)
    writer.write_boolean_value("settingsBlockMyMeetingsAndFiles", @settings_block_my_meetings_and_files)
    writer.write_boolean_value("settingsBlockSessionResume", @settings_block_session_resume)
    writer.write_boolean_value("settingsBlockSigninSuggestions", )
    writer.write_number_value("settingsDefaultVolume", @settings_default_volume)
    writer.write_number_value("settingsScreenTimeoutInMinutes", @settings_screen_timeout_in_minutes)
    writer.write_number_value("settingsSessionTimeoutInMinutes", @settings_session_timeout_in_minutes)
    writer.write_number_value("settingsSleepTimeoutInMinutes", @settings_sleep_timeout_in_minutes)
    writer.write_string_value("welcomeScreenBackgroundImageUrl", @welcome_screen_background_image_url)
    writer.write_boolean_value("welcomeScreenBlockAutomaticWakeUp", @welcome_screen_block_automatic_wake_up)
    writer.write_enum_value("welcomeScreenMeetingInformation", @welcome_screen_meeting_information)
end

#settings_block_my_meetings_and_filesObject

Gets the settingsBlockMyMeetingsAndFiles property value. Specifies whether to disable the ‘My meetings and files’ feature in the Start menu, which shows the signed-in user’s meetings and files from Office 365.

Returns:

  • a boolean



300
301
302
# File 'lib/models/windows10_team_general_configuration.rb', line 300

def settings_block_my_meetings_and_files
    return @settings_block_my_meetings_and_files
end

#settings_block_my_meetings_and_files=(value) ⇒ Object

Sets the settingsBlockMyMeetingsAndFiles property value. Specifies whether to disable the ‘My meetings and files’ feature in the Start menu, which shows the signed-in user’s meetings and files from Office 365.

Parameters:

  • value

    Value to set for the settingsBlockMyMeetingsAndFiles property.

Returns:

  • a void



308
309
310
# File 'lib/models/windows10_team_general_configuration.rb', line 308

def settings_block_my_meetings_and_files=(value)
    @settings_block_my_meetings_and_files = value
end

#settings_block_session_resumeObject

Gets the settingsBlockSessionResume property value. Specifies whether to allow the ability to resume a session when the session times out.

Returns:

  • a boolean



315
316
317
# File 'lib/models/windows10_team_general_configuration.rb', line 315

def settings_block_session_resume
    return @settings_block_session_resume
end

#settings_block_session_resume=(value) ⇒ Object

Sets the settingsBlockSessionResume property value. Specifies whether to allow the ability to resume a session when the session times out.

Parameters:

  • value

    Value to set for the settingsBlockSessionResume property.

Returns:

  • a void



323
324
325
# File 'lib/models/windows10_team_general_configuration.rb', line 323

def settings_block_session_resume=(value)
    @settings_block_session_resume = value
end

#settings_block_signin_suggestionsObject

Gets the settingsBlockSigninSuggestions property value. Specifies whether to disable auto-populating of the sign-in dialog with invitees from scheduled meetings.

Returns:

  • a boolean



330
331
332
# File 'lib/models/windows10_team_general_configuration.rb', line 330

def 
    return 
end

#settings_block_signin_suggestions=(value) ⇒ Object

Sets the settingsBlockSigninSuggestions property value. Specifies whether to disable auto-populating of the sign-in dialog with invitees from scheduled meetings.

Parameters:

  • value

    Value to set for the settingsBlockSigninSuggestions property.

Returns:

  • a void



338
339
340
# File 'lib/models/windows10_team_general_configuration.rb', line 338

def (value)
     = value
end

#settings_default_volumeObject

Gets the settingsDefaultVolume property value. Specifies the default volume value for a new session. Permitted values are 0-100. The default is 45. Valid values 0 to 100

Returns:

  • a integer



345
346
347
# File 'lib/models/windows10_team_general_configuration.rb', line 345

def settings_default_volume
    return @settings_default_volume
end

#settings_default_volume=(value) ⇒ Object

Sets the settingsDefaultVolume property value. Specifies the default volume value for a new session. Permitted values are 0-100. The default is 45. Valid values 0 to 100

Parameters:

  • value

    Value to set for the settingsDefaultVolume property.

Returns:

  • a void



353
354
355
# File 'lib/models/windows10_team_general_configuration.rb', line 353

def settings_default_volume=(value)
    @settings_default_volume = value
end

#settings_screen_timeout_in_minutesObject

Gets the settingsScreenTimeoutInMinutes property value. Specifies the number of minutes until the Hub screen turns off.

Returns:

  • a integer



360
361
362
# File 'lib/models/windows10_team_general_configuration.rb', line 360

def settings_screen_timeout_in_minutes
    return @settings_screen_timeout_in_minutes
end

#settings_screen_timeout_in_minutes=(value) ⇒ Object

Sets the settingsScreenTimeoutInMinutes property value. Specifies the number of minutes until the Hub screen turns off.

Parameters:

  • value

    Value to set for the settingsScreenTimeoutInMinutes property.

Returns:

  • a void



368
369
370
# File 'lib/models/windows10_team_general_configuration.rb', line 368

def settings_screen_timeout_in_minutes=(value)
    @settings_screen_timeout_in_minutes = value
end

#settings_session_timeout_in_minutesObject

Gets the settingsSessionTimeoutInMinutes property value. Specifies the number of minutes until the session times out.

Returns:

  • a integer



375
376
377
# File 'lib/models/windows10_team_general_configuration.rb', line 375

def settings_session_timeout_in_minutes
    return @settings_session_timeout_in_minutes
end

#settings_session_timeout_in_minutes=(value) ⇒ Object

Sets the settingsSessionTimeoutInMinutes property value. Specifies the number of minutes until the session times out.

Parameters:

  • value

    Value to set for the settingsSessionTimeoutInMinutes property.

Returns:

  • a void



383
384
385
# File 'lib/models/windows10_team_general_configuration.rb', line 383

def settings_session_timeout_in_minutes=(value)
    @settings_session_timeout_in_minutes = value
end

#settings_sleep_timeout_in_minutesObject

Gets the settingsSleepTimeoutInMinutes property value. Specifies the number of minutes until the Hub enters sleep mode.

Returns:

  • a integer



390
391
392
# File 'lib/models/windows10_team_general_configuration.rb', line 390

def settings_sleep_timeout_in_minutes
    return @settings_sleep_timeout_in_minutes
end

#settings_sleep_timeout_in_minutes=(value) ⇒ Object

Sets the settingsSleepTimeoutInMinutes property value. Specifies the number of minutes until the Hub enters sleep mode.

Parameters:

  • value

    Value to set for the settingsSleepTimeoutInMinutes property.

Returns:

  • a void



398
399
400
# File 'lib/models/windows10_team_general_configuration.rb', line 398

def settings_sleep_timeout_in_minutes=(value)
    @settings_sleep_timeout_in_minutes = value
end

#welcome_screen_background_image_urlObject

Gets the welcomeScreenBackgroundImageUrl property value. The welcome screen background image URL. The URL must use the HTTPS protocol and return a PNG image.

Returns:

  • a string



405
406
407
# File 'lib/models/windows10_team_general_configuration.rb', line 405

def welcome_screen_background_image_url
    return @welcome_screen_background_image_url
end

#welcome_screen_background_image_url=(value) ⇒ Object

Sets the welcomeScreenBackgroundImageUrl property value. The welcome screen background image URL. The URL must use the HTTPS protocol and return a PNG image.

Parameters:

  • value

    Value to set for the welcomeScreenBackgroundImageUrl property.

Returns:

  • a void



413
414
415
# File 'lib/models/windows10_team_general_configuration.rb', line 413

def welcome_screen_background_image_url=(value)
    @welcome_screen_background_image_url = value
end

#welcome_screen_block_automatic_wake_upObject

Gets the welcomeScreenBlockAutomaticWakeUp property value. Indicates whether or not to Block the welcome screen from waking up automatically when someone enters the room.

Returns:

  • a boolean



420
421
422
# File 'lib/models/windows10_team_general_configuration.rb', line 420

def welcome_screen_block_automatic_wake_up
    return @welcome_screen_block_automatic_wake_up
end

#welcome_screen_block_automatic_wake_up=(value) ⇒ Object

Sets the welcomeScreenBlockAutomaticWakeUp property value. Indicates whether or not to Block the welcome screen from waking up automatically when someone enters the room.

Parameters:

  • value

    Value to set for the welcomeScreenBlockAutomaticWakeUp property.

Returns:

  • a void



428
429
430
# File 'lib/models/windows10_team_general_configuration.rb', line 428

def welcome_screen_block_automatic_wake_up=(value)
    @welcome_screen_block_automatic_wake_up = value
end

#welcome_screen_meeting_informationObject

Gets the welcomeScreenMeetingInformation property value. Possible values for welcome screen meeting information.

Returns:

  • a welcome_screen_meeting_information



435
436
437
# File 'lib/models/windows10_team_general_configuration.rb', line 435

def welcome_screen_meeting_information
    return @welcome_screen_meeting_information
end

#welcome_screen_meeting_information=(value) ⇒ Object

Sets the welcomeScreenMeetingInformation property value. Possible values for welcome screen meeting information.

Parameters:

  • value

    Value to set for the welcomeScreenMeetingInformation property.

Returns:

  • a void



443
444
445
# File 'lib/models/windows10_team_general_configuration.rb', line 443

def welcome_screen_meeting_information=(value)
    @welcome_screen_meeting_information = value
end