UNPKG

@gitchrisqueen/tdameritrade-api-js-client

Version:
62 lines (47 loc) 1.59 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 * Do not edit the class manually. * */ import ApiClient from '../ApiClient'; /** * The SubscriptionKeyKeys model module. * @module model/SubscriptionKeyKeys * @version 0.1.4 */ export default class SubscriptionKeyKeys { /** * Constructs a new <code>SubscriptionKeyKeys</code>. * @alias module:model/SubscriptionKeyKeys * @class */ constructor() { } /** * Constructs a <code>SubscriptionKeyKeys</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/SubscriptionKeyKeys} obj Optional instance to populate. * @return {module:model/SubscriptionKeyKeys} The populated <code>SubscriptionKeyKeys</code> instance. */ static constructFromObject(data, obj) { if (data) { obj = obj || new SubscriptionKeyKeys(); if (data.hasOwnProperty('key')) { obj['key'] = ApiClient.convertToType(data['key'], 'String'); } } return obj; } /** * @member {String} key */ 'key' = undefined; }