import { AuthenticationModel } from "./AuthenticationModel" ; import { DataProviderModel } from "./DataProviderModel" ; /**
 * Data Model to describe external service authentication
 */ export class EventBindingModel { /**
     * DataProviderModel instance describing token augmentation process
     */ public onTokenAugmentation ? : DataProviderModel ; param input param authentication static fromJSON ( input , authentication ? ) { const { onTokenAugmentation } = input ; const result = new EventBindingModel ( ) ; if ( onTokenAugmentation ) { result . onTokenAugmentation = DataProviderModel . fromJSON ( onTokenAugmentation , authentication ) ; } return result ; } }