Class: Amocrm::Models::TalkGetByIDResponse::Talk
Defined Under Namespace
Classes: Embedded
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(_embedded: nil, _links: nil, account_id: nil, chat_id: nil, contact_id: nil, created_at: nil, entity_id: nil, entity_type: nil, is_in_work: nil, is_read: nil, missed_at: nil, origin: nil, rate: nil, talk_id: nil, updated_at: nil) ⇒ Object
constructor
-
#to_hash ⇒ {
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(_embedded: nil, _links: nil, account_id: nil, chat_id: nil, contact_id: nil, created_at: nil, entity_id: nil, entity_type: nil, is_in_work: nil, is_read: nil, missed_at: nil, origin: nil, rate: nil, talk_id: nil, updated_at: nil) ⇒ Object
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 89
|
Instance Attribute Details
17
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 17
optional :_embedded, -> { Amocrm::Models::TalkGetByIDResponse::Talk::Embedded }
|
#_links ⇒ Object?
22
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 22
optional :_links, Amocrm::Internal::Type::Unknown
|
#account_id ⇒ Integer?
27
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 27
optional :account_id, Integer
|
#chat_id ⇒ String?
32
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 32
optional :chat_id, String
|
37
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 37
optional :contact_id, Integer
|
#created_at ⇒ Integer?
42
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 42
optional :created_at, Integer
|
#entity_id ⇒ Integer?
47
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 47
optional :entity_id, Integer, nil?: true
|
#entity_type ⇒ String?
52
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 52
optional :entity_type, String, nil?: true
|
#is_in_work ⇒ Boolean?
57
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 57
optional :is_in_work, Amocrm::Internal::Type::Boolean
|
#is_read ⇒ Boolean?
62
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 62
optional :is_read, Amocrm::Internal::Type::Boolean
|
#missed_at ⇒ Integer?
67
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 67
optional :missed_at, Integer, nil?: true
|
#origin ⇒ String?
72
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 72
optional :origin, String
|
#rate ⇒ Integer?
77
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 77
optional :rate, Integer
|
#talk_id ⇒ Integer?
82
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 82
optional :talk_id, Integer
|
#updated_at ⇒ Integer?
87
|
# File 'lib/amocrm/models/talk_get_by_id_response.rb', line 87
optional :updated_at, Integer
|
Instance Method Details
#to_hash ⇒ {
104
|
# File 'sig/amocrm/models/talk_get_by_id_response.rbs', line 104
def to_hash: -> {
|