Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModrinthObject<ModelStatic, ObjectResult, ObjectSource>

Type parameters

Hierarchy

Index

Constructors

constructor

  • new ModrinthObject<ModelStatic, ObjectResult, ObjectSource>(modrinth: Modrinth, source: ObjectSource): ModrinthObject<ModelStatic, ObjectResult, ObjectSource>

Properties

id

id: string

object_url

object_url: string

resource_url

resource_url: string

Methods

get

  • get(): Promise<ObjectResult>

getObjectLocation

  • getObjectLocation(): string

getObjectURL

  • getObjectURL(): string

getResourceLocation

  • getResourceLocation(): string

getResourceURL

  • getResourceURL(): string

toJSON

  • toJSON(): unknown

toString

  • toString(): string

Generated using TypeDoc