Class: OCI::IdentityDomains::Models::OciConsoleSignOnPolicyConsent

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

Overview

The "Security Policy for OCI Console" sign-on policy consent resource used to record consents. The schema to record the "Security Policy for OCI Console" sign-on policy consent.

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
CHANGE_TYPE_ENUM =
[
  CHANGE_TYPE_MODIFIED = 'MODIFIED'.freeze,
  CHANGE_TYPE_RESTORED_TO_FACTORY_DEFAULT = 'RESTORED_TO_FACTORY_DEFAULT'.freeze,
  CHANGE_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 = {}) ⇒ OciConsoleSignOnPolicyConsent

Initializes the object

Parameters:

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

    Model attributes in the form of hash

Options Hash (attributes):



351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
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
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 351

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

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

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

  self.modified_resource = attributes[:'modifiedResource'] if attributes[:'modifiedResource']

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

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

  self.policy_resource = attributes[:'policyResource'] if attributes[:'policyResource']

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

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

  self.change_type = attributes[:'changeType'] if attributes[:'changeType']

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

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

  self.client_ip = attributes[:'clientIp'] if attributes[:'clientIp']

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

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

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

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

  self.time_consent_signed = attributes[:'timeConsentSigned'] if attributes[:'timeConsentSigned']

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

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

  self.notification_recipients = attributes[:'notificationRecipients'] if attributes[:'notificationRecipients']

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

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

Instance Attribute Details

#change_typeString

[Required] Change Type - MODIFIED or RESTORED_TO_FACTORY_DEFAULT

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

Returns:

  • (String)


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

def change_type
  @change_type
end

#client_ipString

[Required] Client IP of the Consent Signer

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

Returns:

  • (String)


210
211
212
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 210

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


158
159
160
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 158

def compartment_ocid
  @compartment_ocid
end

This attribute is required.



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

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


116
117
118
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 116

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


144
145
146
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 144

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


37
38
39
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 37

def id
  @id
end

#idcs_created_byOCI::IdentityDomains::Models::IdcsCreatedBy



71
72
73
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 71

def idcs_created_by
  @idcs_created_by
end

#idcs_last_modified_byOCI::IdentityDomains::Models::IdcsLastModifiedBy



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

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)


130
131
132
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 130

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


87
88
89
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 87

def idcs_prevented_operations
  @idcs_prevented_operations
end

#justificationString

[Required] The justification for the change when an identity domain administrator opts to modify the Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by Oracle.

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

Returns:

  • (String)


223
224
225
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 223

def justification
  @justification
end

#metaOCI::IdentityDomains::Models::Meta



68
69
70
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 68

def meta
  @meta
end

#modified_resourceOCI::IdentityDomains::Models::OciConsoleSignOnPolicyConsentModifiedResource

This attribute is required.



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

def modified_resource
  @modified_resource
end

#notification_recipientsArray<String>

[Required] The recipients of the email notification for the change in consent.

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

Returns:

  • (Array<String>)


261
262
263
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 261

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


51
52
53
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 51

def ocid
  @ocid
end

#policy_resourceOCI::IdentityDomains::Models::OciConsoleSignOnPolicyConsentPolicyResource

This attribute is required.



184
185
186
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 184

def policy_resource
  @policy_resource
end

#reasonString

The detailed reason for the change when an identity domain administrator opts to modify the Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by Oracle.

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

Returns:

  • (String)


236
237
238
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 236

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


65
66
67
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 65

def schemas
  @schemas
end

#tagsArray<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



102
103
104
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 102

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)


172
173
174
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 172

def tenancy_ocid
  @tenancy_ocid
end

[Required] Time when Consent was signed.

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

Returns:

  • (String)


249
250
251
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 249

def time_consent_signed
  @time_consent_signed
end

Class Method Details

.attribute_mapObject

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



264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 264

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',
    'consent_signed_by': :'consentSignedBy',
    'modified_resource': :'modifiedResource',
    'policy_resource': :'policyResource',
    'change_type': :'changeType',
    'client_ip': :'clientIp',
    'justification': :'justification',
    'reason': :'reason',
    'time_consent_signed': :'timeConsentSigned',
    'notification_recipients': :'notificationRecipients'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 294

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',
    'consent_signed_by': :'OCI::IdentityDomains::Models::OciConsoleSignOnPolicyConsentConsentSignedBy',
    'modified_resource': :'OCI::IdentityDomains::Models::OciConsoleSignOnPolicyConsentModifiedResource',
    'policy_resource': :'OCI::IdentityDomains::Models::OciConsoleSignOnPolicyConsentPolicyResource',
    'change_type': :'String',
    'client_ip': :'String',
    'justification': :'String',
    'reason': :'String',
    'time_consent_signed': :'String',
    'notification_recipients': :'Array<String>'
    # 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



502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 502

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 &&
    consent_signed_by == other.consent_signed_by &&
    modified_resource == other.modified_resource &&
    policy_resource == other.policy_resource &&
    change_type == other.change_type &&
    client_ip == other.client_ip &&
    justification == other.justification &&
    reason == other.reason &&
    time_consent_signed == other.time_consent_signed &&
    notification_recipients == other.notification_recipients
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



553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 553

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


533
534
535
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 533

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



542
543
544
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 542

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, consent_signed_by, modified_resource, policy_resource, change_type, client_ip, justification, reason, time_consent_signed, notification_recipients].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



586
587
588
589
590
591
592
593
594
595
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 586

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



580
581
582
# File 'lib/oci/identity_domains/models/oci_console_sign_on_policy_consent.rb', line 580

def to_s
  to_hash.to_s
end