Class: MicrosoftGraph::Models::AndroidWorkProfileGeneralDeviceConfiguration
- Inherits:
-
DeviceConfiguration
- Object
- Entity
- DeviceConfiguration
- MicrosoftGraph::Models::AndroidWorkProfileGeneralDeviceConfiguration
- 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
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new androidWorkProfileGeneralDeviceConfiguration and sets the default values.
-
#password_block_fingerprint_unlock ⇒ Object
Gets the passwordBlockFingerprintUnlock property value.
-
#password_block_fingerprint_unlock=(value) ⇒ Object
Sets the passwordBlockFingerprintUnlock property value.
-
#password_block_trust_agents ⇒ Object
Gets the passwordBlockTrustAgents property value.
-
#password_block_trust_agents=(value) ⇒ Object
Sets the passwordBlockTrustAgents property value.
-
#password_expiration_days ⇒ Object
Gets the passwordExpirationDays property value.
-
#password_expiration_days=(value) ⇒ Object
Sets the passwordExpirationDays 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_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.
-
#security_require_verify_apps ⇒ Object
Gets the securityRequireVerifyApps property value.
-
#security_require_verify_apps=(value) ⇒ Object
Sets the securityRequireVerifyApps property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#work_profile_block_adding_accounts ⇒ Object
Gets the workProfileBlockAddingAccounts property value.
-
#work_profile_block_adding_accounts=(value) ⇒ Object
Sets the workProfileBlockAddingAccounts property value.
-
#work_profile_block_camera ⇒ Object
Gets the workProfileBlockCamera property value.
-
#work_profile_block_camera=(value) ⇒ Object
Sets the workProfileBlockCamera property value.
-
#work_profile_block_cross_profile_caller_id ⇒ Object
Gets the workProfileBlockCrossProfileCallerId property value.
-
#work_profile_block_cross_profile_caller_id=(value) ⇒ Object
Sets the workProfileBlockCrossProfileCallerId property value.
-
#work_profile_block_cross_profile_contacts_search ⇒ Object
Gets the workProfileBlockCrossProfileContactsSearch property value.
-
#work_profile_block_cross_profile_contacts_search=(value) ⇒ Object
Sets the workProfileBlockCrossProfileContactsSearch property value.
-
#work_profile_block_cross_profile_copy_paste ⇒ Object
Gets the workProfileBlockCrossProfileCopyPaste property value.
-
#work_profile_block_cross_profile_copy_paste=(value) ⇒ Object
Sets the workProfileBlockCrossProfileCopyPaste property value.
-
#work_profile_block_notifications_while_device_locked ⇒ Object
Gets the workProfileBlockNotificationsWhileDeviceLocked property value.
-
#work_profile_block_notifications_while_device_locked=(value) ⇒ Object
Sets the workProfileBlockNotificationsWhileDeviceLocked property value.
-
#work_profile_block_screen_capture ⇒ Object
Gets the workProfileBlockScreenCapture property value.
-
#work_profile_block_screen_capture=(value) ⇒ Object
Sets the workProfileBlockScreenCapture property value.
-
#work_profile_bluetooth_enable_contact_sharing ⇒ Object
Gets the workProfileBluetoothEnableContactSharing property value.
-
#work_profile_bluetooth_enable_contact_sharing=(value) ⇒ Object
Sets the workProfileBluetoothEnableContactSharing property value.
-
#work_profile_data_sharing_type ⇒ Object
Gets the workProfileDataSharingType property value.
-
#work_profile_data_sharing_type=(value) ⇒ Object
Sets the workProfileDataSharingType property value.
-
#work_profile_default_app_permission_policy ⇒ Object
Gets the workProfileDefaultAppPermissionPolicy property value.
-
#work_profile_default_app_permission_policy=(value) ⇒ Object
Sets the workProfileDefaultAppPermissionPolicy property value.
-
#work_profile_password_block_fingerprint_unlock ⇒ Object
Gets the workProfilePasswordBlockFingerprintUnlock property value.
-
#work_profile_password_block_fingerprint_unlock=(value) ⇒ Object
Sets the workProfilePasswordBlockFingerprintUnlock property value.
-
#work_profile_password_block_trust_agents ⇒ Object
Gets the workProfilePasswordBlockTrustAgents property value.
-
#work_profile_password_block_trust_agents=(value) ⇒ Object
Sets the workProfilePasswordBlockTrustAgents property value.
-
#work_profile_password_expiration_days ⇒ Object
Gets the workProfilePasswordExpirationDays property value.
-
#work_profile_password_expiration_days=(value) ⇒ Object
Sets the workProfilePasswordExpirationDays property value.
-
#work_profile_password_min_letter_characters ⇒ Object
Gets the workProfilePasswordMinLetterCharacters property value.
-
#work_profile_password_min_letter_characters=(value) ⇒ Object
Sets the workProfilePasswordMinLetterCharacters property value.
-
#work_profile_password_min_lower_case_characters ⇒ Object
Gets the workProfilePasswordMinLowerCaseCharacters property value.
-
#work_profile_password_min_lower_case_characters=(value) ⇒ Object
Sets the workProfilePasswordMinLowerCaseCharacters property value.
-
#work_profile_password_min_non_letter_characters ⇒ Object
Gets the workProfilePasswordMinNonLetterCharacters property value.
-
#work_profile_password_min_non_letter_characters=(value) ⇒ Object
Sets the workProfilePasswordMinNonLetterCharacters property value.
-
#work_profile_password_min_numeric_characters ⇒ Object
Gets the workProfilePasswordMinNumericCharacters property value.
-
#work_profile_password_min_numeric_characters=(value) ⇒ Object
Sets the workProfilePasswordMinNumericCharacters property value.
-
#work_profile_password_min_symbol_characters ⇒ Object
Gets the workProfilePasswordMinSymbolCharacters property value.
-
#work_profile_password_min_symbol_characters=(value) ⇒ Object
Sets the workProfilePasswordMinSymbolCharacters property value.
-
#work_profile_password_min_upper_case_characters ⇒ Object
Gets the workProfilePasswordMinUpperCaseCharacters property value.
-
#work_profile_password_min_upper_case_characters=(value) ⇒ Object
Sets the workProfilePasswordMinUpperCaseCharacters property value.
-
#work_profile_password_minimum_length ⇒ Object
Gets the workProfilePasswordMinimumLength property value.
-
#work_profile_password_minimum_length=(value) ⇒ Object
Sets the workProfilePasswordMinimumLength property value.
-
#work_profile_password_minutes_of_inactivity_before_screen_timeout ⇒ Object
Gets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property value.
-
#work_profile_password_minutes_of_inactivity_before_screen_timeout=(value) ⇒ Object
Sets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property value.
-
#work_profile_password_previous_password_block_count ⇒ Object
Gets the workProfilePasswordPreviousPasswordBlockCount property value.
-
#work_profile_password_previous_password_block_count=(value) ⇒ Object
Sets the workProfilePasswordPreviousPasswordBlockCount property value.
-
#work_profile_password_required_type ⇒ Object
Gets the workProfilePasswordRequiredType property value.
-
#work_profile_password_required_type=(value) ⇒ Object
Sets the workProfilePasswordRequiredType property value.
-
#work_profile_password_sign_in_failure_count_before_factory_reset ⇒ Object
Gets the workProfilePasswordSignInFailureCountBeforeFactoryReset property value.
-
#work_profile_password_sign_in_failure_count_before_factory_reset=(value) ⇒ Object
Sets the workProfilePasswordSignInFailureCountBeforeFactoryReset property value.
-
#work_profile_require_password ⇒ Object
Gets the workProfileRequirePassword property value.
-
#work_profile_require_password=(value) ⇒ Object
Sets the workProfileRequirePassword 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 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
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_deserializers ⇒ Object
The deserialization information for the current model
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| @password_sign_in_failure_count_before_factory_reset = 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| = 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| @work_profile_password_sign_in_failure_count_before_factory_reset = n.get_number_value() }, "workProfileRequirePassword" => lambda {|n| @work_profile_require_password = n.get_boolean_value() }, }) end |
#password_block_fingerprint_unlock ⇒ Object
Gets the passwordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock.
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.
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_agents ⇒ Object
Gets the passwordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents.
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.
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_days ⇒ Object
Gets the passwordExpirationDays property value. Number of days before the password expires. Valid values 1 to 365
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
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_length ⇒ Object
Gets the passwordMinimumLength property value. Minimum length of passwords. Valid values 4 to 16
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
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_timeout ⇒ Object
Gets the passwordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.
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.
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_count ⇒ Object
Gets the passwordPreviousPasswordBlockCount property value. Number of previous passwords to block. Valid values 0 to 24
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
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_type ⇒ Object
Gets the passwordRequiredType property value. 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.
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_reset ⇒ Object
Gets the passwordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before factory reset. Valid values 1 to 16
281 282 283 |
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 281 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. Valid values 1 to 16
289 290 291 |
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 289 def password_sign_in_failure_count_before_factory_reset=(value) @password_sign_in_failure_count_before_factory_reset = value end |
#security_require_verify_apps ⇒ Object
Gets the securityRequireVerifyApps property value. Require the Android Verify apps feature is turned on.
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.
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
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", @password_sign_in_failure_count_before_factory_reset) 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", ) 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", @work_profile_password_sign_in_failure_count_before_factory_reset) writer.write_boolean_value("workProfileRequirePassword", @work_profile_require_password) end |
#work_profile_block_adding_accounts ⇒ Object
Gets the workProfileBlockAddingAccounts property value. Block users from adding/removing accounts in work profile.
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.
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_camera ⇒ Object
Gets the workProfileBlockCamera property value. Block work profile camera.
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.
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_id ⇒ Object
Gets the workProfileBlockCrossProfileCallerId property value. Block display work profile caller ID in personal profile.
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.
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_search ⇒ Object
Gets the workProfileBlockCrossProfileContactsSearch property value. Block work profile contacts availability in personal profile.
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.
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_paste ⇒ Object
Gets the workProfileBlockCrossProfileCopyPaste property value. Boolean that indicates if the setting disallow cross profile copy/paste is enabled.
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.
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_locked ⇒ Object
Gets the workProfileBlockNotificationsWhileDeviceLocked property value. Indicates whether or not to block notifications while device locked.
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.
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_capture ⇒ Object
Gets the workProfileBlockScreenCapture property value. Block screen capture in work profile.
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.
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_sharing ⇒ Object
Gets the workProfileBluetoothEnableContactSharing property value. Allow bluetooth devices to access enterprise contacts.
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.
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_type ⇒ Object
Gets the workProfileDataSharingType property value. 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.
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_policy ⇒ Object
Gets the workProfileDefaultAppPermissionPolicy property value. Android Work Profile default app permission policy type.
489 490 491 |
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 489 def return end |
#work_profile_default_app_permission_policy=(value) ⇒ Object
Sets the workProfileDefaultAppPermissionPolicy property value. Android Work Profile default app permission policy type.
497 498 499 |
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 497 def (value) = value end |
#work_profile_password_block_fingerprint_unlock ⇒ Object
Gets the workProfilePasswordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock for work profile.
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.
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_agents ⇒ Object
Gets the workProfilePasswordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents for work profile.
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.
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_days ⇒ Object
Gets the workProfilePasswordExpirationDays property value. Number of days before the work profile password expires. Valid values 1 to 365
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
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_characters ⇒ Object
Gets the workProfilePasswordMinLetterCharacters property value. Minimum # of letter characters required in work profile password. Valid values 1 to 10
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
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_characters ⇒ Object
Gets the workProfilePasswordMinLowerCaseCharacters property value. Minimum # of lower-case characters required in work profile password. Valid values 1 to 10
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
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_characters ⇒ Object
Gets the workProfilePasswordMinNonLetterCharacters property value. Minimum # of non-letter characters required in work profile password. Valid values 1 to 10
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
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_characters ⇒ Object
Gets the workProfilePasswordMinNumericCharacters property value. Minimum # of numeric characters required in work profile password. Valid values 1 to 10
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
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_characters ⇒ Object
Gets the workProfilePasswordMinSymbolCharacters property value. Minimum # of symbols required in work profile password. Valid values 1 to 10
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
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_characters ⇒ Object
Gets the workProfilePasswordMinUpperCaseCharacters property value. Minimum # of upper-case characters required in work profile password. Valid values 1 to 10
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
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_length ⇒ Object
Gets the workProfilePasswordMinimumLength property value. Minimum length of work profile password. Valid values 4 to 16
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
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_timeout ⇒ Object
Gets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.
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.
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_count ⇒ Object
Gets the workProfilePasswordPreviousPasswordBlockCount property value. Number of previous work profile passwords to block. Valid values 0 to 24
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
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_type ⇒ Object
Gets the workProfilePasswordRequiredType property value. 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.
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_reset ⇒ Object
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
699 700 701 |
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 699 def work_profile_password_sign_in_failure_count_before_factory_reset return @work_profile_password_sign_in_failure_count_before_factory_reset 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
707 708 709 |
# File 'lib/models/android_work_profile_general_device_configuration.rb', line 707 def work_profile_password_sign_in_failure_count_before_factory_reset=(value) @work_profile_password_sign_in_failure_count_before_factory_reset = value end |
#work_profile_require_password ⇒ Object
Gets the workProfileRequirePassword property value. Password is required or not for work profile
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
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 |