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 SimMaster model module.
   * @module model/SimMaster
   * @version 2021.4.1
   */
  class SimMaster {
      /**
       * Constructs a new <code>SimMaster</code>.
       * @alias module:model/SimMaster
       * @param name {String} 
       */
      constructor(name) { 
          
          SimMaster.initialize(this, name);
      }
  
      /**
       * 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, name) { 
          obj['name'] = name;
      }
  
      /**
       * Constructs a <code>SimMaster</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/SimMaster} obj Optional instance to populate.
       * @return {module:model/SimMaster} The populated <code>SimMaster</code> instance.
       */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new SimMaster();
  
              if (data.hasOwnProperty('id')) {
                  obj['id'] = ApiClient.convertToType(data['id'], 'Number');
              }
              if (data.hasOwnProperty('name')) {
                  obj['name'] = ApiClient.convertToType(data['name'], 'String');
              }
              if (data.hasOwnProperty('current_version')) {
                  obj['current_version'] = ApiClient.convertToType(data['current_version'], 'Number');
              }
              if (data.hasOwnProperty('latest_commit')) {
                  obj['latest_commit'] = ApiClient.convertToType(data['latest_commit'], 'Number');
              }
          }
          return obj;
      }
  
  
  }
  
  /**
   * @member {Number} id
   */
  SimMaster.prototype['id'] = undefined;
  
  /**
   * @member {String} name
   */
  SimMaster.prototype['name'] = undefined;
  
  /**
   * @member {Number} current_version
   */
  SimMaster.prototype['current_version'] = undefined;
  
  /**
   * @member {Number} latest_commit
   */
  SimMaster.prototype['latest_commit'] = undefined;
  
  
  
  
  
  
  export default SimMaster;
  
  