2022-05-16 03:58:36 +02:00
|
|
|
import { CollectionWithIdExport } from "jslib-common/models/export/collectionWithIdExport";
|
2021-12-20 18:04:00 +01:00
|
|
|
import { CollectionView } from "jslib-common/models/view/collectionView";
|
|
|
|
import { BaseResponse } from "jslib-node/cli/models/response/baseResponse";
|
2018-05-14 20:54:19 +02:00
|
|
|
|
2022-05-16 03:58:36 +02:00
|
|
|
export class CollectionResponse extends CollectionWithIdExport implements BaseResponse {
|
2021-12-20 18:04:00 +01:00
|
|
|
object: string;
|
2018-05-14 20:54:19 +02:00
|
|
|
|
2021-12-20 18:04:00 +01:00
|
|
|
constructor(o: CollectionView) {
|
|
|
|
super();
|
|
|
|
this.object = "collection";
|
|
|
|
this.build(o);
|
|
|
|
}
|
2018-05-14 20:54:19 +02:00
|
|
|
}
|