education_manage_api
Version:
EducationManageApi - JavaScript client for education_manage_api 教务管理,包括学生信息,成绩管理 This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
97 lines (93 loc) • 3.55 kB
JavaScript
/**
* Education Manage API
* 教务管理,包括学生信息,成绩管理
*
* OpenAPI spec version: 1.0.0
* Contact: sessionliang@outlook.com
*
* 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.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
(function(factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['ApiClient', 'model/InlineResponse200', 'model/InlineResponse401', 'model/Student', 'api/StudentsApi'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
module.exports = factory(require('./ApiClient'), require('./model/InlineResponse200'), require('./model/InlineResponse401'), require('./model/Student'), require('./api/StudentsApi'));
}
}(function(ApiClient, InlineResponse200, InlineResponse401, Student, StudentsApi) {
'use strict';
/**
* .<br>
* The <code>index</code> module provides access to constructors for all the classes which comprise the public API.
* <p>
* An AMD (recommended!) or CommonJS application will generally do something equivalent to the following:
* <pre>
* var EducationManageApi = require('index'); // See note below*.
* var xxxSvc = new EducationManageApi.XxxApi(); // Allocate the API class we're going to use.
* var yyyModel = new EducationManageApi.Yyy(); // Construct a model instance.
* yyyModel.someProperty = 'someValue';
* ...
* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
* ...
* </pre>
* <em>*NOTE: For a top-level AMD script, use require(['index'], function(){...})
* and put the application logic within the callback function.</em>
* </p>
* <p>
* A non-AMD browser application (discouraged) might do something like this:
* <pre>
* var xxxSvc = new EducationManageApi.XxxApi(); // Allocate the API class we're going to use.
* var yyy = new EducationManageApi.Yyy(); // Construct a model instance.
* yyyModel.someProperty = 'someValue';
* ...
* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
* ...
* </pre>
* </p>
* @module index
* @version 1.0.0
*/
var exports = {
/**
* The ApiClient constructor.
* @property {module:ApiClient}
*/
ApiClient: ApiClient,
/**
* The InlineResponse200 model constructor.
* @property {module:model/InlineResponse200}
*/
InlineResponse200: InlineResponse200,
/**
* The InlineResponse401 model constructor.
* @property {module:model/InlineResponse401}
*/
InlineResponse401: InlineResponse401,
/**
* The Student model constructor.
* @property {module:model/Student}
*/
Student: Student,
/**
* The StudentsApi service constructor.
* @property {module:api/StudentsApi}
*/
StudentsApi: StudentsApi
};
return exports;
}));