Class: Telnyx::Models::Whatsapp::BusinessAccounts::WabaSettings

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/whatsapp/business_accounts/waba_settings.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(id: nil, name: nil, record_type: nil, timezone: nil, updated_at: nil, webhook_enabled: nil, webhook_events: nil, webhook_failover_url: nil, webhook_url: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)

    Internal ID of Whatsapp business account

  • name (String) (defaults to: nil)
  • record_type (String) (defaults to: nil)
  • timezone (String) (defaults to: nil)
  • updated_at (Time) (defaults to: nil)
  • webhook_enabled (Boolean) (defaults to: nil)

    Enable/disable receiving Whatsapp events

  • webhook_events (Array<String>) (defaults to: nil)
  • webhook_failover_url (String) (defaults to: nil)

    Failover URL to receive Whatsapp events

  • webhook_url (String) (defaults to: nil)

    URL to receive Whatsapp events



# File 'lib/telnyx/models/whatsapp/business_accounts/waba_settings.rb', line 57

Instance Attribute Details

#idString?

Internal ID of Whatsapp business account

Returns:

  • (String, nil)


12
# File 'lib/telnyx/models/whatsapp/business_accounts/waba_settings.rb', line 12

optional :id, String

#nameString?

Returns:

  • (String, nil)


17
# File 'lib/telnyx/models/whatsapp/business_accounts/waba_settings.rb', line 17

optional :name, String

#record_typeString?

Returns:

  • (String, nil)


22
# File 'lib/telnyx/models/whatsapp/business_accounts/waba_settings.rb', line 22

optional :record_type, String

#timezoneString?

Returns:

  • (String, nil)


27
# File 'lib/telnyx/models/whatsapp/business_accounts/waba_settings.rb', line 27

optional :timezone, String

#updated_atTime?

Returns:

  • (Time, nil)


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

optional :updated_at, Time

#webhook_enabledBoolean?

Enable/disable receiving Whatsapp events

Returns:

  • (Boolean, nil)


38
# File 'lib/telnyx/models/whatsapp/business_accounts/waba_settings.rb', line 38

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

#webhook_eventsArray<String>?

Returns:

  • (Array<String>, nil)


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

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

#webhook_failover_urlString?

Failover URL to receive Whatsapp events

Returns:

  • (String, nil)


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

optional :webhook_failover_url, String

#webhook_urlString?

URL to receive Whatsapp events

Returns:

  • (String, nil)


55
# File 'lib/telnyx/models/whatsapp/business_accounts/waba_settings.rb', line 55

optional :webhook_url, String