UNPKG

fastcomments-sdk

Version:

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

55 lines 1.93 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.instanceOfAggregationResponseStats = instanceOfAggregationResponseStats; exports.AggregationResponseStatsFromJSON = AggregationResponseStatsFromJSON; exports.AggregationResponseStatsFromJSONTyped = AggregationResponseStatsFromJSONTyped; exports.AggregationResponseStatsToJSON = AggregationResponseStatsToJSON; exports.AggregationResponseStatsToJSONTyped = AggregationResponseStatsToJSONTyped; /** * Check if a given object implements the AggregationResponseStats interface. */ function instanceOfAggregationResponseStats(value) { if (!('timeMS' in value) || value['timeMS'] === undefined) return false; if (!('scanned' in value) || value['scanned'] === undefined) return false; return true; } function AggregationResponseStatsFromJSON(json) { return AggregationResponseStatsFromJSONTyped(json, false); } function AggregationResponseStatsFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'timeMS': json['timeMS'], 'scanned': json['scanned'], }; } function AggregationResponseStatsToJSON(json) { return AggregationResponseStatsToJSONTyped(json, false); } function AggregationResponseStatsToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'timeMS': value['timeMS'], 'scanned': value['scanned'], }; } //# sourceMappingURL=AggregationResponseStats.js.map