@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
30 lines (29 loc) • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.KeyframeListQueryParamsBuilder = void 0;
var KeyframeListQueryParamsBuilder = /** @class */ (function () {
function KeyframeListQueryParamsBuilder() {
this.internalParams = {};
}
/**
*
* @param offset Index of the first item to return, starting at 0. Default is 0
*/
KeyframeListQueryParamsBuilder.prototype.offset = function (offset) {
this.internalParams.offset = offset;
return this;
};
/**
*
* @param limit Maximum number of items to return. Default is 25, maximum is 100
*/
KeyframeListQueryParamsBuilder.prototype.limit = function (limit) {
this.internalParams.limit = limit;
return this;
};
KeyframeListQueryParamsBuilder.prototype.buildQueryParams = function () {
return this.internalParams;
};
return KeyframeListQueryParamsBuilder;
}());
exports.KeyframeListQueryParamsBuilder = KeyframeListQueryParamsBuilder;