Class: Telnyx::Models::Whatsapp::PhoneNumberListResponse

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

Overview

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(calling_enabled: nil, created_at: nil, display_name: nil, enabled: nil, phone_number: nil, phone_number_id: nil, quality_rating: nil, record_type: nil, status: nil, user_id: nil, waba_id: nil) ⇒ Object

Parameters:

  • calling_enabled (Boolean) (defaults to: nil)
  • created_at (Time) (defaults to: nil)
  • display_name (String) (defaults to: nil)
  • enabled (Boolean) (defaults to: nil)
  • phone_number (String) (defaults to: nil)

    Phone number in E164 format

  • phone_number_id (String) (defaults to: nil)

    Whatsapp phone number ID

  • quality_rating (String) (defaults to: nil)

    Whatsapp quality rating

  • record_type (String) (defaults to: nil)
  • status (String) (defaults to: nil)
  • user_id (String) (defaults to: nil)

    User ID

  • waba_id (String) (defaults to: nil)

    WABA ID of Whatsapp business account



# File 'lib/telnyx/models/whatsapp/phone_number_list_response.rb', line 68

Instance Attribute Details

#calling_enabledBoolean?

Returns:

  • (Boolean, nil)


11
# File 'lib/telnyx/models/whatsapp/phone_number_list_response.rb', line 11

optional :calling_enabled, Telnyx::Internal::Type::Boolean

#created_atTime?

Returns:

  • (Time, nil)


16
# File 'lib/telnyx/models/whatsapp/phone_number_list_response.rb', line 16

optional :created_at, Time

#display_nameString?

Returns:

  • (String, nil)


21
# File 'lib/telnyx/models/whatsapp/phone_number_list_response.rb', line 21

optional :display_name, String

#enabledBoolean?

Returns:

  • (Boolean, nil)


26
# File 'lib/telnyx/models/whatsapp/phone_number_list_response.rb', line 26

optional :enabled, Telnyx::Internal::Type::Boolean

#phone_numberString?

Phone number in E164 format

Returns:

  • (String, nil)


32
# File 'lib/telnyx/models/whatsapp/phone_number_list_response.rb', line 32

optional :phone_number, String

#phone_number_idString?

Whatsapp phone number ID

Returns:

  • (String, nil)


38
# File 'lib/telnyx/models/whatsapp/phone_number_list_response.rb', line 38

optional :phone_number_id, String

#quality_ratingString?

Whatsapp quality rating

Returns:

  • (String, nil)


44
# File 'lib/telnyx/models/whatsapp/phone_number_list_response.rb', line 44

optional :quality_rating, String

#record_typeString?

Returns:

  • (String, nil)


49
# File 'lib/telnyx/models/whatsapp/phone_number_list_response.rb', line 49

optional :record_type, String

#statusString?

Returns:

  • (String, nil)


54
# File 'lib/telnyx/models/whatsapp/phone_number_list_response.rb', line 54

optional :status, String

#user_idString?

User ID

Returns:

  • (String, nil)


60
# File 'lib/telnyx/models/whatsapp/phone_number_list_response.rb', line 60

optional :user_id, String

#waba_idString?

WABA ID of Whatsapp business account

Returns:

  • (String, nil)


66
# File 'lib/telnyx/models/whatsapp/phone_number_list_response.rb', line 66

optional :waba_id, String