forked from JonasFranzDEV/ReactOrganizer
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
89 lines
1.9 KiB
89 lines
1.9 KiB
/**
|
|
* Organizer
|
|
* Dies ist eine API, die es ermöglicht Daten zu Stunden-, Vertretungs-, oder Klausurplänen zu erhalten.
|
|
*
|
|
* OpenAPI spec version: 1.0.0
|
|
* Contact: info@jonasfranz.software
|
|
*
|
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
* Do not edit the class manually.
|
|
*
|
|
*/
|
|
|
|
|
|
import ApiClient from '../ApiClient';
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
* The Teacher model module.
|
|
* @module model/Teacher
|
|
* @version 1.0.0
|
|
*/
|
|
export default class Teacher {
|
|
/**
|
|
* Constructs a new <code>Teacher</code>.
|
|
* @alias module:model/Teacher
|
|
* @class
|
|
*/
|
|
|
|
constructor() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
/**
|
|
* Constructs a <code>Teacher</code> from a plain JavaScript object, optionally creating a new instance.
|
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
* @param {module:model/Teacher} obj Optional instance to populate.
|
|
* @return {module:model/Teacher} The populated <code>Teacher</code> instance.
|
|
*/
|
|
static constructFromObject(data, obj) {
|
|
if (data) {
|
|
obj = obj || new Teacher();
|
|
|
|
|
|
|
|
|
|
|
|
if (data.hasOwnProperty('identifier')) {
|
|
obj['identifier'] = ApiClient.convertToType(data['identifier'], 'String');
|
|
}
|
|
if (data.hasOwnProperty('name')) {
|
|
obj['name'] = ApiClient.convertToType(data['name'], 'String');
|
|
}
|
|
}
|
|
return obj;
|
|
}
|
|
|
|
/**
|
|
* An unique string that is mostly the abbreviation of the teacher's name
|
|
* @member {String} identifier
|
|
*/
|
|
identifier = undefined;
|
|
/**
|
|
* The family name of the teacher
|
|
* @member {String} name
|
|
*/
|
|
name = undefined;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|