@forestvpn/forestvpn_api
Version:
A package to interact api.forestvpn.com (manage vpn profiles, check usage statistics, manage locations, ...)
69 lines (68 loc) • 1.88 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.
*/
/**
*
*
* @export
* @interface AggregatedDataUsageStats
*/
export interface AggregatedDataUsageStats {
/**
* Aggregation value. It might de a hour, day, week, or month
*
* @type {string}
* @memberof AggregatedDataUsageStats
*/
aggr_interval?: string;
/**
* User device name, useful for retrieve extra data through device API
*
* @type {string}
* @memberof AggregatedDataUsageStats
*/
device_id?: string;
/**
* User device name, useful for showing in the chart
*
* @type {string}
* @memberof AggregatedDataUsageStats
*/
device_name?: string;
/**
* Sum of the received bytes aggregated around the device and aggr_interval
*
* @type {number}
* @memberof AggregatedDataUsageStats
*/
received_bytes?: number;
/**
* Sum of the transmitted bytes aggregated around the device and aggr_interval
*
* @type {number}
* @memberof AggregatedDataUsageStats
*/
transmitted_bytes?: number;
/**
* Sum of the received + transmitted bytes aggregated around the device and aggr_interval
*
* @type {number}
* @memberof AggregatedDataUsageStats
*/
total_bytes?: number;
/**
* Minutes of usage time aggregated around the device and aggr_interval
*
* @type {number}
* @memberof AggregatedDataUsageStats
*/
usage_time?: number;
}