UNPKG

fastcomments-sdk

Version:

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

55 lines 1.98 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.instanceOfRemoveCommentActionResponse = instanceOfRemoveCommentActionResponse; exports.RemoveCommentActionResponseFromJSON = RemoveCommentActionResponseFromJSON; exports.RemoveCommentActionResponseFromJSONTyped = RemoveCommentActionResponseFromJSONTyped; exports.RemoveCommentActionResponseToJSON = RemoveCommentActionResponseToJSON; exports.RemoveCommentActionResponseToJSONTyped = RemoveCommentActionResponseToJSONTyped; /** * Check if a given object implements the RemoveCommentActionResponse interface. */ function instanceOfRemoveCommentActionResponse(value) { if (!('status' in value) || value['status'] === undefined) return false; if (!('action' in value) || value['action'] === undefined) return false; return true; } function RemoveCommentActionResponseFromJSON(json) { return RemoveCommentActionResponseFromJSONTyped(json, false); } function RemoveCommentActionResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'status': json['status'], 'action': json['action'], }; } function RemoveCommentActionResponseToJSON(json) { return RemoveCommentActionResponseToJSONTyped(json, false); } function RemoveCommentActionResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'status': value['status'], 'action': value['action'], }; } //# sourceMappingURL=RemoveCommentActionResponse.js.map