Class: Anthropic::Models::CitationContentBlockLocationParam

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/citation_content_block_location_param.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(cited_text: , document_index: , document_title: , end_block_index: , start_block_index: , type: :content_block_location) ⇒ void



# File 'lib/anthropic/models/citation_content_block_location_param.rb', line 36

Instance Attribute Details

#cited_textString



9
# File 'lib/anthropic/models/citation_content_block_location_param.rb', line 9

required :cited_text, String

#document_indexInteger



14
# File 'lib/anthropic/models/citation_content_block_location_param.rb', line 14

required :document_index, Integer

#document_titleString?



19
# File 'lib/anthropic/models/citation_content_block_location_param.rb', line 19

required :document_title, String, nil?: true

#end_block_indexInteger



24
# File 'lib/anthropic/models/citation_content_block_location_param.rb', line 24

required :end_block_index, Integer

#start_block_indexInteger



29
# File 'lib/anthropic/models/citation_content_block_location_param.rb', line 29

required :start_block_index, Integer

#typeSymbol, :content_block_location



34
# File 'lib/anthropic/models/citation_content_block_location_param.rb', line 34

required :type, const: :content_block_location