Class: OCI::DataFlow::Models::SqlEndpoint

Inherits:
Object
  • Object
show all
Defined in:
lib/oci/data_flow/models/sql_endpoint.rb

Overview

The description of a SQL Endpoint.

Constant Summary collapse

LIFECYCLE_STATE_ENUM =
[
  LIFECYCLE_STATE_CREATING = 'CREATING'.freeze,
  LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze,
  LIFECYCLE_STATE_DELETING = 'DELETING'.freeze,
  LIFECYCLE_STATE_DELETED = 'DELETED'.freeze,
  LIFECYCLE_STATE_FAILED = 'FAILED'.freeze,
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
].freeze

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ SqlEndpoint

Initializes the object

Parameters:

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

    Model attributes in the form of hash

Options Hash (attributes):



230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
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
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
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 230

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

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

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

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

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

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

  self.sql_endpoint_version = attributes[:'sqlEndpointVersion'] if attributes[:'sqlEndpointVersion']

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

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

  self.driver_shape = attributes[:'driverShape'] if attributes[:'driverShape']

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

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

  self.driver_shape_config = attributes[:'driverShapeConfig'] if attributes[:'driverShapeConfig']

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

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

  self.executor_shape = attributes[:'executorShape'] if attributes[:'executorShape']

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

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

  self.executor_shape_config = attributes[:'executorShapeConfig'] if attributes[:'executorShapeConfig']

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

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

  self.min_executor_count = attributes[:'minExecutorCount'] if attributes[:'minExecutorCount']

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

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

  self.max_executor_count = attributes[:'maxExecutorCount'] if attributes[:'maxExecutorCount']

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

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

  self.metastore_id = attributes[:'metastoreId'] if attributes[:'metastoreId']

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

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

  self.lake_id = attributes[:'lakeId'] if attributes[:'lakeId']

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

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

  self.warehouse_bucket_uri = attributes[:'warehouseBucketUri'] if attributes[:'warehouseBucketUri']

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

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

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

  self.last_accepted_request_token = attributes[:'lastAcceptedRequestToken'] if attributes[:'lastAcceptedRequestToken']

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

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

  self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']

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

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

  self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']

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

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

  self.system_tags = attributes[:'systemTags'] if attributes[:'systemTags']

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

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

  self.spark_advanced_configurations = attributes[:'sparkAdvancedConfigurations'] if attributes[:'sparkAdvancedConfigurations']

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

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

  self.network_configuration = attributes[:'networkConfiguration'] if attributes[:'networkConfiguration']

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

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

Instance Attribute Details

#compartment_idString

[Required] The OCID of a compartment.

Returns:

  • (String)


32
33
34
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 32

def compartment_id
  @compartment_id
end

#defined_tagsHash<String, Hash<String, Object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {\"Operations\": {\"CostCenter\": \"42\"}}

Returns:

  • (Hash<String, Hash<String, Object>>)


112
113
114
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 112

def defined_tags
  @defined_tags
end

#descriptionString

[Required] The description of the SQL Endpoint.

Returns:

  • (String)


95
96
97
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 95

def description
  @description
end

#display_nameString

[Required] The SQL Endpoint name, which can be changed.

Returns:

  • (String)


27
28
29
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 27

def display_name
  @display_name
end

#driver_shapeString

[Required] The shape of the SQL Endpoint driver instance.

Returns:

  • (String)


60
61
62
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 60

def driver_shape
  @driver_shape
end

#driver_shape_configOCI::DataFlow::Models::ShapeConfig



63
64
65
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 63

def driver_shape_config
  @driver_shape_config
end

#executor_shapeString

[Required] The shape of the SQL Endpoint executor instance.

Returns:

  • (String)


67
68
69
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 67

def executor_shape
  @executor_shape
end

#executor_shape_configOCI::DataFlow::Models::ShapeConfig



70
71
72
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 70

def executor_shape_config
  @executor_shape_config
end

#freeform_tagsHash<String, String>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {\"Department\": \"Finance\"}

Returns:

  • (Hash<String, String>)


