node-firewalla
Version:
Package to talk your firewalla box & API
26 lines • 988 B
TypeScript
export declare class FWGroup {
gid: string;
eid: string;
aid: string;
name: string;
localIp: string;
symmetricKeyCipher: string;
symmetricKeyPlain: string;
/**
* @param {string} gid - Group ID
* @param {string} eid - ETP ID, I think?
* @param {string} aid - ?? unknown
* @param {string} symmetricKeyCipher - The symmetric key for communication, encrypted using the public key of the ETP token
* @param {string} localIp - The local IP of the FWGroup
*/
constructor(gid: string, eid: string, aid: string, symmetricKeyCipher: string, name: string, localIp: string);
/**
* @param {string} obj - The JSON from the ETP API refering to a FWGroup
* @param {string} localIp - The local IP of the FWGroup
*/
static fromJson(obj: any, localIp: any): FWGroup;
getSymmetricKey(): string;
hasLocalIp(): boolean;
getMessageUrl(): string;
}
//# sourceMappingURL=FWGroup.d.ts.map