Class: MicrosoftGraph::Models::AndroidWorkProfileGeneralDeviceConfiguration

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

Overview

Android Work Profile general device configuration.

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



117
118
119
120
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 117

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

Raises:

  • (StandardError)


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

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

Instance Method Details

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 134

def get_field_deserializers()
    return super.merge({
        "passwordBlockFingerprintUnlock" => lambda {|n| @password_block_fingerprint_unlock = n.get_boolean_value() },
        "passwordBlockTrustAgents" => lambda {|n| @password_block_trust_agents = n.get_boolean_value() },
        "passwordExpirationDays" => lambda {|n| @password_expiration_days = 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() },
        "passwordRequiredType" => lambda {|n| @password_required_type = n.get_enum_value(MicrosoftGraph::Models::AndroidWorkProfileRequiredPasswordType) },
        "passwordSignInFailureCountBeforeFactoryReset" => lambda {|n|  = n.get_number_value() },
        "securityRequireVerifyApps" => lambda {|n| @security_require_verify_apps = n.get_boolean_value() },
        "workProfileBlockAddingAccounts" => lambda {|n| @work_profile_block_adding_accounts = n.get_boolean_value() },
        "workProfileBlockCamera" => lambda {|n| @work_profile_block_camera = n.get_boolean_value() },
        "workProfileBlockCrossProfileCallerId" => lambda {|n| @work_profile_block_cross_profile_caller_id = n.get_boolean_value() },
        "workProfileBlockCrossProfileContactsSearch" => lambda {|n| @work_profile_block_cross_profile_contacts_search = n.get_boolean_value() },
        "workProfileBlockCrossProfileCopyPaste" => lambda {|n| @work_profile_block_cross_profile_copy_paste = n.get_boolean_value() },
        "workProfileBlockNotificationsWhileDeviceLocked" => lambda {|n| @work_profile_block_notifications_while_device_locked = n.get_boolean_value() },
        "workProfileBlockScreenCapture" => lambda {|n| @work_profile_block_screen_capture = n.get_boolean_value() },
        "workProfileBluetoothEnableContactSharing" => lambda {|n| @work_profile_bluetooth_enable_contact_sharing = n.get_boolean_value() },
        "workProfileDataSharingType" => lambda {|n| @work_profile_data_sharing_type = n.get_enum_value(MicrosoftGraph::Models::AndroidWorkProfileCrossProfileDataSharingType) },
        "workProfileDefaultAppPermissionPolicy" => lambda {|n| @work_profile_default_app_permission_policy = n.get_enum_value(MicrosoftGraph::Models::AndroidWorkProfileDefaultAppPermissionPolicyType) },
        "workProfilePasswordBlockFingerprintUnlock" => lambda {|n| @work_profile_password_block_fingerprint_unlock = n.get_boolean_value() },
        "workProfilePasswordBlockTrustAgents" => lambda {|n| @work_profile_password_block_trust_agents = n.get_boolean_value() },
        "workProfilePasswordExpirationDays" => lambda {|n| @work_profile_password_expiration_days = n.get_number_value() },
        "workProfilePasswordMinLetterCharacters" => lambda {|n| @work_profile_password_min_letter_characters = n.get_number_value() },
        "workProfilePasswordMinLowerCaseCharacters" => lambda {|n| @work_profile_password_min_lower_case_characters = n.get_number_value() },
        "workProfilePasswordMinNonLetterCharacters" => lambda {|n| @work_profile_password_min_non_letter_characters = n.get_number_value() },
        "workProfilePasswordMinNumericCharacters" => lambda {|n| @work_profile_password_min_numeric_characters = n.get_number_value() },
        "workProfilePasswordMinSymbolCharacters" => lambda {|n| @work_profile_password_min_symbol_characters = n.get_number_value() },
        "workProfilePasswordMinUpperCaseCharacters" => lambda {|n| @work_profile_password_min_upper_case_characters = n.get_number_value() },
        "workProfilePasswordMinimumLength" => lambda {|n| @work_profile_password_minimum_length = n.get_number_value() },
        "workProfilePasswordMinutesOfInactivityBeforeScreenTimeout" => lambda {|n| @work_profile_password_minutes_of_inactivity_before_screen_timeout = n.get_number_value() },
        "workProfilePasswordPreviousPasswordBlockCount" => lambda {|n| @work_profile_password_previous_password_block_count = n.get_number_value() },
        "workProfilePasswordRequiredType" => lambda {|n| @work_profile_password_required_type = n.get_enum_value(MicrosoftGraph::Models::AndroidWorkProfileRequiredPasswordType) },
        "workProfilePasswordSignInFailureCountBeforeFactoryReset" => lambda {|n|  = n.get_number_value() },
        "workProfileRequirePassword" => lambda {|n| @work_profile_require_password = n.get_boolean_value() },
    })
