Module: Amocrm::Models::ContactChatLinkResponse

Extended by:
Internal::Type::Union
Defined in:
lib/amocrm/models/contact_chat_link_response.rb,
sig/amocrm/models/contact_chat_link_response.rbs

Overview

See Also:

  • Amocrm::Resources::ContactChats#link

Defined Under Namespace

Classes: ContactChatLinksResponse, Problem

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variants ⇒ Array(Amocrm::Models::ContactChatLinkResponse::ContactChatLinksResponse, Amocrm::Models::ContactChatLinkResponse::Problem)



# File 'lib/amocrm/models/contact_chat_link_response.rb', line 91

Instance Method Details

#initialize(chat_id:, contact_id:, request_id: nil) ⇒ Object

Parameters:

  • chat_id (String)
  • contact_id (Integer)
  • request_id (String) (defaults to: nil)


# File 'lib/amocrm/models/contact_chat_link_response.rb', line 55

#self?.variants ⇒ ::Array[Amocrm::Models::contact_chat_link_response]

Returns:

  • (::Array[Amocrm::Models::contact_chat_link_response])


119
# File 'sig/amocrm/models/contact_chat_link_response.rbs', line 119

def self?.variants: -> ::Array[Amocrm::Models::contact_chat_link_response]