Class: OCI::IdentityDomains::Models::AccountMgmtInfo

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

Overview

Schema for AccountMgmtInfo resource.

Constant Summary collapse

IDCS_PREVENTED_OPERATIONS_ENUM =
[
  IDCS_PREVENTED_OPERATIONS_REPLACE = 'replace'.freeze,
  IDCS_PREVENTED_OPERATIONS_UPDATE = 'update'.freeze,
  IDCS_PREVENTED_OPERATIONS_DELETE = 'delete'.freeze,
  IDCS_PREVENTED_OPERATIONS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
SYNC_SITUATION_ENUM =
[
  SYNC_SITUATION_FOUND = 'Found'.freeze,
  SYNC_SITUATION_MATCHED = 'Matched'.freeze,
  SYNC_SITUATION_UNMATCHED = 'Unmatched'.freeze,
  SYNC_SITUATION_LOST = 'Lost'.freeze,
  SYNC_SITUATION_DISPUTED = 'Disputed'.freeze,
  SYNC_SITUATION_CONFIRMED = 'Confirmed'.freeze,
  SYNC_SITUATION_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze
OPERATION_CONTEXT_ENUM =
[
  OPERATION_CONTEXT_LIFE_CYCLE_EVENT = 'LifeCycleEvent'.freeze,
  OPERATION_CONTEXT_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ AccountMgmtInfo

Initializes the object

Parameters:

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

    Model attributes in the form of hash

Options Hash (attributes):



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
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
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
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 554

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.id = attributes[:'id'] if attributes[:'id']

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

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

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

  self.idcs_created_by = attributes[:'idcsCreatedBy'] if attributes[:'idcsCreatedBy']

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

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

  self.idcs_last_modified_by = attributes[:'idcsLastModifiedBy'] if attributes[:'idcsLastModifiedBy']

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

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

  self.idcs_prevented_operations = attributes[:'idcsPreventedOperations'] if attributes[:'idcsPreventedOperations']

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

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

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

  self.delete_in_progress = attributes[:'deleteInProgress'] unless attributes[:'deleteInProgress'].nil?

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

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

  self.idcs_last_upgraded_in_release = attributes[:'idcsLastUpgradedInRelease'] if attributes[:'idcsLastUpgradedInRelease']

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

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

  self.domain_ocid = attributes[:'domainOcid'] if attributes[:'domainOcid']

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

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

  self.compartment_ocid = attributes[:'compartmentOcid'] if attributes[:'compartmentOcid']

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

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

  self.tenancy_ocid = attributes[:'tenancyOcid'] if attributes[:'tenancyOcid']

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

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

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

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

  self.composite_key = attributes[:'compositeKey'] if attributes[:'compositeKey']

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

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

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

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

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

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

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

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

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

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

  self.do_not_perform_action_on_target = attributes[:'doNotPerformActionOnTarget'] unless attributes[:'doNotPerformActionOnTarget'].nil?

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

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

  self.do_not_back_fill_grants = attributes[:'doNotBackFillGrants'] unless attributes[:'doNotBackFillGrants'].nil?

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

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

  self.last_accessed = attributes[:'lastAccessed'] if attributes[:'lastAccessed']

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

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

  self.sync_timestamp = attributes[:'syncTimestamp'] if attributes[:'syncTimestamp']

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

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

  self.sync_situation = attributes[:'syncSituation'] if attributes[:'syncSituation']

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

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

  self.sync_response = attributes[:'syncResponse'] if attributes[:'syncResponse']

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

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

  self.preview_only = attributes[:'previewOnly'] unless attributes[:'previewOnly'].nil?

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

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

  self.operation_context = attributes[:'operationContext'] if attributes[:'operationContext']

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

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

  self.object_class = attributes[:'objectClass'] if attributes[:'objectClass']

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

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

  self.resource_type = attributes[:'resourceType'] if attributes[:'resourceType']

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

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

  self.matching_owners = attributes[:'matchingOwners'] if attributes[:'matchingOwners']

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

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

  self.user_wallet_artifact = attributes[:'userWalletArtifact'] if attributes[:'userWalletArtifact']

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

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

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

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

Instance Attribute Details

#account_typeString

Type of Account

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

Returns:

  • (String)


252
253
254
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 252

def 
  @account_type
end

#activeBOOLEAN

If true, the account is activated

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

Returns:

  • (BOOLEAN)


238
239
240
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 238

def active
  @active
end

#appOCI::IdentityDomains::Models::AccountMgmtInfoApp

This attribute is required.



425
426
427
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 425

def app
  @app
end

#compartment_ocidString

OCI Compartment Id (ocid) in which the resource lives.

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

Returns:

  • (String)


166
167
168
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 166

def compartment_ocid
  @compartment_ocid
end

#composite_keyString

Unique key for this AccountMgmtInfo, which is used to prevent duplicate AccountMgmtInfo resources. Key is composed of a subset of app, owner and accountType.

Added In: 18.1.2

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

Returns:

  • (String)


224
225
226
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 224

def composite_key
  @composite_key
end

#delete_in_progressBOOLEAN

A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

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

Returns:

  • (BOOLEAN)


124
125
126
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 124

def delete_in_progress
  @delete_in_progress
end

#do_not_back_fill_grantsBOOLEAN

If true, a back-fill grant will not be created for a connected managed app as part of account creation.

Added In: 18.2.6

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

Returns:

  • (BOOLEAN)


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

def do_not_back_fill_grants
  @do_not_back_fill_grants
end

#do_not_perform_action_on_targetBOOLEAN

If true, the operation will not be performed on the target

Added In: 17.4.6

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

Returns:

  • (BOOLEAN)


296
297
298
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 296

def do_not_perform_action_on_target
  @do_not_perform_action_on_target
end

#domain_ocidString

OCI Domain Id (ocid) in which the resource lives.

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

Returns:

  • (String)


152
153
154
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 152

def domain_ocid
  @domain_ocid
end

#favoriteBOOLEAN

If true, this account has been marked as a favorite of the User who owns it

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

Returns:

  • (BOOLEAN)


280
281
282
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 280

def favorite
  @favorite
end

#idString

Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier.

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

Returns:

  • (String)


46
47
48
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 46

def id
  @id
end

#idcs_created_byOCI::IdentityDomains::Models::IdcsCreatedBy



80
81
82
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 80

def idcs_created_by
  @idcs_created_by
end

#idcs_last_modified_byOCI::IdentityDomains::Models::IdcsLastModifiedBy



83
84
85
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 83

def idcs_last_modified_by
  @idcs_last_modified_by
end

#idcs_last_upgraded_in_releaseString

The release number when the resource was upgraded.

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

Returns:

  • (String)


138
139
140
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 138

def idcs_last_upgraded_in_release
  @idcs_last_upgraded_in_release
end

#idcs_prevented_operationsArray<String>

Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

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

Returns:

  • (Array<String>)


96
97
98
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 96

def idcs_prevented_operations
  @idcs_prevented_operations
end

#is_accountBOOLEAN

If true, indicates that this managed object is an account, which is an identity that represents a user in the context of a specific application

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

Returns:

  • (BOOLEAN)


266
267
268
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 266

def 
  @is_account
end

#last_accessedString

Last accessed timestamp of an application

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

Returns:

  • (String)


326
327
328
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 326

def last_accessed
  @last_accessed
end

#matching_ownersArray<OCI::IdentityDomains::Models::AccountMgmtInfoMatchingOwners>

Matching owning users of the account

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



418
419
420
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 418

def matching_owners
  @matching_owners
end

#metaOCI::IdentityDomains::Models::Meta



77
78
79
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 77

def meta
  @meta
end

#nameString

Name of the Account

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

Returns:

  • (String)


208
209
210
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 208

def name
  @name
end

#object_classOCI::IdentityDomains::Models::AccountMgmtInfoObjectClass



401
402
403
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 401

def object_class
  @object_class
end

#ocidString

Unique OCI identifier for the SCIM Resource.

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

Returns:

  • (String)


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

def ocid
  @ocid
end

#operation_contextString

The context in which the operation is performed on the account.

Added In: 19.1.4

SCIM++ Properties: - idcsSearchable: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


398
399
400
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 398

def operation_context
  @operation_context
end

#ownerOCI::IdentityDomains::Models::AccountMgmtInfoOwner



428
429
430
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 428

def owner
  @owner
end

#preview_onlyBOOLEAN

If true, then the response to the account creation operation on a connected managed app returns a preview of the account data that is evaluated by the attribute value generation policy. Note that an account will not be created on the target application when this attribute is set to true.

Added In: 18.2.6

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

Returns:

  • (BOOLEAN)


384
385
386
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 384

def preview_only
  @preview_only
end

#resource_typeOCI::IdentityDomains::Models::AccountMgmtInfoResourceType



404
405
406
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 404

def resource_type
  @resource_type
end

#schemasArray<String>

[Required] REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard \“enterprise\” extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

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

Returns:

  • (Array<String>)


74
75
76
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 74

def schemas
  @schemas
end

#sync_responseString

Last recorded sync response for the account

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

Returns:

  • (String)


368
369
370
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 368

def sync_response
  @sync_response
end

#sync_situationString

Last recorded sync situation for the account

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

Returns:

  • (String)


354
355
356
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 354

def sync_situation
  @sync_situation
end

#sync_timestampString

Last sync timestamp of the account

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

Returns:

  • (String)


340
341
342
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 340

def sync_timestamp
  @sync_timestamp
end

#tagsArray<OCI::IdentityDomains::Models::Tags>

A list of tags on this resource.

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



110
111
112
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 110

def tags
  @tags
end

#tenancy_ocidString

OCI Tenant Id (ocid) in which the resource lives.

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

Returns:

  • (String)


180
181
182
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 180

def tenancy_ocid
  @tenancy_ocid
end

#uidString

Unique identifier of the Account

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

Returns:

  • (String)


194
195
196
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 194

def uid
  @uid
end

#user_wallet_artifactOCI::IdentityDomains::Models::AccountMgmtInfoUserWalletArtifact



421
422
423
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 421

def user_wallet_artifact
  @user_wallet_artifact
end

Class Method Details

.attribute_mapObject

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



431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 431

def self.attribute_map
  {
    # rubocop:disable Style/SymbolLiteral
    'id': :'id',
    'ocid': :'ocid',
    'schemas': :'schemas',
    'meta': :'meta',
    'idcs_created_by': :'idcsCreatedBy',
    'idcs_last_modified_by': :'idcsLastModifiedBy',
    'idcs_prevented_operations': :'idcsPreventedOperations',
    'tags': :'tags',
    'delete_in_progress': :'deleteInProgress',
    'idcs_last_upgraded_in_release': :'idcsLastUpgradedInRelease',
    'domain_ocid': :'domainOcid',
    'compartment_ocid': :'compartmentOcid',
    'tenancy_ocid': :'tenancyOcid',
    'uid': :'uid',
    'name': :'name',
    'composite_key': :'compositeKey',
    'active': :'active',
    'account_type': :'accountType',
    'is_account': :'isAccount',
    'favorite': :'favorite',
    'do_not_perform_action_on_target': :'doNotPerformActionOnTarget',
    'do_not_back_fill_grants': :'doNotBackFillGrants',
    'last_accessed': :'lastAccessed',
    'sync_timestamp': :'syncTimestamp',
    'sync_situation': :'syncSituation',
    'sync_response': :'syncResponse',
    'preview_only': :'previewOnly',
    'operation_context': :'operationContext',
    'object_class': :'objectClass',
    'resource_type': :'resourceType',
    'matching_owners': :'matchingOwners',
    'user_wallet_artifact': :'userWalletArtifact',
    'app': :'app',
    'owner': :'owner'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



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
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 473

def self.swagger_types
  {
    # rubocop:disable Style/SymbolLiteral
    'id': :'String',
    'ocid': :'String',
    'schemas': :'Array<String>',
    'meta': :'OCI::IdentityDomains::Models::Meta',
    'idcs_created_by': :'OCI::IdentityDomains::Models::IdcsCreatedBy',
    'idcs_last_modified_by': :'OCI::IdentityDomains::Models::IdcsLastModifiedBy',
    'idcs_prevented_operations': :'Array<String>',
    'tags': :'Array<OCI::IdentityDomains::Models::Tags>',
    'delete_in_progress': :'BOOLEAN',
    'idcs_last_upgraded_in_release': :'String',
    'domain_ocid': :'String',
    'compartment_ocid': :'String',
    'tenancy_ocid': :'String',
    'uid': :'String',
    'name': :'String',
    'composite_key': :'String',
    'active': :'BOOLEAN',
    'account_type': :'String',
    'is_account': :'BOOLEAN',
    'favorite': :'BOOLEAN',
    'do_not_perform_action_on_target': :'BOOLEAN',
    'do_not_back_fill_grants': :'BOOLEAN',
    'last_accessed': :'String',
    'sync_timestamp': :'String',
    'sync_situation': :'String',
    'sync_response': :'String',
    'preview_only': :'BOOLEAN',
    'operation_context': :'String',
    'object_class': :'OCI::IdentityDomains::Models::AccountMgmtInfoObjectClass',
    'resource_type': :'OCI::IdentityDomains::Models::AccountMgmtInfoResourceType',
    'matching_owners': :'Array<OCI::IdentityDomains::Models::AccountMgmtInfoMatchingOwners>',
    'user_wallet_artifact': :'OCI::IdentityDomains::Models::AccountMgmtInfoUserWalletArtifact',
    'app': :'OCI::IdentityDomains::Models::AccountMgmtInfoApp',
    'owner': :'OCI::IdentityDomains::Models::AccountMgmtInfoOwner'
    # 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



774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 774

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

  self.class == other.class &&
    id == other.id &&
    ocid == other.ocid &&
    schemas == other.schemas &&
    meta == other.meta &&
    idcs_created_by == other.idcs_created_by &&
    idcs_last_modified_by == other.idcs_last_modified_by &&
    idcs_prevented_operations == other.idcs_prevented_operations &&
    tags == other.tags &&
    delete_in_progress == other.delete_in_progress &&
    idcs_last_upgraded_in_release == other.idcs_last_upgraded_in_release &&
    domain_ocid == other.domain_ocid &&
    compartment_ocid == other.compartment_ocid &&
    tenancy_ocid == other.tenancy_ocid &&
    uid == other.uid &&
    name == other.name &&
    composite_key == other.composite_key &&
    active == other.active &&
     == other. &&
     == other. &&
    favorite == other.favorite &&
    do_not_perform_action_on_target == other.do_not_perform_action_on_target &&
    do_not_back_fill_grants == other.do_not_back_fill_grants &&
    last_accessed == other.last_accessed &&
    sync_timestamp == other.sync_timestamp &&
    sync_situation == other.sync_situation &&
    sync_response == other.sync_response &&
    preview_only == other.preview_only &&
    operation_context == other.operation_context &&
    object_class == other.object_class &&
    resource_type == other.resource_type &&
    matching_owners == other.matching_owners &&
    user_wallet_artifact == other.user_wallet_artifact &&
    app == other.app &&
    owner == other.owner
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



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 837

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


817
818
819
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 817

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



826
827
828
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 826

def hash
  [id, ocid, schemas, meta, idcs_created_by, idcs_last_modified_by, idcs_prevented_operations, tags, delete_in_progress, idcs_last_upgraded_in_release, domain_ocid, compartment_ocid, tenancy_ocid, uid, name, composite_key, active, , , favorite, do_not_perform_action_on_target, do_not_back_fill_grants, last_accessed, sync_timestamp, sync_situation, sync_response, preview_only, operation_context, object_class, resource_type, matching_owners, user_wallet_artifact, app, owner].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



870
871
872
873
874
875
876
877
878
879
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 870

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



864
865
866
# File 'lib/oci/identity_domains/models/account_mgmt_info.rb', line 864

def to_s
  to_hash.to_s
end