Class: Inttegro::Chime::InlineRecipientVariant1
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Chime::InlineRecipientVariant1
- Defined in:
- lib/inttegro/chime/inline_recipient_variant1.rb
Overview
Typed representation of the inline recipient variant1 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
-
#name ⇒ String?
readonly
Value of the
namefield in the Inttegro API payload. -
#phone ⇒ Inttegro::Chime::InlineRecipientVariant1Phone
readonly
Value of the
phonefield in the Inttegro API payload. -
#type ⇒ Inttegro::Chime::InlineRecipientVariant1Type
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#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/inline_recipient_variant1.rb', line 37 class InlineRecipientVariant1 < T::Struct const :name, T.nilable(String), default: nil const :phone, Inttegro::Chime::InlineRecipientVariant1Phone const :type, Inttegro::Chime::InlineRecipientVariant1Type end |
#phone ⇒ Inttegro::Chime::InlineRecipientVariant1Phone (readonly)
Value of the phone field in the Inttegro API payload.
Required in the API payload. Wire name: phone.
37 38 39 40 41 |
# File 'lib/inttegro/chime/inline_recipient_variant1.rb', line 37 class InlineRecipientVariant1 < T::Struct const :name, T.nilable(String), default: nil const :phone, Inttegro::Chime::InlineRecipientVariant1Phone const :type, Inttegro::Chime::InlineRecipientVariant1Type end |
#type ⇒ Inttegro::Chime::InlineRecipientVariant1Type (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/inline_recipient_variant1.rb', line 37 class InlineRecipientVariant1 < T::Struct const :name, T.nilable(String), default: nil const :phone, Inttegro::Chime::InlineRecipientVariant1Phone const :type, Inttegro::Chime::InlineRecipientVariant1Type end |