Method: SDM::Oracle#initialize

Defined in:
lib/models/porcelain.rb

#initialize(id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, hostname: nil, username: nil, password: nil, database: nil, port: nil, port_override: nil, tls_required: nil) ⇒ Oracle

Returns a new instance of Oracle.



3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
# File 'lib/models/porcelain.rb', line 3229

def initialize(
  id: nil,
  name: nil,
  healthy: nil,
  tags: nil,
  secret_store_id: nil,
  hostname: nil,
  username: nil,
  password: nil,
  database: nil,
  port: nil,
  port_override: nil,
  tls_required: nil
)
  if id != nil
    @id = id
  end
  if name != nil
    @name = name
  end
  if healthy != nil
    @healthy = healthy
  end
  if tags != nil
    @tags = tags
  end
  if secret_store_id != nil
    @secret_store_id = secret_store_id
  end
  if hostname != nil
    @hostname = hostname
  end
  if username != nil
    @username = username
  end
  if password != nil
    @password = password
  end
  if database != nil
    @database = database
  end
  if port != nil
    @port = port
  end
  if port_override != nil
    @port_override = port_override
  end
  if tls_required != nil
    @tls_required = tls_required
  end
end