end

#password_block_fingerprint_unlockObject

Gets the passwordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock.

Returns:

  • a boolean



176
177
178
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 176

def password_block_fingerprint_unlock
    return @password_block_fingerprint_unlock
end

#password_block_fingerprint_unlock=(value) ⇒ Object

Sets the passwordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock.

Parameters:

  • value

    Value to set for the passwordBlockFingerprintUnlock property.

Returns:

  • a void



184
185
186
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 184

def password_block_fingerprint_unlock=(value)
    @password_block_fingerprint_unlock = value
end

#password_block_trust_agentsObject

Gets the passwordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents.

Returns:

  • a boolean



191
192
193
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 191

def password_block_trust_agents
    return @password_block_trust_agents
end

#password_block_trust_agents=(value) ⇒ Object

Sets the passwordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents.

Parameters:

  • value

    Value to set for the passwordBlockTrustAgents property.

Returns:

  • a void



199
200
201
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 199

def password_block_trust_agents=(value)
    @password_block_trust_agents = value
end

#password_expiration_daysObject

Gets the passwordExpirationDays property value. Number of days before the password expires. Valid values 1 to 365

Returns:

  • a integer



206
207
208
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 206

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. Valid values 1 to 365

Parameters:

  • value

    Value to set for the passwordExpirationDays property.

Returns:

  • a void



214
215
216
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 214

def password_expiration_days=(value)
    @password_expiration_days = value
end

#password_minimum_lengthObject

Gets the passwordMinimumLength property value. Minimum length of passwords. Valid values 4 to 16

Returns:

  • a integer



221
222
223
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 221

def password_minimum_length
    return @password_minimum_length
end

#password_minimum_length=(value) ⇒ Object

Sets the passwordMinimumLength property value. Minimum length of passwords. Valid values 4 to 16

Parameters:

  • value

    Value to set for the passwordMinimumLength property.

Returns:

  • a void



229
230
231
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 229

def password_minimum_length=(value)
    @password_minimum_length = value
end

#password_minutes_of_inactivity_before_screen_timeoutObject

Gets the passwordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.

Returns:

  • a integer



236
237
238
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 236

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 the screen times out.

Parameters:

  • value

    Value to set for the passwordMinutesOfInactivityBeforeScreenTimeout property.

Returns:

  • a void



244
245
246
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 244

def password_minutes_of_inactivity_before_screen_timeout=(value)
    @password_minutes_of_inactivity_before_screen_timeout = value
end

#password_previous_password_block_countObject

Gets the passwordPreviousPasswordBlockCount property value. Number of previous passwords to block. Valid values 0 to 24

Returns:

  • a integer



251
252
253
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 251

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

Parameters:

  • value

    Value to set for the passwordPreviousPasswordBlockCount property.

Returns:

  • a void



259
260
261
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 259

def password_previous_password_block_count=(value)
    @password_previous_password_block_count = value
end

#password_required_typeObject

Gets the passwordRequiredType property value. Android Work Profile required password type.

Returns:

  • a android_work_profile_required_password_type



266
267
268
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 266

def password_required_type
    return @password_required_type
end

#password_required_type=(value) ⇒ Object

Sets the passwordRequiredType property value. Android Work Profile required password type.

Parameters:

  • value

    Value to set for the passwordRequiredType property.

Returns:

  • a void



274
275
276
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 274

def password_required_type=(value)
    @password_required_type = value
end

#password_sign_in_failure_count_before_factory_resetObject

Gets the passwordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before factory reset. Valid values 1 to 16

Returns:

  • a integer



281
282
283
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 281

def 
    return 
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. Valid values 1 to 16

Parameters:

  • value

    Value to set for the passwordSignInFailureCountBeforeFactoryReset property.

Returns:

  • a void



289
290
291
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 289

def (value)
     = value
end

#security_require_verify_appsObject

Gets the securityRequireVerifyApps property value. Require the Android Verify apps feature is turned on.

