Url

@SerialName(value = "url")
data class Url(val url: String) : DocumentSource(source)

Represents a URL source for a document.

This class specifies the URL from which a document is accessed. It is part of the DocumentSource sealed interface and is used to identify a document's location via a web address.

Constructors

Link copied to clipboard
constructor(url: String)

Properties

Link copied to clipboard
val url: String

The URL string pointing to the document source.