Class: Zavudev::Models::WhatsappBusinessProfile

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/zavudev/models/whatsapp_business_profile.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(about: nil, address: nil, description: nil, email: nil, profile_picture_url: nil, vertical: nil, websites: nil) ⇒ Object

WhatsApp Business profile information.

Parameters:

  • about (String) (defaults to: nil)

    Short description of the business (max 139 characters).

  • address (String) (defaults to: nil)

    Physical address of the business (max 256 characters).

  • description (String) (defaults to: nil)

    Extended description of the business (max 512 characters).

  • email (String) (defaults to: nil)

    Business email address.

  • profile_picture_url (String) (defaults to: nil)

    URL of the business profile picture.

  • vertical (Symbol, Zavudev::Models::WhatsappBusinessProfileVertical) (defaults to: nil)

    Business category for WhatsApp Business profile.

  • websites (Array<String>) (defaults to: nil)

    Business website URLs (maximum 2).



# File 'lib/zavudev/models/whatsapp_business_profile.rb', line 48

Instance Attribute Details

#aboutString?

Short description of the business (max 139 characters).

Returns:

  • (String, nil)


10
# File 'lib/zavudev/models/whatsapp_business_profile.rb', line 10

optional :about, String

#addressString?

Physical address of the business (max 256 characters).

Returns:

  • (String, nil)


16
# File 'lib/zavudev/models/whatsapp_business_profile.rb', line 16

optional :address, String

#descriptionString?

Extended description of the business (max 512 characters).

Returns:

  • (String, nil)


22
# File 'lib/zavudev/models/whatsapp_business_profile.rb', line 22

optional :description, String

#emailString?

Business email address.

Returns:

  • (String, nil)


28
# File 'lib/zavudev/models/whatsapp_business_profile.rb', line 28

optional :email, String

#profile_picture_urlString?

URL of the business profile picture.

Returns:

  • (String, nil)


34
# File 'lib/zavudev/models/whatsapp_business_profile.rb', line 34

optional :profile_picture_url, String, api_name: :profilePictureUrl

#verticalSymbol, ...

Business category for WhatsApp Business profile.



40
# File 'lib/zavudev/models/whatsapp_business_profile.rb', line 40

optional :vertical, enum: -> { Zavudev::WhatsappBusinessProfileVertical }

#websitesArray<String>?

Business website URLs (maximum 2).

Returns:

  • (Array<String>, nil)


46
# File 'lib/zavudev/models/whatsapp_business_profile.rb', line 46

optional :websites, Zavudev::Internal::Type::ArrayOf[String]