2018-11-08 19:23:39 +05:30
|
|
|
export default class ListAssignee {
|
2020-04-08 14:13:33 +05:30
|
|
|
constructor(obj) {
|
2018-11-08 19:23:39 +05:30
|
|
|
this.id = obj.id;
|
|
|
|
this.name = obj.name;
|
|
|
|
this.username = obj.username;
|
2020-05-24 23:13:21 +05:30
|
|
|
this.avatar = obj.avatarUrl || obj.avatar_url || obj.avatar || gon.default_avatar_url;
|
2018-11-08 19:23:39 +05:30
|
|
|
this.path = obj.path;
|
|
|
|
this.state = obj.state;
|
|
|
|
this.webUrl = obj.web_url || obj.webUrl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
window.ListAssignee = ListAssignee;
|