sinch-rtc
Version:
RTC JavaScript/Web SDK
41 lines • 1.21 kB
JavaScript
;
/* tslint:disable */
/* eslint-disable */
/**
* 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.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.IceServerAllOfFromJSON = IceServerAllOfFromJSON;
exports.IceServerAllOfFromJSONTyped = IceServerAllOfFromJSONTyped;
exports.IceServerAllOfToJSON = IceServerAllOfToJSON;
function IceServerAllOfFromJSON(json) {
return IceServerAllOfFromJSONTyped(json, false);
}
function IceServerAllOfFromJSONTyped(json, ignoreDiscriminator) {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'validUntil': (new Date(json['validUntil'])),
};
}
function IceServerAllOfToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'validUntil': (value.validUntil.toISOString()),
};
}
//# sourceMappingURL=IceServerAllOf.js.map