public function __construct()

in app/libraries/Airavata/Model/User/Types.php [507:689]


  public function __construct($vals=null) {
    if (!isset(self::$_TSPEC)) {
      self::$_TSPEC = array(
        1 => array(
          'var' => 'airavataInternalUserId',
          'type' => TType::STRING,
          ),
        2 => array(
          'var' => 'experimentId',
          'type' => TType::STRING,
          ),
        3 => array(
          'var' => 'name',
          'type' => TType::STRING,
          ),
        4 => array(
          'var' => 'description',
          'type' => TType::STRING,
          ),
        5 => array(
          'var' => 'project',
          'type' => TType::STRING,
          ),
        6 => array(
          'var' => 'owner',
          'type' => TType::STRING,
          ),
        7 => array(
          'var' => 'application',
          'type' => TType::STRING,
          ),
        8 => array(
          'var' => 'computeResource',
          'type' => TType::STRING,
          ),
        9 => array(
          'var' => 'jobName',
          'type' => TType::STRING,
          ),
        10 => array(
          'var' => 'jobId',
          'type' => TType::STRING,
          ),
        11 => array(
          'var' => 'jobStatus',
          'type' => TType::STRING,
          ),
        12 => array(
          'var' => 'jobCreationTime',
          'type' => TType::STRING,
          ),
        13 => array(
          'var' => 'notificationsTo',
          'type' => TType::STRING,
          ),
        14 => array(
          'var' => 'workingDir',
          'type' => TType::STRING,
          ),
        15 => array(
          'var' => 'jobDescription',
          'type' => TType::STRING,
          ),
        16 => array(
          'var' => 'creationTime',
          'type' => TType::STRING,
          ),
        17 => array(
          'var' => 'lastModifiedTime',
          'type' => TType::STRING,
          ),
        18 => array(
          'var' => 'wallTime',
          'type' => TType::STRING,
          ),
        19 => array(
          'var' => 'cpuCount',
          'type' => TType::STRING,
          ),
        20 => array(
          'var' => 'nodeCount',
          'type' => TType::STRING,
          ),
        21 => array(
          'var' => 'queue',
          'type' => TType::STRING,
          ),
        22 => array(
          'var' => 'inputs',
          'type' => TType::STRING,
          ),
        23 => array(
          'var' => 'outputs',
          'type' => TType::STRING,
          ),
        24 => array(
          'var' => 'storageDir',
          'type' => TType::STRING,
          ),
        25 => array(
          'var' => 'errors',
          'type' => TType::STRING,
          ),
        );
    }
    if (is_array($vals)) {
      if (isset($vals['airavataInternalUserId'])) {
        $this->airavataInternalUserId = $vals['airavataInternalUserId'];
      }
      if (isset($vals['experimentId'])) {
        $this->experimentId = $vals['experimentId'];
      }
      if (isset($vals['name'])) {
        $this->name = $vals['name'];
      }
      if (isset($vals['description'])) {
        $this->description = $vals['description'];
      }
      if (isset($vals['project'])) {
        $this->project = $vals['project'];
      }
      if (isset($vals['owner'])) {
        $this->owner = $vals['owner'];
      }
      if (isset($vals['application'])) {
        $this->application = $vals['application'];
      }
      if (isset($vals['computeResource'])) {
        $this->computeResource = $vals['computeResource'];
      }
      if (isset($vals['jobName'])) {
        $this->jobName = $vals['jobName'];
      }
      if (isset($vals['jobId'])) {
        $this->jobId = $vals['jobId'];
      }
      if (isset($vals['jobStatus'])) {
        $this->jobStatus = $vals['jobStatus'];
      }
      if (isset($vals['jobCreationTime'])) {
        $this->jobCreationTime = $vals['jobCreationTime'];
      }
      if (isset($vals['notificationsTo'])) {
        $this->notificationsTo = $vals['notificationsTo'];
      }
      if (isset($vals['workingDir'])) {
        $this->workingDir = $vals['workingDir'];
      }
      if (isset($vals['jobDescription'])) {
        $this->jobDescription = $vals['jobDescription'];
      }
      if (isset($vals['creationTime'])) {
        $this->creationTime = $vals['creationTime'];
      }
      if (isset($vals['lastModifiedTime'])) {
        $this->lastModifiedTime = $vals['lastModifiedTime'];
      }
      if (isset($vals['wallTime'])) {
        $this->wallTime = $vals['wallTime'];
      }
      if (isset($vals['cpuCount'])) {
        $this->cpuCount = $vals['cpuCount'];
      }
      if (isset($vals['nodeCount'])) {
        $this->nodeCount = $vals['nodeCount'];
      }
      if (isset($vals['queue'])) {
        $this->queue = $vals['queue'];
      }
      if (isset($vals['inputs'])) {
        $this->inputs = $vals['inputs'];
      }
      if (isset($vals['outputs'])) {
        $this->outputs = $vals['outputs'];
      }
      if (isset($vals['storageDir'])) {
        $this->storageDir = $vals['storageDir'];
      }
      if (isset($vals['errors'])) {
        $this->errors = $vals['errors'];
      }
    }
  }