Class: Telnyx::Models::Whatsapp::PhoneNumberGetResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Whatsapp::PhoneNumberGetResponse::Data
- Defined in:
- lib/telnyx/models/whatsapp/phone_number_get_response.rb,
sig/telnyx/models/whatsapp/phone_number_get_response.rbs
Instance Attribute Summary collapse
- #calling_enabled ⇒ Boolean?
- #created_at ⇒ Time?
- #display_name ⇒ String?
- #enabled ⇒ Boolean?
-
#phone_number ⇒ String?
Phone number in E164 format.
-
#phone_number_id ⇒ String?
Whatsapp phone number ID.
-
#quality_rating ⇒ String?
Whatsapp quality rating.
- #record_type ⇒ String?
- #status ⇒ String?
-
#user_id ⇒ String?
User ID.
-
#waba_id ⇒ String?
WABA ID of Whatsapp business account.
Instance Method Summary collapse
- #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 constructor
- #to_hash ⇒ {
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
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
# File 'lib/telnyx/models/whatsapp/phone_number_get_response.rb', line 23 class Data < Telnyx::Internal::Type::BaseModel # @!attribute calling_enabled # # @return [Boolean, nil] optional :calling_enabled, Telnyx::Internal::Type::Boolean # @!attribute created_at # # @return [Time, nil] optional :created_at, Time # @!attribute display_name # # @return [String, nil] optional :display_name, String # @!attribute enabled # # @return [Boolean, nil] optional :enabled, Telnyx::Internal::Type::Boolean # @!attribute phone_number # Phone number in E164 format # # @return [String, nil] optional :phone_number, String # @!attribute phone_number_id # Whatsapp phone number ID # # @return [String, nil] optional :phone_number_id, String # @!attribute quality_rating # Whatsapp quality rating # # @return [String, nil] optional :quality_rating, String # @!attribute record_type # # @return [String, nil] optional :record_type, String # @!attribute status # # @return [String, nil] optional :status, String # @!attribute user_id # User ID # # @return [String, nil] optional :user_id, String # @!attribute waba_id # WABA ID of Whatsapp business account # # @return [String, nil] optional :waba_id, String # @!method 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) # @param calling_enabled [Boolean] # # @param created_at [Time] # # @param display_name [String] # # @param enabled [Boolean] # # @param phone_number [String] Phone number in E164 format # # @param phone_number_id [String] Whatsapp phone number ID # # @param quality_rating [String] Whatsapp quality rating # # @param record_type [String] # # @param status [String] # # @param user_id [String] User ID # # @param waba_id [String] WABA ID of Whatsapp business account end |
Instance Attribute Details
#calling_enabled ⇒ Boolean?
27 |
# File 'lib/telnyx/models/whatsapp/phone_number_get_response.rb', line 27 optional :calling_enabled, Telnyx::Internal::Type::Boolean |
#created_at ⇒ Time?
32 |
# File 'lib/telnyx/models/whatsapp/phone_number_get_response.rb', line 32 optional :created_at, Time |
#display_name ⇒ String?
37 |
# File 'lib/telnyx/models/whatsapp/phone_number_get_response.rb', line 37 optional :display_name, String |
#enabled ⇒ Boolean?
42 |
# File 'lib/telnyx/models/whatsapp/phone_number_get_response.rb', line 42 optional :enabled, Telnyx::Internal::Type::Boolean |
#phone_number ⇒ String?
Phone number in E164 format
48 |
# File 'lib/telnyx/models/whatsapp/phone_number_get_response.rb', line 48 optional :phone_number, String |
#phone_number_id ⇒ String?
Whatsapp phone number ID
54 |
# File 'lib/telnyx/models/whatsapp/phone_number_get_response.rb', line 54 optional :phone_number_id, String |
#quality_rating ⇒ String?
Whatsapp quality rating
60 |
# File 'lib/telnyx/models/whatsapp/phone_number_get_response.rb', line 60 optional :quality_rating, String |
#record_type ⇒ String?
65 |
# File 'lib/telnyx/models/whatsapp/phone_number_get_response.rb', line 65 optional :record_type, String |
#status ⇒ String?
70 |
# File 'lib/telnyx/models/whatsapp/phone_number_get_response.rb', line 70 optional :status, String |
#user_id ⇒ String?
User ID
76 |
# File 'lib/telnyx/models/whatsapp/phone_number_get_response.rb', line 76 optional :user_id, String |
#waba_id ⇒ String?
WABA ID of Whatsapp business account
82 |
# File 'lib/telnyx/models/whatsapp/phone_number_get_response.rb', line 82 optional :waba_id, String |
Instance Method Details
#to_hash ⇒ {
107 |
# File 'sig/telnyx/models/whatsapp/phone_number_get_response.rbs', line 107
def to_hash: -> {
|