wallee
Version:
TypeScript/JavaScript client for wallee
41 lines (40 loc) • 1.55 kB
TypeScript
import type { SubscriptionMetric } from './SubscriptionMetric';
/**
*
* @export
* @interface MetricSearchResponse
*/
export interface MetricSearchResponse {
/**
* An array containing the actual response objects.
* @type {Array<SubscriptionMetric>}
* @memberof MetricSearchResponse
*/
readonly data?: Array<SubscriptionMetric>;
/**
* The number of skipped objects.
* @type {number}
* @memberof MetricSearchResponse
*/
readonly offset?: number;
/**
* Whether there are more objects available after this set. If false, there are no more objects to retrieve.
* @type {boolean}
* @memberof MetricSearchResponse
*/
readonly hasMore?: boolean;
/**
* The applied limit on the number of objects returned.
* @type {number}
* @memberof MetricSearchResponse
*/
readonly limit?: number;
}
/**
* Check if a given object implements the MetricSearchResponse interface.
*/
export declare function instanceOfMetricSearchResponse(value: object): value is MetricSearchResponse;
export declare function MetricSearchResponseFromJSON(json: any): MetricSearchResponse;
export declare function MetricSearchResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricSearchResponse;
export declare function MetricSearchResponseToJSON(json: any): MetricSearchResponse;
export declare function MetricSearchResponseToJSONTyped(value?: Omit<MetricSearchResponse, 'data' | 'offset' | 'hasMore' | 'limit'> | null, ignoreDiscriminator?: boolean): any;