Class: OCI::IdentityDomains::Models::Me

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

Overview

User Account

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
USER_TYPE_ENUM =
[
  USER_TYPE_CONTRACTOR = 'Contractor'.freeze,
  USER_TYPE_EMPLOYEE = 'Employee'.freeze,
  USER_TYPE_INTERN = 'Intern'.freeze,
  USER_TYPE_TEMP = 'Temp'.freeze,
  USER_TYPE_EXTERNAL = 'External'.freeze,
  USER_TYPE_SERVICE = 'Service'.freeze,
  USER_TYPE_GENERIC = 'Generic'.freeze,
  USER_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Me

Initializes the object

Parameters:

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

    Model attributes in the form of hash

Options Hash (attributes):



739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
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
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
# File 'lib/oci/identity_domains/models/me.rb', line 739

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

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

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

  self.user_name = attributes[:'userName'] if attributes[:'userName']

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

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

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

  self.display_name = attributes[:'displayName'] if attributes[:'displayName']

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

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

  self.nick_name = attributes[:'nickName'] if attributes[:'nickName']

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

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

  self.profile_url = attributes[:'profileUrl'] if attributes[:'profileUrl']

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

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

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

  self.user_type = attributes[:'userType'] if attributes[:'userType']

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

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

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

  self.preferred_language = attributes[:'preferredLanguage'] if attributes[:'preferredLanguage']

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

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

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

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

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

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

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

  self.phone_numbers = attributes[:'phoneNumbers'] if attributes[:'phoneNumbers']

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

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

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

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

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

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

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

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

  self.x509_certificates = attributes[:'x509Certificates'] if attributes[:'x509Certificates']

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

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

  self.urn_ietf_params_scim_schemas_extension_enterprise2_0_user = attributes[:'urn:ietf:params:scim:schemas:extension:enterprise:2.0:User'] if attributes[:'urn:ietf:params:scim:schemas:extension:enterprise:2.0:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:extension:enterprise:2.0:User and :urn_ietf_params_scim_schemas_extension_enterprise2_0_user' if attributes.key?(:'urn:ietf:params:scim:schemas:extension:enterprise:2.0:User') && attributes.key?(:'urn_ietf_params_scim_schemas_extension_enterprise2_0_user')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_user_user = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User and :urn_ietf_params_scim_schemas_oracle_idcs_extension_user_user' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_user_user')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_password_state_user = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:passwordState:User'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:passwordState:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:passwordState:User and :urn_ietf_params_scim_schemas_oracle_idcs_extension_password_state_user' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:passwordState:User') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_password_state_user')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_user_state_user = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User and :urn_ietf_params_scim_schemas_oracle_idcs_extension_user_state_user' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_user_state_user')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_me_user = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:me:User'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:me:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:me:User and :urn_ietf_params_scim_schemas_oracle_idcs_extension_me_user' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:me:User') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_me_user')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_posix_user = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:posix:User'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:posix:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:posix:User and :urn_ietf_params_scim_schemas_oracle_idcs_extension_posix_user' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:posix:User') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_posix_user')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_mfa_user = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:mfa:User'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:mfa:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:mfa:User and :urn_ietf_params_scim_schemas_oracle_idcs_extension_mfa_user' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:mfa:User') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_mfa_user')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_security_questions_user = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:securityQuestions:User'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:securityQuestions:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:securityQuestions:User and :urn_ietf_params_scim_schemas_oracle_idcs_extension_security_questions_user' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:securityQuestions:User') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_security_questions_user')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_self_registration_user = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:selfRegistration:User'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:selfRegistration:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:selfRegistration:User and :urn_ietf_params_scim_schemas_oracle_idcs_extension_self_registration_user' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:selfRegistration:User') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_self_registration_user')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_terms_of_use_user = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:termsOfUse:User'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:termsOfUse:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:termsOfUse:User and :urn_ietf_params_scim_schemas_oracle_idcs_extension_terms_of_use_user' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:termsOfUse:User') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_terms_of_use_user')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_oci_tags = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:OCITags'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:OCITags']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:OCITags and :urn_ietf_params_scim_schemas_oracle_idcs_extension_oci_tags' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:OCITags') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_oci_tags')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_user_credentials_user = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:userCredentials:User'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:userCredentials:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:userCredentials:User and :urn_ietf_params_scim_schemas_oracle_idcs_extension_user_credentials_user' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:userCredentials:User') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_user_credentials_user')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_capabilities_user = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:capabilities:User'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:capabilities:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:capabilities:User and :urn_ietf_params_scim_schemas_oracle_idcs_extension_capabilities_user' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:capabilities:User') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_capabilities_user')

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

  self.urn_ietf_params_scim_schemas_oracle_idcs_extension_db_credentials_user = attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:dbCredentials:User'] if attributes[:'urn:ietf:params:scim:schemas:oracle:idcs:extension:dbCredentials:User']

  raise 'You cannot provide both :urn:ietf:params:scim:schemas:oracle:idcs:extension:dbCredentials:User and :urn_ietf_params_scim_schemas_oracle_idcs_extension_db_credentials_user' if attributes.key?(:'urn:ietf:params:scim:schemas:oracle:idcs:extension:dbCredentials:User') && attributes.key?(:'urn_ietf_params_scim_schemas_oracle_idcs_extension_db_credentials_user')

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

