-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-generated by Jenkins job OTT-Generate-ClientLibs/950, branch BEO…
…-12548
- Loading branch information
Backend CI
committed
Aug 16, 2022
1 parent
c5a85a6
commit f2cb4c1
Showing
22 changed files
with
266 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
import { KalturaObjectMetadata } from '../kaltura-object-base'; | ||
import { KalturaTypesFactory } from '../kaltura-types-factory'; | ||
import { KalturaCondition } from './KalturaCondition'; | ||
import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base'; | ||
|
||
export interface KalturaBasePromotionArgs extends KalturaObjectBaseArgs { | ||
conditions? : KalturaCondition[]; | ||
} | ||
|
||
|
||
export class KalturaBasePromotion extends KalturaObjectBase { | ||
|
||
conditions : KalturaCondition[]; | ||
|
||
constructor(data? : KalturaBasePromotionArgs) | ||
{ | ||
super(data); | ||
if (typeof this.conditions === 'undefined') this.conditions = []; | ||
} | ||
|
||
protected _getMetadata() : KalturaObjectMetadata | ||
{ | ||
const result = super._getMetadata(); | ||
Object.assign( | ||
result.properties, | ||
{ | ||
objectType : { type : 'c', default : 'KalturaBasePromotion' }, | ||
conditions : { type : 'a', subTypeConstructor : KalturaCondition, subType : 'KalturaCondition' } | ||
} | ||
); | ||
return result; | ||
} | ||
} | ||
|
||
KalturaTypesFactory.registerType('KalturaBasePromotion',KalturaBasePromotion); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
|
||
export enum KalturaBooleanOperator { | ||
and = 'And', | ||
or = 'Or' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
|
||
|
||
export enum KalturaCampaignOrderBy { | ||
startDateDesc = 'START_DATE_DESC' | ||
endDateAsc = 'END_DATE_ASC', | ||
endDateDesc = 'END_DATE_DESC', | ||
startDateAsc = 'START_DATE_ASC', | ||
startDateDesc = 'START_DATE_DESC', | ||
updateDateAsc = 'UPDATE_DATE_ASC', | ||
updateDateDesc = 'UPDATE_DATE_DESC' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
import { KalturaObjectMetadata } from '../kaltura-object-base'; | ||
import { KalturaTypesFactory } from '../kaltura-types-factory'; | ||
import { KalturaCondition, KalturaConditionArgs } from './KalturaCondition'; | ||
|
||
export interface KalturaChannelConditionArgs extends KalturaConditionArgs { | ||
idIn? : string; | ||
} | ||
|
||
|
||
export class KalturaChannelCondition extends KalturaCondition { | ||
|
||
idIn : string; | ||
|
||
constructor(data? : KalturaChannelConditionArgs) | ||
{ | ||
super(data); | ||
} | ||
|
||
protected _getMetadata() : KalturaObjectMetadata | ||
{ | ||
const result = super._getMetadata(); | ||
Object.assign( | ||
result.properties, | ||
{ | ||
objectType : { type : 'c', default : 'KalturaChannelCondition' }, | ||
idIn : { type : 's' } | ||
} | ||
); | ||
return result; | ||
} | ||
} | ||
|
||
KalturaTypesFactory.registerType('KalturaChannelCondition',KalturaChannelCondition); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
import { KalturaObjectMetadata } from '../kaltura-object-base'; | ||
import { KalturaTypesFactory } from '../kaltura-types-factory'; | ||
import { KalturaBasePromotion, KalturaBasePromotionArgs } from './KalturaBasePromotion'; | ||
|
||
export interface KalturaCouponPromotionArgs extends KalturaBasePromotionArgs { | ||
couponGroupId? : number; | ||
} | ||
|
||
|
||
export class KalturaCouponPromotion extends KalturaBasePromotion { | ||
|
||
couponGroupId : number; | ||
|
||
constructor(data? : KalturaCouponPromotionArgs) | ||
{ | ||
super(data); | ||
} | ||
|
||
protected _getMetadata() : KalturaObjectMetadata | ||
{ | ||
const result = super._getMetadata(); | ||
Object.assign( | ||
result.properties, | ||
{ | ||
objectType : { type : 'c', default : 'KalturaCouponPromotion' }, | ||
couponGroupId : { type : 'n' } | ||
} | ||
); | ||
return result; | ||
} | ||
} | ||
|
||
KalturaTypesFactory.registerType('KalturaCouponPromotion',KalturaCouponPromotion); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
import { KalturaObjectMetadata } from '../kaltura-object-base'; | ||
import { KalturaTypesFactory } from '../kaltura-types-factory'; | ||
import { KalturaCondition, KalturaConditionArgs } from './KalturaCondition'; | ||
|
||
export interface KalturaFileTypeConditionArgs extends KalturaConditionArgs { | ||
idIn? : string; | ||
} | ||
|
||
|
||
export class KalturaFileTypeCondition extends KalturaCondition { | ||
|
||
idIn : string; | ||
|
||
constructor(data? : KalturaFileTypeConditionArgs) | ||
{ | ||
super(data); | ||
} | ||
|
||
protected _getMetadata() : KalturaObjectMetadata | ||
{ | ||
const result = super._getMetadata(); | ||
Object.assign( | ||
result.properties, | ||
{ | ||
objectType : { type : 'c', default : 'KalturaFileTypeCondition' }, | ||
idIn : { type : 's' } | ||
} | ||
); | ||
return result; | ||
} | ||
} | ||
|
||
KalturaTypesFactory.registerType('KalturaFileTypeCondition',KalturaFileTypeCondition); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.