mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
20 lines
512 B
TypeScript
20 lines
512 B
TypeScript
import { CollectionDetailsResponse } from "../response/collection.response";
|
|
|
|
export class CollectionData {
|
|
id: string;
|
|
organizationId: string;
|
|
name: string;
|
|
externalId: string;
|
|
readOnly: boolean;
|
|
manage: boolean;
|
|
|
|
constructor(response: CollectionDetailsResponse) {
|
|
this.id = response.id;
|
|
this.organizationId = response.organizationId;
|
|
this.name = response.name;
|
|
this.externalId = response.externalId;
|
|
this.readOnly = response.readOnly;
|
|
this.manage = response.manage;
|
|
}
|
|
}
|