UNPKG

fastcomments-sdk

Version:

FastComments API Client - A SDK for interacting with the FastComments API

55 lines 1.92 kB
"use strict"; /* 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.DeleteCommentAction = void 0; exports.instanceOfDeleteCommentAction = instanceOfDeleteCommentAction; exports.DeleteCommentActionFromJSON = DeleteCommentActionFromJSON; exports.DeleteCommentActionFromJSONTyped = DeleteCommentActionFromJSONTyped; exports.DeleteCommentActionToJSON = DeleteCommentActionToJSON; exports.DeleteCommentActionToJSONTyped = DeleteCommentActionToJSONTyped; /** * * @export * @enum {string} */ var DeleteCommentAction; (function (DeleteCommentAction) { DeleteCommentAction["already_deleted"] = "already-deleted"; DeleteCommentAction["hard_removed"] = "hard-removed"; DeleteCommentAction["anonymized"] = "anonymized"; })(DeleteCommentAction || (exports.DeleteCommentAction = DeleteCommentAction = {})); function instanceOfDeleteCommentAction(value) { for (const key in DeleteCommentAction) { if (Object.prototype.hasOwnProperty.call(DeleteCommentAction, key)) { if (DeleteCommentAction[key] === value) { return true; } } } return false; } function DeleteCommentActionFromJSON(json) { return DeleteCommentActionFromJSONTyped(json, false); } function DeleteCommentActionFromJSONTyped(json, ignoreDiscriminator) { return json; } function DeleteCommentActionToJSON(value) { return value; } function DeleteCommentActionToJSONTyped(value, ignoreDiscriminator) { return value; } //# sourceMappingURL=DeleteCommentAction.js.map