@smoothnlp/smoothnlp-api
Version:
SmoothNLP data sharing SDK.
73 lines (69 loc) • 2.57 kB
JavaScript
/**
* Investment
* 投资事件 * 默认域名: service-m5j3awiv-1259459016.ap-shanghai.apigateway.myqcloud.com/release * 自定义域名: data.service.invest.smoothnlp.com/
*
* OpenAPI spec version: 2019-08-27 14:25:56
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.4.0-SNAPSHOT
*
* Do not edit the class manually.
*
*/
(function(factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['ApiClient', 'api/InvestmentApi'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
module.exports = factory(require('./ApiClient'), require('./api/InvestmentApi'));
}
}(function(ApiClient, InvestmentApi) {
'use strict';
/**
* _service_m5j3awiv_1259459016_ap_shanghai_apigateway_myqcloud_comrelease_data_service_invest_smoothnlp_com.<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 Investment = require('index'); // See note below*.
* var xxxSvc = new Investment.XxxApi(); // Allocate the API class we're going to use.
* var yyyModel = new Investment.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 Investment.XxxApi(); // Allocate the API class we're going to use.
* var yyy = new Investment.Yyy(); // Construct a model instance.
* yyyModel.someProperty = 'someValue';
* ...
* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
* ...
* </pre>
* </p>
* @module index
* @version 2019-08-27 14:25:56
*/
var exports = {
/**
* The ApiClient constructor.
* @property {module:ApiClient}
*/
ApiClient: ApiClient,
/**
* The InvestmentApi service constructor.
* @property {module:api/InvestmentApi}
*/
InvestmentApi: InvestmentApi
};
return exports;
}));