2018-06-23 21:41:22 +02:00
|
|
|
import { Collection } from '../domain/collection';
|
|
|
|
|
2018-07-06 18:40:43 +02:00
|
|
|
import { SelectionReadOnlyRequest } from './selectionReadOnlyRequest';
|
|
|
|
|
2018-06-23 21:41:22 +02:00
|
|
|
export class CollectionRequest {
|
|
|
|
name: string;
|
2018-07-06 18:40:43 +02:00
|
|
|
groups: SelectionReadOnlyRequest[] = [];
|
2018-06-23 21:41:22 +02:00
|
|
|
|
|
|
|
constructor(collection: Collection) {
|
|
|
|
this.name = collection.name ? collection.name.encryptedString : null;
|
|
|
|
}
|
|
|
|
}
|