106
107
108
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 106

def freeform_tags
  @freeform_tags
end

#idString

[Required] The provision identifier that is immutable on creation.

Returns:

  • (String)


23
24
25
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 23

def id
  @id
end

#jdbc_endpoint_urlString

The JDBC URL field. For example, jdbc:spark://serviceFQDN:443/default;SparkServerType=DFI

Returns:

  • (String)


36
37
38
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 36

def jdbc_endpoint_url
  @jdbc_endpoint_url
end

#lake_idString

[Required] The OCID of OCI Lake.

Returns:

  • (String)


87
88
89
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 87

def lake_id
  @lake_id
end

#last_accepted_request_tokenString

This token is used by Splat, and indicates that the service accepts the request, and that the request is currently being processed.

Returns:

  • (String)


99
100
101
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 99

def last_accepted_request_token
  @last_accepted_request_token
end

#lifecycle_stateString

The current state of the Sql Endpoint.

Returns:

  • (String)


48
49
50
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 48

def lifecycle_state
  @lifecycle_state
end

#max_executor_countInteger

[Required] The maximum number of executors.

Returns:

  • (Integer)


78
79
80
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 78

def max_executor_count
  @max_executor_count
end

#metastore_idString

[Required] The OCID of OCI Hive Metastore.

Returns:

  • (String)


83
84
85
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 83

def metastore_id
  @metastore_id
end

#min_executor_countInteger

[Required] The minimum number of executors.

Returns:

  • (Integer)


74
75
76
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 74

def min_executor_count
  @min_executor_count
end

#network_configurationOCI::DataFlow::Models::SqlEndpointNetworkConfiguration



131
132
133
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 131

def network_configuration
  @network_configuration
end

#spark_advanced_configurationsHash<String, String>

The Spark configuration passed to the running process. See spark.apache.org/docs/latest/configuration.html#available-properties. Example: { "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all Spark properties are permitted to be set. Attempting to set a property that is not allowed to be overwritten will cause a 400 status to be returned.

Returns:

  • (Hash<String, String>)


128
129
130
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 128

def spark_advanced_configurations
  @spark_advanced_configurations
end

#sql_endpoint_versionString

[Required] The version of SQL Endpoint.

Returns:

  • (String)


56
57
58
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 56

def sql_endpoint_version
  @sql_endpoint_version
end

#state_messageString

A message describing the reason why the resource is in it's current state. Helps bubble up errors in state changes. For example, it can be used to provide actionable information for a resource in the Failed state.

Returns:

  • (String)


52
53
54
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 52

def state_message
  @state_message
end

#system_tagsHash<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}}

Returns:

  • (Hash<String, Hash<String, Object>>)


119
120
121
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 119

def system_tags
  @system_tags
end

#time_createdDateTime

The time the Sql Endpoint was created. An RFC3339 formatted datetime string.

Returns:

  • (DateTime)


40
41
42
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 40

def time_created
  @time_created
end

#time_updatedDateTime

The time the Sql Endpoint was updated. An RFC3339 formatted datetime string.

Returns:

  • (DateTime)


44
45
46
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 44

def time_updated
  @time_updated
end

#warehouse_bucket_uriString

[Required] The warehouse bucket URI. It is a Oracle Cloud Infrastructure Object Storage bucket URI as defined here docs.oracle.com/en/cloud/paas/atp-cloud/atpud/object-storage-uris.html

Returns:

  • (String)


91
92
93
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 91

def warehouse_bucket_uri
  @warehouse_bucket_uri
end

Class Method Details

.attribute_mapObject

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



134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 134

