blob: 26ff69df5a27b21b8285c781dc639449f0e365b3 [file] [log] [blame]
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +03001export class Tenant {
2 id: string;
3 name: string;
4 isPermitted: boolean;
Ittay Stern6f900cc2018-08-29 17:01:32 +03005 cloudOwner: string;
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +03006
7 constructor(serviceJson){
8 this.id = serviceJson["tenantID"];
9 this.name = serviceJson["tenantName"];
10 this.isPermitted = serviceJson["is-permitted"];
Ittay Stern6f900cc2018-08-29 17:01:32 +030011 this.cloudOwner = serviceJson["cloudOwner"];
Sonsino, Ofir (os0695)ff76b5e2018-07-10 15:57:37 +030012 }
13}