1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00
Files
browser/src/models/data/collectionData.ts
2018-06-11 14:32:35 -04:00

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;
}
}