Class: Telnyx::Models::MessageSendWhatsappParams::WhatsappMessage::Contact::Address

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/message_send_whatsapp_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(addresses: nil, birthday: nil, emails: nil, name: nil, org: nil, phones: nil, urls: nil) ⇒ Object

Parameters:



182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# File 'lib/telnyx/models/message_send_whatsapp_params.rb', line 182

class Address < Telnyx::Internal::Type::BaseModel
  # @!attribute city
  #
  #   @return [String, nil]
  optional :city, String

  # @!attribute country
  #
  #   @return [String, nil]
  optional :country, String

  # @!attribute country_code
  #
  #   @return [String, nil]
  optional :country_code, String

  # @!attribute state
  #
  #   @return [String, nil]
  optional :state, String

  # @!attribute street
  #
  #   @return [String, nil]
  optional :street, String

  # @!attribute type
  #
  #   @return [String, nil]
  optional :type, String

  # @!attribute zip
  #
  #   @return [String, nil]
  optional :zip, String

  # @!method initialize(city: nil, country: nil, country_code: nil, state: nil, street: nil, type: nil, zip: nil)
  #   @param city [String]
  #   @param country [String]
  #   @param country_code [String]
  #   @param state [String]
  #   @param street [String]
  #   @param type [String]
  #   @param zip [String]
end

Instance Attribute Details

#cityString?

Returns:

  • (String, nil)


186
# File 'lib/telnyx/models/message_send_whatsapp_params.rb', line 186

optional :city, String

#countryString?

Returns:

  • (String, nil)


191
# File 'lib/telnyx/models/message_send_whatsapp_params.rb', line 191

optional :country, String

#country_codeString?

Returns:

  • (String, nil)


196
# File 'lib/telnyx/models/message_send_whatsapp_params.rb', line 196

optional :country_code, String

#stateString?

Returns:

  • (String, nil)


201
# File 'lib/telnyx/models/message_send_whatsapp_params.rb', line 201

optional :state, String

#streetString?

Returns:

  • (String, nil)


206
# File 'lib/telnyx/models/message_send_whatsapp_params.rb', line 206

optional :street, String

#typeString?

Returns:

  • (String, nil)


211
# File 'lib/telnyx/models/message_send_whatsapp_params.rb', line 211

optional :type, String

#zipString?

Returns:

  • (String, nil)


216
# File 'lib/telnyx/models/message_send_whatsapp_params.rb', line 216

optional :zip, String