Class: Revox::Models::PhoneNumberListResponse::PhoneNumber::InboundAssistant::FaqItem

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/revox/models/phone_number_list_response.rb,
sig/revox/models/phone_number_list_response.rbs

Defined Under Namespace

Modules: Source

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], 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

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#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

Parameters:



# File 'lib/revox/models/phone_number_list_response.rb', line 1720

Instance Attribute Details

#answerString

Parameters:

  • value (String)

Returns:

  • (String)


1697
# File 'lib/revox/models/phone_number_list_response.rb', line 1697

required :answer, String

#idString?

Parameters:

  • (String)

Returns:

  • (String, nil)


1707
# File 'lib/revox/models/phone_number_list_response.rb', line 1707

optional :id, String

#needs_human_answerBoolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


1712
# File 'lib/revox/models/phone_number_list_response.rb', line 1712

optional :needs_human_answer, Revox::Internal::Type::Boolean

#questionString

Parameters:

  • value (String)

Returns:

  • (String)


1702
# File 'lib/revox/models/phone_number_list_response.rb', line 1702

required :question, String

#sourceSymbol, ...



1717
1718
# File 'lib/revox/models/phone_number_list_response.rb', line 1717

optional :source,
enum: -> { Revox::Models::PhoneNumberListResponse::PhoneNumber::InboundAssistant::FaqItem::Source }

Instance Method Details

#to_hash{

Returns:

  • ({)


1404
# File 'sig/revox/models/phone_number_list_response.rbs', line 1404

def to_hash: -> {