lib/anthropic/models/url_image_source.rb



# frozen_string_literal: true

module Anthropic
  module Models
    class URLImageSource < Anthropic::Internal::Type::BaseModel
      # @!attribute type
      #
      #   @return [Symbol, :url]
      required :type, const: :url

      # @!attribute url
      #
      #   @return [String]
      required :url, String

      # @!parse
      #   # @param url [String]
      #   # @param type [Symbol, :url]
      #   #
      #   def initialize(url:, type: :url, **) = super

      # def initialize: (Hash | Anthropic::Internal::Type::BaseModel) -> void
    end
  end
end