Class: Cerca::Models::ContentBlock::ServerToolUseContentBlock
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cerca::Models::ContentBlock::ServerToolUseContentBlock
- Defined in:
- lib/cerca/models/content_block.rb
Instance Attribute Summary collapse
- #id ⇒ String
-
#input ⇒ Object
Any JSON value.
- #name ⇒ String
- #provider_metadata ⇒ Hash{Symbol=>Hash{Symbol=>String}}?
- #type ⇒ Symbol, :server_tool_use
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Cerca::Internal::Type::BaseModel
Instance Attribute Details
#id ⇒ String
136 |
# File 'lib/cerca/models/content_block.rb', line 136 required :id, String |
#input ⇒ Object
Any JSON value. Generated SDKs may expose this value boundary as unknown or Any.
142 |
# File 'lib/cerca/models/content_block.rb', line 142 required :input, Cerca::Internal::Type::Unknown |
#name ⇒ String
147 |
# File 'lib/cerca/models/content_block.rb', line 147 required :name, String |
#provider_metadata ⇒ Hash{Symbol=>Hash{Symbol=>String}}?
157 158 159 |
# File 'lib/cerca/models/content_block.rb', line 157 optional :provider_metadata, Cerca::Internal::Type::HashOf[Cerca::Internal::Type::HashOf[String]], api_name: :providerMetadata |
#type ⇒ Symbol, :server_tool_use
152 |
# File 'lib/cerca/models/content_block.rb', line 152 required :type, const: :server_tool_use |