class

OpenAI::UrlAnnotation

Inherits JSON::Serializable < Reference < Object

Annotation that references a URL.

Constructors

new(type_value : UrlAnnotationType = UrlAnnotationType::Url, source : UrlAnnotationSource = UrlAnnotationSource.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

source

URL referenced by the annotation.

Source
source=(source : UrlAnnotationSource)

URL referenced by the annotation.

Source
type_value

Type discriminator that is always url for this annotation.

Source
type_value=(type_value : UrlAnnotationType)

Type discriminator that is always url for this annotation.

Source