UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

41 lines 1.15 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.ErrorResponseFromJSON = ErrorResponseFromJSON; exports.ErrorResponseFromJSONTyped = ErrorResponseFromJSONTyped; exports.ErrorResponseToJSON = ErrorResponseToJSON; function ErrorResponseFromJSON(json) { return ErrorResponseFromJSONTyped(json, false); } function ErrorResponseFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'error': json['error'], }; } function ErrorResponseToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'error': value.error, }; } //# sourceMappingURL=ErrorResponse.js.map