Class: Zavudev::Models::Senders::WhatsAppSyncContacts
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::Senders::WhatsAppSyncContacts
- Defined in:
- lib/zavudev/models/senders/whats_app_sync_contacts.rb
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#can_sync ⇒ Boolean
Whether contacts sync can be initiated.
-
#requested_at ⇒ Time?
When the sync was last requested.
-
#status ⇒ Symbol, Zavudev::Models::Senders::WhatsAppSyncContacts::Status
Status of WhatsApp contacts sync.
Instance Method Summary collapse
-
#initialize(can_sync:, status:, requested_at: nil) ⇒ Object
constructor
Contacts sync status details.
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(can_sync:, status:, requested_at: nil) ⇒ Object
Contacts sync status details.
|
|
# File 'lib/zavudev/models/senders/whats_app_sync_contacts.rb', line 25
|
Instance Attribute Details
#can_sync ⇒ Boolean
Whether contacts sync can be initiated.
11 |
# File 'lib/zavudev/models/senders/whats_app_sync_contacts.rb', line 11 required :can_sync, Zavudev::Internal::Type::Boolean, api_name: :canSync |
#requested_at ⇒ Time?
When the sync was last requested.
23 |
# File 'lib/zavudev/models/senders/whats_app_sync_contacts.rb', line 23 optional :requested_at, Time, api_name: :requestedAt, nil?: true |
#status ⇒ Symbol, Zavudev::Models::Senders::WhatsAppSyncContacts::Status
Status of WhatsApp contacts sync.
17 |
# File 'lib/zavudev/models/senders/whats_app_sync_contacts.rb', line 17 required :status, enum: -> { Zavudev::Senders::WhatsAppSyncContacts::Status } |