@forestvpn/forestvpn_api
Version:
A package to interact api.forestvpn.com (manage vpn profiles, check usage statistics, manage locations, ...)
65 lines (64 loc) • 1.49 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 { Country } from './country';
/**
*
*
* @export
* @interface Location
*/
export interface Location {
/**
* @type {string}
* @memberof Location
*/
id: string;
/**
* @type {string}
* @memberof Location
*/
name: string;
/**
* @type {number}
* @memberof Location
*/
latitude: number;
/**
* @type {number}
* @memberof Location
*/
longitude: number;
/**
* @type {Country}
* @memberof Location
*/
country: Country;
/**
* it's distance in kilometers between an user (longitude and latitude from request object) and a location object
*
* @type {number}
* @memberof Location
*/
distance?: number;
/**
* it's a rate from 0 to 1 which shows a connection quality. where 1 is good and 0 is bad
*
* @type {number}
* @memberof Location
*/
latency_rate?: number;
/**
* @type {Array<string>}
* @memberof Location
*/
alternative_names?: Array<string>;
}