1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-06 10:33:57 +00:00

sync organizations

This commit is contained in:
Kyle Spearrin
2018-05-18 15:26:46 -04:00
parent a421f6e64a
commit bf260819bb
5 changed files with 101 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
import { OrganizationData } from '../data/organizationData';
import { OrganizationUserStatusType } from '../../enums/organizationUserStatusType';
import { OrganizationUserType } from '../../enums/organizationUserType';
export class Organization {
id: string;
name: string;
status: OrganizationUserStatusType;
type: OrganizationUserType;
enabled: boolean;
constructor(obj?: OrganizationData) {
if (obj == null) {
return;
}
this.id = obj.id;
this.name = obj.name;
this.status = obj.status;
this.type = obj.type;
this.enabled = obj.enabled;
}
}