Instance Attribute Details

#activeBOOLEAN

User status

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

Returns:

  • (BOOLEAN)


377
378
379
# File 'lib/oci/identity_domains/models/me.rb', line 377

def active
  @active
end

#addressesArray<OCI::IdentityDomains::Models::Addresses>

A physical mailing address for this User, as described in (address Element). Canonical Type Values of work, home, and other. The value attribute is a complex type with the following sub-attributes.

SCIM++ Properties: - idcsCompositeKey: [type] - idcsCsvAttributeNameMappings: [[columnHeaderName:Work Address Street, deprecatedColumnHeaderName:Work Street Address, mapsTo:addresses.streetAddress], [columnHeaderName:Work Address Locality, deprecatedColumnHeaderName:Work City, mapsTo:addresses.locality], [columnHeaderName:Work Address Region, deprecatedColumnHeaderName:Work State, mapsTo:addresses.region], [columnHeaderName:Work Address Postal Code, deprecatedColumnHeaderName:Work Postal Code, mapsTo:addresses.postalCode], [columnHeaderName:Work Address Country, deprecatedColumnHeaderName:Work Country, mapsTo:addresses.country], [columnHeaderName:Work Address Formatted, mapsTo:addresses.formatted], [columnHeaderName:Home Address Formatted, mapsTo:addresses.formatted], [columnHeaderName:Other Address Formatted, mapsTo:addresses.formatted], [columnHeaderName:Home Address Street, mapsTo:addresses.streetAddress], [columnHeaderName:Other Address Street, mapsTo:addresses.streetAddress], [columnHeaderName:Home Address Locality, mapsTo:addresses.locality], [columnHeaderName:Other Address Locality, mapsTo:addresses.locality], [columnHeaderName:Home Address Region, mapsTo:addresses.region], [columnHeaderName:Other Address Region, mapsTo:addresses.region], [columnHeaderName:Home Address Country, mapsTo:addresses.country], [columnHeaderName:Other Address Country, mapsTo:addresses.country], [columnHeaderName:Home Address Postal Code, mapsTo:addresses.postalCode], [columnHeaderName:Other Address Postal Code, mapsTo:addresses.postalCode], [columnHeaderName:Primary Address Type, mapsTo:addresses.primary]] - idcsPii: true - multiValued: true - mutability: readWrite - required: false - returned: default - type: complex - uniqueness: none



470
471
472
# File 'lib/oci/identity_domains/models/me.rb', line 470

def addresses
  @addresses
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)


162
163
164
# File 'lib/oci/identity_domains/models/me.rb', line 162

def compartment_ocid
  @compartment_ocid
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)


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

def delete_in_progress
  @delete_in_progress
end

#descriptionString

Description of the user

Added In: 2012271618

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

Returns:

  • (String)


226
227
228
# File 'lib/oci/identity_domains/models/me.rb', line 226

def description
  @description
end

#display_nameString

Display name

SCIM++ Properties: - caseExact: false - idcsCsvAttributeName: Display Name - idcsCsvAttributeNameMappings: [[columnHeaderName:Display Name]] - idcsPii: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


