1 2 3 4 5 6 7 8 9 10 11
export class Tenant { id: string; name: string; isPermitted: boolean; constructor(serviceJson){ this.id = serviceJson["tenantID"]; this.name = serviceJson["tenantName"]; this.isPermitted = serviceJson["is-permitted"]; } }