Class: Inttegro::Chime::EmailMailbox
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Chime::EmailMailbox
- Defined in:
- lib/inttegro/chime/email_mailbox.rb
Overview
Typed representation of the email mailbox 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
-
#address ⇒ String?
readonly
Email address.
-
#name ⇒ String?
readonly
Optional display name.
Instance Attribute Details
#address ⇒ String? (readonly)
Email address
Optional in the API payload; omitted values default to nil. Wire name: address.
29 30 31 32 |
# File 'lib/inttegro/chime/email_mailbox.rb', line 29 class EmailMailbox < T::Struct const :name, T.nilable(String), default: nil const :address, T.nilable(String), default: nil end |
#name ⇒ String? (readonly)
Optional display name
Optional in the API payload; omitted values default to nil. Wire name: name.
29 30 31 32 |
# File 'lib/inttegro/chime/email_mailbox.rb', line 29 class EmailMailbox < T::Struct const :name, T.nilable(String), default: nil const :address, T.nilable(String), default: nil end |