Class: Telnyx::Models::Whatsapp::PhoneNumbers::Profile::PhotoRetrieveResponse::Data

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

Overview

See Also:

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(phone_number_id: nil, profile_photo_url: nil, record_type: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::Whatsapp::PhoneNumbers::Profile::PhotoRetrieveResponse::Data for more details.

Parameters:

  • phone_number_id (String) (defaults to: nil)

    Meta phone number ID

  • profile_photo_url (String) (defaults to: nil)

    URL of the business profile photo (served by Meta’s CDN). May be empty if no pho

  • record_type (String) (defaults to: nil)


# File 'lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rb', line 38

Instance Attribute Details

#phone_number_idString?

Meta phone number ID

Returns:

  • (String, nil)


24
# File 'lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rb', line 24

optional :phone_number_id, String

#profile_photo_urlString?

URL of the business profile photo (served by Meta’s CDN). May be empty if no photo is set.

Returns:

  • (String, nil)


31
# File 'lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rb', line 31

optional :profile_photo_url, String

#record_typeString?

Returns:

  • (String, nil)


36
# File 'lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rb', line 36

optional :record_type, String