mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
16 lines
406 B
TypeScript
16 lines
406 B
TypeScript
import { CollectionResponse } from '../response/collectionResponse';
|
|
|
|
export class CollectionData {
|
|
id: string;
|
|
organizationId: string;
|
|
name: string;
|
|
readOnly: boolean;
|
|
|
|
constructor(response: CollectionResponse) {
|
|
this.id = response.id;
|
|
this.organizationId = response.organizationId;
|
|
this.name = response.name;
|
|
this.readOnly = response.readOnly;
|
|
}
|
|
}
|