Class: Revox::Models::CallRetrieveResponse::Call::Assistant::FaqItem
Defined Under Namespace
Modules: Source
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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(answer:, question:, id: nil, needs_human_answer: nil, source: nil) ⇒ Object
|
# File 'lib/revox/models/call_retrieve_response.rb', line 1874
|
Instance Attribute Details
#answer ⇒ String
1852
|
# File 'lib/revox/models/call_retrieve_response.rb', line 1852
required :answer, String
|
#id ⇒ String?
1862
|
# File 'lib/revox/models/call_retrieve_response.rb', line 1862
optional :id, String
|
#needs_human_answer ⇒ Boolean?
1867
|
# File 'lib/revox/models/call_retrieve_response.rb', line 1867
optional :needs_human_answer, Revox::Internal::Type::Boolean
|
#question ⇒ String
1857
|
# File 'lib/revox/models/call_retrieve_response.rb', line 1857
required :question, String
|
#source ⇒ Symbol, ...
1872
|
# File 'lib/revox/models/call_retrieve_response.rb', line 1872
optional :source, enum: -> { Revox::Models::CallRetrieveResponse::Call::Assistant::FaqItem::Source }
|
Instance Method Details
#to_hash ⇒ {
1470
|
# File 'sig/revox/models/call_retrieve_response.rbs', line 1470
def to_hash: -> {
|