fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
60 lines • 2.02 kB
TypeScript
/**
* 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.
*/
import type { QueryPredicate } from './QueryPredicate';
import type { AggregationRequestSort } from './AggregationRequestSort';
import type { AggregationOperation } from './AggregationOperation';
/**
* The aggregation request accepts a resource, optional grouping keys, an array of operations, and an optional sort
* @export
* @interface AggregationRequest
*/
export interface AggregationRequest {
/**
*
* @type {Array<QueryPredicate>}
* @memberof AggregationRequest
*/
query?: Array<QueryPredicate>;
/**
*
* @type {string}
* @memberof AggregationRequest
*/
resourceName: string;
/**
*
* @type {Array<string>}
* @memberof AggregationRequest
*/
groupBy?: Array<string>;
/**
*
* @type {Array<AggregationOperation>}
* @memberof AggregationRequest
*/
operations: Array<AggregationOperation>;
/**
*
* @type {AggregationRequestSort}
* @memberof AggregationRequest
*/
sort?: AggregationRequestSort;
}
/**
* Check if a given object implements the AggregationRequest interface.
*/
export declare function instanceOfAggregationRequest(value: object): value is AggregationRequest;
export declare function AggregationRequestFromJSON(json: any): AggregationRequest;
export declare function AggregationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AggregationRequest;
export declare function AggregationRequestToJSON(json: any): AggregationRequest;
export declare function AggregationRequestToJSONTyped(value?: AggregationRequest | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=AggregationRequest.d.ts.map