Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kd_clients/core/Models/mod.ts>AssetModel

Various HTTP clients for miscellaneous use.
Latest
interface AssetModel
import { type AssetModel } from "https://deno.land/x/kd_clients@v1.0.0-preview.14/core/Models/mod.ts";

Represents a GitHub release asset.

Properties

url: string

Gets the url to the asset.

id: number

Gets the id of the asset.

node_id: string

Gets the node id of the asset.

name: string

Gets the name of the asset.

label: string

Gets the label or display name of asset.

content_type: string

Gets the type of content of the asset.

state: string

Gets the state of the asset.

size: number

Gets the size of the asset in bytes.

download_count: number

Gets the number of of times the asset has been downloaded.

created_at: string

Gets the date and time the asset was created.

updated_at: string

Gets the date and time the asset was last updated.

browser_download_url: string

Gets the browser download url of the asset.