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 1841
|
Instance Attribute Details
#answer ⇒ String
1819
|
# File 'lib/revox/models/call_retrieve_response.rb', line 1819
required :answer, String
|
#id ⇒ String?
1829
|
# File 'lib/revox/models/call_retrieve_response.rb', line 1829
optional :id, String
|
#needs_human_answer ⇒ Boolean?
1834
|
# File 'lib/revox/models/call_retrieve_response.rb', line 1834
optional :needs_human_answer, Revox::Internal::Type::Boolean
|
#question ⇒ String
1824
|
# File 'lib/revox/models/call_retrieve_response.rb', line 1824
required :question, String
|
#source ⇒ Symbol, ...
1839
|
# File 'lib/revox/models/call_retrieve_response.rb', line 1839
optional :source, enum: -> { Revox::Models::CallRetrieveResponse::Call::Assistant::FaqItem::Source }
|
Instance Method Details
#to_hash ⇒ {
1473
|
# File 'sig/revox/models/call_retrieve_response.rbs', line 1473
def to_hash: -> {
|