text: /**
   * AFI Optimizer API
   * Allow clients to fetch Analytics through APIs.
   *
   * The version of the OpenAPI document: v3
   * 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 AFIOptimizerStrategyOverrides model module.
   * @module model/AFIOptimizerStrategyOverrides
   * @version 0.20.0
   */
  class AFIOptimizerStrategyOverrides {
      /**
       * Constructs a new <code>AFIOptimizerStrategyOverrides</code>.
       * @alias module:model/AFIOptimizerStrategyOverrides
       */
      constructor() { 
          
          AFIOptimizerStrategyOverrides.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>AFIOptimizerStrategyOverrides</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/AFIOptimizerStrategyOverrides} obj Optional instance to populate.
       * @return {module:model/AFIOptimizerStrategyOverrides} The populated <code>AFIOptimizerStrategyOverrides</code> instance.
       */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new AFIOptimizerStrategyOverrides();
  
              if (data.hasOwnProperty('objective')) {
                  obj['objective'] = ApiClient.convertToType(data['objective'], 'String');
              }
              if (data.hasOwnProperty('tax')) {
                  obj['tax'] = ApiClient.convertToType(data['tax'], 'String');
              }
              if (data.hasOwnProperty('constraints')) {
                  obj['constraints'] = ApiClient.convertToType(data['constraints'], {'String': 'String'});
              }
              if (data.hasOwnProperty('alpha')) {
                  obj['alpha'] = ApiClient.convertToType(data['alpha'], 'String');
              }
              if (data.hasOwnProperty('transactionCost')) {
                  obj['transactionCost'] = ApiClient.convertToType(data['transactionCost'], 'String');
              }
          }
          return obj;
      }
  
  
  }
  
  /**
   * Objective
   * @member {String} objective
   */
  AFIOptimizerStrategyOverrides.prototype['objective'] = undefined;
  
  /**
   * Tax
   * @member {String} tax
   */
  AFIOptimizerStrategyOverrides.prototype['tax'] = undefined;
  
  /**
   * List of constraints
   * @member {Object.<String, module:model/AFIOptimizerStrategyOverrides.InnerEnum>} constraints
   */
  AFIOptimizerStrategyOverrides.prototype['constraints'] = undefined;
  
  /**
   * Alpha
   * @member {String} alpha
   */
  AFIOptimizerStrategyOverrides.prototype['alpha'] = undefined;
  
  /**
   * Transaction cost
   * @member {String} transactionCost
   */
  AFIOptimizerStrategyOverrides.prototype['transactionCost'] = undefined;
  
  
  
  
  
  /**
   * Allowed values for the <code>inner</code> property.
   * @enum {String}
   * @readonly
   */
  AFIOptimizerStrategyOverrides['InnerEnum'] = {
  
      /**
       * value: "Disable"
       * @const
       */
      "Disable": "Disable",
  
      /**
       * value: "Enable"
       * @const
       */
      "Enable": "Enable"
  };
  
  
  
  export default AFIOptimizerStrategyOverrides;
  
  