Class: OCI::IdentityDomains::Models::IdentityProofingProvider
- Inherits:
-
Object
- Object
- OCI::IdentityDomains::Models::IdentityProofingProvider
- Defined in:
- lib/oci/identity_domains/models/identity_proofing_provider.rb
Overview
Manage Identity Proofing Providers. Oracle Identity Cloud Service provides cross-domain SSO capabilities via the OASIS SAML 2.0 SSO protocol and implements two modes of operation for Federation SSO–as an IdP where the user is authenticated on behalf of remote Service Providers (SP), and as an SP where Oracle Identity Cloud Service delegates authentication to a remote IdP. As an IdP, Oracle Identity Cloud Service can integrate with multiple SPs at the same time. As an SP, This REST API is SCIM compliant.
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
- IDCS_LOCKED_OPERATIONS_ENUM =
[ IDCS_LOCKED_OPERATIONS_REPLACE = 'replace'.freeze, IDCS_LOCKED_OPERATIONS_UPDATE = 'update'.freeze, IDCS_LOCKED_OPERATIONS_DELETE = 'delete'.freeze, IDCS_LOCKED_OPERATIONS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- STATUS_ENUM =
[ STATUS_INACTIVE = 'INACTIVE'.freeze, STATUS_ACTIVE = 'ACTIVE'.freeze, STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
Instance Attribute Summary collapse
-
#claim_mapping ⇒ Array<OCI::IdentityDomains::Models::IdentityProofingProviderClaimMapping>
[Required] Configure the verification claims and IAM Domain user attribute mapping.
-
#compartment_ocid ⇒ String
OCI Compartment Id (OCID) in which the resource lives.
-
#configuration ⇒ Array<OCI::IdentityDomains::Models::IdentityProofingProviderConfiguration>
[Required] Configure the verification provider.
-
#delete_in_progress ⇒ BOOLEAN
A boolean flag indicating this resource in the process of being deleted.
-
#description ⇒ String
Description field to add comments and additional information about the Identity Proofing Provider.
-
#domain_ocid ⇒ String
OCI Domain Id (OCID) in which the resource lives.
-
#id ⇒ String
Unique identifier for the SCIM Resource as defined by the Service Provider.
- #idcs_created_by ⇒ OCI::IdentityDomains::Models::IdcsCreatedBy
- #idcs_last_modified_by ⇒ OCI::IdentityDomains::Models::IdcsLastModifiedBy
-
#idcs_last_upgraded_in_release ⇒ String
The release number when the resource was upgraded.
- #idcs_locked_by ⇒ OCI::IdentityDomains::Models::IdentityProofingProviderIdcsLockedBy
-
#idcs_locked_on ⇒ String
The most recent DateTime the resource was locked.
-
#idcs_locked_operations ⇒ Array<String>
Operations that are locked on the resource.
-
#idcs_prevented_operations ⇒ Array<String>
Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.
- #meta ⇒ OCI::IdentityDomains::Models::Meta
-
#name ⇒ String
[Required] Name of the Identity Proofing Provider.
-
#ocid ⇒ String
Unique OCI identifier (OCID) for the SCIM Resource.
-
#provider ⇒ String
[Required] The Identity Proofing Provider.
-
#runtime_data ⇒ Array<OCI::IdentityDomains::Models::IdentityProofingProviderRuntimeData>
Identity Proofing runtime custom data.
-
#schemas ⇒ Array<String>
[Required] REQUIRED.
-
#status ⇒ String
Status of the Identity Proofing Provider.
-
#tags ⇒ Array<OCI::IdentityDomains::Models::Tags>
A list of tags on this resource.
-
#tenancy_ocid ⇒ String
OCI Tenant Id (OCID) in which the resource lives.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(other) ⇒ Object
Checks equality by comparing each attribute.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(other) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ IdentityProofingProvider
constructor
Initializes the object.
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
Constructor Details
#initialize(attributes = {}) ⇒ IdentityProofingProvider
Initializes the object
401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 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 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 401 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. = 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. = attributes[:'tags'] if attributes[:'tags'] self.idcs_locked_operations = attributes[:'idcsLockedOperations'] if attributes[:'idcsLockedOperations'] raise 'You cannot provide both :idcsLockedOperations and :idcs_locked_operations' if attributes.key?(:'idcsLockedOperations') && attributes.key?(:'idcs_locked_operations') self.idcs_locked_operations = attributes[:'idcs_locked_operations'] if attributes[:'idcs_locked_operations'] self.idcs_locked_by = attributes[:'idcsLockedBy'] if attributes[:'idcsLockedBy'] raise 'You cannot provide both :idcsLockedBy and :idcs_locked_by' if attributes.key?(:'idcsLockedBy') && attributes.key?(:'idcs_locked_by') self.idcs_locked_by = attributes[:'idcs_locked_by'] if attributes[:'idcs_locked_by'] self.idcs_locked_on = attributes[:'idcsLockedOn'] if attributes[:'idcsLockedOn'] raise 'You cannot provide both :idcsLockedOn and :idcs_locked_on' if attributes.key?(:'idcsLockedOn') && attributes.key?(:'idcs_locked_on') self.idcs_locked_on = attributes[:'idcs_locked_on'] if attributes[:'idcs_locked_on'] 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.provider = attributes[:'provider'] if attributes[:'provider'] self.name = attributes[:'name'] if attributes[:'name'] self.description = attributes[:'description'] if attributes[:'description'] self.status = attributes[:'status'] if attributes[:'status'] self.runtime_data = attributes[:'runtimeData'] if attributes[:'runtimeData'] raise 'You cannot provide both :runtimeData and :runtime_data' if attributes.key?(:'runtimeData') && attributes.key?(:'runtime_data') self.runtime_data = attributes[:'runtime_data'] if attributes[:'runtime_data'] self.configuration = attributes[:'configuration'] if attributes[:'configuration'] self.claim_mapping = attributes[:'claimMapping'] if attributes[:'claimMapping'] raise 'You cannot provide both :claimMapping and :claim_mapping' if attributes.key?(:'claimMapping') && attributes.key?(:'claim_mapping') self.claim_mapping = attributes[:'claim_mapping'] if attributes[:'claim_mapping'] end |
Instance Attribute Details
#claim_mapping ⇒ Array<OCI::IdentityDomains::Models::IdentityProofingProviderClaimMapping>
[Required] Configure the verification claims and IAM Domain user attribute mapping.
SCIM++ Properties: - idcsSearchable: false - multiValued: true - mutability: immutable - required: true - returned: always - idcsCompositeKey: [verifiableClaim] - type: complex - uniqueness: server
308 309 310 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 308 def claim_mapping @claim_mapping end |
#compartment_ocid ⇒ String
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
196 197 198 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 196 def compartment_ocid @compartment_ocid end |
#configuration ⇒ Array<OCI::IdentityDomains::Models::IdentityProofingProviderConfiguration>
[Required] Configure the verification provider.
SCIM++ Properties: - idcsSearchable: false - multiValued: true - mutability: immutable - required: true - returned: always - idcsCompositeKey: [name] - type: complex - uniqueness: server
294 295 296 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 294 def configuration @configuration end |
#delete_in_progress ⇒ BOOLEAN
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
154 155 156 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 154 def delete_in_progress @delete_in_progress end |
#description ⇒ String
Description field to add comments and additional information about the Identity Proofing Provider.
SCIM++ Properties: - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
252 253 254 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 252 def description @description end |
#domain_ocid ⇒ String
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
182 183 184 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 182 def domain_ocid @domain_ocid end |
#id ⇒ String
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: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: always - type: string - uniqueness: global
44 45 46 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 44 def id @id end |
#idcs_created_by ⇒ OCI::IdentityDomains::Models::IdcsCreatedBy
78 79 80 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 78 def idcs_created_by @idcs_created_by end |
#idcs_last_modified_by ⇒ OCI::IdentityDomains::Models::IdcsLastModifiedBy
81 82 83 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 81 def idcs_last_modified_by @idcs_last_modified_by end |
#idcs_last_upgraded_in_release ⇒ String
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
168 169 170 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 168 def idcs_last_upgraded_in_release @idcs_last_upgraded_in_release end |
#idcs_locked_by ⇒ OCI::IdentityDomains::Models::IdentityProofingProviderIdcsLockedBy
126 127 128 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 126 def idcs_locked_by @idcs_locked_by end |
#idcs_locked_on ⇒ String
The most recent DateTime the resource was locked.
SCIM++ Properties: - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: none
140 141 142 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 140 def idcs_locked_on @idcs_locked_on end |
#idcs_locked_operations ⇒ Array<String>
Operations that are locked on the resource.
SCIM++ Properties: - idcsSearchable: false - idcsCsvAttributeNameMappings: [[columnHeaderName:Locked Operations, multiValueDelimiter:;]] - multiValued: true - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
123 124 125 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 123 def idcs_locked_operations @idcs_locked_operations end |
#idcs_prevented_operations ⇒ Array<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
94 95 96 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 94 def idcs_prevented_operations @idcs_prevented_operations end |
#meta ⇒ OCI::IdentityDomains::Models::Meta
75 76 77 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 75 def @meta end |
#name ⇒ String
[Required] Name of the Identity Proofing Provider.
SCIM++ Properties: - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: always - type: string - uniqueness: global
239 240 241 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 239 def name @name end |
#ocid ⇒ String
Unique OCI identifier (OCID) for the SCIM Resource.
SCIM++ Properties: - caseExact: true - idcsSearchable: true - multiValued: false - mutability: immutable - required: false - returned: default - type: string - uniqueness: global
58 59 60 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 58 def ocid @ocid end |
#provider ⇒ String
[Required] The Identity Proofing Provider.
SCIM++ Properties: - idcsSearchable: true - multiValued: false - mutability: readWrite - idcsCanonicalValueSourceFilter: provider eq "$(provider)" - idcsCanonicalValueSourceResourceType: IdentityProofingProviderTemplate - caseExact: true - required: true - returned: always - type: string - uniqueness: none
226 227 228 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 226 def provider @provider end |
#runtime_data ⇒ Array<OCI::IdentityDomains::Models::IdentityProofingProviderRuntimeData>
Identity Proofing runtime custom data.
Added In: 2505161800
SCIM++ Properties: - idcsCompositeKey: [attrName] - multiValued: true - mutability: readWrite - required: false - returned: default - type: complex
280 281 282 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 280 def runtime_data @runtime_data end |
#schemas ⇒ Array<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
72 73 74 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 72 def schemas @schemas end |
#status ⇒ String
Status of the Identity Proofing Provider.
SCIM++ Properties: - idcsSearchable: true - multiValued: false - caseExact: true - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
266 267 268 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 266 def status @status end |
#tags ⇒ Array<OCI::IdentityDomains::Models::Tags>
A list of tags on this resource.
SCIM++ Properties: - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, mapsTo:tags.value]] - idcsSearchable: true - multiValued: true - mutability: readWrite - required: false - returned: request - type: complex - uniqueness: none
109 110 111 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 109 def @tags end |
#tenancy_ocid ⇒ String
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
210 211 212 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 210 def tenancy_ocid @tenancy_ocid end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 311 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', 'idcs_locked_operations': :'idcsLockedOperations', 'idcs_locked_by': :'idcsLockedBy', 'idcs_locked_on': :'idcsLockedOn', 'delete_in_progress': :'deleteInProgress', 'idcs_last_upgraded_in_release': :'idcsLastUpgradedInRelease', 'domain_ocid': :'domainOcid', 'compartment_ocid': :'compartmentOcid', 'tenancy_ocid': :'tenancyOcid', 'provider': :'provider', 'name': :'name', 'description': :'description', 'status': :'status', 'runtime_data': :'runtimeData', 'configuration': :'configuration', 'claim_mapping': :'claimMapping' # rubocop:enable Style/SymbolLiteral } end |
.swagger_types ⇒ Object
Attribute type mapping.
342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 342 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>', 'idcs_locked_operations': :'Array<String>', 'idcs_locked_by': :'OCI::IdentityDomains::Models::IdentityProofingProviderIdcsLockedBy', 'idcs_locked_on': :'String', 'delete_in_progress': :'BOOLEAN', 'idcs_last_upgraded_in_release': :'String', 'domain_ocid': :'String', 'compartment_ocid': :'String', 'tenancy_ocid': :'String', 'provider': :'String', 'name': :'String', 'description': :'String', 'status': :'String', 'runtime_data': :'Array<OCI::IdentityDomains::Models::IdentityProofingProviderRuntimeData>', 'configuration': :'Array<OCI::IdentityDomains::Models::IdentityProofingProviderConfiguration>', 'claim_mapping': :'Array<OCI::IdentityDomains::Models::IdentityProofingProviderClaimMapping>' # rubocop:enable Style/SymbolLiteral } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
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 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 566 def ==(other) return true if equal?(other) self.class == other.class && id == other.id && ocid == other.ocid && schemas == other.schemas && == other. && idcs_created_by == other.idcs_created_by && idcs_last_modified_by == other.idcs_last_modified_by && idcs_prevented_operations == other.idcs_prevented_operations && == other. && idcs_locked_operations == other.idcs_locked_operations && idcs_locked_by == other.idcs_locked_by && idcs_locked_on == other.idcs_locked_on && 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 && provider == other.provider && name == other.name && description == other.description && status == other.status && runtime_data == other.runtime_data && configuration == other.configuration && claim_mapping == other.claim_mapping end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 618 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
598 599 600 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 598 def eql?(other) self == other end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
607 608 609 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 607 def hash [id, ocid, schemas, , idcs_created_by, idcs_last_modified_by, idcs_prevented_operations, , idcs_locked_operations, idcs_locked_by, idcs_locked_on, delete_in_progress, idcs_last_upgraded_in_release, domain_ocid, compartment_ocid, tenancy_ocid, provider, name, description, status, runtime_data, configuration, claim_mapping].hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
651 652 653 654 655 656 657 658 659 660 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 651 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_s ⇒ String
Returns the string representation of the object
645 646 647 |
# File 'lib/oci/identity_domains/models/identity_proofing_provider.rb', line 645 def to_s to_hash.to_s end |