mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
new collection user api endpoint
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
import { OrganizationUserStatusType } from '../../enums/organizationUserStatusType';
|
||||
import { OrganizationUserType } from '../../enums/organizationUserType';
|
||||
|
||||
export class CollectionUserResponse {
|
||||
organizationUserId: string;
|
||||
accessAll: boolean;
|
||||
name: string;
|
||||
email: string;
|
||||
type: OrganizationUserType;
|
||||
status: OrganizationUserStatusType;
|
||||
readOnly: boolean;
|
||||
|
||||
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;
|
||||
this.readOnly = response.ReadOnly;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user