{"size": 4898, "ext": "js", "max_stars_repo_path": "webapp/src/services/client/model/LabService.js", "max_stars_repo_name": "DavidGeisel/machine-learning-lab", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "webapp/src/services/client/model/LabService.js", "max_issues_repo_name": "DavidGeisel/machine-learning-lab", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "webapp/src/services/client/model/LabService.js", "max_forks_repo_name": "DavidGeisel/machine-learning-lab", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.2345679012, "max_line_length": 116, "alphanum_fraction": 0.659044508}
/*
 * ML Lab Service
 * Functionality to create and manage Lab projects, services, datasets, models, and experiments.
 *
 * OpenAPI spec version: 2.2.0-SNAPSHOT
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 *
 * Swagger Codegen version: 2.4.15
 *
 * Do not edit the class manually.
 *
 */

(function(root, factory) {
  if (typeof define === 'function' && define.amd) {
    // AMD. Register as an anonymous module.
    define(['ApiClient'], factory);
  } else if (typeof module === 'object' && module.exports) {
    // CommonJS-like environments that support module.exports, like Node.
    module.exports = factory(require('../ApiClient'));
  } else {
    // Browser globals (root is window)
    if (!root.MlLabService) {
      root.MlLabService = {};
    }
    root.MlLabService.LabService = factory(root.MlLabService.ApiClient);
  }
}(this, function(ApiClient) {
  'use strict';

  /**
   * The LabService model module.
   * @module model/LabService
   * @version 2.2.0-SNAPSHOT
   */

  /**
   * Constructs a new <code>LabService</code>.
   * @alias module:model/LabService
   * @class
   */
  var exports = function() {
  };

  /**
   * Constructs a <code>LabService</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/LabService} obj Optional instance to populate.
   * @return {module:model/LabService} The populated <code>LabService</code> instance.
   */
  exports.constructFromObject = function(data, obj) {
    if (data) {
      obj = obj || new exports();
      if (data.hasOwnProperty('name'))
        obj.name = ApiClient.convertToType(data['name'], 'String');
      if (data.hasOwnProperty('dockerId'))
        obj.dockerId = ApiClient.convertToType(data['dockerId'], 'String');
      if (data.hasOwnProperty('dockerName'))
        obj.dockerName = ApiClient.convertToType(data['dockerName'], 'String');
      if (data.hasOwnProperty('dockerImage'))
        obj.dockerImage = ApiClient.convertToType(data['dockerImage'], 'String');
      if (data.hasOwnProperty('adminLink'))
        obj.adminLink = ApiClient.convertToType(data['adminLink'], 'String');
      if (data.hasOwnProperty('startedAt'))
        obj.startedAt = ApiClient.convertToType(data['startedAt'], 'Number');
      if (data.hasOwnProperty('status'))
        obj.status = ApiClient.convertToType(data['status'], 'String');
      if (data.hasOwnProperty('featureType'))
        obj.featureType = ApiClient.convertToType(data['featureType'], 'String');
      if (data.hasOwnProperty('configuration'))
        obj.configuration = ApiClient.convertToType(data['configuration'], {'String': 'String'});
      if (data.hasOwnProperty('labels'))
        obj.labels = ApiClient.convertToType(data['labels'], {'String': 'String'});
      if (data.hasOwnProperty('isHealthy'))
        obj.isHealthy = ApiClient.convertToType(data['isHealthy'], 'Boolean');
      if (data.hasOwnProperty('modifiedAt'))
        obj.modifiedAt = ApiClient.convertToType(data['modifiedAt'], 'Number');
      if (data.hasOwnProperty('connectionPort'))
        obj.connectionPort = ApiClient.convertToType(data['connectionPort'], 'Number');
      if (data.hasOwnProperty('exposedPorts'))
        obj.exposedPorts = ApiClient.convertToType(data['exposedPorts'], ['Number']);
    }
    return obj;
  }

  /**
   * @member {String} name
   */
  exports.prototype.name = undefined;

  /**
   * @member {String} dockerId
   */
  exports.prototype.dockerId = undefined;

  /**
   * @member {String} dockerName
   */
  exports.prototype.dockerName = undefined;

  /**
   * @member {String} dockerImage
   */
  exports.prototype.dockerImage = undefined;

  /**
   * @member {String} adminLink
   */
  exports.prototype.adminLink = undefined;

  /**
   * @member {Number} startedAt
   */
  exports.prototype.startedAt = undefined;

  /**
   * @member {String} status
   */
  exports.prototype.status = undefined;

  /**
   * @member {String} featureType
   */
  exports.prototype.featureType = undefined;

  /**
   * @member {Object.<String, String>} configuration
   */
  exports.prototype.configuration = undefined;

  /**
   * @member {Object.<String, String>} labels
   */
  exports.prototype.labels = undefined;

  /**
   * @member {Boolean} isHealthy
   */
  exports.prototype.isHealthy = undefined;

  /**
   * @member {Number} modifiedAt
   */
  exports.prototype.modifiedAt = undefined;

  /**
   * @member {Number} connectionPort
   */
  exports.prototype.connectionPort = undefined;

  /**
   * @member {Array.<Number>} exposedPorts
   */
  exports.prototype.exposedPorts = undefined;

  return exports;

}));
