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