class SDM::GoogleGKE

def initialize(

def initialize(
  id: nil,
  name: nil,
  healthy: nil,
  tags: nil,
  secret_store_id: nil,
  endpoint: nil,
  certificate_authority: nil,
  service_account_key: nil,
  healthcheck_namespace: 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 endpoint != nil
    @endpoint = endpoint
  end
  if certificate_authority != nil
    @certificate_authority = certificate_authority
  end
  if service_account_key != nil
    @service_account_key = service_account_key
  end
  if healthcheck_namespace != nil
    @healthcheck_namespace = healthcheck_namespace
  end
end

def to_json(options = {})

def to_json(options = {})
  hash = {}
  self.instance_variables.each do |var|
    hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
  end
  hash.to_json
end