import { Serializable } from '../../models/Serializable'; export class ContentFile implements Serializable { private filename: string; private id: string; private location: string; private type: string; fromJSONObject(item: any): ContentFile { this.filename = item.filename; this.id = item.id; this.location = item.location; this.type = item.type; return this; } }