text: /**
   * Barra Portfolio Optimizer API
   * Allow clients to fetch Analytics through APIs.
   *
   * The version of the OpenAPI document: 3
   * Contact: analytics.api.support@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.
   *
   */
  
  import ApiClient from '../ApiClient';
  
  /**
   * The BPMOptimizerStrategyAlphaOverride model module.
   * @module model/BPMOptimizerStrategyAlphaOverride
   * @version 0.20.0
   */
  class BPMOptimizerStrategyAlphaOverride {
      /**
       * Constructs a new <code>BPMOptimizerStrategyAlphaOverride</code>.
       * @alias module:model/BPMOptimizerStrategyAlphaOverride
       */
      constructor() { 
          
          BPMOptimizerStrategyAlphaOverride.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>BPMOptimizerStrategyAlphaOverride</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/BPMOptimizerStrategyAlphaOverride} obj Optional instance to populate.
       * @return {module:model/BPMOptimizerStrategyAlphaOverride} The populated <code>BPMOptimizerStrategyAlphaOverride</code> instance.
       */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new BPMOptimizerStrategyAlphaOverride();
  
              if (data.hasOwnProperty('formula')) {
                  obj['formula'] = ApiClient.convertToType(data['formula'], 'String');
              }
              if (data.hasOwnProperty('returnType')) {
                  obj['returnType'] = ApiClient.convertToType(data['returnType'], 'String');
              }
              if (data.hasOwnProperty('returnMultiplier')) {
                  obj['returnMultiplier'] = ApiClient.convertToType(data['returnMultiplier'], 'String');
              }
          }
          return obj;
      }
  
  
  }
  
  /**
   * @member {String} formula
   */
  BPMOptimizerStrategyAlphaOverride.prototype['formula'] = undefined;
  
  /**
   * @member {module:model/BPMOptimizerStrategyAlphaOverride.ReturnTypeEnum} returnType
   */
  BPMOptimizerStrategyAlphaOverride.prototype['returnType'] = undefined;
  
  /**
   * @member {String} returnMultiplier
   */
  BPMOptimizerStrategyAlphaOverride.prototype['returnMultiplier'] = undefined;
  
  
  
  
  
  /**
   * Allowed values for the <code>returnType</code> property.
   * @enum {String}
   * @readonly
   */
  BPMOptimizerStrategyAlphaOverride['ReturnTypeEnum'] = {
  
      /**
       * value: "Excess"
       * @const
       */
      "Excess": "Excess",
  
      /**
       * value: "Total"
       * @const
       */
      "Total": "Total",
  
      /**
       * value: "Active"
       * @const
       */
      "Active": "Active",
  
      /**
       * value: "Residual"
       * @const
       */
      "Residual": "Residual",
  
      /**
       * value: "Exceptional"
       * @const
       */
      "Exceptional": "Exceptional"
  };
  
  
  
  export default BPMOptimizerStrategyAlphaOverride;
  
  