sinch-rtc
Version:
RTC JavaScript/Web SDK
43 lines • 1.27 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.W3CPushProfileKeysFromJSON = W3CPushProfileKeysFromJSON;
exports.W3CPushProfileKeysFromJSONTyped = W3CPushProfileKeysFromJSONTyped;
exports.W3CPushProfileKeysToJSON = W3CPushProfileKeysToJSON;
function W3CPushProfileKeysFromJSON(json) {
return W3CPushProfileKeysFromJSONTyped(json, false);
}
function W3CPushProfileKeysFromJSONTyped(json, ignoreDiscriminator) {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'p256dh': json['p256dh'],
'auth': json['auth'],
};
}
function W3CPushProfileKeysToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'p256dh': value.p256dh,
'auth': value.auth,
};
}
//# sourceMappingURL=W3CPushProfileKeys.js.map