Returns:

  • a boolean



296
297
298
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 296

def security_require_verify_apps
    return @security_require_verify_apps
end

#security_require_verify_apps=(value) ⇒ Object

Sets the securityRequireVerifyApps property value. Require the Android Verify apps feature is turned on.

Parameters:

  • value

    Value to set for the securityRequireVerifyApps property.

Returns:

  • a void



304
305
306
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 304

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


312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 312

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_boolean_value("passwordBlockFingerprintUnlock", @password_block_fingerprint_unlock)
    writer.write_boolean_value("passwordBlockTrustAgents", @password_block_trust_agents)
    writer.write_number_value("passwordExpirationDays", @password_expiration_days)
    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_enum_value("passwordRequiredType", @password_required_type)
    writer.write_number_value("passwordSignInFailureCountBeforeFactoryReset", )
    writer.write_boolean_value("securityRequireVerifyApps", @security_require_verify_apps)
    writer.write_boolean_value("workProfileBlockAddingAccounts", @work_profile_block_adding_accounts)
    writer.write_boolean_value("workProfileBlockCamera", @work_profile_block_camera)
    writer.write_boolean_value("workProfileBlockCrossProfileCallerId", @work_profile_block_cross_profile_caller_id)
    writer.write_boolean_value("workProfileBlockCrossProfileContactsSearch", @work_profile_block_cross_profile_contacts_search)
    writer.write_boolean_value("workProfileBlockCrossProfileCopyPaste", @work_profile_block_cross_profile_copy_paste)
    writer.write_boolean_value("workProfileBlockNotificationsWhileDeviceLocked", @work_profile_block_notifications_while_device_locked)
    writer.write_boolean_value("workProfileBlockScreenCapture", @work_profile_block_screen_capture)
    writer.write_boolean_value("workProfileBluetoothEnableContactSharing", @work_profile_bluetooth_enable_contact_sharing)
    writer.write_enum_value("workProfileDataSharingType", @work_profile_data_sharing_type)
    writer.write_enum_value("workProfileDefaultAppPermissionPolicy", @work_profile_default_app_permission_policy)
    writer.write_boolean_value("workProfilePasswordBlockFingerprintUnlock", @work_profile_password_block_fingerprint_unlock)
    writer.write_boolean_value("workProfilePasswordBlockTrustAgents", @work_profile_password_block_trust_agents)
    writer.write_number_value("workProfilePasswordExpirationDays", @work_profile_password_expiration_days)
    writer.write_number_value("workProfilePasswordMinLetterCharacters", @work_profile_password_min_letter_characters)
    writer.write_number_value("workProfilePasswordMinLowerCaseCharacters", @work_profile_password_min_lower_case_characters)
    writer.write_number_value("workProfilePasswordMinNonLetterCharacters", @work_profile_password_min_non_letter_characters)
    writer.write_number_value("workProfilePasswordMinNumericCharacters", @work_profile_password_min_numeric_characters)
    writer.write_number_value("workProfilePasswordMinSymbolCharacters", @work_profile_password_min_symbol_characters)
    writer.write_number_value("workProfilePasswordMinUpperCaseCharacters", @work_profile_password_min_upper_case_characters)
    writer.write_number_value("workProfilePasswordMinimumLength", @work_profile_password_minimum_length)
    writer.write_number_value("workProfilePasswordMinutesOfInactivityBeforeScreenTimeout", @work_profile_password_minutes_of_inactivity_before_screen_timeout)
    writer.write_number_value("workProfilePasswordPreviousPasswordBlockCount", @work_profile_password_previous_password_block_count)
    writer.write_enum_value("workProfilePasswordRequiredType", @work_profile_password_required_type)
    writer.write_number_value("workProfilePasswordSignInFailureCountBeforeFactoryReset", )
    writer.write_boolean_value("workProfileRequirePassword", @work_profile_require_password)
end

#work_profile_block_adding_accountsObject

Gets the workProfileBlockAddingAccounts property value. Block users from adding/removing accounts in work profile.

Returns:

  • a boolean



354
355
356
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 354

def work_profile_block_adding_accounts
    return @work_profile_block_adding_accounts
end

#work_profile_block_adding_accounts=(value) ⇒ Object

Sets the workProfileBlockAddingAccounts property value. Block users from adding/removing accounts in work profile.

Parameters:

  • value

    Value to set for the workProfileBlockAddingAccounts property.

