Class: Inttegro::Chime::EmailEvent
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Chime::EmailEvent
- Defined in:
- lib/inttegro/chime/email_event.rb
Overview
Typed representation of the email event object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#bounce_sub_type ⇒ String?
readonly
Value of the
bounce_sub_typefield in the Inttegro API payload. -
#bounce_type ⇒ String?
readonly
Value of the
bounce_typefield in the Inttegro API payload. -
#complaint_sub_type ⇒ String?
readonly
Value of the
complaint_sub_typefield in the Inttegro API payload. -
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#occurred_at ⇒ Time
readonly
Value of the
occurred_atfield in the Inttegro API payload. -
#provider ⇒ String
readonly
Value of the
providerfield in the Inttegro API payload. -
#provider_message_id ⇒ String
readonly
Value of the
provider_message_idfield in the Inttegro API payload. -
#reason ⇒ String?
readonly
Value of the
reasonfield in the Inttegro API payload. -
#reason_code ⇒ String?
readonly
Value of the
reason_codefield in the Inttegro API payload. -
#recipient ⇒ String?
readonly
Value of the
recipientfield in the Inttegro API payload. -
#source ⇒ String?
readonly
Value of the
sourcefield in the Inttegro API payload. -
#suppress_recipient ⇒ Boolean?
readonly
Value of the
suppress_recipientfield in the Inttegro API payload. -
#temporary ⇒ Boolean?
readonly
Value of the
temporaryfield in the Inttegro API payload. -
#type ⇒ String
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#bounce_sub_type ⇒ String? (readonly)
Value of the bounce_sub_type field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: bounce_sub_type.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#bounce_type ⇒ String? (readonly)
Value of the bounce_type field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: bounce_type.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#complaint_sub_type ⇒ String? (readonly)
Value of the complaint_sub_type field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: complaint_sub_type.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#occurred_at ⇒ Time (readonly)
Value of the occurred_at field in the Inttegro API payload.
Required in the API payload. Wire name: occurred_at.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#provider ⇒ String (readonly)
Value of the provider field in the Inttegro API payload.
Required in the API payload. Wire name: provider.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#provider_message_id ⇒ String (readonly)
Value of the provider_message_id field in the Inttegro API payload.
Required in the API payload. Wire name: provider_message_id.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#reason ⇒ String? (readonly)
Value of the reason field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: reason.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#reason_code ⇒ String? (readonly)
Value of the reason_code field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: reason_code.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#recipient ⇒ String? (readonly)
Value of the recipient field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: recipient.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#source ⇒ String? (readonly)
Value of the source field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: source.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#suppress_recipient ⇒ Boolean? (readonly)
Value of the suppress_recipient field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: suppress_recipient.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#temporary ⇒ Boolean? (readonly)
Value of the temporary field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: temporary.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |
#type ⇒ String (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/inttegro/chime/email_event.rb', line 101 class EmailEvent < T::Struct const :bounce_sub_type, T.nilable(String), default: nil const :bounce_type, T.nilable(String), default: nil const :complaint_sub_type, T.nilable(String), default: nil const :id, String const :occurred_at, Time const :provider, String const :provider_message_id, String const :reason, T.nilable(String), default: nil const :reason_code, T.nilable(String), default: nil const :recipient, T.nilable(String), default: nil const :source, T.nilable(String), default: nil const :suppress_recipient, T.nilable(T::Boolean), default: nil const :temporary, T.nilable(T::Boolean), default: nil const :type, String end |