fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
59 lines • 2.03 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.AggregationOpType = void 0;
exports.instanceOfAggregationOpType = instanceOfAggregationOpType;
exports.AggregationOpTypeFromJSON = AggregationOpTypeFromJSON;
exports.AggregationOpTypeFromJSONTyped = AggregationOpTypeFromJSONTyped;
exports.AggregationOpTypeToJSON = AggregationOpTypeToJSON;
exports.AggregationOpTypeToJSONTyped = AggregationOpTypeToJSONTyped;
/**
* The supported aggregation operation types
* @export
* @enum {string}
*/
var AggregationOpType;
(function (AggregationOpType) {
AggregationOpType["sum"] = "sum";
AggregationOpType["countDistinct"] = "countDistinct";
AggregationOpType["distinct"] = "distinct";
AggregationOpType["avg"] = "avg";
AggregationOpType["min"] = "min";
AggregationOpType["max"] = "max";
AggregationOpType["count"] = "count";
})(AggregationOpType || (exports.AggregationOpType = AggregationOpType = {}));
function instanceOfAggregationOpType(value) {
for (const key in AggregationOpType) {
if (Object.prototype.hasOwnProperty.call(AggregationOpType, key)) {
if (AggregationOpType[key] === value) {
return true;
}
}
}
return false;
}
function AggregationOpTypeFromJSON(json) {
return AggregationOpTypeFromJSONTyped(json, false);
}
function AggregationOpTypeFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
function AggregationOpTypeToJSON(value) {
return value;
}
function AggregationOpTypeToJSONTyped(value, ignoreDiscriminator) {
return value;
}
//# sourceMappingURL=AggregationOpType.js.map