Returns:

  • a void



362
363
364
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 362

def work_profile_block_adding_accounts=(value)
    @work_profile_block_adding_accounts = value
end

#work_profile_block_cameraObject

Gets the workProfileBlockCamera property value. Block work profile camera.

Returns:

  • a boolean



369
370
371
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 369

def work_profile_block_camera
    return @work_profile_block_camera
end

#work_profile_block_camera=(value) ⇒ Object

Sets the workProfileBlockCamera property value. Block work profile camera.

Parameters:

  • value

    Value to set for the workProfileBlockCamera property.

Returns:

  • a void



377
378
379
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 377

def work_profile_block_camera=(value)
    @work_profile_block_camera = value
end

#work_profile_block_cross_profile_caller_idObject

Gets the workProfileBlockCrossProfileCallerId property value. Block display work profile caller ID in personal profile.

Returns:

  • a boolean



384
385
386
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 384

def work_profile_block_cross_profile_caller_id
    return @work_profile_block_cross_profile_caller_id
end

#work_profile_block_cross_profile_caller_id=(value) ⇒ Object

Sets the workProfileBlockCrossProfileCallerId property value. Block display work profile caller ID in personal profile.

Parameters:

  • value

    Value to set for the workProfileBlockCrossProfileCallerId property.

Returns:

  • a void



392
393
394
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 392

def work_profile_block_cross_profile_caller_id=(value)
    @work_profile_block_cross_profile_caller_id = value
end

#work_profile_block_cross_profile_contacts_searchObject

Gets the workProfileBlockCrossProfileContactsSearch property value. Block work profile contacts availability in personal profile.

Returns:

  • a boolean



399
400
401
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 399

def work_profile_block_cross_profile_contacts_search
    return @work_profile_block_cross_profile_contacts_search
end

#work_profile_block_cross_profile_contacts_search=(value) ⇒ Object

Sets the workProfileBlockCrossProfileContactsSearch property value. Block work profile contacts availability in personal profile.

Parameters:

  • value

    Value to set for the workProfileBlockCrossProfileContactsSearch property.

Returns:

  • a void



407
408
409
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 407

def work_profile_block_cross_profile_contacts_search=(value)
    @work_profile_block_cross_profile_contacts_search = value
end

#work_profile_block_cross_profile_copy_pasteObject

Gets the workProfileBlockCrossProfileCopyPaste property value. Boolean that indicates if the setting disallow cross profile copy/paste is enabled.

Returns:

  • a boolean



414
415
416
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 414

def work_profile_block_cross_profile_copy_paste
    return @work_profile_block_cross_profile_copy_paste
end

#work_profile_block_cross_profile_copy_paste=(value) ⇒ Object

Sets the workProfileBlockCrossProfileCopyPaste property value. Boolean that indicates if the setting disallow cross profile copy/paste is enabled.

Parameters:

  • value

    Value to set for the workProfileBlockCrossProfileCopyPaste property.

Returns:

  • a void



422
423
424
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 422

def work_profile_block_cross_profile_copy_paste=(value)
    @work_profile_block_cross_profile_copy_paste = value
end

#work_profile_block_notifications_while_device_lockedObject

Gets the workProfileBlockNotificationsWhileDeviceLocked property value. Indicates whether or not to block notifications while device locked.

Returns:

  • a boolean



429
430
431
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 429

def work_profile_block_notifications_while_device_locked
    return @work_profile_block_notifications_while_device_locked
end

#work_profile_block_notifications_while_device_locked=(value) ⇒ Object

Sets the workProfileBlockNotificationsWhileDeviceLocked property value. Indicates whether or not to block notifications while device locked.

Parameters:

  • value

    Value to set for the workProfileBlockNotificationsWhileDeviceLocked property.

Returns:

  • a void



437
438
439
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 437

def work_profile_block_notifications_while_device_locked=(value)
    @work_profile_block_notifications_while_device_locked = value
end

#work_profile_block_screen_captureObject

Gets the workProfileBlockScreenCapture property value. Block screen capture in work profile.

Returns:

  • a boolean



444
445
446
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 444

def work_profile_block_screen_capture
    return @work_profile_block_screen_capture
end

#work_profile_block_screen_capture=(value) ⇒ Object

Sets the workProfileBlockScreenCapture property value. Block screen capture in work profile.

