mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 17:53:39 +00:00
apis for groups and collections
This commit is contained in:
20
src/models/response/groupUserResponse.ts
Normal file
20
src/models/response/groupUserResponse.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user