Class: Revox::Models::AssistantCreateParams::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/assistant_create_params.rb', line 707
|
Instance Attribute Details
#description ⇒ String?
700
|
# File 'lib/revox/models/assistant_create_params.rb', line 700
optional :description, String
|
#enum_options ⇒ Array<String>?
705
|
# File 'lib/revox/models/assistant_create_params.rb', line 705
optional :enum_options, Revox::Internal::Type::ArrayOf[String]
|
#name ⇒ String
685
|
# File 'lib/revox/models/assistant_create_params.rb', line 685
required :name, String
|
#required ⇒ Boolean
690
|
# File 'lib/revox/models/assistant_create_params.rb', line 690
required :required, Revox::Internal::Type::Boolean
|
695
|
# File 'lib/revox/models/assistant_create_params.rb', line 695
required :type, enum: -> { Revox::AssistantCreateParams::CustomTool::InputSchema::Type }
|
Instance Method Details
#to_hash ⇒ {
520
|
# File 'sig/revox/models/assistant_create_params.rbs', line 520
def to_hash: -> {
|