Parameters:

  • value

    Value to set for the workProfileBlockScreenCapture property.

Returns:

  • a void



452
453
454
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 452

def work_profile_block_screen_capture=(value)
    @work_profile_block_screen_capture = value
end

#work_profile_bluetooth_enable_contact_sharingObject

Gets the workProfileBluetoothEnableContactSharing property value. Allow bluetooth devices to access enterprise contacts.

Returns:

  • a boolean



459
460
461
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 459

def work_profile_bluetooth_enable_contact_sharing
    return @work_profile_bluetooth_enable_contact_sharing
end

#work_profile_bluetooth_enable_contact_sharing=(value) ⇒ Object

Sets the workProfileBluetoothEnableContactSharing property value. Allow bluetooth devices to access enterprise contacts.

Parameters:

  • value

    Value to set for the workProfileBluetoothEnableContactSharing property.

Returns:

  • a void



467
468
469
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 467

def work_profile_bluetooth_enable_contact_sharing=(value)
    @work_profile_bluetooth_enable_contact_sharing = value
end

#work_profile_data_sharing_typeObject

Gets the workProfileDataSharingType property value. Android Work Profile cross profile data sharing type.

Returns:

  • a android_work_profile_cross_profile_data_sharing_type



474
475
476
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 474

def work_profile_data_sharing_type
    return @work_profile_data_sharing_type
end

#work_profile_data_sharing_type=(value) ⇒ Object

Sets the workProfileDataSharingType property value. Android Work Profile cross profile data sharing type.

Parameters:

  • value

    Value to set for the workProfileDataSharingType property.

Returns:

  • a void



482
483
484
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 482

def work_profile_data_sharing_type=(value)
    @work_profile_data_sharing_type = value
end

#work_profile_default_app_permission_policyObject

Gets the workProfileDefaultAppPermissionPolicy property value. Android Work Profile default app permission policy type.

Returns:

  • a android_work_profile_default_app_permission_policy_type



489
490
491
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 489

def work_profile_default_app_permission_policy
    return @work_profile_default_app_permission_policy
end

#work_profile_default_app_permission_policy=(value) ⇒ Object

Sets the workProfileDefaultAppPermissionPolicy property value. Android Work Profile default app permission policy type.

Parameters:

  • value

    Value to set for the workProfileDefaultAppPermissionPolicy property.

Returns:

  • a void



497
498
499
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 497

def work_profile_default_app_permission_policy=(value)
    @work_profile_default_app_permission_policy = value
end

#work_profile_password_block_fingerprint_unlockObject

Gets the workProfilePasswordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock for work profile.

Returns:

  • a boolean



504
505
506
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 504

def work_profile_password_block_fingerprint_unlock
    return @work_profile_password_block_fingerprint_unlock
end

#work_profile_password_block_fingerprint_unlock=(value) ⇒ Object

Sets the workProfilePasswordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock for work profile.

Parameters:

  • value

    Value to set for the workProfilePasswordBlockFingerprintUnlock property.

Returns:

  • a void



512
513
514
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 512

def work_profile_password_block_fingerprint_unlock=(value)
    @work_profile_password_block_fingerprint_unlock = value
end

#work_profile_password_block_trust_agentsObject

Gets the workProfilePasswordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents for work profile.

Returns:

  • a boolean



519
520
521
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 519

def work_profile_password_block_trust_agents
    return @work_profile_password_block_trust_agents
end

#work_profile_password_block_trust_agents=(value) ⇒ Object

Sets the workProfilePasswordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents for work profile.

Parameters:

  • value

    Value to set for the workProfilePasswordBlockTrustAgents property.

Returns:

  • a void



527
528
529
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 527

def work_profile_password_block_trust_agents=(value)
    @work_profile_password_block_trust_agents = value
end

#work_profile_password_expiration_daysObject

Gets the workProfilePasswordExpirationDays property value. Number of days before the work profile password expires. Valid values 1 to 365

Returns:

  • a integer



534
535
536
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 534

def work_profile_password_expiration_days
    return @work_profile_password_expiration_days
end

#work_profile_password_expiration_days=(value) ⇒ Object

Sets the workProfilePasswordExpirationDays property value. Number of days before the work profile password expires. Valid values 1 to 365

Parameters:

  • value

    Value to set for the workProfilePasswordExpirationDays property.

Returns:

  • a void



542
543
544
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 542

