Class: Zavudev::Models::Senders::WhatsAppSyncStatus

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/zavudev/models/senders/whats_app_sync_status.rb

Defined Under Namespace

Modules: Status

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(contacts:, history:, is_coexistence:, status:) ⇒ Object

WhatsApp coexistence sync status.

Parameters:



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

Instance Attribute Details

#contactsZavudev::Models::Senders::WhatsAppSyncContacts

Contacts sync status details.



11
# File 'lib/zavudev/models/senders/whats_app_sync_status.rb', line 11

required :contacts, -> { Zavudev::Senders::WhatsAppSyncContacts }

#historyZavudev::Models::Senders::WhatsAppSyncHistory

History sync status details.



17
# File 'lib/zavudev/models/senders/whats_app_sync_status.rb', line 17

required :history, -> { Zavudev::Senders::WhatsAppSyncHistory }

#is_coexistenceBoolean

Whether the account is in coexistence mode.

Returns:

  • (Boolean)


23
# File 'lib/zavudev/models/senders/whats_app_sync_status.rb', line 23

required :is_coexistence, Zavudev::Internal::Type::Boolean, api_name: :isCoexistence

#statusSymbol, Zavudev::Models::Senders::WhatsAppSyncStatus::Status

WhatsApp account status.



29
# File 'lib/zavudev/models/senders/whats_app_sync_status.rb', line 29

required :status, enum: -> { Zavudev::Senders::WhatsAppSyncStatus::Status }