Class: OCI::IdentityDomains::Models::CloudGate

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

Overview

Resource representing a Cloud Gate

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
TYPE_ENUM =
[
  TYPE_LBAAS = 'lbaas'.freeze,
  TYPE_GATEWAY = 'gateway'.freeze,
  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 = {}) ⇒ CloudGate

Initializes the object

Parameters:

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

    Model attributes in the form of hash

Options Hash (attributes):



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
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 428

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.is_opc_service = attributes[:'isOPCService'] unless attributes[:'isOPCService'].nil?

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

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

  self.last_modified_time = attributes[:'lastModifiedTime'] if attributes[:'lastModifiedTime']

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

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

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

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

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

  self.upstream_server_groups = attributes[:'upstreamServerGroups'] if attributes[:'upstreamServerGroups']

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

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

  self.upstream_servers = attributes[:'upstreamServers'] if attributes[:'upstreamServers']

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

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

  self.oauth_client = attributes[:'oauthClient'] if attributes[:'oauthClient']

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

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

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

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

Instance Attribute Details

#activeBOOLEAN

Activation status for this Cloud Gate

Added In: 19.2.1

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

Returns:

  • (BOOLEAN)


251
252
253
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 251

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


157
158
159
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 157

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)


115
116
117
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 115

def delete_in_progress
  @delete_in_progress
end

#descriptionString

Brief description for this Cloud Gate

Added In: 19.2.1

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

Returns:

  • (String)


235
236
237
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 235

def description
  @description
end

#display_nameString

[Required] Display name/Host identifier for this Cloud Gate

Added In: 19.2.1

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

Returns:

  • (String)


219
220
221
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 219

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)


143
144
145
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 143

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/cloud_gate.rb', line 37

def id
  @id
end

#idcs_created_byOCI::IdentityDomains::Models::IdcsCreatedBy



71
72
73
# File 'lib/oci/identity_domains/models/cloud_gate.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/cloud_gate.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)


129
130
131
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 129

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/cloud_gate.rb', line 87

def idcs_prevented_operations
  @idcs_prevented_operations
end

#is_opc_serviceBOOLEAN

Indicates whether this resource was created by OPC

Added In: 19.3.3

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

Returns:

  • (BOOLEAN)


187
188
189
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 187

def is_opc_service
  @is_opc_service
end

#last_modified_timeString

Last updated timestamp for this CloudGate's servers and mappings.

Added In: 19.2.1

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

Returns:

  • (String)


203
204
205
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 203

def last_modified_time
  @last_modified_time
end

#mappingsArray<OCI::IdentityDomains::Models::CloudGateExtMappings>

A list of Cloud Gate Mappings that map Apps to this Cloud Gate

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



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

def mappings
  @mappings
end

#metaOCI::IdentityDomains::Models::Meta



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

def meta
  @meta
end

#oauth_clientOCI::IdentityDomains::Models::CloudGateOauthClient



302
303
304
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 302

def oauth_client
  @oauth_client
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/cloud_gate.rb', line 51

def ocid
  @ocid
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/cloud_gate.rb', line 65

def schemas
  @schemas
end

#serversArray<OCI::IdentityDomains::Models::CloudGateExtServers>

A list of Server Blocks on this Cloud Gate

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



317
318
319
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 317

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



101
102
103
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 101

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)


171
172
173
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 171

def tenancy_ocid
  @tenancy_ocid
end

#typeString

Type of Cloud Gate

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

Returns:

  • (String)


265
266
267
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 265

def type
  @type
end

#upstream_server_groupsArray<OCI::IdentityDomains::Models::CloudGateExtUpstreamServerGroups>

A list of upstream server groups

Added In: 20.1.3

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



282
283
284
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 282

def upstream_server_groups
  @upstream_server_groups
end

#upstream_serversArray<OCI::IdentityDomains::Models::CloudGateExtUpstreamServers>

A list of upstream servers

Added In: 20.1.3

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



299
300
301
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 299

def upstream_servers
  @upstream_servers
end

Class Method Details

.attribute_mapObject

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



335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 335

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',
    'is_opc_service': :'isOPCService',
    'last_modified_time': :'lastModifiedTime',
    'display_name': :'displayName',
    'description': :'description',
    'active': :'active',
    'type': :'type',
    'upstream_server_groups': :'upstreamServerGroups',
    'upstream_servers': :'upstreamServers',
    'oauth_client': :'oauthClient',
    'servers': :'servers',
    'mappings': :'mappings'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



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

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',
    'is_opc_service': :'BOOLEAN',
    'last_modified_time': :'String',
    'display_name': :'String',
    'description': :'String',
    'active': :'BOOLEAN',
    'type': :'String',
    'upstream_server_groups': :'Array<OCI::IdentityDomains::Models::CloudGateExtUpstreamServerGroups>',
    'upstream_servers': :'Array<OCI::IdentityDomains::Models::CloudGateExtUpstreamServers>',
    'oauth_client': :'OCI::IdentityDomains::Models::CloudGateOauthClient',
    'servers': :'Array<OCI::IdentityDomains::Models::CloudGateExtServers>',
    'mappings': :'Array<OCI::IdentityDomains::Models::CloudGateExtMappings>'
    # 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



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

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 &&
    is_opc_service == other.is_opc_service &&
    last_modified_time == other.last_modified_time &&
    display_name == other.display_name &&
    description == other.description &&
    active == other.active &&
    type == other.type &&
    upstream_server_groups == other.upstream_server_groups &&
    upstream_servers == other.upstream_servers &&
    oauth_client == other.oauth_client &&
    servers == other.servers &&
    mappings == other.mappings
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



632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 632

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


612
613
614
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 612

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



621
622
623
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 621

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, is_opc_service, last_modified_time, display_name, description, active, type, upstream_server_groups, upstream_servers, oauth_client, servers, mappings].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



665
666
667
668
669
670
671
672
673
674
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 665

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



659
660
661
# File 'lib/oci/identity_domains/models/cloud_gate.rb', line 659

def to_s
  to_hash.to_s
end