Class: MicrosoftGraph::Models::WindowsPhone81GeneralConfiguration
- Inherits:
-
DeviceConfiguration
- Object
- Entity
- DeviceConfiguration
- MicrosoftGraph::Models::WindowsPhone81GeneralConfiguration
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/windows_phone81_general_configuration.rb
Overview
This topic provides descriptions of the declared methods, properties and relationships exposed by the windowsPhone81GeneralConfiguration resource.
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
-
#apply_only_to_windows_phone81 ⇒ Object
Gets the applyOnlyToWindowsPhone81 property value.
-
#apply_only_to_windows_phone81=(value) ⇒ Object
Sets the applyOnlyToWindowsPhone81 property value.
-
#apps_block_copy_paste ⇒ Object
Gets the appsBlockCopyPaste property value.
-
#apps_block_copy_paste=(value) ⇒ Object
Sets the appsBlockCopyPaste property value.
-
#bluetooth_blocked ⇒ Object
Gets the bluetoothBlocked property value.
-
#bluetooth_blocked=(value) ⇒ Object
Sets the bluetoothBlocked property value.
-
#camera_blocked ⇒ Object
Gets the cameraBlocked property value.
-
#camera_blocked=(value) ⇒ Object
Sets the cameraBlocked property value.
-
#cellular_block_wifi_tethering ⇒ Object
Gets the cellularBlockWifiTethering property value.
-
#cellular_block_wifi_tethering=(value) ⇒ Object
Sets the cellularBlockWifiTethering property value.
-
#compliant_app_list_type ⇒ Object
Gets the compliantAppListType property value.
-
#compliant_app_list_type=(value) ⇒ Object
Sets the compliantAppListType property value.
-
#compliant_apps_list ⇒ Object
Gets the compliantAppsList property value.
-
#compliant_apps_list=(value) ⇒ Object
Sets the compliantAppsList property value.
-
#diagnostic_data_block_submission ⇒ Object
Gets the diagnosticDataBlockSubmission property value.
-
#diagnostic_data_block_submission=(value) ⇒ Object
Sets the diagnosticDataBlockSubmission property value.
-
#email_block_adding_accounts ⇒ Object
Gets the emailBlockAddingAccounts property value.
-
#email_block_adding_accounts=(value) ⇒ Object
Sets the emailBlockAddingAccounts property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new windowsPhone81GeneralConfiguration and sets the default values.
-
#location_services_blocked ⇒ Object
Gets the locationServicesBlocked property value.
-
#location_services_blocked=(value) ⇒ Object
Sets the locationServicesBlocked property value.
-
#microsoft_account_blocked ⇒ Object
Gets the microsoftAccountBlocked property value.
-
#microsoft_account_blocked=(value) ⇒ Object
Sets the microsoftAccountBlocked property value.
-
#nfc_blocked ⇒ Object
Gets the nfcBlocked property value.
-
#nfc_blocked=(value) ⇒ Object
Sets the nfcBlocked property value.
-
#password_block_simple ⇒ Object
Gets the passwordBlockSimple property value.
-
#password_block_simple=(value) ⇒ Object
Sets the passwordBlockSimple property value.
-
#password_expiration_days ⇒ Object
Gets the passwordExpirationDays property value.
-
#password_expiration_days=(value) ⇒ Object
Sets the passwordExpirationDays property value.
-
#password_minimum_character_set_count ⇒ Object
Gets the passwordMinimumCharacterSetCount property value.
-
#password_minimum_character_set_count=(value) ⇒ Object
Sets the passwordMinimumCharacterSetCount property value.
-
#password_minimum_length ⇒ Object
Gets the passwordMinimumLength property value.
-
#password_minimum_length=(value) ⇒ Object
Sets the passwordMinimumLength property value.
-
#password_minutes_of_inactivity_before_screen_timeout ⇒ Object
Gets the passwordMinutesOfInactivityBeforeScreenTimeout property value.
-
#password_minutes_of_inactivity_before_screen_timeout=(value) ⇒ Object
Sets the passwordMinutesOfInactivityBeforeScreenTimeout property value.
-
#password_previous_password_block_count ⇒ Object
Gets the passwordPreviousPasswordBlockCount property value.
-
#password_previous_password_block_count=(value) ⇒ Object
Sets the passwordPreviousPasswordBlockCount property value.
-
#password_required ⇒ Object
Gets the passwordRequired property value.
-
#password_required=(value) ⇒ Object
Sets the passwordRequired property value.
-
#password_required_type ⇒ Object
Gets the passwordRequiredType property value.
-
#password_required_type=(value) ⇒ Object
Sets the passwordRequiredType property value.
-
#password_sign_in_failure_count_before_factory_reset ⇒ Object
Gets the passwordSignInFailureCountBeforeFactoryReset property value.
-
#password_sign_in_failure_count_before_factory_reset=(value) ⇒ Object
Sets the passwordSignInFailureCountBeforeFactoryReset property value.
-
#screen_capture_blocked ⇒ Object
Gets the screenCaptureBlocked property value.
-
#screen_capture_blocked=(value) ⇒ Object
Sets the screenCaptureBlocked property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#storage_block_removable_storage ⇒ Object
Gets the storageBlockRemovableStorage property value.
-
#storage_block_removable_storage=(value) ⇒ Object
Sets the storageBlockRemovableStorage property value.
-
#storage_require_encryption ⇒ Object
Gets the storageRequireEncryption property value.
-
#storage_require_encryption=(value) ⇒ Object
Sets the storageRequireEncryption property value.
-
#web_browser_blocked ⇒ Object
Gets the webBrowserBlocked property value.
-
#web_browser_blocked=(value) ⇒ Object
Sets the webBrowserBlocked property value.
-
#wifi_block_automatic_connect_hotspots ⇒ Object
Gets the wifiBlockAutomaticConnectHotspots property value.
-
#wifi_block_automatic_connect_hotspots=(value) ⇒ Object
Sets the wifiBlockAutomaticConnectHotspots property value.
-
#wifi_block_hotspot_reporting ⇒ Object
Gets the wifiBlockHotspotReporting property value.
-
#wifi_block_hotspot_reporting=(value) ⇒ Object
Sets the wifiBlockHotspotReporting property value.
-
#wifi_blocked ⇒ Object
Gets the wifiBlocked property value.
-
#wifi_blocked=(value) ⇒ Object
Sets the wifiBlocked property value.
-
#windows_store_blocked ⇒ Object
Gets the windowsStoreBlocked property value.
-
#windows_store_blocked=(value) ⇒ Object
Sets the windowsStoreBlocked property value.
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 windowsPhone81GeneralConfiguration and sets the default values.
207 208 209 210 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 207 def initialize() super @odata_type = "#microsoft.graph.windowsPhone81GeneralConfiguration" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
216 217 218 219 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 216 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return WindowsPhone81GeneralConfiguration.new end |
Instance Method Details
#apply_only_to_windows_phone81 ⇒ Object
Gets the applyOnlyToWindowsPhone81 property value. Value indicating whether this policy only applies to Windows Phone 8.1. This property is read-only.
102 103 104 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 102 def apply_only_to_windows_phone81 return @apply_only_to_windows_phone81 end |
#apply_only_to_windows_phone81=(value) ⇒ Object
Sets the applyOnlyToWindowsPhone81 property value. Value indicating whether this policy only applies to Windows Phone 8.1. This property is read-only.
110 111 112 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 110 def apply_only_to_windows_phone81=(value) @apply_only_to_windows_phone81 = value end |
#apps_block_copy_paste ⇒ Object
Gets the appsBlockCopyPaste property value. Indicates whether or not to block copy paste.
117 118 119 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 117 def apps_block_copy_paste return @apps_block_copy_paste end |
#apps_block_copy_paste=(value) ⇒ Object
Sets the appsBlockCopyPaste property value. Indicates whether or not to block copy paste.
125 126 127 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 125 def apps_block_copy_paste=(value) @apps_block_copy_paste = value end |
#bluetooth_blocked ⇒ Object
Gets the bluetoothBlocked property value. Indicates whether or not to block bluetooth.
132 133 134 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 132 def bluetooth_blocked return @bluetooth_blocked end |
#bluetooth_blocked=(value) ⇒ Object
Sets the bluetoothBlocked property value. Indicates whether or not to block bluetooth.
140 141 142 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 140 def bluetooth_blocked=(value) @bluetooth_blocked = value end |
#camera_blocked ⇒ Object
Gets the cameraBlocked property value. Indicates whether or not to block camera.
147 148 149 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 147 def camera_blocked return @camera_blocked end |
#camera_blocked=(value) ⇒ Object
Sets the cameraBlocked property value. Indicates whether or not to block camera.
155 156 157 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 155 def camera_blocked=(value) @camera_blocked = value end |
#cellular_block_wifi_tethering ⇒ Object
Gets the cellularBlockWifiTethering property value. Indicates whether or not to block Wi-Fi tethering. Has no impact if Wi-Fi is blocked.
162 163 164 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 162 def cellular_block_wifi_tethering return @cellular_block_wifi_tethering end |
#cellular_block_wifi_tethering=(value) ⇒ Object
Sets the cellularBlockWifiTethering property value. Indicates whether or not to block Wi-Fi tethering. Has no impact if Wi-Fi is blocked.
170 171 172 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 170 def cellular_block_wifi_tethering=(value) @cellular_block_wifi_tethering = value end |
#compliant_app_list_type ⇒ Object
Gets the compliantAppListType property value. Possible values of the compliance app list.
177 178 179 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 177 def compliant_app_list_type return @compliant_app_list_type end |
#compliant_app_list_type=(value) ⇒ Object
Sets the compliantAppListType property value. Possible values of the compliance app list.
185 186 187 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 185 def compliant_app_list_type=(value) @compliant_app_list_type = value end |
#compliant_apps_list ⇒ Object
Gets the compliantAppsList property value. List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.
192 193 194 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 192 def compliant_apps_list return @compliant_apps_list end |
#compliant_apps_list=(value) ⇒ Object
Sets the compliantAppsList property value. List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.
200 201 202 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 200 def compliant_apps_list=(value) @compliant_apps_list = value end |
#diagnostic_data_block_submission ⇒ Object
Gets the diagnosticDataBlockSubmission property value. Indicates whether or not to block diagnostic data submission.
224 225 226 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 224 def diagnostic_data_block_submission return @diagnostic_data_block_submission end |
#diagnostic_data_block_submission=(value) ⇒ Object
Sets the diagnosticDataBlockSubmission property value. Indicates whether or not to block diagnostic data submission.
232 233 234 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 232 def diagnostic_data_block_submission=(value) @diagnostic_data_block_submission = value end |
#email_block_adding_accounts ⇒ Object
Gets the emailBlockAddingAccounts property value. Indicates whether or not to block custom email accounts.
239 240 241 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 239 def email_block_adding_accounts return @email_block_adding_accounts end |
#email_block_adding_accounts=(value) ⇒ Object
Sets the emailBlockAddingAccounts property value. Indicates whether or not to block custom email accounts.
247 248 249 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 247 def email_block_adding_accounts=(value) @email_block_adding_accounts = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 254 def get_field_deserializers() return super.merge({ "applyOnlyToWindowsPhone81" => lambda {|n| @apply_only_to_windows_phone81 = n.get_boolean_value() }, "appsBlockCopyPaste" => lambda {|n| @apps_block_copy_paste = n.get_boolean_value() }, "bluetoothBlocked" => lambda {|n| @bluetooth_blocked = n.get_boolean_value() }, "cameraBlocked" => lambda {|n| @camera_blocked = n.get_boolean_value() }, "cellularBlockWifiTethering" => lambda {|n| @cellular_block_wifi_tethering = n.get_boolean_value() }, "compliantAppListType" => lambda {|n| @compliant_app_list_type = n.get_enum_value(MicrosoftGraph::Models::AppListType) }, "compliantAppsList" => lambda {|n| @compliant_apps_list = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AppListItem.create_from_discriminator_value(pn) }) }, "diagnosticDataBlockSubmission" => lambda {|n| @diagnostic_data_block_submission = n.get_boolean_value() }, "emailBlockAddingAccounts" => lambda {|n| @email_block_adding_accounts = n.get_boolean_value() }, "locationServicesBlocked" => lambda {|n| @location_services_blocked = n.get_boolean_value() }, "microsoftAccountBlocked" => lambda {|n| @microsoft_account_blocked = n.get_boolean_value() }, "nfcBlocked" => lambda {|n| @nfc_blocked = n.get_boolean_value() }, "passwordBlockSimple" => lambda {|n| @password_block_simple = n.get_boolean_value() }, "passwordExpirationDays" => lambda {|n| @password_expiration_days = n.get_number_value() }, "passwordMinimumCharacterSetCount" => lambda {|n| @password_minimum_character_set_count = n.get_number_value() }, "passwordMinimumLength" => lambda {|n| @password_minimum_length = n.get_number_value() }, "passwordMinutesOfInactivityBeforeScreenTimeout" => lambda {|n| @password_minutes_of_inactivity_before_screen_timeout = n.get_number_value() }, "passwordPreviousPasswordBlockCount" => lambda {|n| @password_previous_password_block_count = n.get_number_value() }, "passwordRequired" => lambda {|n| @password_required = n.get_boolean_value() }, "passwordRequiredType" => lambda {|n| @password_required_type = n.get_enum_value(MicrosoftGraph::Models::RequiredPasswordType) }, "passwordSignInFailureCountBeforeFactoryReset" => lambda {|n| @password_sign_in_failure_count_before_factory_reset = n.get_number_value() }, "screenCaptureBlocked" => lambda {|n| @screen_capture_blocked = n.get_boolean_value() }, "storageBlockRemovableStorage" => lambda {|n| @storage_block_removable_storage = n.get_boolean_value() }, "storageRequireEncryption" => lambda {|n| @storage_require_encryption = n.get_boolean_value() }, "webBrowserBlocked" => lambda {|n| @web_browser_blocked = n.get_boolean_value() }, "wifiBlockAutomaticConnectHotspots" => lambda {|n| @wifi_block_automatic_connect_hotspots = n.get_boolean_value() }, "wifiBlockHotspotReporting" => lambda {|n| @wifi_block_hotspot_reporting = n.get_boolean_value() }, "wifiBlocked" => lambda {|n| @wifi_blocked = n.get_boolean_value() }, "windowsStoreBlocked" => lambda {|n| @windows_store_blocked = n.get_boolean_value() }, }) end |
#location_services_blocked ⇒ Object
Gets the locationServicesBlocked property value. Indicates whether or not to block location services.
291 292 293 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 291 def location_services_blocked return @location_services_blocked end |
#location_services_blocked=(value) ⇒ Object
Sets the locationServicesBlocked property value. Indicates whether or not to block location services.
299 300 301 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 299 def location_services_blocked=(value) @location_services_blocked = value end |
#microsoft_account_blocked ⇒ Object
Gets the microsoftAccountBlocked property value. Indicates whether or not to block using a Microsoft Account.
306 307 308 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 306 def microsoft_account_blocked return @microsoft_account_blocked end |
#microsoft_account_blocked=(value) ⇒ Object
Sets the microsoftAccountBlocked property value. Indicates whether or not to block using a Microsoft Account.
314 315 316 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 314 def microsoft_account_blocked=(value) @microsoft_account_blocked = value end |
#nfc_blocked ⇒ Object
Gets the nfcBlocked property value. Indicates whether or not to block Near-Field Communication.
321 322 323 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 321 def nfc_blocked return @nfc_blocked end |
#nfc_blocked=(value) ⇒ Object
Sets the nfcBlocked property value. Indicates whether or not to block Near-Field Communication.
329 330 331 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 329 def nfc_blocked=(value) @nfc_blocked = value end |
#password_block_simple ⇒ Object
Gets the passwordBlockSimple property value. Indicates whether or not to block syncing the calendar.
336 337 338 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 336 def password_block_simple return @password_block_simple end |
#password_block_simple=(value) ⇒ Object
Sets the passwordBlockSimple property value. Indicates whether or not to block syncing the calendar.
344 345 346 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 344 def password_block_simple=(value) @password_block_simple = value end |
#password_expiration_days ⇒ Object
Gets the passwordExpirationDays property value. Number of days before the password expires.
351 352 353 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 351 def password_expiration_days return @password_expiration_days end |
#password_expiration_days=(value) ⇒ Object
Sets the passwordExpirationDays property value. Number of days before the password expires.
359 360 361 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 359 def password_expiration_days=(value) @password_expiration_days = value end |
#password_minimum_character_set_count ⇒ Object
Gets the passwordMinimumCharacterSetCount property value. Number of character sets a password must contain.
366 367 368 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 366 def password_minimum_character_set_count return @password_minimum_character_set_count end |
#password_minimum_character_set_count=(value) ⇒ Object
Sets the passwordMinimumCharacterSetCount property value. Number of character sets a password must contain.
374 375 376 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 374 def password_minimum_character_set_count=(value) @password_minimum_character_set_count = value end |
#password_minimum_length ⇒ Object
Gets the passwordMinimumLength property value. Minimum length of passwords.
381 382 383 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 381 def password_minimum_length return @password_minimum_length end |
#password_minimum_length=(value) ⇒ Object
Sets the passwordMinimumLength property value. Minimum length of passwords.
389 390 391 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 389 def password_minimum_length=(value) @password_minimum_length = value end |
#password_minutes_of_inactivity_before_screen_timeout ⇒ Object
Gets the passwordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before screen timeout.
396 397 398 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 396 def password_minutes_of_inactivity_before_screen_timeout return @password_minutes_of_inactivity_before_screen_timeout end |
#password_minutes_of_inactivity_before_screen_timeout=(value) ⇒ Object
Sets the passwordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before screen timeout.
404 405 406 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 404 def password_minutes_of_inactivity_before_screen_timeout=(value) @password_minutes_of_inactivity_before_screen_timeout = value end |
#password_previous_password_block_count ⇒ Object
Gets the passwordPreviousPasswordBlockCount property value. Number of previous passwords to block. Valid values 0 to 24
411 412 413 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 411 def password_previous_password_block_count return @password_previous_password_block_count end |
#password_previous_password_block_count=(value) ⇒ Object
Sets the passwordPreviousPasswordBlockCount property value. Number of previous passwords to block. Valid values 0 to 24
419 420 421 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 419 def password_previous_password_block_count=(value) @password_previous_password_block_count = value end |
#password_required ⇒ Object
Gets the passwordRequired property value. Indicates whether or not to require a password.
426 427 428 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 426 def password_required return @password_required end |
#password_required=(value) ⇒ Object
Sets the passwordRequired property value. Indicates whether or not to require a password.
434 435 436 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 434 def password_required=(value) @password_required = value end |
#password_required_type ⇒ Object
Gets the passwordRequiredType property value. Possible values of required passwords.
441 442 443 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 441 def password_required_type return @password_required_type end |
#password_required_type=(value) ⇒ Object
Sets the passwordRequiredType property value. Possible values of required passwords.
449 450 451 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 449 def password_required_type=(value) @password_required_type = value end |
#password_sign_in_failure_count_before_factory_reset ⇒ Object
Gets the passwordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before factory reset.
456 457 458 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 456 def password_sign_in_failure_count_before_factory_reset return @password_sign_in_failure_count_before_factory_reset end |
#password_sign_in_failure_count_before_factory_reset=(value) ⇒ Object
Sets the passwordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before factory reset.
464 465 466 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 464 def password_sign_in_failure_count_before_factory_reset=(value) @password_sign_in_failure_count_before_factory_reset = value end |
#screen_capture_blocked ⇒ Object
Gets the screenCaptureBlocked property value. Indicates whether or not to block screenshots.
471 472 473 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 471 def screen_capture_blocked return @screen_capture_blocked end |
#screen_capture_blocked=(value) ⇒ Object
Sets the screenCaptureBlocked property value. Indicates whether or not to block screenshots.
479 480 481 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 479 def screen_capture_blocked=(value) @screen_capture_blocked = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 487 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_boolean_value("appsBlockCopyPaste", @apps_block_copy_paste) writer.write_boolean_value("bluetoothBlocked", @bluetooth_blocked) writer.write_boolean_value("cameraBlocked", @camera_blocked) writer.write_boolean_value("cellularBlockWifiTethering", @cellular_block_wifi_tethering) writer.write_enum_value("compliantAppListType", @compliant_app_list_type) writer.write_collection_of_object_values("compliantAppsList", @compliant_apps_list) writer.write_boolean_value("diagnosticDataBlockSubmission", @diagnostic_data_block_submission) writer.write_boolean_value("emailBlockAddingAccounts", @email_block_adding_accounts) writer.write_boolean_value("locationServicesBlocked", @location_services_blocked) writer.write_boolean_value("microsoftAccountBlocked", @microsoft_account_blocked) writer.write_boolean_value("nfcBlocked", @nfc_blocked) writer.write_boolean_value("passwordBlockSimple", @password_block_simple) writer.write_number_value("passwordExpirationDays", @password_expiration_days) writer.write_number_value("passwordMinimumCharacterSetCount", @password_minimum_character_set_count) writer.write_number_value("passwordMinimumLength", @password_minimum_length) writer.write_number_value("passwordMinutesOfInactivityBeforeScreenTimeout", @password_minutes_of_inactivity_before_screen_timeout) writer.write_number_value("passwordPreviousPasswordBlockCount", @password_previous_password_block_count) writer.write_boolean_value("passwordRequired", @password_required) writer.write_enum_value("passwordRequiredType", @password_required_type) writer.write_number_value("passwordSignInFailureCountBeforeFactoryReset", @password_sign_in_failure_count_before_factory_reset) writer.write_boolean_value("screenCaptureBlocked", @screen_capture_blocked) writer.write_boolean_value("storageBlockRemovableStorage", @storage_block_removable_storage) writer.write_boolean_value("storageRequireEncryption", @storage_require_encryption) writer.write_boolean_value("webBrowserBlocked", @web_browser_blocked) writer.write_boolean_value("wifiBlockAutomaticConnectHotspots", @wifi_block_automatic_connect_hotspots) writer.write_boolean_value("wifiBlockHotspotReporting", @wifi_block_hotspot_reporting) writer.write_boolean_value("wifiBlocked", @wifi_blocked) writer.write_boolean_value("windowsStoreBlocked", @windows_store_blocked) end |
#storage_block_removable_storage ⇒ Object
Gets the storageBlockRemovableStorage property value. Indicates whether or not to block removable storage.
523 524 525 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 523 def storage_block_removable_storage return @storage_block_removable_storage end |
#storage_block_removable_storage=(value) ⇒ Object
Sets the storageBlockRemovableStorage property value. Indicates whether or not to block removable storage.
531 532 533 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 531 def storage_block_removable_storage=(value) @storage_block_removable_storage = value end |
#storage_require_encryption ⇒ Object
Gets the storageRequireEncryption property value. Indicates whether or not to require encryption.
538 539 540 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 538 def storage_require_encryption return @storage_require_encryption end |
#storage_require_encryption=(value) ⇒ Object
Sets the storageRequireEncryption property value. Indicates whether or not to require encryption.
546 547 548 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 546 def storage_require_encryption=(value) @storage_require_encryption = value end |
#web_browser_blocked ⇒ Object
Gets the webBrowserBlocked property value. Indicates whether or not to block the web browser.
553 554 555 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 553 def web_browser_blocked return @web_browser_blocked end |
#web_browser_blocked=(value) ⇒ Object
Sets the webBrowserBlocked property value. Indicates whether or not to block the web browser.
561 562 563 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 561 def web_browser_blocked=(value) @web_browser_blocked = value end |
#wifi_block_automatic_connect_hotspots ⇒ Object
Gets the wifiBlockAutomaticConnectHotspots property value. Indicates whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked.
568 569 570 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 568 def wifi_block_automatic_connect_hotspots return @wifi_block_automatic_connect_hotspots end |
#wifi_block_automatic_connect_hotspots=(value) ⇒ Object
Sets the wifiBlockAutomaticConnectHotspots property value. Indicates whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked.
576 577 578 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 576 def wifi_block_automatic_connect_hotspots=(value) @wifi_block_automatic_connect_hotspots = value end |
#wifi_block_hotspot_reporting ⇒ Object
Gets the wifiBlockHotspotReporting property value. Indicates whether or not to block Wi-Fi hotspot reporting. Has no impact if Wi-Fi is blocked.
583 584 585 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 583 def wifi_block_hotspot_reporting return @wifi_block_hotspot_reporting end |
#wifi_block_hotspot_reporting=(value) ⇒ Object
Sets the wifiBlockHotspotReporting property value. Indicates whether or not to block Wi-Fi hotspot reporting. Has no impact if Wi-Fi is blocked.
591 592 593 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 591 def wifi_block_hotspot_reporting=(value) @wifi_block_hotspot_reporting = value end |
#wifi_blocked ⇒ Object
Gets the wifiBlocked property value. Indicates whether or not to block Wi-Fi.
598 599 600 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 598 def wifi_blocked return @wifi_blocked end |
#wifi_blocked=(value) ⇒ Object
Sets the wifiBlocked property value. Indicates whether or not to block Wi-Fi.
606 607 608 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 606 def wifi_blocked=(value) @wifi_blocked = value end |
#windows_store_blocked ⇒ Object
Gets the windowsStoreBlocked property value. Indicates whether or not to block the Windows Store.
613 614 615 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 613 def windows_store_blocked return @windows_store_blocked end |
#windows_store_blocked=(value) ⇒ Object
Sets the windowsStoreBlocked property value. Indicates whether or not to block the Windows Store.
621 622 623 |
# File 'lib/models/windows_phone81_general_configuration.rb', line 621 def windows_store_blocked=(value) @windows_store_blocked = value end |