243
244
245
# File 'lib/oci/identity_domains/models/me.rb', line 243

def display_name
  @display_name
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)


148
149
150
# File 'lib/oci/identity_domains/models/me.rb', line 148

def domain_ocid
  @domain_ocid
end

#emailsArray<OCI::IdentityDomains::Models::MeEmails>

A complex attribute representing emails

SCIM++ Properties: - idcsCompositeKey: [value, type] - idcsCsvAttributeNameMappings: [[columnHeaderName:Work Email, mapsTo:emails.value], [columnHeaderName:Home Email, mapsTo:emails.value], [columnHeaderName:Primary Email Type, mapsTo:emails.primary], [columnHeaderName:Other Email, mapsTo:emails.value], [columnHeaderName:Recovery Email, mapsTo:emails.value], [columnHeaderName:Work Email Verified, mapsTo:emails.verified], [columnHeaderName:Home Email Verified, mapsTo:emails.verified], [columnHeaderName:Other Email Verified, mapsTo:emails.verified], [columnHeaderName:Recovery Email Verified, mapsTo:emails.verified]] - idcsPii: true - multiValued: true - mutability: readWrite - required: false - returned: default - type: complex - uniqueness: none



412
413
414
# File 'lib/oci/identity_domains/models/me.rb', line 412

def emails
  @emails
end

#entitlementsArray<OCI::IdentityDomains::Models::MeEntitlements>

A list of entitlements for the User that represent a thing the User has.

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



497
498
499
# File 'lib/oci/identity_domains/models/me.rb', line 497

def entitlements
  @entitlements
end

#external_idString

An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant.

SCIM++ Properties: - caseExact: false - idcsCsvAttributeNameMappings: [[columnHeaderName:External Id]] - idcsPii: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


192
193
194
# File 'lib/oci/identity_domains/models/me.rb', line 192

def external_id
  @external_id
end

#groupsArray<OCI::IdentityDomains::Models::MeGroups>

A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated

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



484
485
486
# File 'lib/oci/identity_domains/models/me.rb', line 484

def groups
  @groups
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)


42
43
44
# File 'lib/oci/identity_domains/models/me.rb', line 42

def id
  @id
end

#idcs_created_byOCI::IdentityDomains::Models::IdcsCreatedBy



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

def idcs_created_by
  @idcs_created_by
end

#idcs_last_modified_byOCI::IdentityDomains::Models::IdcsLastModifiedBy



79
80
81
# File 'lib/oci/identity_domains/models/me.rb', line 79

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)


134
135
136
# File 'lib/oci/identity_domains/models/me.rb', line 134

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>)


92
93
94
# File 'lib/oci/identity_domains/models/me.rb', line 92

def idcs_prevented_operations
  @idcs_prevented_operations
end

#imsArray<OCI::IdentityDomains::Models::MeIms>

User's instant messaging addresses

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



441
442
443
# File 'lib/oci/identity_domains/models/me.rb', line 441

def ims
  @ims
end

#localeString

Used to indicate the User's default location for purposes of localizing items such as currency, date and time format, numerical representations, and so on.

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

Returns:

  • (String)


327
328
329
# File 'lib/oci/identity_domains/models/me.rb', line 327

def locale
  @locale
end

#metaOCI::IdentityDomains::Models::Meta



73
74
75
# File 'lib/oci/identity_domains/models/me.rb', line 73

def meta
  @meta
end

#nameOCI::IdentityDomains::Models::MeName



397
398
399
# File 'lib/oci/identity_domains/models/me.rb', line 397

def name
  @name
end

#nick_nameString

Nick name

SCIM++ Properties: - caseExact: false - idcsCsvAttributeName: Nick Name - idcsCsvAttributeNameMappings: [[columnHeaderName:Nick Name]] - idcsPii: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


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

def nick_name
  @nick_name
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)


56
57
58
# File 'lib/oci/identity_domains/models/me.rb', line 56

def ocid
  @ocid
end

#passwordString

Password attribute. Max length for password is controlled via Password Policy.

SCIM++ Properties: - idcsCsvAttributeName: Password - idcsCsvAttributeNameMappings: [[columnHeaderName:Password]] - idcsPii: true - idcsSearchable: false - idcsSensitive: hash - multiValued: false - mutability: writeOnly - required: false - returned: never - type: string - uniqueness: none

