Class: OCI::IdentityDomains::Models::ExtensionUserUser

Inherits:
Object
  • Object
show all
Defined in:
lib/oci/identity_domains/models/extension_user_user.rb

Overview

Oracle Identity Cloud Service User

Constant Summary collapse

STATUS_ENUM =
[
  STATUS_PENDING_VERIFICATION = 'pendingVerification'.freeze,
  STATUS_VERIFIED = 'verified'.freeze,
  STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
PROVIDER_ENUM =
[
  PROVIDER_FACEBOOK = 'facebook'.freeze,
  PROVIDER_GOOGLE = 'google'.freeze,
  PROVIDER_IDCS = 'IDCS'.freeze,
  PROVIDER_TWITTER = 'twitter'.freeze,
  PROVIDER_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
PREFERRED_UI_LANDING_PAGE_ENUM =
[
  PREFERRED_UI_LANDING_PAGE_MY_APPS = 'MyApps'.freeze,
  PREFERRED_UI_LANDING_PAGE_MY_PROFILE = 'MyProfile'.freeze,
  PREFERRED_UI_LANDING_PAGE_OCI_CONSOLE = 'OciConsole'.freeze,
  PREFERRED_UI_LANDING_PAGE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
CREATION_MECHANISM_ENUM =
[
  CREATION_MECHANISM_BULK = 'bulk'.freeze,
  CREATION_MECHANISM_API = 'api'.freeze,
  CREATION_MECHANISM_ADSYNC = 'adsync'.freeze,
  CREATION_MECHANISM_IDCSUI = 'idcsui'.freeze,
  CREATION_MECHANISM_IMPORT = 'import'.freeze,
  CREATION_MECHANISM_AUTHSYNC = 'authsync'.freeze,
  CREATION_MECHANISM_SELFREG = 'selfreg'.freeze,
  CREATION_MECHANISM_SAMLJIT = 'samljit'.freeze,
  CREATION_MECHANISM_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ ExtensionUserUser

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash

Options Hash (attributes):



454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
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
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 454

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }

  self.is_federated_user = attributes[:'isFederatedUser'] unless attributes[:'isFederatedUser'].nil?

  raise 'You cannot provide both :isFederatedUser and :is_federated_user' if attributes.key?(:'isFederatedUser') && attributes.key?(:'is_federated_user')

  self.is_federated_user = attributes[:'is_federated_user'] unless attributes[:'is_federated_user'].nil?

  self.is_authentication_delegated = attributes[:'isAuthenticationDelegated'] unless attributes[:'isAuthenticationDelegated'].nil?

  raise 'You cannot provide both :isAuthenticationDelegated and :is_authentication_delegated' if attributes.key?(:'isAuthenticationDelegated') && attributes.key?(:'is_authentication_delegated')

  self.is_authentication_delegated = attributes[:'is_authentication_delegated'] unless attributes[:'is_authentication_delegated'].nil?

  self.status = attributes[:'status'] if attributes[:'status']

  self.provider = attributes[:'provider'] if attributes[:'provider']

  self.preferred_ui_landing_page = attributes[:'preferredUiLandingPage'] if attributes[:'preferredUiLandingPage']

  raise 'You cannot provide both :preferredUiLandingPage and :preferred_ui_landing_page' if attributes.key?(:'preferredUiLandingPage') && attributes.key?(:'preferred_ui_landing_page')

  self.preferred_ui_landing_page = attributes[:'preferred_ui_landing_page'] if attributes[:'preferred_ui_landing_page']

  self.creation_mechanism = attributes[:'creationMechanism'] if attributes[:'creationMechanism']

  raise 'You cannot provide both :creationMechanism and :creation_mechanism' if attributes.key?(:'creationMechanism') && attributes.key?(:'creation_mechanism')

  self.creation_mechanism = attributes[:'creation_mechanism'] if attributes[:'creation_mechanism']

  self.group_membership_last_modified = attributes[:'groupMembershipLastModified'] if attributes[:'groupMembershipLastModified']

  raise 'You cannot provide both :groupMembershipLastModified and :group_membership_last_modified' if attributes.key?(:'groupMembershipLastModified') && attributes.key?(:'group_membership_last_modified')

  self.group_membership_last_modified = attributes[:'group_membership_last_modified'] if attributes[:'group_membership_last_modified']

  self.do_not_show_getting_started = attributes[:'doNotShowGettingStarted'] unless attributes[:'doNotShowGettingStarted'].nil?

  raise 'You cannot provide both :doNotShowGettingStarted and :do_not_show_getting_started' if attributes.key?(:'doNotShowGettingStarted') && attributes.key?(:'do_not_show_getting_started')

  self.do_not_show_getting_started = attributes[:'do_not_show_getting_started'] unless attributes[:'do_not_show_getting_started'].nil?

  self.bypass_notification = attributes[:'bypassNotification'] unless attributes[:'bypassNotification'].nil?

  raise 'You cannot provide both :bypassNotification and :bypass_notification' if attributes.key?(:'bypassNotification') && attributes.key?(:'bypass_notification')

  self.bypass_notification = attributes[:'bypass_notification'] unless attributes[:'bypass_notification'].nil?

  self. = attributes[:'isAccountRecoveryEnrolled'] unless attributes[:'isAccountRecoveryEnrolled'].nil?

  raise 'You cannot provide both :isAccountRecoveryEnrolled and :is_account_recovery_enrolled' if attributes.key?(:'isAccountRecoveryEnrolled') && attributes.key?(:'is_account_recovery_enrolled')

  self. = attributes[:'is_account_recovery_enrolled'] unless attributes[:'is_account_recovery_enrolled'].nil?

  self. = attributes[:'accountRecoveryRequired'] unless attributes[:'accountRecoveryRequired'].nil?

  raise 'You cannot provide both :accountRecoveryRequired and :account_recovery_required' if attributes.key?(:'accountRecoveryRequired') && attributes.key?(:'account_recovery_required')

  self. = attributes[:'account_recovery_required'] unless attributes[:'account_recovery_required'].nil?

  self.user_flow_controlled_by_external_client = attributes[:'userFlowControlledByExternalClient'] unless attributes[:'userFlowControlledByExternalClient'].nil?

  raise 'You cannot provide both :userFlowControlledByExternalClient and :user_flow_controlled_by_external_client' if attributes.key?(:'userFlowControlledByExternalClient') && attributes.key?(:'user_flow_controlled_by_external_client')

  self.user_flow_controlled_by_external_client = attributes[:'user_flow_controlled_by_external_client'] unless attributes[:'user_flow_controlled_by_external_client'].nil?

  self.is_group_membership_normalized = attributes[:'isGroupMembershipNormalized'] unless attributes[:'isGroupMembershipNormalized'].nil?

  raise 'You cannot provide both :isGroupMembershipNormalized and :is_group_membership_normalized' if attributes.key?(:'isGroupMembershipNormalized') && attributes.key?(:'is_group_membership_normalized')

  self.is_group_membership_normalized = attributes[:'is_group_membership_normalized'] unless attributes[:'is_group_membership_normalized'].nil?

  self.is_group_membership_synced_to_users_groups = attributes[:'isGroupMembershipSyncedToUsersGroups'] unless attributes[:'isGroupMembershipSyncedToUsersGroups'].nil?

  raise 'You cannot provide both :isGroupMembershipSyncedToUsersGroups and :is_group_membership_synced_to_users_groups' if attributes.key?(:'isGroupMembershipSyncedToUsersGroups') && attributes.key?(:'is_group_membership_synced_to_users_groups')

  self.is_group_membership_synced_to_users_groups = attributes[:'is_group_membership_synced_to_users_groups'] unless attributes[:'is_group_membership_synced_to_users_groups'].nil?

  self.notification_email_template_id = attributes[:'notificationEmailTemplateId'] if attributes[:'notificationEmailTemplateId']

  raise 'You cannot provide both :notificationEmailTemplateId and :notification_email_template_id' if attributes.key?(:'notificationEmailTemplateId') && attributes.key?(:'notification_email_template_id')

  self.notification_email_template_id = attributes[:'notification_email_template_id'] if attributes[:'notification_email_template_id']

  self.support_accounts = attributes[:'supportAccounts'] if attributes[:'supportAccounts']

  raise 'You cannot provide both :supportAccounts and :support_accounts' if attributes.key?(:'supportAccounts') && attributes.key?(:'support_accounts')

  self.support_accounts = attributes[:'support_accounts'] if attributes[:'support_accounts']

  self.idcs_app_roles_limited_to_groups = attributes[:'idcsAppRolesLimitedToGroups'] if attributes[:'idcsAppRolesLimitedToGroups']

  raise 'You cannot provide both :idcsAppRolesLimitedToGroups and :idcs_app_roles_limited_to_groups' if attributes.key?(:'idcsAppRolesLimitedToGroups') && attributes.key?(:'idcs_app_roles_limited_to_groups')

  self.idcs_app_roles_limited_to_groups = attributes[:'idcs_app_roles_limited_to_groups'] if attributes[:'idcs_app_roles_limited_to_groups']

  self.user_token = attributes[:'userToken'] if attributes[:'userToken']

  raise 'You cannot provide both :userToken and :user_token' if attributes.key?(:'userToken') && attributes.key?(:'user_token')

  self.user_token = attributes[:'user_token'] if attributes[:'user_token']

  self.synced_from_app = attributes[:'syncedFromApp'] if attributes[:'syncedFromApp']

  raise 'You cannot provide both :syncedFromApp and :synced_from_app' if attributes.key?(:'syncedFromApp') && attributes.key?(:'synced_from_app')

  self.synced_from_app = attributes[:'synced_from_app'] if attributes[:'synced_from_app']

  self.applicable_authentication_target_app = attributes[:'applicableAuthenticationTargetApp'] if attributes[:'applicableAuthenticationTargetApp']

  raise 'You cannot provide both :applicableAuthenticationTargetApp and :applicable_authentication_target_app' if attributes.key?(:'applicableAuthenticationTargetApp') && attributes.key?(:'applicable_authentication_target_app')

  self.applicable_authentication_target_app = attributes[:'applicable_authentication_target_app'] if attributes[:'applicable_authentication_target_app']

  self.delegated_authentication_target_app = attributes[:'delegatedAuthenticationTargetApp'] if attributes[:'delegatedAuthenticationTargetApp']

  raise 'You cannot provide both :delegatedAuthenticationTargetApp and :delegated_authentication_target_app' if attributes.key?(:'delegatedAuthenticationTargetApp') && attributes.key?(:'delegated_authentication_target_app')

  self.delegated_authentication_target_app = attributes[:'delegated_authentication_target_app'] if attributes[:'delegated_authentication_target_app']

  self.accounts = attributes[:'accounts'] if attributes[:'accounts']

  self.grants = attributes[:'grants'] if attributes[:'grants']

  self.app_roles = attributes[:'appRoles'] if attributes[:'appRoles']

  raise 'You cannot provide both :appRoles and :app_roles' if attributes.key?(:'appRoles') && attributes.key?(:'app_roles')

  self.app_roles = attributes[:'app_roles'] if attributes[:'app_roles']
end

Instance Attribute Details

#account_recovery_requiredBOOLEAN

Boolean value to prompt user to setup account recovery during login.

Added In: 19.1.4

SCIM++ Properties: - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: request - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


212
213
214
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 212

def 
  @account_recovery_required
end

#accountsArray<OCI::IdentityDomains::Models::UserExtAccounts>

Accounts assigned to this User. Each value of this attribute refers to an app-specific identity that is owned by this User. Therefore, this attribute is a convenience that allows one to see on each User the Apps to which that User has access.

SCIM++ Properties: - idcsPii: true - idcsSearchable: true - multiValued: true - mutability: readOnly - required: false - returned: request - type: complex - uniqueness: none



332
333
334
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 332

def accounts
  @accounts
end

#app_rolesArray<OCI::IdentityDomains::Models::UserExtAppRoles>

A list of all AppRoles to which this User belongs directly, indirectly or implicitly. The User could belong directly because the User is a member of the AppRole, could belong indirectly because the User is a member of a Group that is a member of the AppRole, or could belong implicitly because the AppRole is public.

SCIM++ Properties: - idcsCompositeKey: [value] - multiValued: true - mutability: readOnly - required: false - returned: request - type: complex - uniqueness: none



358
359
360
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 358

def app_roles
  @app_roles
end

#applicable_authentication_target_appOCI::IdentityDomains::Models::UserExtApplicableAuthenticationTargetApp



315
316
317
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 315

def applicable_authentication_target_app
  @applicable_authentication_target_app
end

#bypass_notificationBOOLEAN

A Boolean value indicating whether or not to send email notification after creating the user. This attribute is not used in update/replace operations.

SCIM++ Properties: - caseExact: false - idcsCsvAttributeNameMappings: [[columnHeaderName:ByPass Notification]] - idcsSearchable: false - multiValued: false - mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: false - returned: never - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


181
182
183
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 181

def bypass_notification
  @bypass_notification
end

#creation_mechanismString

User creation mechanism

SCIM++ Properties: - caseExact: false - idcsCsvAttributeNameMappings: [[defaultValue:import]] - idcsSearchable: true - multiValued: false - mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: string - uniqueness: none

Returns:

  • (String)


136
137
138
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 136

def creation_mechanism
  @creation_mechanism
end

#delegated_authentication_target_appOCI::IdentityDomains::Models::UserExtDelegatedAuthenticationTargetApp



318
319
320
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 318

def delegated_authentication_target_app
  @delegated_authentication_target_app
end

#do_not_show_getting_startedBOOLEAN

A Boolean value indicating whether or not to hide the getting started page

SCIM++ Properties: - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


165
166
167
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 165

def do_not_show_getting_started
  @do_not_show_getting_started
end

#grantsArray<OCI::IdentityDomains::Models::UserExtGrants>

Grants to this User. Each value of this attribute refers to a Grant to this User of some App (and optionally of some entitlement). Therefore, this attribute is a convenience that allows one to see on each User all of the Grants to that User.

SCIM++ Properties: - idcsSearchable: true - multiValued: true - mutability: readOnly - required: false - returned: request - type: complex - uniqueness: none



345
346
347
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 345

def grants
  @grants
end

#group_membership_last_modifiedString

Specifies date time when a User's group membership was last modified.

Added In: 2304270343

SCIM++ Properties: - caseExact: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: dateTime - uniqueness: none

Returns:

  • (String)


151
152
153
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 151

def group_membership_last_modified
  @group_membership_last_modified
end

#idcs_app_roles_limited_to_groupsArray<OCI::IdentityDomains::Models::UserExtIdcsAppRolesLimitedToGroups>

Description:

Added In: 19.2.1

SCIM++ Properties: - idcsCompositeKey: [value, idcsAppRoleId] - idcsSearchable: true - multiValued: true - mutability: readOnly - required: false - returned: request - type: complex



306
307
308
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 306

def idcs_app_roles_limited_to_groups
  @idcs_app_roles_limited_to_groups
end

#is_account_recovery_enrolledBOOLEAN

A Boolean value indicating whether or not a user is enrolled for account recovery

Added In: 19.1.4

SCIM++ Properties: - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


197
198
199
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 197

def 
  @is_account_recovery_enrolled
end

#is_authentication_delegatedBOOLEAN

A Boolean value indicating whether or not authentication request by this user should be delegated to a remote app. This value should be true only when the User was originally synced from an app which is enabled for delegated authentication

Added In: 17.4.6

SCIM++ Properties: - caseExact: false - idcsSearchable: false - multiValued: false - mutability: immutable - required: false - returned: never - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


76
77
78
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 76

def is_authentication_delegated
  @is_authentication_delegated
end

#is_federated_userBOOLEAN

A Boolean value indicating whether or not the user is federated.

SCIM++ Properties: - caseExact: false - idcsCsvAttributeName: Federated - idcsCsvAttributeNameMappings: [[columnHeaderName:Federated]] - idcsSearchable: true - multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


60
61
62
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 60

def is_federated_user
  @is_federated_user
end

#is_group_membership_normalizedBOOLEAN

A Boolean value indicating whether or not group membership is normalized for this user.

Deprecated Since: 19.3.3

SCIM++ Properties: - caseExact: false - idcsSearchable: false - multiValued: false - mutability: immutable - required: false - returned: never - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


244
245
246
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 244

def is_group_membership_normalized
  @is_group_membership_normalized
end

#is_group_membership_synced_to_users_groupsBOOLEAN

A Boolean value Indicates whether this User's group membership has been sync'ed from Group.members to UsersGroups.

Added In: 19.3.3

SCIM++ Properties: - caseExact: false - idcsSearchable: false - multiValued: false - mutability: immutable - required: false - returned: never - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


260
261
262
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 260

def is_group_membership_synced_to_users_groups
  @is_group_membership_synced_to_users_groups
end

#notification_email_template_idString

Specifies the EmailTemplate to be used when sending notification to the user this request is for. If specified, it overrides the default EmailTemplate for this event.

SCIM++ Properties: - caseExact: false - idcsSearchable: false - multiValued: false - mutability: writeOnly - required: false - returned: never - type: string - uniqueness: none

Returns:

  • (String)


274
275
276
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 274

def notification_email_template_id
  @notification_email_template_id
end

#preferred_ui_landing_pageString

User's preferred landing page following login, logout and reset password.

Added In: 2302092332

SCIM++ Properties: - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


120
121
122
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 120

def preferred_ui_landing_page
  @preferred_ui_landing_page
end

#providerString

Registration provider

SCIM++ Properties: - caseExact: false - idcsSearchable: true - multiValued: false - mutability: immutable - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


104
105
106
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 104

def provider
  @provider
end

#statusString

A supplemental status indicating the reason why a user is disabled

SCIM++ Properties: - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: request - type: string - uniqueness: none

Returns:

  • (String)


90
91
92
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 90

def status
  @status
end

#support_accountsArray<OCI::IdentityDomains::Models::UserExtSupportAccounts>

A list of Support Accounts corresponding to user.

Added In: 2103141444

SCIM++ Properties: - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: true - mutability: readOnly - required: false - returned: request - type: complex - uniqueness: none



290
291
292
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 290

def support_accounts
  @support_accounts
end

#synced_from_appOCI::IdentityDomains::Models::UserExtSyncedFromApp



312
313
314
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 312

def synced_from_app
  @synced_from_app
end

#user_flow_controlled_by_external_clientBOOLEAN

A Boolean value indicating whether to bypass notification and return user token to be used by an external client to control the user flow.

Added In: 18.4.2

SCIM++ Properties: - caseExact: false - idcsSearchable: false - multiValued: false - mutability: immutable - required: false - returned: never - type: boolean - uniqueness: none

Returns:

  • (BOOLEAN)


228
229
230
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 228

def user_flow_controlled_by_external_client
  @user_flow_controlled_by_external_client
end

#user_tokenOCI::IdentityDomains::Models::UserExtUserToken



309
310
311
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 309

def user_token
  @user_token
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 361

def self.attribute_map
  {
    # rubocop:disable Style/SymbolLiteral
    'is_federated_user': :'isFederatedUser',
    'is_authentication_delegated': :'isAuthenticationDelegated',
    'status': :'status',
    'provider': :'provider',
    'preferred_ui_landing_page': :'preferredUiLandingPage',
    'creation_mechanism': :'creationMechanism',
    'group_membership_last_modified': :'groupMembershipLastModified',
    'do_not_show_getting_started': :'doNotShowGettingStarted',
    'bypass_notification': :'bypassNotification',
    'is_account_recovery_enrolled': :'isAccountRecoveryEnrolled',
    'account_recovery_required': :'accountRecoveryRequired',
    'user_flow_controlled_by_external_client': :'userFlowControlledByExternalClient',
    'is_group_membership_normalized': :'isGroupMembershipNormalized',
    'is_group_membership_synced_to_users_groups': :'isGroupMembershipSyncedToUsersGroups',
    'notification_email_template_id': :'notificationEmailTemplateId',
    'support_accounts': :'supportAccounts',
    'idcs_app_roles_limited_to_groups': :'idcsAppRolesLimitedToGroups',
    'user_token': :'userToken',
    'synced_from_app': :'syncedFromApp',
    'applicable_authentication_target_app': :'applicableAuthenticationTargetApp',
    'delegated_authentication_target_app': :'delegatedAuthenticationTargetApp',
    'accounts': :'accounts',
    'grants': :'grants',
    'app_roles': :'appRoles'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 393

def self.swagger_types
  {
    # rubocop:disable Style/SymbolLiteral
    'is_federated_user': :'BOOLEAN',
    'is_authentication_delegated': :'BOOLEAN',
    'status': :'String',
    'provider': :'String',
    'preferred_ui_landing_page': :'String',
    'creation_mechanism': :'String',
    'group_membership_last_modified': :'String',
    'do_not_show_getting_started': :'BOOLEAN',
    'bypass_notification': :'BOOLEAN',
    'is_account_recovery_enrolled': :'BOOLEAN',
    'account_recovery_required': :'BOOLEAN',
    'user_flow_controlled_by_external_client': :'BOOLEAN',
    'is_group_membership_normalized': :'BOOLEAN',
    'is_group_membership_synced_to_users_groups': :'BOOLEAN',
    'notification_email_template_id': :'String',
    'support_accounts': :'Array<OCI::IdentityDomains::Models::UserExtSupportAccounts>',
    'idcs_app_roles_limited_to_groups': :'Array<OCI::IdentityDomains::Models::UserExtIdcsAppRolesLimitedToGroups>',
    'user_token': :'OCI::IdentityDomains::Models::UserExtUserToken',
    'synced_from_app': :'OCI::IdentityDomains::Models::UserExtSyncedFromApp',
    'applicable_authentication_target_app': :'OCI::IdentityDomains::Models::UserExtApplicableAuthenticationTargetApp',
    'delegated_authentication_target_app': :'OCI::IdentityDomains::Models::UserExtDelegatedAuthenticationTargetApp',
    'accounts': :'Array<OCI::IdentityDomains::Models::UserExtAccounts>',
    'grants': :'Array<OCI::IdentityDomains::Models::UserExtGrants>',
    'app_roles': :'Array<OCI::IdentityDomains::Models::UserExtAppRoles>'
    # rubocop:enable Style/SymbolLiteral
  }
end

Instance Method Details

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • other (Object)

    the other object to be compared



648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 648

def ==(other)
  return true if equal?(other)

  self.class == other.class &&
    is_federated_user == other.is_federated_user &&
    is_authentication_delegated == other.is_authentication_delegated &&
    status == other.status &&
    provider == other.provider &&
    preferred_ui_landing_page == other.preferred_ui_landing_page &&
    creation_mechanism == other.creation_mechanism &&
    group_membership_last_modified == other.group_membership_last_modified &&
    do_not_show_getting_started == other.do_not_show_getting_started &&
    bypass_notification == other.bypass_notification &&
     == other. &&
     == other. &&
    user_flow_controlled_by_external_client == other.user_flow_controlled_by_external_client &&
    is_group_membership_normalized == other.is_group_membership_normalized &&
    is_group_membership_synced_to_users_groups == other.is_group_membership_synced_to_users_groups &&
    notification_email_template_id == other.notification_email_template_id &&
    support_accounts == other.support_accounts &&
    idcs_app_roles_limited_to_groups == other.idcs_app_roles_limited_to_groups &&
    user_token == other.user_token &&
    synced_from_app == other.synced_from_app &&
    applicable_authentication_target_app == other.applicable_authentication_target_app &&
    delegated_authentication_target_app == other.delegated_authentication_target_app &&
    accounts == other.accounts &&
    grants == other.grants &&
    app_roles == other.app_roles
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 701

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)

  self.class.swagger_types.each_pair do |key, type|
    if type =~ /^Array<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        public_method("#{key}=").call(
          attributes[self.class.attribute_map[key]]
            .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
        )
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      public_method("#{key}=").call(
        OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
      )
    end
    # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(other) ⇒ Boolean

Parameters:

  • other (Object)

    the other object to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


681
682
683
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 681

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



690
691
692
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 690

def hash
  [is_federated_user, is_authentication_delegated, status, provider, preferred_ui_landing_page, creation_mechanism, group_membership_last_modified, do_not_show_getting_started, bypass_notification, , , user_flow_controlled_by_external_client, is_group_membership_normalized, is_group_membership_synced_to_users_groups, notification_email_template_id, support_accounts, idcs_app_roles_limited_to_groups, user_token, synced_from_app, applicable_authentication_target_app, delegated_authentication_target_app, accounts, grants, app_roles].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



734
735
736
737
738
739
740
741
742
743
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 734

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = public_method(attr).call
    next if value.nil? && !instance_variable_defined?("@#{attr}")

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



728
729
730
# File 'lib/oci/identity_domains/models/extension_user_user.rb', line 728

def to_s
  to_hash.to_s
end