1ee76de417
Restructure the titles for motion, motion-block, assignment and topic. Less possibilities for more clear code. Added mote base models enabling functionalities of projection and being a content object for items
20 lines
485 B
TypeScript
20 lines
485 B
TypeScript
import { Deserializer } from '../base/deserializer';
|
|
|
|
/**
|
|
* The name and the type of a mediaFile.
|
|
* @ignore
|
|
*/
|
|
export class File extends Deserializer {
|
|
public name: string;
|
|
public type: string;
|
|
|
|
/**
|
|
* Needs to be fully optional, because the 'mediafile'-property in the mediaFile class is optional as well
|
|
* @param name The name of the file
|
|
* @param type The tape (jpg, png, pdf)
|
|
*/
|
|
public constructor(input?: any) {
|
|
super(input);
|
|
}
|
|
}
|