UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

44 lines 1.45 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.CreateInstanceResponseFromJSON = CreateInstanceResponseFromJSON; exports.CreateInstanceResponseFromJSONTyped = CreateInstanceResponseFromJSONTyped; exports.CreateInstanceResponseToJSON = CreateInstanceResponseToJSON; const _1 = require("./"); function CreateInstanceResponseFromJSON(json) { return CreateInstanceResponseFromJSONTyped(json, false); } function CreateInstanceResponseFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'instance': (0, _1.InstanceFromJSON)(json['instance']), 'config': (0, _1.ConfigFromJSON)(json['config']), }; } function CreateInstanceResponseToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'instance': (0, _1.InstanceToJSON)(value.instance), 'config': (0, _1.ConfigToJSON)(value.config), }; } //# sourceMappingURL=CreateInstanceResponse.js.map