/**
 * @class
 * @description This class stores statistics related to P2P
 */
export default class P2PStatsBean {
    provider: string;
    internal_provider: string;
    is_p2p: boolean;
    downloaded_bytes?: number;
    downloaded_chunks?: number;
    errors?: number;
    time?: number;
    max_bandwidth?: number;
    min_bandwidth?: number;
    avg_ping_time?: number;
    min_ping_time?: number;
    max_ping_time?: number;
    resource?: string;
    video_downloaded_bytes?: number;
    video_downloaded_chunks?: number;
    video_time?: number;
    uploaded_bytes?: number;
    uploaded_chunks?: number;
    upload_time?: number;
    late_uploaded_chunks?: number;
    late_uploaded_bytes?: number;
    late_downloaded_bytes?: number;
    missed_downloaded_chunks?: number;
    timeout_errors?: number;
    other_errors?: number;
    active_peers?: number;
    peers?: number;
    response_bytes?: number;
    min_response_bytes?: number;
    max_response_bytes?: number;
    response_bytes_samples?: number;
    response_time?: number;
    min_response_time?: number;
    max_response_time?: number;
    response_time_samples?: number;
    network_latency?: number;
    min_network_latency?: number;
    max_network_latency?: number;
    network_latency_samples?: number;
    throughput?: number;
    min_throughput?: number;
    max_throughput?: number;
    throughput_samples?: number;
    peers_available?: number;
    max_peers_available?: number;
    min_peers_available?: number;
    peers_used?: number;
    peers_parallel_used?: number;
    max_peers_parallel_used?: number;
    min_peers_parallel_used?: number;
    peer_discovery_time?: number;
    peer_connection_time?: number;
    constructor(provider: string, internal_provider: string, is_p2p: boolean, downloaded_bytes?: number, downloaded_chunks?: number, errors?: number, time?: number, max_bandwidth?: number, min_bandwidth?: number, avg_ping_time?: number, min_ping_time?: number, max_ping_time?: number, resource?: string, video_downloaded_bytes?: number, video_downloaded_chunks?: number, video_time?: number, uploaded_bytes?: number, uploaded_chunks?: number, upload_time?: number, late_uploaded_chunks?: number, late_uploaded_bytes?: number, late_downloaded_bytes?: number, missed_downloaded_chunks?: number, timeout_errors?: number, other_errors?: number, active_peers?: number, peers?: number, response_bytes?: number, min_response_bytes?: number, max_response_bytes?: number, response_bytes_samples?: number, response_time?: number, min_response_time?: number, max_response_time?: number, response_time_samples?: number, network_latency?: number, min_network_latency?: number, max_network_latency?: number, network_latency_samples?: number, throughput?: number, min_throughput?: number, max_throughput?: number, throughput_samples?: number, peers_available?: number, max_peers_available?: number, min_peers_available?: number, peers_used?: number, peers_parallel_used?: number, max_peers_parallel_used?: number, min_peers_parallel_used?: number, peer_discovery_time?: number, peer_connection_time?: number);
}
