Class: Openlayer::Models::Projects::TestCreateParams::Threshold
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::Projects::TestCreateParams::Threshold
- Defined in:
- lib/openlayer/models/projects/test_create_params.rb
Defined Under Namespace
Modules: InsightName, Operator, ThresholdMode, Value Classes: InsightParameter
Instance Attribute Summary collapse
-
#insight_name ⇒ Symbol, ...
The insight name to be evaluated.
-
#insight_parameters ⇒ Array<Openlayer::Models::Projects::TestCreateParams::Threshold::InsightParameter>?
The insight parameters.
-
#measurement ⇒ String?
The measurement to be evaluated.
-
#operator ⇒ Symbol, ...
The operator to be used for the evaluation.
-
#threshold_mode ⇒ Symbol, ...
Whether to use automatic anomaly detection or manual thresholds.
-
#value ⇒ Float, ...
The value to be compared.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(name: , value: ) ⇒ Object constructor
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(name: , value: ) ⇒ Object
|
|
# File 'lib/openlayer/models/projects/test_create_params.rb', line 222
|
Instance Attribute Details
#insight_name ⇒ Symbol, ...
The insight name to be evaluated.
179 180 181 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 179 optional :insight_name, enum: -> { Openlayer::Projects::TestCreateParams::Threshold::InsightName }, api_name: :insightName |
#insight_parameters ⇒ Array<Openlayer::Models::Projects::TestCreateParams::Threshold::InsightParameter>?
The insight parameters. Required only for some test subtypes. For example, for tests that require a column name, the insight parameters will be [‘column_name’, ‘value’: ‘Age’]
189 190 191 192 193 194 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 189 optional :insight_parameters, -> { Openlayer::Internal::Type::ArrayOf[Openlayer::Projects::TestCreateParams::Threshold::InsightParameter] }, api_name: :insightParameters, nil?: true |
#measurement ⇒ String?
The measurement to be evaluated.
200 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 200 optional :measurement, String |
#operator ⇒ Symbol, ...
The operator to be used for the evaluation.
206 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 206 optional :operator, enum: -> { Openlayer::Projects::TestCreateParams::Threshold::Operator } |
#threshold_mode ⇒ Symbol, ...
Whether to use automatic anomaly detection or manual thresholds
212 213 214 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 212 optional :threshold_mode, enum: -> { Openlayer::Projects::TestCreateParams::Threshold::ThresholdMode }, api_name: :thresholdMode |
#value ⇒ Float, ...
The value to be compared.
220 |
# File 'lib/openlayer/models/projects/test_create_params.rb', line 220 optional :value, union: -> { Openlayer::Projects::TestCreateParams::Threshold::Value } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openlayer/models/projects/test_create_params.rb', line 279
|