UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

45 lines (44 loc) 1.25 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LiveStandbyPoolEncodingListQueryParamsBuilder = void 0; class LiveStandbyPoolEncodingListQueryParamsBuilder { constructor() { this.internalParams = {}; } /** * * @param offset Index of the first item to return, starting at 0. Default is 0 */ offset(offset) { this.internalParams.offset = offset; return this; } /** * * @param limit Maximum number of items to return. Default is 25, maximum is 100 */ limit(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` */ sort(sort) { this.internalParams.sort = sort; return this; } /** * * @param status Filter standby encodings by status */ status(status) { this.internalParams.status = status; return this; } buildQueryParams() { return this.internalParams; } } exports.LiveStandbyPoolEncodingListQueryParamsBuilder = LiveStandbyPoolEncodingListQueryParamsBuilder;