mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-05 23:53:21 +00:00
18 lines
457 B
TypeScript
18 lines
457 B
TypeScript
import { CollectionDetailsResponse } from "../response/collectionResponse";
|
|
|
|
export class CollectionData {
|
|
id: string;
|
|
organizationId: string;
|
|
name: string;
|
|
externalId: string;
|
|
readOnly: boolean;
|
|
|
|
constructor(response: CollectionDetailsResponse) {
|
|
this.id = response.id;
|
|
this.organizationId = response.organizationId;
|
|
this.name = response.name;
|
|
this.externalId = response.externalId;
|
|
this.readOnly = response.readOnly;
|
|
}
|
|
}
|