Class: Orb::Models::EventSearchParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::EventSearchParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/orb/models/event_search_params.rb
Overview
Instance Attribute Summary collapse
-
#event_ids ⇒ Array<String>
This is an explicit array of IDs to filter by.
-
#timeframe_end ⇒ Time?
The end of the timeframe, exclusive, in which to search events.
-
#timeframe_start ⇒ Time?
The start of the timeframe, inclusive, in which to search events.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(event_ids: , timeframe_end: nil, timeframe_start: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see EventSearchParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(event_ids: , timeframe_end: nil, timeframe_start: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Orb::Models::EventSearchParams for more details.
|
|
# File 'lib/orb/models/event_search_params.rb', line 33
|
Instance Attribute Details
#event_ids ⇒ Array<String>
This is an explicit array of IDs to filter by. Note that an event’s ID is the idempotency_key that was originally used for ingestion, and this only supports events that have not been amended. Values in this array will be treated case sensitively.
17 |
# File 'lib/orb/models/event_search_params.rb', line 17 required :event_ids, Orb::Internal::Type::ArrayOf[String] |
#timeframe_end ⇒ Time?
The end of the timeframe, exclusive, in which to search events. If not specified, the current time is used.
24 |
# File 'lib/orb/models/event_search_params.rb', line 24 optional :timeframe_end, Time, nil?: true |
#timeframe_start ⇒ Time?
The start of the timeframe, inclusive, in which to search events. If not specified, the one week ago is used.
31 |
# File 'lib/orb/models/event_search_params.rb', line 31 optional :timeframe_start, Time, nil?: true |