UNPKG

@factset/sdk-symbology

Version:

Symbology client library for JavaScript

67 lines (62 loc) 2.68 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _ApiClient = _interopRequireDefault(require("../ApiClient")); var _ErrorObject = _interopRequireDefault(require("./ErrorObject")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } /** * FactSet Symbology API * The FactSet Symbology API provides symbol resolution services, allowing clients to translate market identifiers into various symbology types such as, FactSet Permanent Identifiers, CUSIP, ISIN, SEDOL, Tickers, and LEIs. <p>Factset's Symbology API sits at the center of its hub-and-spoke data model, enabling you to quickly harmonize the expanding catalog of Content APIs.</p><p>This API is rate-limited to 10 requests per second and 10 concurrent requests per user.</p> * * The version of the OpenAPI document: 3.4.0 * Contact: api@factset.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ /** * The ErrorResponseHistorical model module. * @module model/ErrorResponseHistorical */ class ErrorResponseHistorical { /** * Constructs a new <code>ErrorResponseHistorical</code>. * Error Default Response * @alias module:model/ErrorResponseHistorical */ constructor() { ErrorResponseHistorical.initialize(this); } /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj) {} /** * Constructs a <code>ErrorResponseHistorical</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/ErrorResponseHistorical} obj Optional instance to populate. * @return {module:model/ErrorResponseHistorical} The populated <code>ErrorResponseHistorical</code> instance. */ static constructFromObject(data, obj) { if (data) { obj = obj || new ErrorResponseHistorical(); if (data.hasOwnProperty('errors')) { obj['errors'] = _ApiClient.default.convertToType(data['errors'], [_ErrorObject.default]); } } return obj; } } /** * An array containing errors * @member {Array.<module:model/ErrorObject>} errors */ ErrorResponseHistorical.prototype['errors'] = undefined; var _default = exports.default = ErrorResponseHistorical;