1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00
Files
browser/src/models/response/groupUserResponse.ts
2018-07-06 12:40:43 -04:00

21 lines
653 B
TypeScript

import { OrganizationUserStatusType } from '../../enums/organizationUserStatusType';
import { OrganizationUserType } from '../../enums/organizationUserType';
export class GroupUserResponse {
organizationUserId: string;
accessAll: boolean;
name: string;
email: string;
type: OrganizationUserType;
status: OrganizationUserStatusType;
constructor(response: any) {
this.organizationUserId = response.OrganizationUserId;
this.accessAll = response.AccessAll;
this.name = response.Name;
this.email = response.Email;
this.type = response.Type;
this.status = response.Status;
}
}