Method: SDM::Presto#initialize

Defined in:
lib/models/porcelain.rb

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

Returns a new instance of Presto.



4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
# File 'lib/models/porcelain.rb', line 4867

def initialize(
  id: nil,
  name: nil,
  healthy: nil,
  tags: nil,
  secret_store_id: nil,
  egress_filter: nil,
  hostname: nil,
  password: nil,
  database: nil,
  port_override: nil,
  port: nil,
  username: 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 egress_filter != nil
    @egress_filter = egress_filter
  end
  if hostname != nil
    @hostname = hostname
  end
  if password != nil
    @password = password
  end
  if database != nil
    @database = database
  end
  if port_override != nil
    @port_override = port_override
  end
  if port != nil
    @port = port
  end
  if username != nil
    @username = username
  end
  if tls_required != nil
    @tls_required = tls_required
  end
end