import Client from "./client" ; export default class Tag { public readonly id : number ; public readonly name : string ; public readonly visible : boolean ; public readonly assignable : boolean ; public readonly canAssign : boolean ; private client : Client ; constructor ( client , id , name , visible , assignable , canAssign ) { this . client = client ; this . name = name ; this . visible = visible ; this . assignable = assignable ; this . canAssign = canAssign ; this . id = id ; } public async delete ( ) { return await this . client . deleteTag ( this . id ) ; } public toString ( ) { return "id:" + this . id + " name:" + this . name ; } }