Returns:

  • (String)


394
395
396
# File 'lib/oci/identity_domains/models/me.rb', line 394

def password
  @password
end

#phone_numbersArray<OCI::IdentityDomains::Models::MePhoneNumbers>

Phone numbers

SCIM++ Properties: - idcsCompositeKey: [value, type] - idcsCsvAttributeNameMappings: [[columnHeaderName:Work Phone, mapsTo:phoneNumbers.value], [columnHeaderName:Mobile No, mapsTo:phoneNumbers.value], [columnHeaderName:Home Phone, mapsTo:phoneNumbers.value], [columnHeaderName:Fax, mapsTo:phoneNumbers.value], [columnHeaderName:Pager, mapsTo:phoneNumbers.value], [columnHeaderName:Other Phone, mapsTo:phoneNumbers.value], [columnHeaderName:Recovery Phone, mapsTo:phoneNumbers.value], [columnHeaderName:Primary Phone Type, mapsTo:phoneNumbers.primary]] - idcsPii: true - multiValued: true - mutability: readWrite - required: false - returned: default - type: complex - uniqueness: none



427
428
429
# File 'lib/oci/identity_domains/models/me.rb', line 427

def phone_numbers
  @phone_numbers
end

#photosArray<OCI::IdentityDomains::Models::MePhotos>

URLs of photos for the User

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



455
456
457
# File 'lib/oci/identity_domains/models/me.rb', line 455

def photos
  @photos
end

#preferred_languageString

User's preferred written or spoken language used for localized user interfaces

SCIM++ Properties: - caseExact: false - idcsCsvAttributeName: Preferred Language - idcsCsvAttributeNameMappings: [[columnHeaderName:Preferred Language]] - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


343
344
345
# File 'lib/oci/identity_domains/models/me.rb', line 343

def preferred_language
  @preferred_language
end

#profile_urlString

A fully-qualified URL to a page representing the User's online profile

SCIM++ Properties: - caseExact: false - idcsCsvAttributeName: Profile URL - idcsCsvAttributeNameMappings: [[columnHeaderName:Profile Url]] - idcsPii: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: reference - uniqueness: none

Returns:

  • (String)


277
278
279
# File 'lib/oci/identity_domains/models/me.rb', line 277

def profile_url
  @profile_url
end

#rolesArray<OCI::IdentityDomains::Models::MeRoles>

A list of roles for the User that collectively represent who the User is; e.g., 'Student', 'Faculty'.

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



510
511
512
# File 'lib/oci/identity_domains/models/me.rb', line 510

def roles
  @roles
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>)


70
71
72
# File 'lib/oci/identity_domains/models/me.rb', line 70

def schemas
  @schemas
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



106
107
108
# File 'lib/oci/identity_domains/models/me.rb', line 106

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)


176
177
178
# File 'lib/oci/identity_domains/models/me.rb', line 176

def tenancy_ocid
  @tenancy_ocid
end

#timezoneString

User's timezone

SCIM++ Properties: - caseExact: false - idcsCanonicalValueSourceFilter: attrName eq "timezones" and attrValues.value eq "$(timezone)" - idcsCanonicalValueSourceResourceType: AllowedValue - idcsCsvAttributeName: TimeZone - idcsCsvAttributeNameMappings: [[columnHeaderName:Time Zone, deprecatedColumnHeaderName:TimeZone]] - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


361
362
363
# File 'lib/oci/identity_domains/models/me.rb', line 361

def timezone
  @timezone
end

#titleString

Title

SCIM++ Properties: - caseExact: false - idcsCsvAttributeName: Title - idcsCsvAttributeNameMappings: [[columnHeaderName:Title]] - idcsPii: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


294
295
296
# File 'lib/oci/identity_domains/models/me.rb', line 294

def title
  @title
end

#urn_ietf_params_scim_schemas_extension_enterprise2_0_userOCI::IdentityDomains::Models::ExtensionEnterprise20User



526
527
528
# File 'lib/oci/identity_domains/models/me.rb', line 526

def urn_ietf_params_scim_schemas_extension_enterprise2_0_user
  @urn_ietf_params_scim_schemas_extension_enterprise2_0_user
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_capabilities_userOCI::IdentityDomains::Models::ExtensionCapabilitiesUser



