@gitchrisqueen/tdameritrade-api-js-client
Version:
TD Ameritrade API integration for node.js
49 lines (43 loc) • 1.09 kB
JavaScript
/**
* 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';
/**
* Enum class Duration.
* @enum {}
* @readonly
*/
export default class Duration {
/**
* value: "DAY"
* @const
*/
DAY = "DAY";
/**
* value: "GOOD_TIL_CANCEL"
* @const
*/
GOOD_TIL_CANCEL = "GOOD_TIL_CANCEL";
/**
* value: "FILL_OR_KILL"
* @const
*/
FILL_OR_KILL = "FILL_OR_KILL";
/**
* Returns a <code>Duration</code> enum value from a Javascript object name.
* @param {Object} data The plain JavaScript object containing the name of the enum value.
* @return {module:model/Duration} The enum <code>Duration</code> value.
*/
static constructFromObject(object) {
return object;
}
}