Class: Cadenya::Models::McpToolFilter::Filter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::McpToolFilter::Filter
- Defined in:
- lib/cadenya/models/mcp_tool_filter.rb
Defined Under Namespace
Modules: Attribute Classes: Matcher
Instance Attribute Summary collapse
- #attribute ⇒ Symbol, Cadenya::Models::McpToolFilter::Filter::Attribute
-
#matcher ⇒ Cadenya::Models::McpToolFilter::Filter::Matcher?
String matching operations.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attribute:, matcher: nil) ⇒ Object
constructor
Single attribute filter.
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:, matcher: nil) ⇒ Object
Single attribute filter
|
|
# File 'lib/cadenya/models/mcp_tool_filter.rb', line 46
|
Instance Attribute Details
#attribute ⇒ Symbol, Cadenya::Models::McpToolFilter::Filter::Attribute
38 |
# File 'lib/cadenya/models/mcp_tool_filter.rb', line 38 required :attribute, enum: -> { Cadenya::McpToolFilter::Filter::Attribute } |
#matcher ⇒ Cadenya::Models::McpToolFilter::Filter::Matcher?
String matching operations
44 |
# File 'lib/cadenya/models/mcp_tool_filter.rb', line 44 optional :matcher, -> { Cadenya::McpToolFilter::Filter::Matcher } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/cadenya/models/mcp_tool_filter.rb', line 62
|