UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

42 lines 1.43 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.ApplicationConfigPushConfigFromJSON = ApplicationConfigPushConfigFromJSON; exports.ApplicationConfigPushConfigFromJSONTyped = ApplicationConfigPushConfigFromJSONTyped; exports.ApplicationConfigPushConfigToJSON = ApplicationConfigPushConfigToJSON; const runtime_1 = require("../runtime"); function ApplicationConfigPushConfigFromJSON(json) { return ApplicationConfigPushConfigFromJSONTyped(json, false); } function ApplicationConfigPushConfigFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'fcmSenderId': !(0, runtime_1.exists)(json, 'fcmSenderId') ? undefined : json['fcmSenderId'], }; } function ApplicationConfigPushConfigToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'fcmSenderId': value.fcmSenderId, }; } //# sourceMappingURL=ApplicationConfigPushConfig.js.map