Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 1 | export class Tenant { |
2 | id: string; | ||||
3 | name: string; | ||||
4 | isPermitted: boolean; | ||||
5 | |||||
6 | constructor(serviceJson){ | ||||
7 | this.id = serviceJson["tenantID"]; | ||||
8 | this.name = serviceJson["tenantName"]; | ||||
9 | this.isPermitted = serviceJson["is-permitted"]; | ||||
10 | } | ||||
11 | } |