Class: Telnyx::Models::EmailEventListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::EmailEventListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/telnyx/models/email_event_list_params.rb,
sig/telnyx/models/email_event_list_params.rbs
Overview
Defined Under Namespace
Modules: EventType
Instance Attribute Summary collapse
-
#email_id ⇒ String?
Filter events for a specific email message UUID.
-
#event_type ⇒ String, ...
Comma-separated list of event types to include.
-
#from ⇒ Time?
Inclusive ISO 8601 start timestamp.
-
#page_cursor ⇒ String?
Opaque URL-safe Base64 cursor returned by a previous list response.
-
#page_size ⇒ Integer?
Number of results to return.
-
#to ⇒ Time?
Inclusive ISO 8601 end timestamp.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(email_id: nil, event_type: nil, from: nil, page_cursor: nil, page_size: nil, to: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see EmailEventListParams for more details.
- #to_hash ⇒ {
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(email_id: nil, event_type: nil, from: nil, page_cursor: nil, page_size: nil, to: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::EmailEventListParams for more details.
|
|
# File 'lib/telnyx/models/email_event_list_params.rb', line 51
|
Instance Attribute Details
#email_id ⇒ String?
Filter events for a specific email message UUID. Invalid UUID values are silently ignored (no filter applied).
15 |
# File 'lib/telnyx/models/email_event_list_params.rb', line 15 optional :email_id, String |
#event_type ⇒ String, ...
Comma-separated list of event types to include. Also accepts repeated query parameters (e.g. event_type=delivered&event_type=bounced). Unknown values return no matches.
23 |
# File 'lib/telnyx/models/email_event_list_params.rb', line 23 optional :event_type, union: -> { Telnyx::EmailEventListParams::EventType } |
#from ⇒ Time?
Inclusive ISO 8601 start timestamp. Defaults to 30 days ago when omitted.
29 |
# File 'lib/telnyx/models/email_event_list_params.rb', line 29 optional :from, Time |
#page_cursor ⇒ String?
Opaque URL-safe Base64 cursor returned by a previous list response.
35 |
# File 'lib/telnyx/models/email_event_list_params.rb', line 35 optional :page_cursor, String |
#page_size ⇒ Integer?
Number of results to return. Defaults to 25; maximum is 100. Invalid values are clamped to the valid range.
42 |
# File 'lib/telnyx/models/email_event_list_params.rb', line 42 optional :page_size, Integer |
#to ⇒ Time?
Inclusive ISO 8601 end timestamp. When from is provided without to, defaults
to from + 30 days.
49 |
# File 'lib/telnyx/models/email_event_list_params.rb', line 49 optional :to, Time |
Instance Method Details
#to_hash ⇒ {
54 |
# File 'sig/telnyx/models/email_event_list_params.rbs', line 54
def to_hash: -> {
|