@hubbleprotocol/carpool-typescript-client
Version:
OpenAPI TypeScript client for Carpool
55 lines (54 loc) • 1.47 kB
TypeScript
/**
* Carpool Query
* The Carpool Query API
*
* OpenAPI spec version: 1.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
*
* @export
* @interface InstructionAggregateRequest
*/
export interface InstructionAggregateRequest {
/**
* A starting slot for the search (inclusive)
* @type {number}
* @memberof InstructionAggregateRequest
*/
start?: number;
/**
* An ending slot for the search (exclusive)
* @type {number}
* @memberof InstructionAggregateRequest
*/
end?: number;
/**
* An elasticsearch aggregation.
* @type {any}
* @memberof InstructionAggregateRequest
*/
aggregation: any;
/**
* AND queries - An array of elasticsearch conditions which must ALL match. Supports nesting.
* @type {Array<object>}
* @memberof InstructionAggregateRequest
*/
must?: Array<object>;
/**
* NOR queries - An array of elasticsearch conditions which must ALL NOT match. Supports nesting.
* @type {Array<object>}
* @memberof InstructionAggregateRequest
*/
mustNot?: Array<object>;
/**
* OR querires - An array of elasticsearch conditions of which, at least ONE must match. Supports nesting.
* @type {Array<object>}
* @memberof InstructionAggregateRequest
*/
should?: Array<object>;
}