17 lines
427 B
TypeScript
17 lines
427 B
TypeScript
import { Serializable } from "../Serializable";
|
|
|
|
export class ExternalDatasetModel implements Serializable<ExternalDatasetModel> {
|
|
public abbreviation: String;
|
|
public id: String;
|
|
public label: String;
|
|
public reference: String;
|
|
|
|
fromJSONObject(item: any): ExternalDatasetModel {
|
|
this.abbreviation = item.abbreviation;
|
|
this.id = item.id;
|
|
this.label = item.label;
|
|
this.reference = item.reference;
|
|
|
|
return this;
|
|
}
|
|
} |