Class: Openlayer::Models::Projects::InferencePipelineCreateParams::DataBackend::PostgresDataBackend

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/openlayer/models/projects/inference_pipeline_create_params.rb

Defined Under Namespace

Modules: BackendType Classes: Config

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(backend_type:, config:, database:, postgres_connection_id:, schema:, table:) ⇒ Object

Parameters:



# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 583

Instance Attribute Details

#backend_typeSymbol, Openlayer::Models::Projects::InferencePipelineCreateParams::DataBackend::PostgresDataBackend::BackendType



549
550
551
552
553
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 549

required :backend_type,
enum: -> {
  Openlayer::Projects::InferencePipelineCreateParams::DataBackend::PostgresDataBackend::BackendType
},
api_name: :backendType

#databaseString

Returns:

  • (String)


558
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 558

required :database, String

#postgres_connection_idString?

Returns:

  • (String, nil)


563
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 563

required :postgres_connection_id, String, api_name: :postgresConnectionId, nil?: true

#schemaString

Returns:

  • (String)


568
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 568

required :schema, String

#tableString?

Returns:

  • (String, nil)


573
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 573

required :table, String, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 597