26 lines
754 B
TypeScript
26 lines
754 B
TypeScript
import { Serializable } from "../Serializable";
|
|
|
|
export class DataManagementPlanListingModel implements Serializable<DataManagementPlanListingModel> {
|
|
public id: String;
|
|
public label: String;
|
|
public project: String;
|
|
public profile: String;
|
|
public creationTime: String;
|
|
public organisations: String;
|
|
public groupId: string;
|
|
public version: number;
|
|
public datasets: any[]
|
|
fromJSONObject(item: any): DataManagementPlanListingModel {
|
|
this.id = item.id;
|
|
this.label = item.label;
|
|
this.project = item.project;
|
|
this.profile = item.profile;
|
|
this.creationTime = item.creationTime;
|
|
this.organisations = item.organisations;
|
|
this.version = item.version;
|
|
this.groupId = item.groupId;
|
|
this.datasets = item.datasets;
|
|
return this;
|
|
}
|
|
}
|