Class: Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal
- Defined in:
- lib/openlayer/models/inference_pipelines/test_result_list_response.rb,
sig/openlayer/models/inference_pipelines/test_result_list_response.rbs
Overview
Defined Under Namespace
Modules: Subtype, Type Classes: Threshold
Instance Attribute Summary collapse
-
#archived ⇒ Boolean?
Whether the test is archived.
-
#comment_count ⇒ Integer
Returns the value of attribute comment_count.
-
#creator_id ⇒ String?
Returns the value of attribute creator_id.
-
#date_archived ⇒ Time?
Returns the value of attribute date_archived.
-
#date_created ⇒ Time
Returns the value of attribute date_created.
-
#date_updated ⇒ Time
Returns the value of attribute date_updated.
-
#delay_window ⇒ Float?
The delay window in seconds.
-
#description ⇒ Object?
The test description.
-
#evaluation_window ⇒ Float?
The evaluation window in seconds.
-
#id ⇒ String
Returns the value of attribute id.
-
#name ⇒ String
The test name.
-
#number ⇒ Integer
Returns the value of attribute number.
-
#origin_project_version_id ⇒ String?
Returns the value of attribute origin_project_version_id.
-
#subtype ⇒ Symbol, Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Subtype
The test subtype.
-
#suggested ⇒ Boolean
Returns the value of attribute suggested.
- #thresholds ⇒ Array<Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Threshold>
-
#type ⇒ Symbol, Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::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.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, comment_count:, creator_id:, date_archived:, date_created:, date_updated:, description:, name:, number:, origin_project_version_id:, subtype:, suggested:, 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) ⇒ Object
constructor
Some parameter documentations has been truncated, see Goal for more details.
- #to_hash ⇒ {
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(id:, comment_count:, creator_id:, date_archived:, date_created:, date_updated:, description:, name:, number:, origin_project_version_id:, subtype:, suggested:, 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) ⇒ Object
Some parameter documentations has been truncated, see Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal for more details.
|
|
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 324
|
Instance Attribute Details
#archived ⇒ Boolean?
Whether the test is archived.
217 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 217 optional :archived, Openlayer::Internal::Type::Boolean |
#comment_count ⇒ Integer
Returns the value of attribute comment_count.
221 222 223 |
# File 'sig/openlayer/models/inference_pipelines/test_result_list_response.rbs', line 221 def comment_count @comment_count end |
#creator_id ⇒ String?
Returns the value of attribute creator_id.
223 224 225 |
# File 'sig/openlayer/models/inference_pipelines/test_result_list_response.rbs', line 223 def creator_id @creator_id end |
#date_archived ⇒ Time?
Returns the value of attribute date_archived.
225 226 227 |
# File 'sig/openlayer/models/inference_pipelines/test_result_list_response.rbs', line 225 def date_archived @date_archived end |
#date_created ⇒ Time
Returns the value of attribute date_created.
227 228 229 |
# File 'sig/openlayer/models/inference_pipelines/test_result_list_response.rbs', line 227 def date_created @date_created end |
#date_updated ⇒ Time
Returns the value of attribute date_updated.
229 230 231 |
# File 'sig/openlayer/models/inference_pipelines/test_result_list_response.rbs', line 229 def date_updated @date_updated end |
#delay_window ⇒ Float?
The delay window in seconds. Only applies to tests that use production data.
223 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 223 optional :delay_window, Float, api_name: :delayWindow, nil?: true |
#description ⇒ Object?
The test description.
185 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 185 required :description, Openlayer::Internal::Type::Unknown, nil?: true |
#evaluation_window ⇒ Float?
The evaluation window in seconds. Only applies to tests that use production data.
230 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 230 optional :evaluation_window, Float, api_name: :evaluationWindow, nil?: true |
#id ⇒ String
Returns the value of attribute id.
219 220 221 |
# File 'sig/openlayer/models/inference_pipelines/test_result_list_response.rbs', line 219 def id @id end |
#name ⇒ String
The test name.
191 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 191 required :name, String |
#number ⇒ Integer
Returns the value of attribute number.
231 232 233 |
# File 'sig/openlayer/models/inference_pipelines/test_result_list_response.rbs', line 231 def number @number end |
#origin_project_version_id ⇒ String?
Returns the value of attribute origin_project_version_id.
233 234 235 |
# File 'sig/openlayer/models/inference_pipelines/test_result_list_response.rbs', line 233 def origin_project_version_id @origin_project_version_id end |
#subtype ⇒ Symbol, Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Subtype
The test subtype.
197 198 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 197 required :subtype, enum: -> { Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Subtype } |
#suggested ⇒ Boolean
Returns the value of attribute suggested.
235 236 237 |
# File 'sig/openlayer/models/inference_pipelines/test_result_list_response.rbs', line 235 def suggested @suggested end |
#thresholds ⇒ Array<Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Threshold>
203 204 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 203 required :thresholds, -> { Openlayer::Internal::Type::ArrayOf[Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Threshold] } |
#type ⇒ Symbol, Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Type
The test type.
210 211 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 210 required :type, enum: -> { Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Type } |
#uses_ml_model ⇒ Boolean?
Whether the test uses an ML model.
236 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 236 optional :uses_ml_model, Openlayer::Internal::Type::Boolean, api_name: :usesMlModel |
#uses_production_data ⇒ Boolean?
Whether the test uses production data (monitoring mode only).
242 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 242 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).
248 249 250 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 248 optional :uses_reference_dataset, Openlayer::Internal::Type::Boolean, api_name: :usesReferenceDataset |
#uses_training_dataset ⇒ Boolean?
Whether the test uses a training dataset.
256 257 258 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 256 optional :uses_training_dataset, Openlayer::Internal::Type::Boolean, api_name: :usesTrainingDataset |
#uses_validation_dataset ⇒ Boolean?
Whether the test uses a validation dataset.
264 265 266 |
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 264 optional :uses_validation_dataset, Openlayer::Internal::Type::Boolean, api_name: :usesValidationDataset |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 421
|
Instance Method Details
#to_hash ⇒ {
262 |
# File 'sig/openlayer/models/inference_pipelines/test_result_list_response.rbs', line 262
def to_hash: -> {
|