Class: Revox::Models::CallCreateResponse::Call::Assistant::CustomTool::InputSchema
Defined Under Namespace
Modules: Type
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(name:, required:, type:, description: nil, enum_options: nil) ⇒ Object
|
# File 'lib/revox/models/call_create_response.rb', line 1009
|
Instance Attribute Details
#description ⇒ String?
1002
|
# File 'lib/revox/models/call_create_response.rb', line 1002
optional :description, String
|
#enum_options ⇒ Array<String>?
1007
|
# File 'lib/revox/models/call_create_response.rb', line 1007
optional :enum_options, Revox::Internal::Type::ArrayOf[String]
|
#name ⇒ String
986
|
# File 'lib/revox/models/call_create_response.rb', line 986
required :name, String
|
#required ⇒ Boolean
991
|
# File 'lib/revox/models/call_create_response.rb', line 991
required :required, Revox::Internal::Type::Boolean
|
996
997
|
# File 'lib/revox/models/call_create_response.rb', line 996
required :type,
enum: -> { Revox::Models::CallCreateResponse::Call::Assistant::CustomTool::InputSchema::Type }
|
Instance Method Details
#to_hash ⇒ {
692
|
# File 'sig/revox/models/call_create_response.rbs', line 692
def to_hash: -> {
|