Class: Openlayer::Models::Projects::TestListResponse::Item

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

Defined Under Namespace

Modules: Subtype, Type Classes: Threshold

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(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::Projects::TestListResponse::Item for more details.

Parameters:

  • id (String) (defaults to: )

    The test id.

  • comment_count (Integer) (defaults to: )

    The number of comments on the test.

  • creator_id (String, nil) (defaults to: )

    The test creator id.

  • date_archived (Time, nil) (defaults to: )

    The date the test was archived.

  • date_created (Time) (defaults to: )

    The creation date.

  • date_updated (Time) (defaults to: )

    The last updated date.

  • description (Object, nil) (defaults to: )

    The test description.

  • name (String) (defaults to: )

    The test name.

  • number (Integer) (defaults to: )

    The test number.

  • origin_project_version_id (String, nil) (defaults to: )

    The project version (commit) id where the test was created.

  • subtype (Symbol, Openlayer::Models::Projects::TestListResponse::Item::Subtype) (defaults to: )

    The test subtype.

  • suggested (Boolean) (defaults to: )

    Whether the test is suggested or user-created.

  • thresholds (Array<Openlayer::Models::Projects::TestListResponse::Item::Threshold>) (defaults to: )
  • type (Symbol, Openlayer::Models::Projects::TestListResponse::Item::Type) (defaults to: )

    The test type.

  • archived (Boolean) (defaults to: nil)

    Whether the test is archived.

  • delay_window (Float, nil) (defaults to: nil)

    The delay window in seconds. Only applies to tests that use production data.

  • evaluation_window (Float, nil) (defaults to: nil)

    The evaluation window in seconds. Only applies to tests that use production data

  • uses_ml_model (Boolean) (defaults to: nil)

    Whether the test uses an ML model.

  • uses_production_data (Boolean) (defaults to: nil)

    Whether the test uses production data (monitoring mode only).

  • uses_reference_dataset (Boolean) (defaults to: nil)

    Whether the test uses a reference dataset (monitoring mode only).

  • uses_training_dataset (Boolean) (defaults to: nil)

    Whether the test uses a training dataset.

  • uses_validation_dataset (Boolean) (defaults to: nil)

    Whether the test uses a validation dataset.



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
# File 'lib/openlayer/models/projects/test_list_response.rb', line 17

class Item < Openlayer::Internal::Type::BaseModel
  # @!attribute description
  #   The test description.
  #
  #   @return [Object, nil]
  required :description, Openlayer::Internal::Type::Unknown, nil?: true

  # @!attribute name
  #   The test name.
  #
  #   @return [String]
  required :name, String

  # @!attribute subtype
  #   The test subtype.
  #
  #   @return [Symbol, Openlayer::Models::Projects::TestListResponse::Item::Subtype]
  required :subtype, enum: -> { Openlayer::Models::Projects::TestListResponse::Item::Subtype }

  # @!attribute thresholds
  #
  #   @return [Array<Openlayer::Models::Projects::TestListResponse::Item::Threshold>]
  required :thresholds,
           -> { Openlayer::Internal::Type::ArrayOf[Openlayer::Models::Projects::TestListResponse::Item::Threshold] }

  # @!attribute type
  #   The test type.
  #
  #   @return [Symbol, Openlayer::Models::Projects::TestListResponse::Item::Type]
  required :type, enum: -> { Openlayer::Models::Projects::TestListResponse::Item::Type }

  # @!attribute archived
  #   Whether the test is archived.
  #
  #   @return [Boolean, nil]
  optional :archived, Openlayer::Internal::Type::Boolean

  # @!attribute delay_window
  #   The delay window in seconds. Only applies to tests that use production data.
  #
  #   @return [Float, nil]
  optional :delay_window, Float, api_name: :delayWindow, nil?: true

  # @!attribute evaluation_window
  #   The evaluation window in seconds. Only applies to tests that use production
  #   data.
  #
  #   @return [Float, nil]
  optional :evaluation_window, Float, api_name: :evaluationWindow, nil?: true

  # @!attribute uses_ml_model
  #   Whether the test uses an ML model.
  #
  #   @return [Boolean, nil]
  optional :uses_ml_model, Openlayer::Internal::Type::Boolean, api_name: :usesMlModel

  # @!attribute uses_production_data
  #   Whether the test uses production data (monitoring mode only).
  #
  #   @return [Boolean, nil]
  optional :uses_production_data, Openlayer::Internal::Type::Boolean, api_name: :usesProductionData

  # @!attribute uses_reference_dataset
  #   Whether the test uses a reference dataset (monitoring mode only).
  #
  #   @return [Boolean, nil]
  optional :uses_reference_dataset,
           Openlayer::Internal::Type::Boolean,
           api_name: :usesReferenceDataset

  # @!attribute uses_training_dataset
  #   Whether the test uses a training dataset.
  #
  #   @return [Boolean, nil]
  optional :uses_training_dataset, Openlayer::Internal::Type::Boolean, api_name: :usesTrainingDataset

  # @!attribute uses_validation_dataset
  #   Whether the test uses a validation dataset.
  #
  #   @return [Boolean, nil]
  optional :uses_validation_dataset,
           Openlayer::Internal::Type::Boolean,
           api_name: :usesValidationDataset

  response_only do
    # @!attribute id
    #   The test id.
    #
    #   @return [String]
    required :id, String

    # @!attribute comment_count
    #   The number of comments on the test.
    #
    #   @return [Integer]
    required :comment_count, Integer, api_name: :commentCount

    # @!attribute creator_id
    #   The test creator id.
    #
    #   @return [String, nil]
    required :creator_id, String, api_name: :creatorId, nil?: true

    # @!attribute date_archived
    #   The date the test was archived.
    #
    #   @return [Time, nil]
    required :date_archived, Time, api_name: :dateArchived, nil?: true

    # @!attribute date_created
    #   The creation date.
    #
    #   @return [Time]
    required :date_created, Time, api_name: :dateCreated

    # @!attribute date_updated
    #   The last updated date.
    #
    #   @return [Time]
    required :date_updated, Time, api_name: :dateUpdated

    # @!attribute number
    #   The test number.
    #
    #   @return [Integer]
    required :number, Integer

    # @!attribute origin_project_version_id
    #   The project version (commit) id where the test was created.
    #
    #   @return [String, nil]
    required :origin_project_version_id, String, api_name: :originProjectVersionId, nil?: true

    # @!attribute suggested
    #   Whether the test is suggested or user-created.
    #
    #   @return [Boolean]
    required :suggested, Openlayer::Internal::Type::Boolean
  end

  # @!method 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)
  #   Some parameter documentations has been truncated, see
  #   {Openlayer::Models::Projects::TestListResponse::Item} for more details.
  #
  #   @param id [String] The test id.
  #
  #   @param comment_count [Integer] The number of comments on the test.
  #
  #   @param creator_id [String, nil] The test creator id.
  #
  #   @param date_archived [Time, nil] The date the test was archived.
  #
  #   @param date_created [Time] The creation date.
  #
  #   @param date_updated [Time] The last updated date.
  #
  #   @param description [Object, nil] The test description.
  #
  #   @param name [String] The test name.
  #
  #   @param number [Integer] The test number.
  #
  #   @param origin_project_version_id [String, nil] The project version (commit) id where the test was created.
  #
  #   @param subtype [Symbol, Openlayer::Models::Projects::TestListResponse::Item::Subtype] The test subtype.
  #
  #   @param suggested [Boolean] Whether the test is suggested or user-created.
  #
  #   @param thresholds [Array<Openlayer::Models::Projects::TestListResponse::Item::Threshold>]
  #
  #   @param type [Symbol, Openlayer::Models::Projects::TestListResponse::Item::Type] The test type.
  #
  #   @param archived [Boolean] Whether the test is archived.
  #
  #   @param delay_window [Float, nil] The delay window in seconds. Only applies to tests that use production data.
  #
  #   @param evaluation_window [Float, nil] The evaluation window in seconds. Only applies to tests that use production data
  #
  #   @param uses_ml_model [Boolean] Whether the test uses an ML model.
  #
  #   @param uses_production_data [Boolean] Whether the test uses production data (monitoring mode only).
  #
  #   @param uses_reference_dataset [Boolean] Whether the test uses a reference dataset (monitoring mode only).
  #
  #   @param uses_training_dataset [Boolean] Whether the test uses a training dataset.
  #
  #   @param uses_validation_dataset [Boolean] Whether the test uses a validation dataset.

  # The test subtype.
  #
  # @see Openlayer::Models::Projects::TestListResponse::Item#subtype
  module Subtype
    extend Openlayer::Internal::Type::Enum

    ANOMALOUS_COLUMN_COUNT = :anomalousColumnCount
    CHARACTER_LENGTH = :characterLength
    CLASS_IMBALANCE_RATIO = :classImbalanceRatio
    EXPECT_COLUMN_A_TO_BE_IN_COLUMN_B = :expectColumnAToBeInColumnB
    COLUMN_AVERAGE = :columnAverage
    COLUMN_DRIFT = :columnDrift
    COLUMN_STATISTIC = :columnStatistic
    COLUMN_VALUES_MATCH = :columnValuesMatch
    CONFLICTING_LABEL_ROW_COUNT = :conflictingLabelRowCount
    CONTAINS_PII = :containsPii
    CONTAINS_VALID_URL = :containsValidUrl
    CORRELATED_FEATURE_COUNT = :correlatedFeatureCount
    CUSTOM_METRIC_THRESHOLD = :customMetricThreshold
    DUPLICATE_ROW_COUNT = :duplicateRowCount
    EMPTY_FEATURE = :emptyFeature
    EMPTY_FEATURE_COUNT = :emptyFeatureCount
    DRIFTED_FEATURE_COUNT = :driftedFeatureCount
    FEATURE_MISSING_VALUES = :featureMissingValues
    FEATURE_VALUE_VALIDATION = :featureValueValidation
    GREAT_EXPECTATIONS = :greatExpectations
    GROUP_BY_COLUMN_STATS_CHECK = :groupByColumnStatsCheck
    ILL_FORMED_ROW_COUNT = :illFormedRowCount
    IS_CODE = :isCode
    IS_JSON = :isJson
    LLM_RUBRIC_THRESHOLD_V2 = :llmRubricThresholdV2
    LABEL_DRIFT = :labelDrift
    METRIC_THRESHOLD = :metricThreshold
    NEW_CATEGORY_COUNT = :newCategoryCount
    NEW_LABEL_COUNT = :newLabelCount
    NULL_ROW_COUNT = :nullRowCount
    ROW_COUNT = :rowCount
    PP_SCORE_VALUE_VALIDATION = :ppScoreValueValidation
    QUASI_CONSTANT_FEATURE = :quasiConstantFeature
    QUASI_CONSTANT_FEATURE_COUNT = :quasiConstantFeatureCount
    SQL_QUERY = :sqlQuery
    DTYPE_VALIDATION = :dtypeValidation
    SENTENCE_LENGTH = :sentenceLength
    SIZE_RATIO = :sizeRatio
    SPECIAL_CHARACTERS_RATIO = :specialCharactersRatio
    STRING_VALIDATION = :stringValidation
    TRAIN_VAL_LEAKAGE_ROW_COUNT = :trainValLeakageRowCount

    # @!method self.values
    #   @return [Array<Symbol>]
  end

  class Threshold < Openlayer::Internal::Type::BaseModel
    # @!attribute insight_name
    #   The insight name to be evaluated.
    #
    #   @return [Symbol, Openlayer::Models::Projects::TestListResponse::Item::Threshold::InsightName, nil]
    optional :insight_name,
             enum: -> { Openlayer::Models::Projects::TestListResponse::Item::Threshold::InsightName },
             api_name: :insightName

    # @!attribute insight_parameters
    #   The insight parameters. Required only for some test subtypes. For example, for
    #   tests that require a column name, the insight parameters will be [{'name':
    #   'column_name', 'value': 'Age'}]
    #
    #   @return [Array<Openlayer::Models::Projects::TestListResponse::Item::Threshold::InsightParameter>, nil]
    optional :insight_parameters,
             -> { Openlayer::Internal::Type::ArrayOf[Openlayer::Models::Projects::TestListResponse::Item::Threshold::InsightParameter] },
             api_name: :insightParameters,
             nil?: true

    # @!attribute measurement
    #   The measurement to be evaluated.
    #
    #   @return [String, nil]
    optional :measurement, String

    # @!attribute operator
    #   The operator to be used for the evaluation.
    #
    #   @return [Symbol, Openlayer::Models::Projects::TestListResponse::Item::Threshold::Operator, nil]
    optional :operator, enum: -> { Openlayer::Models::Projects::TestListResponse::Item::Threshold::Operator }

    # @!attribute threshold_mode
    #   Whether to use automatic anomaly detection or manual thresholds
    #
    #   @return [Symbol, Openlayer::Models::Projects::TestListResponse::Item::Threshold::ThresholdMode, nil]
    optional :threshold_mode,
             enum: -> { Openlayer::Models::Projects::TestListResponse::Item::Threshold::ThresholdMode },
             api_name: :thresholdMode

    # @!attribute value
    #   The value to be compared.
    #
    #   @return [Float, Boolean, String, Array<String>, nil]
    optional :value, union: -> { Openlayer::Models::Projects::TestListResponse::Item::Threshold::Value }

    # @!method initialize(insight_name: nil, insight_parameters: nil, measurement: nil, operator: nil, threshold_mode: nil, value: nil)
    #   Some parameter documentations has been truncated, see
    #   {Openlayer::Models::Projects::TestListResponse::Item::Threshold} for more
    #   details.
    #
    #   @param insight_name [Symbol, Openlayer::Models::Projects::TestListResponse::Item::Threshold::InsightName] The insight name to be evaluated.
    #
    #   @param insight_parameters [Array<Openlayer::Models::Projects::TestListResponse::Item::Threshold::InsightParameter>, nil] The insight parameters. Required only for some test subtypes. For example, for t
    #
    #   @param measurement [String] The measurement to be evaluated.
    #
    #   @param operator [Symbol, Openlayer::Models::Projects::TestListResponse::Item::Threshold::Operator] The operator to be used for the evaluation.
    #
    #   @param threshold_mode [Symbol, Openlayer::Models::Projects::TestListResponse::Item::Threshold::ThresholdMode] Whether to use automatic anomaly detection or manual thresholds
    #
    #   @param value [Float, Boolean, String, Array<String>] The value to be compared.

    # The insight name to be evaluated.
    #
    # @see Openlayer::Models::Projects::TestListResponse::Item::Threshold#insight_name
    module InsightName
      extend Openlayer::Internal::Type::Enum

      CHARACTER_LENGTH = :characterLength
      CLASS_IMBALANCE = :classImbalance
      EXPECT_COLUMN_A_TO_BE_IN_COLUMN_B = :expectColumnAToBeInColumnB
      COLUMN_AVERAGE = :columnAverage
      COLUMN_DRIFT = :columnDrift
      COLUMN_VALUES_MATCH = :columnValuesMatch
      CONFIDENCE_DISTRIBUTION = :confidenceDistribution
      CONFLICTING_LABEL_ROW_COUNT = :conflictingLabelRowCount
      CONTAINS_PII = :containsPii
      CONTAINS_VALID_URL = :containsValidUrl
      CORRELATED_FEATURES = :correlatedFeatures
      CUSTOM_METRIC = :customMetric
      DUPLICATE_ROW_COUNT = :duplicateRowCount
      EMPTY_FEATURES = :emptyFeatures
      FEATURE_DRIFT = :featureDrift
      FEATURE_PROFILE = :featureProfile
      GREAT_EXPECTATIONS = :greatExpectations
      GROUP_BY_COLUMN_STATS_CHECK = :groupByColumnStatsCheck
      ILL_FORMED_ROW_COUNT = :illFormedRowCount
      IS_CODE = :isCode
      IS_JSON = :isJson
      LLM_RUBRIC_V2 = :llmRubricV2
      LABEL_DRIFT = :labelDrift
      METRICS = :metrics
      NEW_CATEGORIES = :newCategories
      NEW_LABELS = :newLabels
      NULL_ROW_COUNT = :nullRowCount
      PP_SCORE = :ppScore
      QUASI_CONSTANT_FEATURES = :quasiConstantFeatures
      SENTENCE_LENGTH = :sentenceLength
      SIZE_RATIO = :sizeRatio
      SPECIAL_CHARACTERS = :specialCharacters
      STRING_VALIDATION = :stringValidation
      TRAIN_VAL_LEAKAGE_ROW_COUNT = :trainValLeakageRowCount

      # @!method self.values
      #   @return [Array<Symbol>]
    end

    class InsightParameter < Openlayer::Internal::Type::BaseModel
      # @!attribute name
      #   The name of the insight filter.
      #
      #   @return [String]
      required :name, String

      # @!attribute value
      #
      #   @return [Object]
      required :value, Openlayer::Internal::Type::Unknown

      # @!method initialize(name:, value:)
      #   @param name [String] The name of the insight filter.
      #
      #   @param value [Object]
    end

    # The operator to be used for the evaluation.
    #
    # @see Openlayer::Models::Projects::TestListResponse::Item::Threshold#operator
    module Operator
      extend Openlayer::Internal::Type::Enum

      IS = :is
      GREATER = :>
      GREATER_OR_EQUALS = :">="
      LESS = :<
      LESS_OR_EQUALS = :"<="
      NOT_EQUALS = :"!="

      # @!method self.values
      #   @return [Array<Symbol>]
    end

    # Whether to use automatic anomaly detection or manual thresholds
    #
    # @see Openlayer::Models::Projects::TestListResponse::Item::Threshold#threshold_mode
    module ThresholdMode
      extend Openlayer::Internal::Type::Enum

      AUTOMATIC = :automatic
      MANUAL = :manual

      # @!method self.values
      #   @return [Array<Symbol>]
    end

    # The value to be compared.
    #
    # @see Openlayer::Models::Projects::TestListResponse::Item::Threshold#value
    module Value
      extend Openlayer::Internal::Type::Union

      variant Float

      variant Openlayer::Internal::Type::Boolean

      variant String

      variant -> { Openlayer::Models::Projects::TestListResponse::Item::Threshold::Value::StringArray }

      # @!method self.variants
      #   @return [Array(Float, Boolean, String, Array<String>)]

      # @type [Openlayer::Internal::Type::Converter]
      StringArray = Openlayer::Internal::Type::ArrayOf[String]
    end
  end

  # The test type.
  #
  # @see Openlayer::Models::Projects::TestListResponse::Item#type
  module Type
    extend Openlayer::Internal::Type::Enum

    INTEGRITY = :integrity
    CONSISTENCY = :consistency
    PERFORMANCE = :performance

    # @!method self.values
    #   @return [Array<Symbol>]
  end
end

Instance Attribute Details

#archivedBoolean?

Whether the test is archived.

Returns:

  • (Boolean, nil)


52
# File 'lib/openlayer/models/projects/test_list_response.rb', line 52

optional :archived, Openlayer::Internal::Type::Boolean

#delay_windowFloat?

The delay window in seconds. Only applies to tests that use production data.

Returns:

  • (Float, nil)


58
# File 'lib/openlayer/models/projects/test_list_response.rb', line 58

optional :delay_window, Float, api_name: :delayWindow, nil?: true

#descriptionObject?

The test description.

Returns:

  • (Object, nil)


22
# File 'lib/openlayer/models/projects/test_list_response.rb', line 22

required :description, Openlayer::Internal::Type::Unknown, nil?: true

#evaluation_windowFloat?

The evaluation window in seconds. Only applies to tests that use production data.

Returns:

  • (Float, nil)


65
# File 'lib/openlayer/models/projects/test_list_response.rb', line 65

optional :evaluation_window, Float, api_name: :evaluationWindow, nil?: true

#nameString

The test name.

Returns:

  • (String)


28
# File 'lib/openlayer/models/projects/test_list_response.rb', line 28

required :name, String

#subtypeSymbol, Openlayer::Models::Projects::TestListResponse::Item::Subtype

The test subtype.



34
# File 'lib/openlayer/models/projects/test_list_response.rb', line 34

required :subtype, enum: -> { Openlayer::Models::Projects::TestListResponse::Item::Subtype }

#thresholdsArray<Openlayer::Models::Projects::TestListResponse::Item::Threshold>



39
40
# File 'lib/openlayer/models/projects/test_list_response.rb', line 39

required :thresholds,
-> { Openlayer::Internal::Type::ArrayOf[Openlayer::Models::Projects::TestListResponse::Item::Threshold] }

#typeSymbol, Openlayer::Models::Projects::TestListResponse::Item::Type

The test type.



46
# File 'lib/openlayer/models/projects/test_list_response.rb', line 46

required :type, enum: -> { Openlayer::Models::Projects::TestListResponse::Item::Type }

#uses_ml_modelBoolean?

Whether the test uses an ML model.

Returns:

  • (Boolean, nil)


71
# File 'lib/openlayer/models/projects/test_list_response.rb', line 71

optional :uses_ml_model, Openlayer::Internal::Type::Boolean, api_name: :usesMlModel

#uses_production_dataBoolean?

Whether the test uses production data (monitoring mode only).

Returns:

  • (Boolean, nil)


77
# File 'lib/openlayer/models/projects/test_list_response.rb', line 77

optional :uses_production_data, Openlayer::Internal::Type::Boolean, api_name: :usesProductionData

#uses_reference_datasetBoolean?

Whether the test uses a reference dataset (monitoring mode only).

Returns:

  • (Boolean, nil)


83
84
85
# File 'lib/openlayer/models/projects/test_list_response.rb', line 83

optional :uses_reference_dataset,
Openlayer::Internal::Type::Boolean,
api_name: :usesReferenceDataset

#uses_training_datasetBoolean?

Whether the test uses a training dataset.

Returns:

  • (Boolean, nil)


91
# File 'lib/openlayer/models/projects/test_list_response.rb', line 91

optional :uses_training_dataset, Openlayer::Internal::Type::Boolean, api_name: :usesTrainingDataset

#uses_validation_datasetBoolean?

Whether the test uses a validation dataset.

Returns:

  • (Boolean, nil)


97
98
99
# File 'lib/openlayer/models/projects/test_list_response.rb', line 97

optional :uses_validation_dataset,
Openlayer::Internal::Type::Boolean,
api_name: :usesValidationDataset

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openlayer/models/projects/test_list_response.rb', line 253