text: /**
   * fpo_mp_input
   * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
   *
   * The version of the OpenAPI document: 1
   * 
   *
   * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
   * https://openapi-generator.tech
   * Do not edit the class manually.
   *
   */
  
  import ApiClient from '../ApiClient';
  import VARDistributionType from './VARDistributionType';
  
  /**
   * The VARDistributionDescription model module.
   * @module model/VARDistributionDescription
   * @version 0.20.0
   */
  class VARDistributionDescription {
      /**
       * Constructs a new <code>VARDistributionDescription</code>.
       * @alias module:model/VARDistributionDescription
       */
      constructor() { 
          
          VARDistributionDescription.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>VARDistributionDescription</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/VARDistributionDescription} obj Optional instance to populate.
       * @return {module:model/VARDistributionDescription} The populated <code>VARDistributionDescription</code> instance.
       */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new VARDistributionDescription();
  
              if (data.hasOwnProperty('riskModel')) {
                  obj['riskModel'] = ApiClient.convertToType(data['riskModel'], 'String');
              }
              if (data.hasOwnProperty('factorGroup')) {
                  obj['factorGroup'] = ApiClient.convertToType(data['factorGroup'], 'String');
              }
              if (data.hasOwnProperty('factors')) {
                  obj['factors'] = ApiClient.convertToType(data['factors'], ['String']);
              }
              if (data.hasOwnProperty('distributionType')) {
                  obj['distributionType'] = VARDistributionType.constructFromObject(data['distributionType']);
              }
              if (data.hasOwnProperty('reportDate')) {
                  obj['reportDate'] = ApiClient.convertToType(data['reportDate'], 'Number');
              }
              if (data.hasOwnProperty('reportCurrency')) {
                  obj['reportCurrency'] = ApiClient.convertToType(data['reportCurrency'], 'String');
              }
              if (data.hasOwnProperty('horizonInTradingDays')) {
                  obj['horizonInTradingDays'] = ApiClient.convertToType(data['horizonInTradingDays'], 'Number');
              }
              if (data.hasOwnProperty('returnDates')) {
                  obj['returnDates'] = ApiClient.convertToType(data['returnDates'], ['Number']);
              }
          }
          return obj;
      }
  
  
  }
  
  /**
   * @member {String} riskModel
   */
  VARDistributionDescription.prototype['riskModel'] = undefined;
  
  /**
   * @member {String} factorGroup
   */
  VARDistributionDescription.prototype['factorGroup'] = undefined;
  
  /**
   * @member {Array.<String>} factors
   */
  VARDistributionDescription.prototype['factors'] = undefined;
  
  /**
   * @member {module:model/VARDistributionType} distributionType
   */
  VARDistributionDescription.prototype['distributionType'] = undefined;
  
  /**
   * @member {Number} reportDate
   */
  VARDistributionDescription.prototype['reportDate'] = undefined;
  
  /**
   * @member {String} reportCurrency
   */
  VARDistributionDescription.prototype['reportCurrency'] = undefined;
  
  /**
   * @member {Number} horizonInTradingDays
   */
  VARDistributionDescription.prototype['horizonInTradingDays'] = undefined;
  
  /**
   * Only possibly defined for historical distributions
   * @member {Array.<Number>} returnDates
   */
  VARDistributionDescription.prototype['returnDates'] = undefined;
  
  
  
  
  
  
  export default VARDistributionDescription;
  
  