Module: Knockapi::Models::Condition::Operator

Extended by:
Internal::Type::Enum
Defined in:
lib/knockapi/models/condition.rb,
sig/knockapi/models/condition.rbs

Overview

The operator to use in the condition evaluation.

See Also:

  • Knockapi::Models::Condition#operator

Constant Summary collapse

EQUAL_TO =

Returns:

  • (:equal_to)
:equal_to
NOT_EQUAL_TO =

Returns:

  • (:not_equal_to)
:not_equal_to
GREATER_THAN =

Returns:

  • (:greater_than)
:greater_than
LESS_THAN =

Returns:

  • (:less_than)
:less_than
GREATER_THAN_OR_EQUAL_TO =

Returns:

  • (:greater_than_or_equal_to)
:greater_than_or_equal_to
LESS_THAN_OR_EQUAL_TO =

Returns:

  • (:less_than_or_equal_to)
:less_than_or_equal_to
CONTAINS =

Returns:

  • (:contains)
:contains
NOT_CONTAINS =

Returns:

  • (:not_contains)
:not_contains
EMPTY =

Returns:

  • (:empty)
:empty
NOT_EMPTY =

Returns:

  • (:not_empty)
:not_empty
EXISTS =

Returns:

  • (:exists)
:exists
NOT_EXISTS =

Returns:

  • (:not_exists)
:not_exists
CONTAINS_ALL =

Returns:

  • (:contains_all)
:contains_all
NOT_CONTAINS_ALL =

Returns:

  • (:not_contains_all)
:not_contains_all
IS_TIMESTAMP =

Returns:

  • (:is_timestamp)
:is_timestamp
IS_NOT_TIMESTAMP =

Returns:

  • (:is_not_timestamp)
:is_not_timestamp
IS_TIMESTAMP_ON_OR_AFTER =

Returns:

  • (:is_timestamp_on_or_after)
:is_timestamp_on_or_after
IS_TIMESTAMP_BEFORE =

Returns:

  • (:is_timestamp_before)
:is_timestamp_before
IS_TIMESTAMP_ON_OR_AFTER_DATE =

Returns:

  • (:is_timestamp_on_or_after_date)
:is_timestamp_on_or_after_date
IS_TIMESTAMP_BEFORE_DATE =

Returns:

  • (:is_timestamp_before_date)
:is_timestamp_before_date
IS_TIMESTAMP_BETWEEN =

Returns:

  • (:is_timestamp_between)
:is_timestamp_between
IS_BETWEEN =

Returns:

  • (:is_between)
:is_between
IS_AUDIENCE_MEMBER =

Returns:

  • (:is_audience_member)
:is_audience_member
IS_NOT_AUDIENCE_MEMBER =

Returns:

  • (:is_not_audience_member)
:is_not_audience_member

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/knockapi/models/condition.rb', line 64

Instance Method Details

#self?.values::Array[Knockapi::Models::Condition::operator]

Returns:

  • (::Array[Knockapi::Models::Condition::operator])


83
# File 'sig/knockapi/models/condition.rbs', line 83

def self?.values: -> ::Array[Knockapi::Models::Condition::operator]