Class: Zavudev::Models::Invitation::ConnectedAccount
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::Invitation::ConnectedAccount
- Defined in:
- lib/zavudev/models/invitation.rb,
sig/zavudev/models/invitation.rbs
Overview
Defined Under Namespace
Modules: Channel
Instance Attribute Summary collapse
- #channel ⇒ Symbol, Zavudev::Models::Invitation::ConnectedAccount::Channel
-
#id ⇒ String
Provider-side identifier: the WhatsApp phone number ID, or the Facebook Page ID.
-
#name ⇒ String?
Display name of the connected account: the WhatsApp verified name, or the Facebook Page name.
Instance Method Summary collapse
-
#initialize(id:, channel:, name: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see ConnectedAccount for more details.
- #to_hash ⇒ {
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:, channel:, name: nil) ⇒ Object
Some parameter documentations has been truncated, see Zavudev::Models::Invitation::ConnectedAccount for more details.
The account the client linked, populated once the invitation is completed.
Null before that. Use it to show the partner what was connected without fetching
the sender.
|
|
# File 'lib/zavudev/models/invitation.rb', line 211
|
Instance Attribute Details
#channel ⇒ Symbol, Zavudev::Models::Invitation::ConnectedAccount::Channel
202 |
# File 'lib/zavudev/models/invitation.rb', line 202 required :channel, enum: -> { Zavudev::Invitation::ConnectedAccount::Channel } |
#id ⇒ String
Provider-side identifier: the WhatsApp phone number ID, or the Facebook Page ID.
197 |
# File 'lib/zavudev/models/invitation.rb', line 197 required :id, String |
#name ⇒ String?
Display name of the connected account: the WhatsApp verified name, or the Facebook Page name.
209 |
# File 'lib/zavudev/models/invitation.rb', line 209 optional :name, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
149 |
# File 'sig/zavudev/models/invitation.rbs', line 149
def to_hash: -> {
|