Resource

data class Resource(val url: URI, val checksum: String, val algorithm: String = "SHA-256") : Serializable(source)

Data describing a downloadable file

A resource consists of a location] and a checksum and algorithm to verify the integrity of the downloaded file.

Constructors

Link copied to clipboard
constructor(url: URI, checksum: String, algorithm: String = "SHA-256")

Creates a new resource

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: URI