Class: Telnyx::Models::Whatsapp::BusinessAccounts::SettingUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/telnyx/models/whatsapp/business_accounts/setting_update_params.rb,
sig/telnyx/models/whatsapp/business_accounts/setting_update_params.rbs

Overview

See Also:

  • Telnyx::Resources::Whatsapp::BusinessAccounts::Settings#update

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(id:, name: nil, timezone: nil, webhook_enabled: nil, webhook_events: nil, webhook_failover_url: nil, webhook_url: nil, request_options: {}) ⇒ Object



# File 'lib/telnyx/models/whatsapp/business_accounts/setting_update_params.rb', line 51


Instance Attribute Details

#idString



15
# File 'lib/telnyx/models/whatsapp/business_accounts/setting_update_params.rb', line 15

required :id, String

#nameString?



20
# File 'lib/telnyx/models/whatsapp/business_accounts/setting_update_params.rb', line 20

optional :name, String

#timezoneString?

IANA timezone identifier



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

optional :timezone, String

#webhook_enabledBoolean?

Enable/disable receiving Whatsapp events



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

optional :webhook_enabled, Telnyx::Internal::Type::Boolean

#webhook_eventsArray<String>?



37
# File 'lib/telnyx/models/whatsapp/business_accounts/setting_update_params.rb', line 37

optional :webhook_events, Telnyx::Internal::Type::ArrayOf[String]

#webhook_failover_urlString?

Failover URL to send Whatsapp events



43
# File 'lib/telnyx/models/whatsapp/business_accounts/setting_update_params.rb', line 43

optional :webhook_failover_url, String

#webhook_urlString?

URL to send Whatsapp events



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

optional :webhook_url, String

Instance Method Details

#to_hash{



58
# File 'sig/telnyx/models/whatsapp/business_accounts/setting_update_params.rbs', line 58

def to_hash: -> {