UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

36 lines (35 loc) 1.19 kB
import AbstractCondition from './AbstractCondition'; import ConditionOperator from './ConditionOperator'; import ConditionType from './ConditionType'; /** * @export * @class Condition */ export declare class Condition extends AbstractCondition { /** * Discriminator property for AbstractCondition * @type {string} * @memberof Condition */ readonly type: ConditionType; /** * The attribute that should be used for the evaluation. Valid values include, depending on the context: - HEIGHT - WIDTH - BITRATE - FPS - ASPECTRATIO - INPUTSTREAM - LANGUAGE - CHANNELFORMAT - CHANNELLAYOUT - STREAMCOUNT - AUDIOSTREAMCOUNT - VIDEOSTREAMCOUNT - DURATION - ROTATION (required) * @type {string} * @memberof Condition */ attribute?: string; /** * The operator that should be used for the evaluation (required) * @type {ConditionOperator} * @memberof Condition */ operator?: ConditionOperator; /** * The value that should be used for comparison (required) * @type {string} * @memberof Condition */ value?: string; constructor(obj?: Partial<Condition>); } export default Condition;