Class: Trycourier::Models::FilterConfig

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/trycourier/models/filter_config.rb

Defined Under Namespace

Modules: Operator

Instance Attribute 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(operator: , path: , value: ) ⇒ Object

Some parameter documentations has been truncated, see Trycourier::Models::FilterConfig for more details.

Parameters:

  • operator (Symbol, Trycourier::Models::FilterConfig::Operator) (defaults to: )

    The operator to use for filtering

  • path (String) (defaults to: )

    The attribe name from profile whose value will be operated against the filter va

  • value (String) (defaults to: )

    The value to use for filtering



# File 'lib/trycourier/models/filter_config.rb', line 25


Instance Attribute Details

#operatorSymbol, Trycourier::Models::FilterConfig::Operator

The operator to use for filtering



10
# File 'lib/trycourier/models/filter_config.rb', line 10

required :operator, enum: -> { Trycourier::FilterConfig::Operator }

#pathString

The attribe name from profile whose value will be operated against the filter value

Returns:

  • (String)


17
# File 'lib/trycourier/models/filter_config.rb', line 17

required :path, String

#valueString

The value to use for filtering

Returns:

  • (String)


23
# File 'lib/trycourier/models/filter_config.rb', line 23

required :value, String