Class: OCI::GoldenGate::Models::Pipeline
- Inherits:
-
Object
- Object
- OCI::GoldenGate::Models::Pipeline
- Defined in:
- lib/oci/golden_gate/models/pipeline.rb
Overview
Represents the metadata details of a pipeline in the same compartment.
This class has direct subclasses. If you are using this class as input to a service operations then you should favor using a subclass over the base class
Direct Known Subclasses
Constant Summary collapse
- RECIPE_TYPE_ENUM =
[ RECIPE_TYPE_ZERO_ETL = 'ZERO_ETL'.freeze, RECIPE_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- LICENSE_MODEL_ENUM =
[ LICENSE_MODEL_LICENSE_INCLUDED = 'LICENSE_INCLUDED'.freeze, LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE'.freeze, LICENSE_MODEL_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- LIFECYCLE_STATE_ENUM =
[ LIFECYCLE_STATE_CREATING = 'CREATING'.freeze, LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze, LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze, LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'.freeze, LIFECYCLE_STATE_DELETING = 'DELETING'.freeze, LIFECYCLE_STATE_DELETED = 'DELETED'.freeze, LIFECYCLE_STATE_FAILED = 'FAILED'.freeze, LIFECYCLE_STATE_INACTIVE = 'INACTIVE'.freeze, LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- LIFECYCLE_SUB_STATE_ENUM =
[ LIFECYCLE_SUB_STATE_STARTING = 'STARTING'.freeze, LIFECYCLE_SUB_STATE_STOPPING = 'STOPPING'.freeze, LIFECYCLE_SUB_STATE_STOPPED = 'STOPPED'.freeze, LIFECYCLE_SUB_STATE_MOVING = 'MOVING'.freeze, LIFECYCLE_SUB_STATE_RUNNING = 'RUNNING'.freeze, LIFECYCLE_SUB_STATE_PAUSING = 'PAUSING'.freeze, LIFECYCLE_SUB_STATE_PAUSED = 'PAUSED'.freeze, LIFECYCLE_SUB_STATE_START_FAILED = 'START_FAILED'.freeze, LIFECYCLE_SUB_STATE_STOP_FAILED = 'STOP_FAILED'.freeze, LIFECYCLE_SUB_STATE_PAUSE_FAILED = 'PAUSE_FAILED'.freeze, LIFECYCLE_SUB_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
Instance Attribute Summary collapse
-
#compartment_id ⇒ String
[Required] The OCID of the compartment being referenced.
-
#cpu_core_count ⇒ Integer
[Required] The Minimum number of OCPUs to be made available for this Deployment.
-
#defined_tags ⇒ Hash<String, Hash<String, Object>>
Tags defined for this resource.
-
#description ⇒ String
Metadata about this specific object.
-
#display_name ⇒ String
[Required] An object's Display Name.
-
#freeform_tags ⇒ Hash<String, String>
A simple key-value pair that is applied without any predefined name, type, or scope.
-
#id ⇒ String
[Required] The OCID of the pipeline.
-
#ingress_ips ⇒ Array<OCI::GoldenGate::Models::IngressIpDetails>
List of ingress IP addresses from where the GoldenGate deployment connects to this connection's privateIp.
-
#is_auto_scaling_enabled ⇒ BOOLEAN
[Required] Indicates if auto scaling is enabled for the Deployment's CPU core count.
-
#license_model ⇒ String
[Required] The Oracle license model that applies to a Deployment.
-
#lifecycle_details ⇒ String
Describes the object's current state in detail.
-
#lifecycle_state ⇒ String
[Required] Lifecycle state of the pipeline.
-
#lifecycle_sub_state ⇒ String
Possible lifecycle substates when retrieving a pipeline.
-
#locks ⇒ Array<OCI::GoldenGate::Models::ResourceLock>
Locks associated with this resource.
- #pipeline_diagnostic_data ⇒ OCI::GoldenGate::Models::PipelineDiagnosticData
-
#recipe_type ⇒ String
[Required] The type of the recipe.
-
#source_connection_details ⇒ OCI::GoldenGate::Models::SourcePipelineConnectionDetails
This attribute is required.
-
#subnet_id ⇒ String
The OCID of the subnet of the pipeline's private endpoint.
-
#system_tags ⇒ Hash<String, Hash<String, Object>>
The system tags associated with this resource, if any.
-
#target_connection_details ⇒ OCI::GoldenGate::Models::TargetPipelineConnectionDetails
This attribute is required.
-
#time_created ⇒ DateTime
[Required] The time the resource was created.
-
#time_updated ⇒ DateTime
[Required] The time the resource was last updated.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.get_subtype(object_hash) ⇒ Object
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
.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 = {}) ⇒ Pipeline
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 = {}) ⇒ Pipeline
Initializes the object
273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 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 322 323 324 325 326 327 328 329 330 331 332 333 334 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 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 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 273 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.recipe_type = attributes[:'recipeType'] if attributes[:'recipeType'] raise 'You cannot provide both :recipeType and :recipe_type' if attributes.key?(:'recipeType') && attributes.key?(:'recipe_type') self.recipe_type = attributes[:'recipe_type'] if attributes[:'recipe_type'] self.id = attributes[:'id'] if attributes[:'id'] 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.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId'] raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id') self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id'] self.license_model = attributes[:'licenseModel'] if attributes[:'licenseModel'] raise 'You cannot provide both :licenseModel and :license_model' if attributes.key?(:'licenseModel') && attributes.key?(:'license_model') self.license_model = attributes[:'license_model'] if attributes[:'license_model'] self.cpu_core_count = attributes[:'cpuCoreCount'] if attributes[:'cpuCoreCount'] raise 'You cannot provide both :cpuCoreCount and :cpu_core_count' if attributes.key?(:'cpuCoreCount') && attributes.key?(:'cpu_core_count') self.cpu_core_count = attributes[:'cpu_core_count'] if attributes[:'cpu_core_count'] self.is_auto_scaling_enabled = attributes[:'isAutoScalingEnabled'] unless attributes[:'isAutoScalingEnabled'].nil? raise 'You cannot provide both :isAutoScalingEnabled and :is_auto_scaling_enabled' if attributes.key?(:'isAutoScalingEnabled') && attributes.key?(:'is_auto_scaling_enabled') self.is_auto_scaling_enabled = attributes[:'is_auto_scaling_enabled'] unless attributes[:'is_auto_scaling_enabled'].nil? self.source_connection_details = attributes[:'sourceConnectionDetails'] if attributes[:'sourceConnectionDetails'] raise 'You cannot provide both :sourceConnectionDetails and :source_connection_details' if attributes.key?(:'sourceConnectionDetails') && attributes.key?(:'source_connection_details') self.source_connection_details = attributes[:'source_connection_details'] if attributes[:'source_connection_details'] self.target_connection_details = attributes[:'targetConnectionDetails'] if attributes[:'targetConnectionDetails'] raise 'You cannot provide both :targetConnectionDetails and :target_connection_details' if attributes.key?(:'targetConnectionDetails') && attributes.key?(:'target_connection_details') self.target_connection_details = attributes[:'target_connection_details'] if attributes[:'target_connection_details'] self.pipeline_diagnostic_data = attributes[:'pipelineDiagnosticData'] if attributes[:'pipelineDiagnosticData'] raise 'You cannot provide both :pipelineDiagnosticData and :pipeline_diagnostic_data' if attributes.key?(:'pipelineDiagnosticData') && attributes.key?(:'pipeline_diagnostic_data') self.pipeline_diagnostic_data = attributes[:'pipeline_diagnostic_data'] if attributes[:'pipeline_diagnostic_data'] self. = attributes[:'freeformTags'] if attributes[:'freeformTags'] raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags') self. = attributes[:'freeform_tags'] if attributes[:'freeform_tags'] self. = attributes[:'definedTags'] if attributes[:'definedTags'] raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags') self. = attributes[:'defined_tags'] if attributes[:'defined_tags'] self. = attributes[:'systemTags'] if attributes[:'systemTags'] raise 'You cannot provide both :systemTags and :system_tags' if attributes.key?(:'systemTags') && attributes.key?(:'system_tags') self. = attributes[:'system_tags'] if attributes[:'system_tags'] self.locks = attributes[:'locks'] if attributes[:'locks'] self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState'] raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state') self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state'] self.lifecycle_sub_state = attributes[:'lifecycleSubState'] if attributes[:'lifecycleSubState'] raise 'You cannot provide both :lifecycleSubState and :lifecycle_sub_state' if attributes.key?(:'lifecycleSubState') && attributes.key?(:'lifecycle_sub_state') self.lifecycle_sub_state = attributes[:'lifecycle_sub_state'] if attributes[:'lifecycle_sub_state'] self.lifecycle_details = attributes[:'lifecycleDetails'] if attributes[:'lifecycleDetails'] raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details') self.lifecycle_details = attributes[:'lifecycle_details'] if attributes[:'lifecycle_details'] self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated'] raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created') self.time_created = attributes[:'time_created'] if attributes[:'time_created'] self.time_updated = attributes[:'timeUpdated'] if attributes[:'timeUpdated'] raise 'You cannot provide both :timeUpdated and :time_updated' if attributes.key?(:'timeUpdated') && attributes.key?(:'time_updated') self.time_updated = attributes[:'time_updated'] if attributes[:'time_updated'] self.subnet_id = attributes[:'subnetId'] if attributes[:'subnetId'] raise 'You cannot provide both :subnetId and :subnet_id' if attributes.key?(:'subnetId') && attributes.key?(:'subnet_id') self.subnet_id = attributes[:'subnet_id'] if attributes[:'subnet_id'] self.ingress_ips = attributes[:'ingressIps'] if attributes[:'ingressIps'] raise 'You cannot provide both :ingressIps and :ingress_ips' if attributes.key?(:'ingressIps') && attributes.key?(:'ingress_ips') self.ingress_ips = attributes[:'ingress_ips'] if attributes[:'ingress_ips'] end |
Instance Attribute Details
#compartment_id ⇒ String
[Required] The OCID of the compartment being referenced.
74 75 76 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 74 def compartment_id @compartment_id end |
#cpu_core_count ⇒ Integer
[Required] The Minimum number of OCPUs to be made available for this Deployment.
84 85 86 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 84 def cpu_core_count @cpu_core_count end |
#defined_tags ⇒ Hash<String, Hash<String, Object>>
Tags defined for this resource. Each key is predefined and scoped to a namespace.
Example: {\"foo-namespace\": {\"bar-key\": \"value\"}}
115 116 117 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 115 def @defined_tags end |
#description ⇒ String
Metadata about this specific object.
69 70 71 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 69 def description @description end |
#display_name ⇒ String
[Required] An object's Display Name.
64 65 66 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 64 def display_name @display_name end |
#freeform_tags ⇒ Hash<String, String>
A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
Example: {\"bar-key\": \"value\"}
108 109 110 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 108 def @freeform_tags end |
#id ⇒ String
[Required] The OCID of the pipeline. This option applies when retrieving a pipeline.
59 60 61 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 59 def id @id end |
#ingress_ips ⇒ Array<OCI::GoldenGate::Models::IngressIpDetails>
List of ingress IP addresses from where the GoldenGate deployment connects to this connection's privateIp. Customers may optionally set up ingress security rules to restrict traffic from these IP addresses.
168 169 170 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 168 def ingress_ips @ingress_ips end |
#is_auto_scaling_enabled ⇒ BOOLEAN
[Required] Indicates if auto scaling is enabled for the Deployment's CPU core count.
89 90 91 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 89 def is_auto_scaling_enabled @is_auto_scaling_enabled end |
#license_model ⇒ String
[Required] The Oracle license model that applies to a Deployment.
79 80 81 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 79 def license_model @license_model end |
#lifecycle_details ⇒ String
Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.
144 145 146 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 144 def lifecycle_details @lifecycle_details end |
#lifecycle_state ⇒ String
[Required] Lifecycle state of the pipeline.
133 134 135 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 133 def lifecycle_state @lifecycle_state end |
#lifecycle_sub_state ⇒ String
Possible lifecycle substates when retrieving a pipeline.
138 139 140 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 138 def lifecycle_sub_state @lifecycle_sub_state end |
#locks ⇒ Array<OCI::GoldenGate::Models::ResourceLock>
Locks associated with this resource.
128 129 130 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 128 def locks @locks end |
#pipeline_diagnostic_data ⇒ OCI::GoldenGate::Models::PipelineDiagnosticData
100 101 102 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 100 def pipeline_diagnostic_data @pipeline_diagnostic_data end |
#recipe_type ⇒ String
[Required] The type of the recipe
54 55 56 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 54 def recipe_type @recipe_type end |
#source_connection_details ⇒ OCI::GoldenGate::Models::SourcePipelineConnectionDetails
This attribute is required.
93 94 95 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 93 def source_connection_details @source_connection_details end |
#subnet_id ⇒ String
The OCID of the subnet of the pipeline's private endpoint. The subnet must be a private subnet.
162 163 164 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 162 def subnet_id @subnet_id end |
#system_tags ⇒ Hash<String, Hash<String, Object>>
The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags.
Example: {orcl-cloud: {free-tier-retain: true}}
124 125 126 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 124 def @system_tags end |
#target_connection_details ⇒ OCI::GoldenGate::Models::TargetPipelineConnectionDetails
This attribute is required.
97 98 99 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 97 def target_connection_details @target_connection_details end |
#time_created ⇒ DateTime
[Required] The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
150 151 152 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 150 def time_created @time_created end |
#time_updated ⇒ DateTime
[Required] The time the resource was last updated. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
156 157 158 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 156 def time_updated @time_updated end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 171 def self.attribute_map { # rubocop:disable Style/SymbolLiteral 'recipe_type': :'recipeType', 'id': :'id', 'display_name': :'displayName', 'description': :'description', 'compartment_id': :'compartmentId', 'license_model': :'licenseModel', 'cpu_core_count': :'cpuCoreCount', 'is_auto_scaling_enabled': :'isAutoScalingEnabled', 'source_connection_details': :'sourceConnectionDetails', 'target_connection_details': :'targetConnectionDetails', 'pipeline_diagnostic_data': :'pipelineDiagnosticData', 'freeform_tags': :'freeformTags', 'defined_tags': :'definedTags', 'system_tags': :'systemTags', 'locks': :'locks', 'lifecycle_state': :'lifecycleState', 'lifecycle_sub_state': :'lifecycleSubState', 'lifecycle_details': :'lifecycleDetails', 'time_created': :'timeCreated', 'time_updated': :'timeUpdated', 'subnet_id': :'subnetId', 'ingress_ips': :'ingressIps' # rubocop:enable Style/SymbolLiteral } end |
.get_subtype(object_hash) ⇒ Object
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
235 236 237 238 239 240 241 242 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 235 def self.get_subtype(object_hash) type = object_hash[:'recipeType'] # rubocop:disable Style/SymbolLiteral return 'OCI::GoldenGate::Models::ZeroEtlPipeline' if type == 'ZERO_ETL' # TODO: Log a warning when the subtype is not found. 'OCI::GoldenGate::Models::Pipeline' end |
.swagger_types ⇒ Object
Attribute type mapping.
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 201 def self.swagger_types { # rubocop:disable Style/SymbolLiteral 'recipe_type': :'String', 'id': :'String', 'display_name': :'String', 'description': :'String', 'compartment_id': :'String', 'license_model': :'String', 'cpu_core_count': :'Integer', 'is_auto_scaling_enabled': :'BOOLEAN', 'source_connection_details': :'OCI::GoldenGate::Models::SourcePipelineConnectionDetails', 'target_connection_details': :'OCI::GoldenGate::Models::TargetPipelineConnectionDetails', 'pipeline_diagnostic_data': :'OCI::GoldenGate::Models::PipelineDiagnosticData', 'freeform_tags': :'Hash<String, String>', 'defined_tags': :'Hash<String, Hash<String, Object>>', 'system_tags': :'Hash<String, Hash<String, Object>>', 'locks': :'Array<OCI::GoldenGate::Models::ResourceLock>', 'lifecycle_state': :'String', 'lifecycle_sub_state': :'String', 'lifecycle_details': :'String', 'time_created': :'DateTime', 'time_updated': :'DateTime', 'subnet_id': :'String', 'ingress_ips': :'Array<OCI::GoldenGate::Models::IngressIpDetails>' # rubocop:enable Style/SymbolLiteral } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
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 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 459 def ==(other) return true if equal?(other) self.class == other.class && recipe_type == other.recipe_type && id == other.id && display_name == other.display_name && description == other.description && compartment_id == other.compartment_id && license_model == other.license_model && cpu_core_count == other.cpu_core_count && is_auto_scaling_enabled == other.is_auto_scaling_enabled && source_connection_details == other.source_connection_details && target_connection_details == other.target_connection_details && pipeline_diagnostic_data == other.pipeline_diagnostic_data && == other. && == other. && == other. && locks == other.locks && lifecycle_state == other.lifecycle_state && lifecycle_sub_state == other.lifecycle_sub_state && lifecycle_details == other.lifecycle_details && time_created == other.time_created && time_updated == other.time_updated && subnet_id == other.subnet_id && ingress_ips == other.ingress_ips end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 510 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
490 491 492 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 490 def eql?(other) self == other end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
499 500 501 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 499 def hash [recipe_type, id, display_name, description, compartment_id, license_model, cpu_core_count, is_auto_scaling_enabled, source_connection_details, target_connection_details, pipeline_diagnostic_data, , , , locks, lifecycle_state, lifecycle_sub_state, lifecycle_details, time_created, time_updated, subnet_id, ingress_ips].hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
543 544 545 546 547 548 549 550 551 552 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 543 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
537 538 539 |
# File 'lib/oci/golden_gate/models/pipeline.rb', line 537 def to_s to_hash.to_s end |