def work_profile_password_expiration_days=(value)
    @work_profile_password_expiration_days = value
end

#work_profile_password_min_letter_charactersObject

Gets the workProfilePasswordMinLetterCharacters property value. Minimum # of letter characters required in work profile password. Valid values 1 to 10

Returns:

  • a integer



549
550
551
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 549

def work_profile_password_min_letter_characters
    return @work_profile_password_min_letter_characters
end

#work_profile_password_min_letter_characters=(value) ⇒ Object

Sets the workProfilePasswordMinLetterCharacters property value. Minimum # of letter characters required in work profile password. Valid values 1 to 10

Parameters:

  • value

    Value to set for the workProfilePasswordMinLetterCharacters property.

Returns:

  • a void



557
558
559
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 557

def work_profile_password_min_letter_characters=(value)
    @work_profile_password_min_letter_characters = value
end

#work_profile_password_min_lower_case_charactersObject

Gets the workProfilePasswordMinLowerCaseCharacters property value. Minimum # of lower-case characters required in work profile password. Valid values 1 to 10

Returns:

  • a integer



564
565
566
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 564

def work_profile_password_min_lower_case_characters
    return @work_profile_password_min_lower_case_characters
end

#work_profile_password_min_lower_case_characters=(value) ⇒ Object

Sets the workProfilePasswordMinLowerCaseCharacters property value. Minimum # of lower-case characters required in work profile password. Valid values 1 to 10

Parameters:

  • value

    Value to set for the workProfilePasswordMinLowerCaseCharacters property.

Returns:

  • a void



572
573
574
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 572

def work_profile_password_min_lower_case_characters=(value)
    @work_profile_password_min_lower_case_characters = value
end

#work_profile_password_min_non_letter_charactersObject

Gets the workProfilePasswordMinNonLetterCharacters property value. Minimum # of non-letter characters required in work profile password. Valid values 1 to 10

Returns:

  • a integer



579
580
581
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 579

def work_profile_password_min_non_letter_characters
    return @work_profile_password_min_non_letter_characters
end

#work_profile_password_min_non_letter_characters=(value) ⇒ Object

Sets the workProfilePasswordMinNonLetterCharacters property value. Minimum # of non-letter characters required in work profile password. Valid values 1 to 10

Parameters:

  • value

    Value to set for the workProfilePasswordMinNonLetterCharacters property.

Returns:

  • a void



587
588
589
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 587

def work_profile_password_min_non_letter_characters=(value)
    @work_profile_password_min_non_letter_characters = value
end

#work_profile_password_min_numeric_charactersObject

Gets the workProfilePasswordMinNumericCharacters property value. Minimum # of numeric characters required in work profile password. Valid values 1 to 10

Returns:

  • a integer



594
595
596
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 594

def work_profile_password_min_numeric_characters
    return @work_profile_password_min_numeric_characters
end

#work_profile_password_min_numeric_characters=(value) ⇒ Object

Sets the workProfilePasswordMinNumericCharacters property value. Minimum # of numeric characters required in work profile password. Valid values 1 to 10

Parameters:

  • value

    Value to set for the workProfilePasswordMinNumericCharacters property.

Returns:

  • a void



602
603
604
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 602

def work_profile_password_min_numeric_characters=(value)
    @work_profile_password_min_numeric_characters = value
end

#work_profile_password_min_symbol_charactersObject

Gets the workProfilePasswordMinSymbolCharacters property value. Minimum # of symbols required in work profile password. Valid values 1 to 10

Returns:

  • a integer



609
610
611
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 609

def work_profile_password_min_symbol_characters
    return @work_profile_password_min_symbol_characters
end

#work_profile_password_min_symbol_characters=(value) ⇒ Object

Sets the workProfilePasswordMinSymbolCharacters property value. Minimum # of symbols required in work profile password. Valid values 1 to 10

Parameters:

  • value

    Value to set for the workProfilePasswordMinSymbolCharacters property.

Returns:

  • a void



617
618
619
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 617

def work_profile_password_min_symbol_characters=(value)
    @work_profile_password_min_symbol_characters = value
end

#work_profile_password_min_upper_case_charactersObject

Gets the workProfilePasswordMinUpperCaseCharacters property value. Minimum # of upper-case characters required in work profile password. Valid values 1 to 10

Returns:

  • a integer



624
625
626
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 624

