Class: Inttegro::Chime::InlineRecipientVariant1Phone

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/chime/inline_recipient_variant1_phone.rb

Overview

Typed representation of the inline recipient variant1 phone 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

Instance Attribute Details

#number ⇒ String (readonly)

Value of the number field in the Inttegro API payload.

Required in the API payload. Wire name: number.

Returns:

  • (String)


23
24
25
# File 'lib/inttegro/chime/inline_recipient_variant1_phone.rb', line 23

class InlineRecipientVariant1Phone < T::Struct
  const :number, String
end