Class: Revox::Models::CampaignListResponse::Campaign::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/campaign_list_response.rb', line 1770
|
Instance Attribute Details
#answer ⇒ String
1748
|
# File 'lib/revox/models/campaign_list_response.rb', line 1748
required :answer, String
|
#id ⇒ String?
1758
|
# File 'lib/revox/models/campaign_list_response.rb', line 1758
optional :id, String
|
#needs_human_answer ⇒ Boolean?
1763
|
# File 'lib/revox/models/campaign_list_response.rb', line 1763
optional :needs_human_answer, Revox::Internal::Type::Boolean
|
#question ⇒ String
1753
|
# File 'lib/revox/models/campaign_list_response.rb', line 1753
required :question, String
|
#source ⇒ Symbol, ...
1768
|
# File 'lib/revox/models/campaign_list_response.rb', line 1768
optional :source, enum: -> { Revox::Models::CampaignListResponse::Campaign::Assistant::FaqItem::Source }
|
Instance Method Details
#to_hash ⇒ {
1469
|
# File 'sig/revox/models/campaign_list_response.rbs', line 1469
def to_hash: -> {
|