def work_profile_password_min_upper_case_characters
    return @work_profile_password_min_upper_case_characters
end

#work_profile_password_min_upper_case_characters=(value) ⇒ Object

Sets the workProfilePasswordMinUpperCaseCharacters property value. Minimum # of upper-case characters required in work profile password. Valid values 1 to 10

Parameters:

  • value

    Value to set for the workProfilePasswordMinUpperCaseCharacters property.

Returns:

  • a void



632
633
634
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 632

def work_profile_password_min_upper_case_characters=(value)
    @work_profile_password_min_upper_case_characters = value
end

#work_profile_password_minimum_lengthObject

Gets the workProfilePasswordMinimumLength property value. Minimum length of work profile password. Valid values 4 to 16

Returns:

  • a integer



639
640
641
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 639

def work_profile_password_minimum_length
    return @work_profile_password_minimum_length
end

#work_profile_password_minimum_length=(value) ⇒ Object

Sets the workProfilePasswordMinimumLength property value. Minimum length of work profile password. Valid values 4 to 16

Parameters:

  • value

    Value to set for the workProfilePasswordMinimumLength property.

Returns:

  • a void



647
648
649
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 647

def work_profile_password_minimum_length=(value)
    @work_profile_password_minimum_length = value
end

#work_profile_password_minutes_of_inactivity_before_screen_timeoutObject

Gets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.

Returns:

  • a integer



654
655
656
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 654

def work_profile_password_minutes_of_inactivity_before_screen_timeout
    return @work_profile_password_minutes_of_inactivity_before_screen_timeout
end

#work_profile_password_minutes_of_inactivity_before_screen_timeout=(value) ⇒ Object

Sets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.

Parameters:

  • value

    Value to set for the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property.

Returns:

  • a void



662
663
664
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 662

def work_profile_password_minutes_of_inactivity_before_screen_timeout=(value)
    @work_profile_password_minutes_of_inactivity_before_screen_timeout = value
end

#work_profile_password_previous_password_block_countObject

Gets the workProfilePasswordPreviousPasswordBlockCount property value. Number of previous work profile passwords to block. Valid values 0 to 24

Returns:

  • a integer



669
670
671
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 669

def work_profile_password_previous_password_block_count
    return @work_profile_password_previous_password_block_count
end

#work_profile_password_previous_password_block_count=(value) ⇒ Object

Sets the workProfilePasswordPreviousPasswordBlockCount property value. Number of previous work profile passwords to block. Valid values 0 to 24

Parameters:

  • value

    Value to set for the workProfilePasswordPreviousPasswordBlockCount property.

Returns:

  • a void



677
678
679
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 677

def work_profile_password_previous_password_block_count=(value)
    @work_profile_password_previous_password_block_count = value
end

#work_profile_password_required_typeObject

Gets the workProfilePasswordRequiredType property value. Android Work Profile required password type.

Returns:

  • a android_work_profile_required_password_type



684
685
686
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 684

def work_profile_password_required_type
    return @work_profile_password_required_type
end

#work_profile_password_required_type=(value) ⇒ Object

Sets the workProfilePasswordRequiredType property value. Android Work Profile required password type.

Parameters:

  • value

    Value to set for the workProfilePasswordRequiredType property.

Returns:

  • a void



692
693
694
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 692

def work_profile_password_required_type=(value)
    @work_profile_password_required_type = value
end

#work_profile_password_sign_in_failure_count_before_factory_resetObject

Gets the workProfilePasswordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16

Returns:

  • a integer



699
700
701
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 699

def 
    return 
end

#work_profile_password_sign_in_failure_count_before_factory_reset=(value) ⇒ Object

Sets the workProfilePasswordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16

Parameters:

  • value

    Value to set for the workProfilePasswordSignInFailureCountBeforeFactoryReset property.

Returns:

  • a void



707
708
709
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 707

def (value)
     = value
end

#work_profile_require_passwordObject

Gets the workProfileRequirePassword property value. Password is required or not for work profile

Returns:

  • a boolean



714
715
716
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 714

def work_profile_require_password
    return @work_profile_require_password
end

#work_profile_require_password=(value) ⇒ Object

Sets the workProfileRequirePassword property value. Password is required or not for work profile

Parameters:

  • value

    Value to set for the workProfileRequirePassword property.

Returns:

  • a void



722
723
724
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 722

def work_profile_require_password=(value)
    @work_profile_require_password = value
end