UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

45 lines 1.39 kB
"use strict"; /* 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.RtcProfileFromJSON = RtcProfileFromJSON; exports.RtcProfileFromJSONTyped = RtcProfileFromJSONTyped; exports.RtcProfileToJSON = RtcProfileToJSON; function RtcProfileFromJSON(json) { return RtcProfileFromJSONTyped(json, false); } function RtcProfileFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'mxpEncryptionKey': json['mxpEncryptionKey'], 'mxpBroadcastChannel': json['mxpBroadcastChannel'], 'mxpSignalChannel': json['mxpSignalChannel'], }; } function RtcProfileToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'mxpEncryptionKey': value.mxpEncryptionKey, 'mxpBroadcastChannel': value.mxpBroadcastChannel, 'mxpSignalChannel': value.mxpSignalChannel, }; } //# sourceMappingURL=RtcProfile.js.map