Class: Revox::Models::CallCreateResponse::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_create_response.rb', line 1829
|
Instance Attribute Details
#answer ⇒ String
1807
|
# File 'lib/revox/models/call_create_response.rb', line 1807
required :answer, String
|
#id ⇒ String?
1817
|
# File 'lib/revox/models/call_create_response.rb', line 1817
optional :id, String
|
#needs_human_answer ⇒ Boolean?
1822
|
# File 'lib/revox/models/call_create_response.rb', line 1822
optional :needs_human_answer, Revox::Internal::Type::Boolean
|
#question ⇒ String
1812
|
# File 'lib/revox/models/call_create_response.rb', line 1812
required :question, String
|
#source ⇒ Symbol, ...
1827
|
# File 'lib/revox/models/call_create_response.rb', line 1827
optional :source, enum: -> { Revox::Models::CallCreateResponse::Call::Assistant::FaqItem::Source }
|
Instance Method Details
#to_hash ⇒ {
1468
|
# File 'sig/revox/models/call_create_response.rbs', line 1468
def to_hash: -> {
|