Class: Anthropic::Models::Beta::BetaCitationContentBlockLocation

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

Instance Attribute Summary collapse

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 Anthropic::Internal::Type::BaseModel

Instance Attribute Details

#cited_textString

Returns:

  • (String)


10
# File 'lib/anthropic/models/beta/beta_citation_content_block_location.rb', line 10

required :cited_text, String

#document_indexInteger

Returns:

  • (Integer)


15
# File 'lib/anthropic/models/beta/beta_citation_content_block_location.rb', line 15

required :document_index, Integer

#document_titleString?

Returns:

  • (String, nil)


20
# File 'lib/anthropic/models/beta/beta_citation_content_block_location.rb', line 20

required :document_title, String, nil?: true

#end_block_indexInteger

Returns:

  • (Integer)


25
# File 'lib/anthropic/models/beta/beta_citation_content_block_location.rb', line 25

required :end_block_index, Integer

#file_idString?

Returns:

  • (String, nil)


30
# File 'lib/anthropic/models/beta/beta_citation_content_block_location.rb', line 30

required :file_id, String, nil?: true

#start_block_indexInteger

Returns:

  • (Integer)


35
# File 'lib/anthropic/models/beta/beta_citation_content_block_location.rb', line 35

required :start_block_index, Integer

#typeSymbol, :content_block_location

Returns:

  • (Symbol, :content_block_location)


40
# File 'lib/anthropic/models/beta/beta_citation_content_block_location.rb', line 40

required :type, const: :content_block_location