Class: Zavudev::Models::SenderUpdateProfileParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/zavudev/models/sender_update_profile_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(sender_id:, about: nil, address: nil, description: nil, email: nil, vertical: nil, websites: nil, request_options: {}) ⇒ Object

Parameters:

  • sender_id (String)
  • 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.

  • 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).

  • request_options (Zavudev::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/zavudev/models/sender_update_profile_params.rb', line 51

Instance Attribute Details

#aboutString?

Short description of the business (max 139 characters).

Returns:

  • (String, nil)


19
# File 'lib/zavudev/models/sender_update_profile_params.rb', line 19

optional :about, String

#addressString?

Physical address of the business (max 256 characters).

Returns:

  • (String, nil)


25
# File 'lib/zavudev/models/sender_update_profile_params.rb', line 25

optional :address, String

#descriptionString?

Extended description of the business (max 512 characters).

Returns:

  • (String, nil)


31
# File 'lib/zavudev/models/sender_update_profile_params.rb', line 31

optional :description, String

#emailString?

Business email address.

Returns:

  • (String, nil)


37
# File 'lib/zavudev/models/sender_update_profile_params.rb', line 37

optional :email, String

#sender_idString

Returns:

  • (String)


13
# File 'lib/zavudev/models/sender_update_profile_params.rb', line 13

required :sender_id, String

#verticalSymbol, ...

Business category for WhatsApp Business profile.



43
# File 'lib/zavudev/models/sender_update_profile_params.rb', line 43

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

#websitesArray<String>?

Business website URLs (maximum 2).

Returns:

  • (Array<String>, nil)


49
# File 'lib/zavudev/models/sender_update_profile_params.rb', line 49

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