clients/src/models/data/collectionData.ts
2018-07-06 12:40:43 -04:00

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