UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

38 lines (37 loc) 1.41 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LiveEncodingStatsEventListQueryParamsBuilder = void 0; var LiveEncodingStatsEventListQueryParamsBuilder = /** @class */ (function () { function LiveEncodingStatsEventListQueryParamsBuilder() { this.internalParams = {}; } /** * * @param offset Index of the first item to return, starting at 0. Default is 0 */ LiveEncodingStatsEventListQueryParamsBuilder.prototype.offset = function (offset) { this.internalParams.offset = offset; return this; }; /** * * @param limit Maximum number of items to return. Default is 25, maximum is 100 */ LiveEncodingStatsEventListQueryParamsBuilder.prototype.limit = function (limit) { this.internalParams.limit = limit; return this; }; /** * * @param sortByTime Sort events by time in DESC order */ LiveEncodingStatsEventListQueryParamsBuilder.prototype.sortByTime = function (sortByTime) { this.internalParams.sortByTime = sortByTime; return this; }; LiveEncodingStatsEventListQueryParamsBuilder.prototype.buildQueryParams = function () { return this.internalParams; }; return LiveEncodingStatsEventListQueryParamsBuilder; }()); exports.LiveEncodingStatsEventListQueryParamsBuilder = LiveEncodingStatsEventListQueryParamsBuilder;