UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

49 lines 1.64 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.UserDebugInfoResponseFromJSON = UserDebugInfoResponseFromJSON; exports.UserDebugInfoResponseFromJSONTyped = UserDebugInfoResponseFromJSONTyped; exports.UserDebugInfoResponseToJSON = UserDebugInfoResponseToJSON; function UserDebugInfoResponseFromJSON(json) { return UserDebugInfoResponseFromJSONTyped(json, false); } function UserDebugInfoResponseFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'createdAt': (new Date(json['createdAt'])), 'blocked': json['blocked'], 'instanceCount': json['instanceCount'], 'pushProfileCount': json['pushProfileCount'], 'instanceIds': json['instanceIds'], }; } function UserDebugInfoResponseToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'createdAt': (value.createdAt.toISOString()), 'blocked': value.blocked, 'instanceCount': value.instanceCount, 'pushProfileCount': value.pushProfileCount, 'instanceIds': value.instanceIds, }; } //# sourceMappingURL=UserDebugInfoResponse.js.map