export interface TAG { name : string ; } export class EndPoint { public id : number ; public name : string ; public address : string ; public user : string ; public credentialType : string ; public credential : string ; public description : string ; public tokenAPI : string ; public tokenAPIProperty : string ; public tokenAPIHeader : string ; public tags : any ; constructor ( name , address , user , credential , credentialType , description , tokenAPI , tokenAPIProperty , tokenAPIHeader , tags ) { this . name = name ; this . address = address ; this . user = user ; this . credential = credential ; this . credentialType = credentialType ; this . description = description ; this . tokenAPI = tokenAPI ; this . tokenAPIProperty = tokenAPIProperty ; this . tokenAPIHeader = tokenAPIHeader ; Object . assign ( this , tags ) ; this . id = 0 ; } } export const credentialScheme = [ 'none' , 'password' , 'ssh key' , 'OAuth Secret' ] ;