import { BaseIssuanceModel } from '../../index' ; /**
 * Class to model the schema as defined by Presentation Exchange.
 */ export class PresentationExchangeSchemaModel { param url param name param purpose constructor ( /**
     * Unique identifier for the requested type
     */ public uri ? , /**
     * The resource MAY contain this property, and if present its value SHOULD be a human-friendly name that describes what the Presentation Definition pertains to.
     */ public name ? , /**
     * The resource MAY contain this property, and if present its value MUST be a string that describes the purpose for which the Presentation Definition’s inputs are being requested.
     */ public purpose ? ) { } param input public populateFrom ( input ) { this . name = input . name ; this . purpose = input . purpose ; this . uri = [ ] ; for ( let inx = 0 ; input . uri && inx < input . uri . length ; inx ++ ) { this . uri . push ( input . uri [ inx ] ) ; } return this ; } }