@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
40 lines (39 loc) • 1.33 kB
TypeScript
export interface ManifestListQueryParams {
/**
* Index of the first item to return, starting at 0. Default is 0
* @type {number}
* @memberof ManifestListQueryParams
*/
offset?: number | undefined;
/**
* Maximum number of items to return. Default is 25, maximum is 100
* @type {number}
* @memberof ManifestListQueryParams
*/
limit?: number | undefined;
/**
* Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
* @type {string}
* @memberof ManifestListQueryParams
*/
sort?: string | undefined;
}
export declare class ManifestListQueryParamsBuilder {
private internalParams;
/**
*
* @param offset Index of the first item to return, starting at 0. Default is 0
*/
offset(offset: number): this;
/**
*
* @param limit Maximum number of items to return. Default is 25, maximum is 100
*/
limit(limit: number): this;
/**
*
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
*/
sort(sort: string): this;
buildQueryParams(): ManifestListQueryParams;
}