@forestvpn/forestvpn_api
Version:
A package to interact api.forestvpn.com (manage vpn profiles, check usage statistics, manage locations, ...)
101 lines (100 loc) • 2.12 kB
TypeScript
/**
* ForestVPN API
* ForestVPN - Fast, secure, and modern VPN. It offers Distributed Computing, Crypto Mining, P2P, Ad Blocking, TOR over VPN, 30+ locations, and a free version with unlimited data.
*
* OpenAPI spec version: 2.0
* Contact: support@forestvpn.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { ConnectionMode } from './connection-mode';
import { Location } from './location';
import { Server } from './server';
import { WireGuard } from './wire-guard';
/**
*
*
* @export
* @interface Device
*/
export interface Device {
/**
* @type {string}
* @memberof Device
*/
id: string;
/**
* @type {string}
* @memberof Device
*/
external_key?: string;
/**
* @type {string}
* @memberof Device
*/
name?: string;
/**
* @type {Array<string>}
* @memberof Device
*/
ips?: Array<string>;
/**
* @type {Array<string>}
* @memberof Device
*/
dns?: Array<string>;
/**
* @type {boolean}
* @memberof Device
*/
tor_over?: boolean | null;
/**
* @type {boolean}
* @memberof Device
*/
ad_blocker?: boolean | null;
/**
* @type {boolean}
* @memberof Device
*/
malware_blocker?: boolean | null;
/**
* Is the device route global networks throughout.
*
* @type {boolean}
* @memberof Device
*/
route_global_net?: boolean;
/**
* @type {ConnectionMode}
* @memberof Device
*/
connection_mode?: ConnectionMode;
/**
* @type {WireGuard}
* @memberof Device
*/
wireguard?: WireGuard;
/**
* @type {Location}
* @memberof Device
*/
location?: Location;
/**
* @type {Array<Server>}
* @memberof Device
*/
servers?: Array<Server>;
/**
* @type {Date}
* @memberof Device
*/
last_active_at?: Date;
/**
* @type {string}
* @memberof Device
*/
type?: string;
}