Class: Anthropic::Models::WebFetchURLSourceAll
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::WebFetchURLSourceAll
- Defined in:
- lib/anthropic/models/web_fetch_url_source_all.rb,
sig/anthropic/models/web_fetch_url_source_all.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(type: :all) ⇒ WebFetchURLSourceAll
constructor
The
url_sourcesvariant under which a source contributes in full: every result of the tool filter's source, or all user input. - #to_hash ⇒ { type: :all }
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(type: :all) ⇒ WebFetchURLSourceAll
The url_sources variant under which a source contributes in full: every result
of the tool filter's source, or all user input.
|
|
# File 'lib/anthropic/models/web_fetch_url_source_all.rb', line 11
|
Instance Attribute Details
#type ⇒ Symbol, :all
9 |
# File 'lib/anthropic/models/web_fetch_url_source_all.rb', line 9 required :type, const: :all |
Instance Method Details
#to_hash ⇒ { type: :all }
10 |
# File 'sig/anthropic/models/web_fetch_url_source_all.rbs', line 10 def to_hash: -> { type: :all } |