lib/anthropic/models/beta/beta_citation_content_block_location_param.rb



# frozen_string_literal: true

module Anthropic
  module Models
    module Beta
      class BetaCitationContentBlockLocationParam < Anthropic::Internal::Type::BaseModel
        # @!attribute cited_text
        #
        #   @return [String]
        required :cited_text, String

        # @!attribute document_index
        #
        #   @return [Integer]
        required :document_index, Integer

        # @!attribute document_title
        #
        #   @return [String, nil]
        required :document_title, String, nil?: true

        # @!attribute end_block_index
        #
        #   @return [Integer]
        required :end_block_index, Integer

        # @!attribute start_block_index
        #
        #   @return [Integer]
        required :start_block_index, Integer

        # @!attribute type
        #
        #   @return [Symbol, :content_block_location]
        required :type, const: :content_block_location

        # @!method initialize(cited_text:, document_index:, document_title:, end_block_index:, start_block_index:, type: :content_block_location)
        #   @param cited_text [String]
        #   @param document_index [Integer]
        #   @param document_title [String, nil]
        #   @param end_block_index [Integer]
        #   @param start_block_index [Integer]
        #   @param type [Symbol, :content_block_location]
      end
    end

    BetaCitationContentBlockLocationParam = Beta::BetaCitationContentBlockLocationParam
  end
end