Class: Zavudev::Models::ConversationRetrieveResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/zavudev/models/conversation_retrieve_response.rb,
sig/zavudev/models/conversation_retrieve_response.rbs

Overview

See Also:

  • Zavudev::Resources::Conversations#retrieve

Defined Under Namespace

Classes: Conversation

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(conversation:) ⇒ Object

Some parameter documentations has been truncated, see Zavudev::Models::ConversationRetrieveResponse for more details.

Parameters:



# File 'lib/zavudev/models/conversation_retrieve_response.rb', line 15

Instance Attribute Details

#conversation ⇒ Zavudev::Models::ConversationRetrieveResponse::Conversation

An inbox thread with one contact. A conversation groups every message exchanged with that contact across channels, so a contact who writes on WhatsApp and later by email stays in one thread.



13
# File 'lib/zavudev/models/conversation_retrieve_response.rb', line 13

required :conversation, -> { Zavudev::Models::ConversationRetrieveResponse::Conversation }

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


15
# File 'sig/zavudev/models/conversation_retrieve_response.rbs', line 15

def to_hash: -> {