This commit is contained in:
hu xiaotong
2025-07-02 16:12:52 +08:00
commit 0246bc7060
48 changed files with 460639 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
export namespace model {
export class CaptureStatus {
is_capturing: boolean;
status: string;
error?: string;
static createFrom(source: any = {}) {
return new CaptureStatus(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.is_capturing = source["is_capturing"];
this.status = source["status"];
this.error = source["error"];
}
}
export class NetworkInterface {
name: string;
description: string;
addresses: string[];
is_loopback: boolean;
static createFrom(source: any = {}) {
return new NetworkInterface(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.name = source["name"];
this.description = source["description"];
this.addresses = source["addresses"];
this.is_loopback = source["is_loopback"];
}
}
}