[ADF-3540] Start Task Cloud by cli - Core module changes (#4006)

* [ADF-3540] Added username and id to the usermodel

* [ADF-3540] Added tests
This commit is contained in:
Deepak Paul
2018-11-23 15:01:55 +05:30
committed by Maurizio Vitale
parent 34a30c0f14
commit 74851ac651
4 changed files with 14 additions and 6 deletions

View File

@@ -17,15 +17,19 @@
export class IdentityUserModel {
id: string;
firstName: string;
lastName: string;
email: string;
username: string;
constructor(obj?: any) {
if (obj) {
this.id = obj.id || null;
this.firstName = obj.firstName || null;
this.lastName = obj.lastName || null;
this.email = obj.email || null;
this.username = obj.username || null;
}
}
}