Module: MethodRuby::Models::EventListParams::MethodVersion

Extended by:
Internal::Type::Enum
Defined in:
lib/method_ruby/models/event_list_params.rb

Constant Summary collapse

METHOD_VERSION_2025_12_01 =
:"2025-12-01"

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/method_ruby/models/event_list_params.rb', line 77

Instance Method Details

#initialize(method_version:, from_date: nil, page: nil, page_cursor: nil, page_limit: nil, to_date: nil, type: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see MethodRuby::Models::EventListParams for more details.

Parameters:

  • method_version (Symbol, MethodRuby::Models::EventListParams::MethodVersion)
  • from_date (Date) (defaults to: nil)

    Filter results from this date (inclusive, YYYY-MM-DD format).

  • page (Integer) (defaults to: nil)

    Page number for pagination (1-indexed).

  • page_cursor (String) (defaults to: nil)

    Cursor for cursor-based pagination. Use the value from ‘Pagination-Page-Cursor-N

  • page_limit (Integer) (defaults to: nil)

    Number of items per page.

  • to_date (Date) (defaults to: nil)

    Filter results to this date (inclusive, YYYY-MM-DD format).

  • type (String) (defaults to: nil)

    Filter events by event type.

  • request_options (MethodRuby::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


72
73
74
75
76
77
78
79
# File 'lib/method_ruby/models/event_list_params.rb', line 72

module MethodVersion
  extend MethodRuby::Internal::Type::Enum

  METHOD_VERSION_2025_12_01 = :"2025-12-01"

  # @!method self.values
  #   @return [Array<Symbol>]
end