Class: MicrosoftGraph::Models::Windows10TeamGeneralConfiguration

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

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.



134
135
136
137
# File 'lib/models/windows10_team_general_configuration.rb', line 134

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:

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

Returns:

  • a windows10_team_general_configuration

Raises:



143
144
145
146
# File 'lib/models/windows10_team_general_configuration.rb', line 143

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



74
75
76
# File 'lib/models/windows10_team_general_configuration.rb', line 74

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 to set for the azure_operational_insights_block_telemetry property.

Returns:

  • a void



82
83
84
# File 'lib/models/windows10_team_general_configuration.rb', line 82

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



89
90
91
# File 'lib/models/windows10_team_general_configuration.rb', line 89

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 to set for the azure_operational_insights_workspace_id property.

Returns:

  • a void



97
98
99
# File 'lib/models/windows10_team_general_configuration.rb', line 97

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



104
105
106
# File 'lib/models/windows10_team_general_configuration.rb', line 104

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 to set for the azure_operational_insights_workspace_key property.

Returns:

  • a void



112
113
114
# File 'lib/models/windows10_team_general_configuration.rb', line 112

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



119
120
121
# File 'lib/models/windows10_team_general_configuration.rb', line 119

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 to set for the connect_app_block_auto_launch property.

Returns:

  • a void



127
128
129
# File 'lib/models/windows10_team_general_configuration.rb', line 127

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



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

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



179
180
181
# File 'lib/models/windows10_team_general_configuration.rb', line 179

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 to set for the maintenance_window_blocked property.

Returns:

  • a void



187
188
189
# File 'lib/models/windows10_team_general_configuration.rb', line 187

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



194
195
196
# File 'lib/models/windows10_team_general_configuration.rb', line 194

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 to set for the maintenance_window_duration_in_hours property.

Returns:

  • a void



202
203
204
# File 'lib/models/windows10_team_general_configuration.rb', line 202

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



209
210
211
# File 'lib/models/windows10_team_general_configuration.rb', line 209

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 to set for the maintenance_window_start_time property.

Returns:

  • a void



217
218
219
# File 'lib/models/windows10_team_general_configuration.rb', line 217

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



224
225
226
# File 'lib/models/windows10_team_general_configuration.rb', line 224

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 to set for the miracast_blocked property.

Returns:

  • a void



232
233
234
# File 'lib/models/windows10_team_general_configuration.rb', line 232

def miracast_blocked=(value)
    @miracast_blocked = value
end

#miracast_channelObject

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

Returns:

  • a miracast_channel



239
240
241
# File 'lib/models/windows10_team_general_configuration.rb', line 239

def miracast_channel
    return @miracast_channel
end

#miracast_channel=(value) ⇒ Object

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

Parameters:

  • Value to set for the miracast_channel property.

Returns:

  • a void



247
248
249
# File 'lib/models/windows10_team_general_configuration.rb', line 247

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



254
255
256
# File 'lib/models/windows10_team_general_configuration.rb', line 254

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 to set for the miracast_require_pin property.

Returns:

  • a void



262
263
264
# File 'lib/models/windows10_team_general_configuration.rb', line 262

def miracast_require_pin=(value)
    @miracast_require_pin = value
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • Serialization writer to use to serialize this model

Returns:

  • a void

Raises:



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

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



298
299
300
# File 'lib/models/windows10_team_general_configuration.rb', line 298

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 to set for the settings_block_my_meetings_and_files property.

Returns:

  • a void



306
307
308
# File 'lib/models/windows10_team_general_configuration.rb', line 306

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



313
314
315
# File 'lib/models/windows10_team_general_configuration.rb', line 313

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 to set for the settings_block_session_resume property.

Returns:

  • a void



321
322
323
# File 'lib/models/windows10_team_general_configuration.rb', line 321

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



328
329
330
# File 'lib/models/windows10_team_general_configuration.rb', line 328

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 to set for the settings_block_signin_suggestions property.

Returns:

  • a void



336
337
338
# File 'lib/models/windows10_team_general_configuration.rb', line 336

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



343
344
345
# File 'lib/models/windows10_team_general_configuration.rb', line 343

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 to set for the settings_default_volume property.

Returns:

  • a void



351
352
353
# File 'lib/models/windows10_team_general_configuration.rb', line 351

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



358
359
360
# File 'lib/models/windows10_team_general_configuration.rb', line 358

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 to set for the settings_screen_timeout_in_minutes property.

Returns:

  • a void



366
367
368
# File 'lib/models/windows10_team_general_configuration.rb', line 366

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



373
374
375
# File 'lib/models/windows10_team_general_configuration.rb', line 373

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 to set for the settings_session_timeout_in_minutes property.

Returns:

  • a void



381
382
383
# File 'lib/models/windows10_team_general_configuration.rb', line 381

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



388
389
390
# File 'lib/models/windows10_team_general_configuration.rb', line 388

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 to set for the settings_sleep_timeout_in_minutes property.

Returns:

  • a void



396
397
398
# File 'lib/models/windows10_team_general_configuration.rb', line 396

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



403
404
405
# File 'lib/models/windows10_team_general_configuration.rb', line 403

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 to set for the welcome_screen_background_image_url property.

Returns:

  • a void



411
412
413
# File 'lib/models/windows10_team_general_configuration.rb', line 411

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



418
419
420
# File 'lib/models/windows10_team_general_configuration.rb', line 418

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 to set for the welcome_screen_block_automatic_wake_up property.

Returns:

  • a void



426
427
428
# File 'lib/models/windows10_team_general_configuration.rb', line 426

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



433
434
435
# File 'lib/models/windows10_team_general_configuration.rb', line 433

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 to set for the welcome_screen_meeting_information property.

Returns:

  • a void



441
442
443
# File 'lib/models/windows10_team_general_configuration.rb', line 441

def welcome_screen_meeting_information=(value)
    @welcome_screen_meeting_information = value
end