OpenSlides/client/src/app/shared/models/mediafiles/file.ts

20 lines
485 B
TypeScript
Raw Normal View History

import { Deserializer } from '../base/deserializer';
/**
* The name and the type of a mediaFile.
* @ignore
*/
export class File extends Deserializer {
2018-08-29 13:21:25 +02:00
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)
*/
2018-09-04 11:33:28 +02:00
public constructor(input?: any) {
super(input);
}
}