fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
63 lines • 2.53 kB
JavaScript
;
/* tslint:disable */
/* eslint-disable */
/**
* fastcomments
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.0.0
*
*
* 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.ResetUserNotificationsResponseCodeEnum = void 0;
exports.instanceOfResetUserNotificationsResponse = instanceOfResetUserNotificationsResponse;
exports.ResetUserNotificationsResponseFromJSON = ResetUserNotificationsResponseFromJSON;
exports.ResetUserNotificationsResponseFromJSONTyped = ResetUserNotificationsResponseFromJSONTyped;
exports.ResetUserNotificationsResponseToJSON = ResetUserNotificationsResponseToJSON;
exports.ResetUserNotificationsResponseToJSONTyped = ResetUserNotificationsResponseToJSONTyped;
const APIStatus_1 = require("./APIStatus");
/**
* @export
* @enum {string}
*/
var ResetUserNotificationsResponseCodeEnum;
(function (ResetUserNotificationsResponseCodeEnum) {
ResetUserNotificationsResponseCodeEnum["ignored_since_impersonated"] = "ignored-since-impersonated";
})(ResetUserNotificationsResponseCodeEnum || (exports.ResetUserNotificationsResponseCodeEnum = ResetUserNotificationsResponseCodeEnum = {}));
/**
* Check if a given object implements the ResetUserNotificationsResponse interface.
*/
function instanceOfResetUserNotificationsResponse(value) {
if (!('status' in value) || value['status'] === undefined)
return false;
return true;
}
function ResetUserNotificationsResponseFromJSON(json) {
return ResetUserNotificationsResponseFromJSONTyped(json, false);
}
function ResetUserNotificationsResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'status': (0, APIStatus_1.APIStatusFromJSON)(json['status']),
'code': json['code'] == null ? undefined : json['code'],
};
}
function ResetUserNotificationsResponseToJSON(json) {
return ResetUserNotificationsResponseToJSONTyped(json, false);
}
function ResetUserNotificationsResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'status': (0, APIStatus_1.APIStatusToJSON)(value['status']),
'code': value['code'],
};
}
//# sourceMappingURL=ResetUserNotificationsResponse.js.map