UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

38 lines (37 loc) 1.43 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StreamsLiveResponseListQueryParamsBuilder = void 0; var StreamsLiveResponseListQueryParamsBuilder = /** @class */ (function () { function StreamsLiveResponseListQueryParamsBuilder() { this.internalParams = {}; } /** * * @param offset Index of the first item to return, starting at 0. Default is 0 */ StreamsLiveResponseListQueryParamsBuilder.prototype.offset = function (offset) { this.internalParams.offset = offset; return this; }; /** * * @param limit Maximum number of items to return. Default is 25, maximum is 100 */ StreamsLiveResponseListQueryParamsBuilder.prototype.limit = function (limit) { this.internalParams.limit = limit; return this; }; /** * * @param sort Order list result according an resource attribute. The fields that can be used for sorting are: + `createdAt` */ StreamsLiveResponseListQueryParamsBuilder.prototype.sort = function (sort) { this.internalParams.sort = sort; return this; }; StreamsLiveResponseListQueryParamsBuilder.prototype.buildQueryParams = function () { return this.internalParams; }; return StreamsLiveResponseListQueryParamsBuilder; }()); exports.StreamsLiveResponseListQueryParamsBuilder = StreamsLiveResponseListQueryParamsBuilder;