UNPKG

pterowrap

Version:

A node.js wrapper for Pterodactyl API

18 lines (17 loc) 523 B
import ClientInstance from "../../../instance/ClientInstance"; import Server from "../Server"; export default class Allocation { private _client; _parentServer: Server; id: number; ip: string; ip_alias?: string; port: number; notes?: string; is_default: boolean; raw: any; constructor(_client: ClientInstance, data: any, _parentServer: Server); setNote(note: string): Promise<Allocation>; setPrimary(): Promise<Allocation>; delete(): Promise<unknown>; }