UNPKG

@gitchrisqueen/tdameritrade-api-js-client

Version:
71 lines (63 loc) 2.09 kB
/* * TD Ameritrade API - OAuth2 * This is replication of the TD Ameritrade API. * * OpenAPI spec version: 0.1.4 * * 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.14 * * Do not edit the class manually. * */ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['ApiClient'], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like environments that support module.exports, like Node. module.exports = factory(require('../ApiClient')); } else { // Browser globals (root is window) if (!root.GitChrisQueen_TDA_JS) { root.GitChrisQueen_TDA_JS = {}; } root.GitChrisQueen_TDA_JS.InlineResponse200 = factory(root.GitChrisQueen_TDA_JS.ApiClient); } }(this, function(ApiClient) { 'use strict'; /** * The InlineResponse200 model module. * @module model/InlineResponse200 * @version 0.1.4 */ /** * Constructs a new <code>InlineResponse200</code>. * @alias module:model/InlineResponse200 * @class */ var exports = function() { }; /** * Constructs a <code>InlineResponse200</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/InlineResponse200} obj Optional instance to populate. * @return {module:model/InlineResponse200} The populated <code>InlineResponse200</code> instance. */ exports.constructFromObject = function(data, obj) { if (data) { obj = obj || new exports(); if (data.hasOwnProperty('schema')) obj.schema = ApiClient.convertToType(data['schema'], Object); } return obj; } /** * @member {Object} schema */ exports.prototype.schema = undefined; return exports; }));