Class: Telnyx::Models::EmailBlockRetrieveEventsResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::EmailBlockRetrieveEventsResponse
- Defined in:
- lib/telnyx/models/email_block_retrieve_events_response.rb,
sig/telnyx/models/email_block_retrieve_events_response.rbs
Overview
Defined Under Namespace
Modules: EventType, RecordType
Instance Attribute Summary collapse
-
#actor ⇒ String
Free-text (
user_id/org_id/api_key/dev_bypass/system/manual). - #event_type ⇒ Symbol, Telnyx::Models::EmailBlockRetrieveEventsResponse::EventType
- #id ⇒ String
-
#meta ⇒ Hash{Symbol=>Object}?
nullwhen the schema field is nil (the context usually sets it to{}). - #occurred_at ⇒ Time
-
#reason ⇒ String
Free-text snapshot of the block's reason at event time.
-
#record_type ⇒ Symbol, Telnyx::Models::EmailBlockRetrieveEventsResponse::RecordType
View-only.
-
#source ⇒ String
Free-text snapshot of the block's source at event time.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(id:, actor:, event_type:, occurred_at:, reason:, record_type:, source:, meta: nil) ⇒ Object constructor
- #to_hash ⇒ {
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(id:, actor:, event_type:, occurred_at:, reason:, record_type:, source:, meta: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/email_block_retrieve_events_response.rb', line 52
|
Instance Attribute Details
#actor ⇒ String
Free-text (user_id/org_id/api_key/dev_bypass/system/manual).
16 |
# File 'lib/telnyx/models/email_block_retrieve_events_response.rb', line 16 required :actor, String |
#event_type ⇒ Symbol, Telnyx::Models::EmailBlockRetrieveEventsResponse::EventType
21 |
# File 'lib/telnyx/models/email_block_retrieve_events_response.rb', line 21 required :event_type, enum: -> { Telnyx::Models::EmailBlockRetrieveEventsResponse::EventType } |
#id ⇒ String
10 |
# File 'lib/telnyx/models/email_block_retrieve_events_response.rb', line 10 required :id, String |
#meta ⇒ Hash{Symbol=>Object}?
null when the schema field is nil (the context usually sets it to {}).
50 |
# File 'lib/telnyx/models/email_block_retrieve_events_response.rb', line 50 optional :meta, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown], nil?: true |
#occurred_at ⇒ Time
26 |
# File 'lib/telnyx/models/email_block_retrieve_events_response.rb', line 26 required :occurred_at, Time |
#reason ⇒ String
Free-text snapshot of the block's reason at event time.
32 |
# File 'lib/telnyx/models/email_block_retrieve_events_response.rb', line 32 required :reason, String |
#record_type ⇒ Symbol, Telnyx::Models::EmailBlockRetrieveEventsResponse::RecordType
View-only.
38 |
# File 'lib/telnyx/models/email_block_retrieve_events_response.rb', line 38 required :record_type, enum: -> { Telnyx::Models::EmailBlockRetrieveEventsResponse::RecordType } |
#source ⇒ String
Free-text snapshot of the block's source at event time.
44 |
# File 'lib/telnyx/models/email_block_retrieve_events_response.rb', line 44 required :source, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/email_block_retrieve_events_response.rb', line 78
|
Instance Method Details
#to_hash ⇒ {
43 |
# File 'sig/telnyx/models/email_block_retrieve_events_response.rbs', line 43
def to_hash: -> {
|