@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
46 lines (45 loc) • 1.67 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DashManifestListQueryParamsBuilder = void 0;
var DashManifestListQueryParamsBuilder = /** @class */ (function () {
function DashManifestListQueryParamsBuilder() {
this.internalParams = {};
}
/**
*
* @param offset Index of the first item to return, starting at 0. Default is 0
*/
DashManifestListQueryParamsBuilder.prototype.offset = function (offset) {
this.internalParams.offset = offset;
return this;
};
/**
*
* @param limit Maximum number of items to return. Default is 25, maximum is 100
*/
DashManifestListQueryParamsBuilder.prototype.limit = function (limit) {
this.internalParams.limit = limit;
return 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`
*/
DashManifestListQueryParamsBuilder.prototype.sort = function (sort) {
this.internalParams.sort = sort;
return this;
};
/**
*
* @param encodingId Get the manifests that belong to that encoding id
*/
DashManifestListQueryParamsBuilder.prototype.encodingId = function (encodingId) {
this.internalParams.encodingId = encodingId;
return this;
};
DashManifestListQueryParamsBuilder.prototype.buildQueryParams = function () {
return this.internalParams;
};
return DashManifestListQueryParamsBuilder;
}());
exports.DashManifestListQueryParamsBuilder = DashManifestListQueryParamsBuilder;