Class: Inttegro::Chime::EmailRecipient
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Chime::EmailRecipient
- Defined in:
- lib/inttegro/chime/email_recipient.rb
Overview
Typed representation of the email recipient 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
-
#email ⇒ Inttegro::Chime::EmailRecipientEmail
readonly
Value of the
emailfield in the Inttegro API payload. -
#name ⇒ String?
readonly
Value of the
namefield in the Inttegro API payload. -
#type ⇒ Inttegro::Chime::EmailRecipientType
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#email ⇒ Inttegro::Chime::EmailRecipientEmail (readonly)
Value of the email field in the Inttegro API payload.
Required in the API payload. Wire name: email.
37 38 39 40 41 |
# File 'lib/inttegro/chime/email_recipient.rb', line 37 class EmailRecipient < T::Struct const :email, Inttegro::Chime::EmailRecipientEmail const :name, T.nilable(String), default: nil const :type, Inttegro::Chime::EmailRecipientType end |
#name ⇒ String? (readonly)
Value of the name field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: name.
37 38 39 40 41 |
# File 'lib/inttegro/chime/email_recipient.rb', line 37 class EmailRecipient < T::Struct const :email, Inttegro::Chime::EmailRecipientEmail const :name, T.nilable(String), default: nil const :type, Inttegro::Chime::EmailRecipientType end |
#type ⇒ Inttegro::Chime::EmailRecipientType (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
37 38 39 40 41 |
# File 'lib/inttegro/chime/email_recipient.rb', line 37 class EmailRecipient < T::Struct const :email, Inttegro::Chime::EmailRecipientEmail const :name, T.nilable(String), default: nil const :type, Inttegro::Chime::EmailRecipientType end |