UNPKG

fastcomments-sdk

Version:

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

55 lines 1.95 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.instanceOfModerationExportResponse = instanceOfModerationExportResponse; exports.ModerationExportResponseFromJSON = ModerationExportResponseFromJSON; exports.ModerationExportResponseFromJSONTyped = ModerationExportResponseFromJSONTyped; exports.ModerationExportResponseToJSON = ModerationExportResponseToJSON; exports.ModerationExportResponseToJSONTyped = ModerationExportResponseToJSONTyped; /** * Check if a given object implements the ModerationExportResponse interface. */ function instanceOfModerationExportResponse(value) { if (!('status' in value) || value['status'] === undefined) return false; if (!('batchJobId' in value) || value['batchJobId'] === undefined) return false; return true; } function ModerationExportResponseFromJSON(json) { return ModerationExportResponseFromJSONTyped(json, false); } function ModerationExportResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'status': json['status'], 'batchJobId': json['batchJobId'], }; } function ModerationExportResponseToJSON(json) { return ModerationExportResponseToJSONTyped(json, false); } function ModerationExportResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'status': value['status'], 'batchJobId': value['batchJobId'], }; } //# sourceMappingURL=ModerationExportResponse.js.map