Class: Revox::Models::AssistantUpdateResponse::Assistant::StructuredOutputConfig
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_update_response.rb', line 1243
|
Instance Attribute Details
#description ⇒ String?
1236
|
# File 'lib/revox/models/assistant_update_response.rb', line 1236
optional :description, String
|
#enum_options ⇒ Array<String>?
1241
|
# File 'lib/revox/models/assistant_update_response.rb', line 1241
optional :enum_options, Revox::Internal::Type::ArrayOf[String]
|
#name ⇒ String
1220
|
# File 'lib/revox/models/assistant_update_response.rb', line 1220
required :name, String
|
#required ⇒ Boolean
1225
|
# File 'lib/revox/models/assistant_update_response.rb', line 1225
required :required, Revox::Internal::Type::Boolean
|
1230
1231
|
# File 'lib/revox/models/assistant_update_response.rb', line 1230
required :type,
enum: -> { Revox::Models::AssistantUpdateResponse::Assistant::StructuredOutputConfig::Type }
|
Instance Method Details
#to_hash ⇒ {
979
|
# File 'sig/revox/models/assistant_update_response.rbs', line 979
def to_hash: -> {
|