Class: Telnyx::Models::AI::Assistants::CanaryDeploy::Rule::Match
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::Assistants::CanaryDeploy::Rule::Match
- Defined in:
- lib/telnyx/models/ai/assistants/canary_deploy.rb
Defined Under Namespace
Modules: Operator
Instance Attribute Summary collapse
-
#attribute ⇒ String
Attribute name from the routing context.
-
#operator ⇒ Symbol, Telnyx::Models::AI::Assistants::CanaryDeploy::Rule::Match::Operator
Match operator.
- #values ⇒ Array<String>
Instance Method Summary collapse
-
#initialize(attribute:, operator:, values:) ⇒ Object
constructor
A single attribute/operator/values check.
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(attribute:, operator:, values:) ⇒ Object
A single attribute/operator/values check.
A clause matches when the routing context’s value for ‘attribute` satisfies `operator` against any of `values`.
|
|
# File 'lib/telnyx/models/ai/assistants/canary_deploy.rb', line 112
|
Instance Attribute Details
#attribute ⇒ String
Attribute name from the routing context
99 |
# File 'lib/telnyx/models/ai/assistants/canary_deploy.rb', line 99 required :attribute, String |
#operator ⇒ Symbol, Telnyx::Models::AI::Assistants::CanaryDeploy::Rule::Match::Operator
Match operator
105 |
# File 'lib/telnyx/models/ai/assistants/canary_deploy.rb', line 105 required :operator, enum: -> { Telnyx::AI::Assistants::CanaryDeploy::Rule::Match::Operator } |