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; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 5 | cloudOwner: string; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 6 | |
| 7 | constructor(serviceJson){ |
| 8 | this.id = serviceJson["tenantID"]; |
| 9 | this.name = serviceJson["tenantName"]; |
| 10 | this.isPermitted = serviceJson["is-permitted"]; |
Ittay Stern | 6f900cc | 2018-08-29 17:01:32 +0300 | [diff] [blame] | 11 | this.cloudOwner = serviceJson["cloudOwner"]; |
Sonsino, Ofir (os0695) | ff76b5e | 2018-07-10 15:57:37 +0300 | [diff] [blame] | 12 | } |
| 13 | } |