Class: Anthropic::Models::Beta::BetaCitationSearchResultLocationParam

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_citation_search_result_location_param.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_search_result_location_param.rb', line 10

required :cited_text, String

#end_block_indexInteger

Returns:

  • (Integer)


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

required :end_block_index, Integer

#search_result_indexInteger

Returns:

  • (Integer)


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

required :search_result_index, Integer

#sourceString

Returns:

  • (String)


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

required :source, String

#start_block_indexInteger

Returns:

  • (Integer)


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

required :start_block_index, Integer

#titleString?

Returns:

  • (String, nil)


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

required :title, String, nil?: true

#typeSymbol, :search_result_location

Returns:

  • (Symbol, :search_result_location)


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

required :type, const: :search_result_location