sinch-rtc
Version:
RTC JavaScript/Web SDK
43 lines • 1.39 kB
JavaScript
;
/* 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.PushNotificationDestinationFromJSON = PushNotificationDestinationFromJSON;
exports.PushNotificationDestinationFromJSONTyped = PushNotificationDestinationFromJSONTyped;
exports.PushNotificationDestinationToJSON = PushNotificationDestinationToJSON;
function PushNotificationDestinationFromJSON(json) {
return PushNotificationDestinationFromJSONTyped(json, false);
}
function PushNotificationDestinationFromJSONTyped(json, ignoreDiscriminator) {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'userId': json['userId'],
'instanceId': json['instanceId'],
};
}
function PushNotificationDestinationToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'userId': value.userId,
'instanceId': value.instanceId,
};
}
//# sourceMappingURL=PushNotificationDestination.js.map