UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

46 lines (45 loc) 1.8 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LiveStandbyPoolEventLogListQueryParamsBuilder = void 0; var LiveStandbyPoolEventLogListQueryParamsBuilder = /** @class */ (function () { function LiveStandbyPoolEventLogListQueryParamsBuilder() { this.internalParams = {}; } /** * * @param offset Index of the first item to return, starting at 0. Default is 0 */ LiveStandbyPoolEventLogListQueryParamsBuilder.prototype.offset = function (offset) { this.internalParams.offset = offset; return this; }; /** * * @param limit Maximum number of items to return. Default is 25, maximum is 100 */ LiveStandbyPoolEventLogListQueryParamsBuilder.prototype.limit = function (limit) { this.internalParams.limit = limit; return this; }; /** * * @param sort Order list result according a event log attribute. The fields that can be used for sorting are: + `createdAt` + `eventType` + `standByPoolId` */ LiveStandbyPoolEventLogListQueryParamsBuilder.prototype.sort = function (sort) { this.internalParams.sort = sort; return this; }; /** * * @param eventType Filter event logs by log type. Allowed values are: + `INFO` + `WARN` + `ERROR` */ LiveStandbyPoolEventLogListQueryParamsBuilder.prototype.eventType = function (eventType) { this.internalParams.eventType = eventType; return this; }; LiveStandbyPoolEventLogListQueryParamsBuilder.prototype.buildQueryParams = function () { return this.internalParams; }; return LiveStandbyPoolEventLogListQueryParamsBuilder; }()); exports.LiveStandbyPoolEventLogListQueryParamsBuilder = LiveStandbyPoolEventLogListQueryParamsBuilder;