src/Job.js
function (runner, url, browser) {
    this.id = null;
    this.taskId = null;
    this.user = runner.user;
    this.key = runner.key;
    this.framework = runner.framework;
    this.pollInterval = runner.pollInterval;
    this.statusCheckAttempts = runner.statusCheckAttempts;
    this.url = url;
    this.platform = _.isArray(browser) ? browser : [browser.platform || '', browser.browserName || '', browser.version || ''];
    this.build = runner.build;
    this.public = browser.public || runner.public || "team";
    this.tags = browser.tags || runner.tags;
    this.testName = browser.name || runner.testName;
    this.sauceConfig = runner.sauceConfig;
    this.tunneled = runner.tunneled;
    this.tunnelId = runner.tunnelId;
  }
function (runner, url, browser) {
    this.id = null;
    this.taskId = null;
    this.user = runner.user;
    this.key = runner.key;
    this.framework = runner.framework;
    this.pollInterval = runner.pollInterval;
    this.statusCheckAttempts = runner.statusCheckAttempts;
    this.url = url;
    this.platform = _.isArray(browser) ? browser : [browser.platform || '', browser.browserName || '', browser.version || ''];
    this.build = runner.build;
    this.public = browser.public || runner.public || "team";
    this.tags = browser.tags || runner.tags;
    this.testName = browser.name || runner.testName;
    this.sauceConfig = runner.sauceConfig;
    this.tunneled = runner.tunneled;
    this.tunnelId = runner.tunnelId;
  }
function ( runner , url , browser ) { this . id = null ; this . taskId = null ; this . user = runner . user ; this . key = runner . key ; this . framework = runner . framework ; this . pollInterval = runner . pollInterval ; this . statusCheckAttempts = runner . statusCheckAttempts ; this . url = url ; this . platform = _ . isArray ( browser ) ? browser : [ browser . platform || '' , browser . browserName || '' , browser . version || '' ] ; this . build = runner . build ; this . public = browser . public || runner . public || "team" ; this . tags = browser . tags || runner . tags ; this . testName = browser . name || runner . testName ; this . sauceConfig = runner . sauceConfig ; this . tunneled = runner . tunneled ; this . tunnelId = runner . tunnelId ; }
Represents a Sauce Labs job.

@constructor
@param {Object} runner - TestRunner instance.
@param {String} url - The test runner page's URL.
@param {Object} browser - Object describing the platform to run the test on.
Represents a Sauce Labs job .