Class: Openlayer::Models::Projects::TestCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::Projects::TestCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openlayer/models/projects/test_create_params.rb
Overview
Defined Under Namespace
Modules: Subtype, Type Classes: Threshold
Instance Attribute Summary collapse
-
#archived ⇒ Boolean?
Whether the test is archived.
-
#delay_window ⇒ Float?
The delay window in seconds.
-
#description ⇒ Object?
The test description.
-
#evaluation_window ⇒ Float?
The evaluation window in seconds.
-
#name ⇒ String
The test name.
-
#subtype ⇒ Symbol, Openlayer::Models::Projects::TestCreateParams::Subtype
The test subtype.
- #thresholds ⇒ Array<Openlayer::Models::Projects::TestCreateParams::Threshold>
-
#type ⇒ Symbol, Openlayer::Models::Projects::TestCreateParams::Type
The test type.
-
#uses_ml_model ⇒ Boolean?
Whether the test uses an ML model.
-
#uses_production_data ⇒ Boolean?
Whether the test uses production data (monitoring mode only).
-
#uses_reference_dataset ⇒ Boolean?
Whether the test uses a reference dataset (monitoring mode only).
-
#uses_training_dataset ⇒ Boolean?
Whether the test uses a training dataset.
-
#uses_validation_dataset ⇒ Boolean?
Whether the test uses a validation dataset.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(description: , name: , subtype: , thresholds: , type: , archived: nil, delay_window: nil, evaluation_window: nil, uses_ml_model: nil, uses_production_data: nil, uses_reference_dataset: nil, uses_training_dataset: nil, uses_validation_dataset: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see TestCreateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(description: , name: , subtype: , thresholds: , type: , archived: nil, delay_window: nil, evaluation_window: nil, uses_ml_model: nil, uses_production_data: nil, uses_reference_dataset: nil, uses_training_dataset: nil, uses_validation_dataset: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Openlayer::Models::Projects::TestCreateParams for more details.
|
|
# File 'lib/openlayer/models/projects/test_create_params.rb', line 92
|
Instance Attribute Details
#archived ⇒ Boolean?
Whether the test is archived.
45 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 45 optional :archived, Openlayer::Internal::Type::Boolean |
#delay_window ⇒ Float?
The delay window in seconds. Only applies to tests that use production data.
51 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 51 optional :delay_window, Float, api_name: :delayWindow, nil?: true |
#description ⇒ Object?
The test description.
15 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 15 required :description, Openlayer::Internal::Type::Unknown, nil?: true |
#evaluation_window ⇒ Float?
The evaluation window in seconds. Only applies to tests that use production data.
58 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 58 optional :evaluation_window, Float, api_name: :evaluationWindow, nil?: true |
#name ⇒ String
The test name.
21 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 21 required :name, String |
#subtype ⇒ Symbol, Openlayer::Models::Projects::TestCreateParams::Subtype
The test subtype.
27 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 27 required :subtype, enum: -> { Openlayer::Projects::TestCreateParams::Subtype } |
#thresholds ⇒ Array<Openlayer::Models::Projects::TestCreateParams::Threshold>
32 33 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 32 required :thresholds, -> { Openlayer::Internal::Type::ArrayOf[Openlayer::Projects::TestCreateParams::Threshold] } |
#type ⇒ Symbol, Openlayer::Models::Projects::TestCreateParams::Type
The test type.
39 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 39 required :type, enum: -> { Openlayer::Projects::TestCreateParams::Type } |
#uses_ml_model ⇒ Boolean?
Whether the test uses an ML model.
64 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 64 optional :uses_ml_model, Openlayer::Internal::Type::Boolean, api_name: :usesMlModel |
#uses_production_data ⇒ Boolean?
Whether the test uses production data (monitoring mode only).
70 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 70 optional :uses_production_data, Openlayer::Internal::Type::Boolean, api_name: :usesProductionData |
#uses_reference_dataset ⇒ Boolean?
Whether the test uses a reference dataset (monitoring mode only).
76 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 76 optional :uses_reference_dataset, Openlayer::Internal::Type::Boolean, api_name: :usesReferenceDataset |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openlayer/models/projects/test_create_params.rb', line 170
|