UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

47 lines (46 loc) 1.25 kB
/** * Ocra (REST API for Sinch RTC clients) * REST API for Sinch RTC clients. * * The version of the OpenAPI document: 0.11.0 * Contact: rtc@sinch.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { EventResult, EventType } from './'; /** * Client metric event * @export * @interface ClientEvent */ export interface ClientEvent { /** * * @type {EventType} * @memberof ClientEvent */ type: EventType; /** * Domain specific name. See ocra-design README.md for clarification * @type {string} * @memberof ClientEvent */ name: string; /** * Time of the event with required precision to calculate meaningful duration. * @type {Date} * @memberof ClientEvent */ time: Date; /** * * @type {EventResult} * @memberof ClientEvent */ result?: EventResult; } export declare function ClientEventFromJSON(json: any): ClientEvent; export declare function ClientEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClientEvent; export declare function ClientEventToJSON(value?: ClientEvent | null): any;