def self.attribute_map
  {
    # rubocop:disable Style/SymbolLiteral
    'id': :'id',
    'display_name': :'displayName',
    'compartment_id': :'compartmentId',
    'jdbc_endpoint_url': :'jdbcEndpointUrl',
    'time_created': :'timeCreated',
    'time_updated': :'timeUpdated',
    'lifecycle_state': :'lifecycleState',
    'state_message': :'stateMessage',
    'sql_endpoint_version': :'sqlEndpointVersion',
    'driver_shape': :'driverShape',
    'driver_shape_config': :'driverShapeConfig',
    'executor_shape': :'executorShape',
    'executor_shape_config': :'executorShapeConfig',
    'min_executor_count': :'minExecutorCount',
    'max_executor_count': :'maxExecutorCount',
    'metastore_id': :'metastoreId',
    'lake_id': :'lakeId',
    'warehouse_bucket_uri': :'warehouseBucketUri',
    'description': :'description',
    'last_accepted_request_token': :'lastAcceptedRequestToken',
    'freeform_tags': :'freeformTags',
    'defined_tags': :'definedTags',
    'system_tags': :'systemTags',
    'spark_advanced_configurations': :'sparkAdvancedConfigurations',
    'network_configuration': :'networkConfiguration'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



167
168
169
170
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
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 167

def self.swagger_types
  {
    # rubocop:disable Style/SymbolLiteral
    'id': :'String',
    'display_name': :'String',
    'compartment_id': :'String',
    'jdbc_endpoint_url': :'String',
    'time_created': :'DateTime',
    'time_updated': :'DateTime',
    'lifecycle_state': :'String',
    'state_message': :'String',
    'sql_endpoint_version': :'String',
    'driver_shape': :'String',
    'driver_shape_config': :'OCI::DataFlow::Models::ShapeConfig',
    'executor_shape': :'String',
    'executor_shape_config': :'OCI::DataFlow::Models::ShapeConfig',
    'min_executor_count': :'Integer',
    'max_executor_count': :'Integer',
    'metastore_id': :'String',
    'lake_id': :'String',
    'warehouse_bucket_uri': :'String',
    'description': :'String',
    'last_accepted_request_token': :'String',
    'freeform_tags': :'Hash<String, String>',
    'defined_tags': :'Hash<String, Hash<String, Object>>',
    'system_tags': :'Hash<String, Hash<String, Object>>',
    'spark_advanced_configurations': :'Hash<String, String>',
    'network_configuration': :'OCI::DataFlow::Models::SqlEndpointNetworkConfiguration'
    # 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



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
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 399

def ==(other)
  return true if equal?(other)

  self.class == other.class &&
    id == other.id &&
    display_name == other.display_name &&
    compartment_id == other.compartment_id &&
    jdbc_endpoint_url == other.jdbc_endpoint_url &&
    time_created == other.time_created &&
    time_updated == other.time_updated &&
    lifecycle_state == other.lifecycle_state &&
    state_message == other.state_message &&
    sql_endpoint_version == other.sql_endpoint_version &&
    driver_shape == other.driver_shape &&
    driver_shape_config == other.driver_shape_config &&
    executor_shape == other.executor_shape &&
    executor_shape_config == other.executor_shape_config &&
    min_executor_count == other.min_executor_count &&
    max_executor_count == other.max_executor_count &&
    metastore_id == other.metastore_id &&
    lake_id == other.lake_id &&
    warehouse_bucket_uri == other.warehouse_bucket_uri &&
    description == other.description &&
    last_accepted_request_token == other.last_accepted_request_token &&
    freeform_tags == other.freeform_tags &&
    defined_tags == other.defined_tags &&
    system_tags == other.system_tags &&
    spark_advanced_configurations == other.spark_advanced_configurations &&
    network_configuration == other.network_configuration
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



453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 453

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


433
434
435
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 433

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



442
443
444
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 442

def hash
  [id, display_name, compartment_id, jdbc_endpoint_url, time_created, time_updated, lifecycle_state, state_message, sql_endpoint_version, driver_shape, driver_shape_config, executor_shape, executor_shape_config, min_executor_count, max_executor_count, metastore_id, lake_id, warehouse_bucket_uri, description, last_accepted_request_token, freeform_tags, defined_tags, system_tags, spark_advanced_configurations, network_configuration].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



486
487
488
489
490
491
492
493
494
495
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 486

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



480
481
482
# File 'lib/oci/data_flow/models/sql_endpoint.rb', line 480

def to_s
  to_hash.to_s
end