562
563
564
# File 'lib/oci/identity_domains/models/me.rb', line 562

def urn_ietf_params_scim_schemas_oracle_idcs_extension_capabilities_user
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_capabilities_user
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_db_credentials_userOCI::IdentityDomains::Models::ExtensionDbCredentialsUser



565
566
567
# File 'lib/oci/identity_domains/models/me.rb', line 565

def urn_ietf_params_scim_schemas_oracle_idcs_extension_db_credentials_user
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_db_credentials_user
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_me_userOCI::IdentityDomains::Models::ExtensionMeUser



538
539
540
# File 'lib/oci/identity_domains/models/me.rb', line 538

def urn_ietf_params_scim_schemas_oracle_idcs_extension_me_user
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_me_user
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_mfa_userOCI::IdentityDomains::Models::ExtensionMfaUser



544
545
546
# File 'lib/oci/identity_domains/models/me.rb', line 544

def urn_ietf_params_scim_schemas_oracle_idcs_extension_mfa_user
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_mfa_user
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_oci_tagsOCI::IdentityDomains::Models::ExtensionOCITags



556
557
558
# File 'lib/oci/identity_domains/models/me.rb', line 556

def urn_ietf_params_scim_schemas_oracle_idcs_extension_oci_tags
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_oci_tags
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_password_state_userOCI::IdentityDomains::Models::ExtensionPasswordStateUser



532
533
534
# File 'lib/oci/identity_domains/models/me.rb', line 532

def urn_ietf_params_scim_schemas_oracle_idcs_extension_password_state_user
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_password_state_user
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_posix_userOCI::IdentityDomains::Models::ExtensionPosixUser



541
542
543
# File 'lib/oci/identity_domains/models/me.rb', line 541

def urn_ietf_params_scim_schemas_oracle_idcs_extension_posix_user
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_posix_user
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_security_questions_userOCI::IdentityDomains::Models::ExtensionSecurityQuestionsUser



547
548
549
# File 'lib/oci/identity_domains/models/me.rb', line 547

def urn_ietf_params_scim_schemas_oracle_idcs_extension_security_questions_user
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_security_questions_user
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_self_registration_userOCI::IdentityDomains::Models::ExtensionSelfRegistrationUser



550
551
552
# File 'lib/oci/identity_domains/models/me.rb', line 550

def urn_ietf_params_scim_schemas_oracle_idcs_extension_self_registration_user
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_self_registration_user
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_terms_of_use_userOCI::IdentityDomains::Models::ExtensionTermsOfUseUser



553
554
555
# File 'lib/oci/identity_domains/models/me.rb', line 553

def urn_ietf_params_scim_schemas_oracle_idcs_extension_terms_of_use_user
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_terms_of_use_user
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_user_credentials_userOCI::IdentityDomains::Models::ExtensionUserCredentialsUser



559
560
561
# File 'lib/oci/identity_domains/models/me.rb', line 559

def urn_ietf_params_scim_schemas_oracle_idcs_extension_user_credentials_user
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_user_credentials_user
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_user_state_userOCI::IdentityDomains::Models::ExtensionUserStateUser



535
536
537
# File 'lib/oci/identity_domains/models/me.rb', line 535

def urn_ietf_params_scim_schemas_oracle_idcs_extension_user_state_user
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_user_state_user
end

#urn_ietf_params_scim_schemas_oracle_idcs_extension_user_userOCI::IdentityDomains::Models::ExtensionUserUser



529
530
531
# File 'lib/oci/identity_domains/models/me.rb', line 529

def urn_ietf_params_scim_schemas_oracle_idcs_extension_user_user
  @urn_ietf_params_scim_schemas_oracle_idcs_extension_user_user
end

#user_nameString

[Required] User name

SCIM++ Properties: - caseExact: false - idcsCsvAttributeName: User ID - idcsCsvAttributeNameMappings: [[columnHeaderName:User Name, deprecatedColumnHeaderName:User ID]] - idcsPii: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: true - returned: always - type: string - uniqueness: global

Returns:

  • (String)


209
210
211
# File 'lib/oci/identity_domains/models/me.rb', line 209

def user_name
  @user_name
end

