text: /**
   * PowerMeter API
   * API
   *
   * The version of the OpenAPI document: 2021.4.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';
  
  /**
   * The DesignScenarioModeUtil model module.
   * @module model/DesignScenarioModeUtil
   * @version 2021.4.1
   */
  class DesignScenarioModeUtil {
      /**
       * Constructs a new <code>DesignScenarioModeUtil</code>.
       * @alias module:model/DesignScenarioModeUtil
       * @param utilization {Number} 
       */
      constructor(utilization) { 
          
          DesignScenarioModeUtil.initialize(this, utilization);
      }
  
      /**
       * 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, utilization) { 
          obj['utilization'] = utilization;
      }
  
      /**
       * Constructs a <code>DesignScenarioModeUtil</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/DesignScenarioModeUtil} obj Optional instance to populate.
       * @return {module:model/DesignScenarioModeUtil} The populated <code>DesignScenarioModeUtil</code> instance.
       */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new DesignScenarioModeUtil();
  
              if (data.hasOwnProperty('id')) {
                  obj['id'] = ApiClient.convertToType(data['id'], 'Number');
              }
              if (data.hasOwnProperty('time')) {
                  obj['time'] = ApiClient.convertToType(data['time'], 'Number');
              }
              if (data.hasOwnProperty('utilization')) {
                  obj['utilization'] = ApiClient.convertToType(data['utilization'], 'Number');
              }
          }
          return obj;
      }
  
  
  }
  
  /**
   * @member {Number} id
   */
  DesignScenarioModeUtil.prototype['id'] = undefined;
  
  /**
   * @member {Number} time
   */
  DesignScenarioModeUtil.prototype['time'] = undefined;
  
  /**
   * @member {Number} utilization
   */
  DesignScenarioModeUtil.prototype['utilization'] = undefined;
  
  
  
  
  
  
  export default DesignScenarioModeUtil;
  
  