@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
70 lines (69 loc) • 2.38 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.StreamKeyListQueryParamsBuilder = void 0;
var StreamKeyListQueryParamsBuilder = /** @class */ (function () {
function StreamKeyListQueryParamsBuilder() {
this.internalParams = {};
}
/**
*
* @param offset Index of the first item to return, starting at 0. Default is 0
*/
StreamKeyListQueryParamsBuilder.prototype.offset = function (offset) {
this.internalParams.offset = offset;
return this;
};
/**
*
* @param limit Maximum number of items to return. Default is 25, maximum is 100
*/
StreamKeyListQueryParamsBuilder.prototype.limit = function (limit) {
this.internalParams.limit = limit;
return this;
};
/**
*
* @param sort Order list result according a stream key attribute. The fields that can be used for sorting are: + `createdAt` + `name`
*/
StreamKeyListQueryParamsBuilder.prototype.sort = function (sort) {
this.internalParams.sort = sort;
return this;
};
/**
*
* @param type Filter stream keys by type
*/
StreamKeyListQueryParamsBuilder.prototype.type = function (type) {
this.internalParams.type = type;
return this;
};
/**
*
* @param status Filter stream keys by status
*/
StreamKeyListQueryParamsBuilder.prototype.status = function (status) {
this.internalParams.status = status;
return this;
};
/**
*
* @param assignedIngestPointId Filter stream keys by assigned ingest point id
*/
StreamKeyListQueryParamsBuilder.prototype.assignedIngestPointId = function (assignedIngestPointId) {
this.internalParams.assignedIngestPointId = assignedIngestPointId;
return this;
};
/**
*
* @param assignedEncodingId Filter stream keys by assigned encoding id
*/
StreamKeyListQueryParamsBuilder.prototype.assignedEncodingId = function (assignedEncodingId) {
this.internalParams.assignedEncodingId = assignedEncodingId;
return this;
};
StreamKeyListQueryParamsBuilder.prototype.buildQueryParams = function () {
return this.internalParams;
};
return StreamKeyListQueryParamsBuilder;
}());
exports.StreamKeyListQueryParamsBuilder = StreamKeyListQueryParamsBuilder;