#user_typeString

Used to identify the organization-to-user relationship

SCIM++ Properties: - caseExact: false - idcsCsvAttributeName: User Type - idcsCsvAttributeNameMappings: [[columnHeaderName:User Type]] - idcsPii: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none

Returns:

  • (String)


311
312
313
# File 'lib/oci/identity_domains/models/me.rb', line 311

def user_type
  @user_type
end

#x509_certificatesArray<OCI::IdentityDomains::Models::MeX509Certificates>

A list of certificates issued to the User.

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



523
524
525
# File 'lib/oci/identity_domains/models/me.rb', line 523

def x509_certificates
  @x509_certificates
end

Class Method Details

.attribute_mapObject

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



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

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',
    'external_id': :'externalId',
    'user_name': :'userName',
    'description': :'description',
    'display_name': :'displayName',
    'nick_name': :'nickName',
    'profile_url': :'profileUrl',
    'title': :'title',
    'user_type': :'userType',
    'locale': :'locale',
    'preferred_language': :'preferredLanguage',
    'timezone': :'timezone',
    'active': :'active',
    'password': :'password',
    'name': :'name',
    'emails': :'emails',
    'phone_numbers': :'phoneNumbers',
    'ims': :'ims',
    'photos': :'photos',
    'addresses': :'addresses',
    'groups': :'groups',
    'entitlements': :'entitlements',
    'roles': :'roles',
    'x509_certificates': :'x509Certificates',
    'urn_ietf_params_scim_schemas_extension_enterprise2_0_user': :'urn:ietf:params:scim:schemas:extension:enterprise:2.0:User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_user_user': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_password_state_user': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:passwordState:User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_user_state_user': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_me_user': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:me:User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_posix_user': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:posix:User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_mfa_user': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:mfa:User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_security_questions_user': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:securityQuestions:User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_self_registration_user': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:selfRegistration:User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_terms_of_use_user': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:termsOfUse:User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_oci_tags': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:OCITags',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_user_credentials_user': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:userCredentials:User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_capabilities_user': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:capabilities:User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_db_credentials_user': :'urn:ietf:params:scim:schemas:oracle:idcs:extension:dbCredentials:User'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



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

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',
    'external_id': :'String',
    'user_name': :'String',
    'description': :'String',
    'display_name': :'String',
    'nick_name': :'String',
    'profile_url': :'String',
    'title': :'String',
    'user_type': :'String',
    'locale': :'String',
    'preferred_language': :'String',
    'timezone': :'String',
    'active': :'BOOLEAN',
    'password': :'String',
    'name': :'OCI::IdentityDomains::Models::MeName',
    'emails': :'Array<OCI::IdentityDomains::Models::MeEmails>',
    'phone_numbers': :'Array<OCI::IdentityDomains::Models::MePhoneNumbers>',
    'ims': :'Array<OCI::IdentityDomains::Models::MeIms>',
    'photos': :'Array<OCI::IdentityDomains::Models::MePhotos>',
    'addresses': :'Array<OCI::IdentityDomains::Models::Addresses>',
    'groups': :'Array<OCI::IdentityDomains::Models::MeGroups>',
    'entitlements': :'Array<OCI::IdentityDomains::Models::MeEntitlements>',
    'roles': :'Array<OCI::IdentityDomains::Models::MeRoles>',
    'x509_certificates': :'Array<OCI::IdentityDomains::Models::MeX509Certificates>',
    'urn_ietf_params_scim_schemas_extension_enterprise2_0_user': :'OCI::IdentityDomains::Models::ExtensionEnterprise20User',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_user_user': :'OCI::IdentityDomains::Models::ExtensionUserUser',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_password_state_user': :'OCI::IdentityDomains::Models::ExtensionPasswordStateUser',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_user_state_user': :'OCI::IdentityDomains::Models::ExtensionUserStateUser',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_me_user': :'OCI::IdentityDomains::Models::ExtensionMeUser',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_posix_user': :'OCI::IdentityDomains::Models::ExtensionPosixUser',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_mfa_user': :'OCI::IdentityDomains::Models::ExtensionMfaUser',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_security_questions_user': :'OCI::IdentityDomains::Models::ExtensionSecurityQuestionsUser',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_self_registration_user': :'OCI::IdentityDomains::Models::ExtensionSelfRegistrationUser',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_terms_of_use_user': :'OCI::IdentityDomains::Models::ExtensionTermsOfUseUser',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_oci_tags': :'OCI::IdentityDomains::Models::ExtensionOCITags',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_user_credentials_user': :'OCI::IdentityDomains::Models::ExtensionUserCredentialsUser',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_capabilities_user': :'OCI::IdentityDomains::Models::ExtensionCapabilitiesUser',
    'urn_ietf_params_scim_schemas_oracle_idcs_extension_db_credentials_user': :'OCI::IdentityDomains::Models::ExtensionDbCredentialsUser'
    # 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



