mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
16 lines
420 B
TypeScript
16 lines
420 B
TypeScript
import { CollectionDetailsResponse } from '../response/collectionResponse';
|
|
|
|
export class CollectionData {
|
|
id: string;
|
|
organizationId: string;
|
|
name: string;
|
|
readOnly: boolean;
|
|
|
|
constructor(response: CollectionDetailsResponse) {
|
|
this.id = response.id;
|
|
this.organizationId = response.organizationId;
|
|
this.name = response.name;
|
|
this.readOnly = response.readOnly;
|
|
}
|
|
}
|