1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
# File 'lib/oci/identity_domains/models/me.rb', line 1010

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 &&
    external_id == other.external_id &&
    user_name == other.user_name &&
    description == other.description &&
    display_name == other.display_name &&
    nick_name == other.nick_name &&
    profile_url == other.profile_url &&
    title == other.title &&
    user_type == other.user_type &&
    locale == other.locale &&
    preferred_language == other.preferred_language &&
    timezone == other.timezone &&
    active == other.active &&
    password == other.password &&
    name == other.name &&
    emails == other.emails &&
    phone_numbers == other.phone_numbers &&
    ims == other.ims &&
    photos == other.photos &&
    addresses == other.addresses &&
    groups == other.groups &&
    entitlements == other.entitlements &&
    roles == other.roles &&
    x509_certificates == other.x509_certificates &&
    urn_ietf_params_scim_schemas_extension_enterprise2_0_user == other.urn_ietf_params_scim_schemas_extension_enterprise2_0_user &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_user_user == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_user_user &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_password_state_user == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_password_state_user &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_user_state_user == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_user_state_user &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_me_user == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_me_user &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_posix_user == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_posix_user &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_mfa_user == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_mfa_user &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_security_questions_user == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_security_questions_user &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_self_registration_user == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_self_registration_user &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_terms_of_use_user == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_terms_of_use_user &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_oci_tags == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_oci_tags &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_user_credentials_user == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_user_credentials_user &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_capabilities_user == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_capabilities_user &&
    urn_ietf_params_scim_schemas_oracle_idcs_extension_db_credentials_user == other.urn_ietf_params_scim_schemas_oracle_idcs_extension_db_credentials_user
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



1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
# File 'lib/oci/identity_domains/models/me.rb', line 1089

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


1069
1070
1071
# File 'lib/oci/identity_domains/models/me.rb', line 1069

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



1078
1079
1080
# File 'lib/oci/identity_domains/models/me.rb', line 1078

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, external_id, user_name, description, display_name, nick_name, profile_url, title, user_type, locale, preferred_language, timezone, active, password, name, emails, phone_numbers, ims, photos, addresses, groups, entitlements, roles, x509_certificates, urn_ietf_params_scim_schemas_extension_enterprise2_0_user, urn_ietf_params_scim_schemas_oracle_idcs_extension_user_user, urn_ietf_params_scim_schemas_oracle_idcs_extension_password_state_user, urn_ietf_params_scim_schemas_oracle_idcs_extension_user_state_user, urn_ietf_params_scim_schemas_oracle_idcs_extension_me_user, urn_ietf_params_scim_schemas_oracle_idcs_extension_posix_user, urn_ietf_params_scim_schemas_oracle_idcs_extension_mfa_user, urn_ietf_params_scim_schemas_oracle_idcs_extension_security_questions_user, urn_ietf_params_scim_schemas_oracle_idcs_extension_self_registration_user, urn_ietf_params_scim_schemas_oracle_idcs_extension_terms_of_use_user, urn_ietf_params_scim_schemas_oracle_idcs_extension_oci_tags, urn_ietf_params_scim_schemas_oracle_idcs_extension_user_credentials_user, urn_ietf_params_scim_schemas_oracle_idcs_extension_capabilities_user, urn_ietf_params_scim_schemas_oracle_idcs_extension_db_credentials_user].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
# File 'lib/oci/identity_domains/models/me.rb', line 1122

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



1116
1117
1118
# File 'lib/oci/identity_domains/models/me.rb', line 1116

def to_s
  to_hash.to_s
end