You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2018/11/16 17:08:40 UTC
[airavata] branch staging updated: Updating php stubs
This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/staging by this push:
new fa75599 Updating php stubs
fa75599 is described below
commit fa75599de3659324a3b778e3e5b5d87e94cbfff7
Author: Dimuthu Wannipurage <di...@datasprouts.com>
AuthorDate: Fri Nov 16 12:08:31 2018 -0500
Updating php stubs
---
.../main/resources/lib/Airavata/API/Airavata.php | 16198 ++++++++-----------
.../API/Sharing/SharingRegistryService.php | 1759 +-
.../resources/lib/Airavata/Model/Sharing/Types.php | 121 +
.../resources/lib/Airavata/Model/User/Types.php | 602 +-
.../Profile/User/CPI/UserProfileService.php | 477 +-
5 files changed, 9430 insertions(+), 9727 deletions(-)
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php
index 7e392ed..c95ef31 100644
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php
@@ -4117,57 +4117,6 @@ interface AiravataIf {
* @throws \Airavata\API\Error\AuthorizationException
*/
public function getAllAccessibleUsers(\Airavata\Model\Security\AuthzToken $authzToken, $resourceId, $resourceType, $permissionType);
- /**
- * @param \Airavata\Model\Security\AuthzToken $authzToken
- * @param \Airavata\Model\Group\GroupModel $groupModel
- * @return string
- * @throws \Airavata\API\Error\InvalidRequestException
- * @throws \Airavata\API\Error\AiravataClientException
- * @throws \Airavata\API\Error\AiravataSystemException
- * @throws \Airavata\API\Error\AuthorizationException
- */
- public function createGroup(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Group\GroupModel $groupModel);
- /**
- * @param \Airavata\Model\Security\AuthzToken $authzToken
- * @param \Airavata\Model\Group\GroupModel $groupModel
- * @return bool
- * @throws \Airavata\API\Error\InvalidRequestException
- * @throws \Airavata\API\Error\AiravataClientException
- * @throws \Airavata\API\Error\AiravataSystemException
- * @throws \Airavata\API\Error\AuthorizationException
- */
- public function updateGroup(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Group\GroupModel $groupModel);
- /**
- * @param \Airavata\Model\Security\AuthzToken $authzToken
- * @param string $groupId
- * @param string $ownerId
- * @return bool
- * @throws \Airavata\API\Error\InvalidRequestException
- * @throws \Airavata\API\Error\AiravataClientException
- * @throws \Airavata\API\Error\AiravataSystemException
- * @throws \Airavata\API\Error\AuthorizationException
- */
- public function deleteGroup(\Airavata\Model\Security\AuthzToken $authzToken, $groupId, $ownerId);
- /**
- * @param \Airavata\Model\Security\AuthzToken $authzToken
- * @param string $groupId
- * @return \Airavata\Model\Group\GroupModel
- * @throws \Airavata\API\Error\InvalidRequestException
- * @throws \Airavata\API\Error\AiravataClientException
- * @throws \Airavata\API\Error\AiravataSystemException
- * @throws \Airavata\API\Error\AuthorizationException
- */
- public function getGroup(\Airavata\Model\Security\AuthzToken $authzToken, $groupId);
- /**
- * @param \Airavata\Model\Security\AuthzToken $authzToken
- * @param string $userName
- * @return \Airavata\Model\Group\GroupModel[]
- * @throws \Airavata\API\Error\InvalidRequestException
- * @throws \Airavata\API\Error\AiravataClientException
- * @throws \Airavata\API\Error\AiravataSystemException
- * @throws \Airavata\API\Error\AuthorizationException
- */
- public function getAllGroupsUserBelongs(\Airavata\Model\Security\AuthzToken $authzToken, $userName);
}
@@ -15000,339 +14949,281 @@ class AiravataClient implements \Airavata\API\AiravataIf {
throw new \Exception("getAllAccessibleUsers failed: unknown result");
}
- public function createGroup(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Group\GroupModel $groupModel)
- {
- $this->send_createGroup($authzToken, $groupModel);
- return $this->recv_createGroup();
- }
+}
- public function send_createGroup(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Group\GroupModel $groupModel)
- {
- $args = new \Airavata\API\Airavata_createGroup_args();
- $args->authzToken = $authzToken;
- $args->groupModel = $groupModel;
- $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
- if ($bin_accel)
- {
- thrift_protocol_write_binary($this->output_, 'createGroup', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
- }
- else
- {
- $this->output_->writeMessageBegin('createGroup', TMessageType::CALL, $this->seqid_);
- $args->write($this->output_);
- $this->output_->writeMessageEnd();
- $this->output_->getTransport()->flush();
- }
- }
- public function recv_createGroup()
- {
- $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
- if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Airavata\API\Airavata_createGroup_result', $this->input_->isStrictRead());
- else
- {
- $rseqid = 0;
- $fname = null;
- $mtype = 0;
+// HELPER FUNCTIONS AND STRUCTURES
- $this->input_->readMessageBegin($fname, $mtype, $rseqid);
- if ($mtype == TMessageType::EXCEPTION) {
- $x = new TApplicationException();
- $x->read($this->input_);
- $this->input_->readMessageEnd();
- throw $x;
- }
- $result = new \Airavata\API\Airavata_createGroup_result();
- $result->read($this->input_);
- $this->input_->readMessageEnd();
- }
- if ($result->success !== null) {
- return $result->success;
- }
- if ($result->ire !== null) {
- throw $result->ire;
- }
- if ($result->ace !== null) {
- throw $result->ace;
- }
- if ($result->ase !== null) {
- throw $result->ase;
- }
- if ($result->ae !== null) {
- throw $result->ae;
- }
- throw new \Exception("createGroup failed: unknown result");
- }
+class Airavata_getAPIVersion_args {
+ static $_TSPEC;
- public function updateGroup(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Group\GroupModel $groupModel)
- {
- $this->send_updateGroup($authzToken, $groupModel);
- return $this->recv_updateGroup();
- }
+ /**
+ * @var \Airavata\Model\Security\AuthzToken
+ */
+ public $authzToken = null;
- public function send_updateGroup(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Group\GroupModel $groupModel)
- {
- $args = new \Airavata\API\Airavata_updateGroup_args();
- $args->authzToken = $authzToken;
- $args->groupModel = $groupModel;
- $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
- if ($bin_accel)
- {
- thrift_protocol_write_binary($this->output_, 'updateGroup', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
- }
- else
- {
- $this->output_->writeMessageBegin('updateGroup', TMessageType::CALL, $this->seqid_);
- $args->write($this->output_);
- $this->output_->writeMessageEnd();
- $this->output_->getTransport()->flush();
+ public function __construct($vals=null) {
+ if (!isset(self::$_TSPEC)) {
+ self::$_TSPEC = array(
+ 1 => array(
+ 'var' => 'authzToken',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Security\AuthzToken',
+ ),
+ );
}
- }
-
- public function recv_updateGroup()
- {
- $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
- if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Airavata\API\Airavata_updateGroup_result', $this->input_->isStrictRead());
- else
- {
- $rseqid = 0;
- $fname = null;
- $mtype = 0;
-
- $this->input_->readMessageBegin($fname, $mtype, $rseqid);
- if ($mtype == TMessageType::EXCEPTION) {
- $x = new TApplicationException();
- $x->read($this->input_);
- $this->input_->readMessageEnd();
- throw $x;
+ if (is_array($vals)) {
+ if (isset($vals['authzToken'])) {
+ $this->authzToken = $vals['authzToken'];
}
- $result = new \Airavata\API\Airavata_updateGroup_result();
- $result->read($this->input_);
- $this->input_->readMessageEnd();
- }
- if ($result->success !== null) {
- return $result->success;
- }
- if ($result->ire !== null) {
- throw $result->ire;
- }
- if ($result->ace !== null) {
- throw $result->ace;
- }
- if ($result->ase !== null) {
- throw $result->ase;
}
- if ($result->ae !== null) {
- throw $result->ae;
- }
- throw new \Exception("updateGroup failed: unknown result");
}
- public function deleteGroup(\Airavata\Model\Security\AuthzToken $authzToken, $groupId, $ownerId)
- {
- $this->send_deleteGroup($authzToken, $groupId, $ownerId);
- return $this->recv_deleteGroup();
+ public function getName() {
+ return 'Airavata_getAPIVersion_args';
}
- public function send_deleteGroup(\Airavata\Model\Security\AuthzToken $authzToken, $groupId, $ownerId)
+ public function read($input)
{
- $args = new \Airavata\API\Airavata_deleteGroup_args();
- $args->authzToken = $authzToken;
- $args->groupId = $groupId;
- $args->ownerId = $ownerId;
- $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
- if ($bin_accel)
- {
- thrift_protocol_write_binary($this->output_, 'deleteGroup', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
- }
- else
+ $xfer = 0;
+ $fname = null;
+ $ftype = 0;
+ $fid = 0;
+ $xfer += $input->readStructBegin($fname);
+ while (true)
{
- $this->output_->writeMessageBegin('deleteGroup', TMessageType::CALL, $this->seqid_);
- $args->write($this->output_);
- $this->output_->writeMessageEnd();
- $this->output_->getTransport()->flush();
+ $xfer += $input->readFieldBegin($fname, $ftype, $fid);
+ if ($ftype == TType::STOP) {
+ break;
+ }
+ switch ($fid)
+ {
+ case 1:
+ if ($ftype == TType::STRUCT) {
+ $this->authzToken = new \Airavata\Model\Security\AuthzToken();
+ $xfer += $this->authzToken->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ default:
+ $xfer += $input->skip($ftype);
+ break;
+ }
+ $xfer += $input->readFieldEnd();
}
+ $xfer += $input->readStructEnd();
+ return $xfer;
}
- public function recv_deleteGroup()
- {
- $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
- if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Airavata\API\Airavata_deleteGroup_result', $this->input_->isStrictRead());
- else
- {
- $rseqid = 0;
- $fname = null;
- $mtype = 0;
-
- $this->input_->readMessageBegin($fname, $mtype, $rseqid);
- if ($mtype == TMessageType::EXCEPTION) {
- $x = new TApplicationException();
- $x->read($this->input_);
- $this->input_->readMessageEnd();
- throw $x;
+ public function write($output) {
+ $xfer = 0;
+ $xfer += $output->writeStructBegin('Airavata_getAPIVersion_args');
+ if ($this->authzToken !== null) {
+ if (!is_object($this->authzToken)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $result = new \Airavata\API\Airavata_deleteGroup_result();
- $result->read($this->input_);
- $this->input_->readMessageEnd();
- }
- if ($result->success !== null) {
- return $result->success;
- }
- if ($result->ire !== null) {
- throw $result->ire;
- }
- if ($result->ace !== null) {
- throw $result->ace;
- }
- if ($result->ase !== null) {
- throw $result->ase;
- }
- if ($result->ae !== null) {
- throw $result->ae;
+ $xfer += $output->writeFieldBegin('authzToken', TType::STRUCT, 1);
+ $xfer += $this->authzToken->write($output);
+ $xfer += $output->writeFieldEnd();
}
- throw new \Exception("deleteGroup failed: unknown result");
+ $xfer += $output->writeFieldStop();
+ $xfer += $output->writeStructEnd();
+ return $xfer;
}
- public function getGroup(\Airavata\Model\Security\AuthzToken $authzToken, $groupId)
- {
- $this->send_getGroup($authzToken, $groupId);
- return $this->recv_getGroup();
- }
+}
- public function send_getGroup(\Airavata\Model\Security\AuthzToken $authzToken, $groupId)
- {
- $args = new \Airavata\API\Airavata_getGroup_args();
- $args->authzToken = $authzToken;
- $args->groupId = $groupId;
- $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
- if ($bin_accel)
- {
- thrift_protocol_write_binary($this->output_, 'getGroup', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
- }
- else
- {
- $this->output_->writeMessageBegin('getGroup', TMessageType::CALL, $this->seqid_);
- $args->write($this->output_);
- $this->output_->writeMessageEnd();
- $this->output_->getTransport()->flush();
- }
- }
+class Airavata_getAPIVersion_result {
+ static $_TSPEC;
- public function recv_getGroup()
- {
- $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
- if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Airavata\API\Airavata_getGroup_result', $this->input_->isStrictRead());
- else
- {
- $rseqid = 0;
- $fname = null;
- $mtype = 0;
+ /**
+ * @var string
+ */
+ public $success = null;
+ /**
+ * @var \Airavata\API\Error\InvalidRequestException
+ */
+ public $ire = null;
+ /**
+ * @var \Airavata\API\Error\AiravataClientException
+ */
+ public $ace = null;
+ /**
+ * @var \Airavata\API\Error\AiravataSystemException
+ */
+ public $ase = null;
+ /**
+ * @var \Airavata\API\Error\AuthorizationException
+ */
+ public $ae = null;
- $this->input_->readMessageBegin($fname, $mtype, $rseqid);
- if ($mtype == TMessageType::EXCEPTION) {
- $x = new TApplicationException();
- $x->read($this->input_);
- $this->input_->readMessageEnd();
- throw $x;
- }
- $result = new \Airavata\API\Airavata_getGroup_result();
- $result->read($this->input_);
- $this->input_->readMessageEnd();
- }
- if ($result->success !== null) {
- return $result->success;
- }
- if ($result->ire !== null) {
- throw $result->ire;
- }
- if ($result->ace !== null) {
- throw $result->ace;
- }
- if ($result->ase !== null) {
- throw $result->ase;
+ public function __construct($vals=null) {
+ if (!isset(self::$_TSPEC)) {
+ self::$_TSPEC = array(
+ 0 => array(
+ 'var' => 'success',
+ 'type' => TType::STRING,
+ ),
+ 1 => array(
+ 'var' => 'ire',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\InvalidRequestException',
+ ),
+ 2 => array(
+ 'var' => 'ace',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\AiravataClientException',
+ ),
+ 3 => array(
+ 'var' => 'ase',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\AiravataSystemException',
+ ),
+ 4 => array(
+ 'var' => 'ae',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\AuthorizationException',
+ ),
+ );
}
- if ($result->ae !== null) {
- throw $result->ae;
+ if (is_array($vals)) {
+ if (isset($vals['success'])) {
+ $this->success = $vals['success'];
+ }
+ if (isset($vals['ire'])) {
+ $this->ire = $vals['ire'];
+ }
+ if (isset($vals['ace'])) {
+ $this->ace = $vals['ace'];
+ }
+ if (isset($vals['ase'])) {
+ $this->ase = $vals['ase'];
+ }
+ if (isset($vals['ae'])) {
+ $this->ae = $vals['ae'];
+ }
}
- throw new \Exception("getGroup failed: unknown result");
}
- public function getAllGroupsUserBelongs(\Airavata\Model\Security\AuthzToken $authzToken, $userName)
- {
- $this->send_getAllGroupsUserBelongs($authzToken, $userName);
- return $this->recv_getAllGroupsUserBelongs();
+ public function getName() {
+ return 'Airavata_getAPIVersion_result';
}
- public function send_getAllGroupsUserBelongs(\Airavata\Model\Security\AuthzToken $authzToken, $userName)
+ public function read($input)
{
- $args = new \Airavata\API\Airavata_getAllGroupsUserBelongs_args();
- $args->authzToken = $authzToken;
- $args->userName = $userName;
- $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
- if ($bin_accel)
- {
- thrift_protocol_write_binary($this->output_, 'getAllGroupsUserBelongs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
- }
- else
+ $xfer = 0;
+ $fname = null;
+ $ftype = 0;
+ $fid = 0;
+ $xfer += $input->readStructBegin($fname);
+ while (true)
{
- $this->output_->writeMessageBegin('getAllGroupsUserBelongs', TMessageType::CALL, $this->seqid_);
- $args->write($this->output_);
- $this->output_->writeMessageEnd();
- $this->output_->getTransport()->flush();
+ $xfer += $input->readFieldBegin($fname, $ftype, $fid);
+ if ($ftype == TType::STOP) {
+ break;
+ }
+ switch ($fid)
+ {
+ case 0:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 1:
+ if ($ftype == TType::STRUCT) {
+ $this->ire = new \Airavata\API\Error\InvalidRequestException();
+ $xfer += $this->ire->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 2:
+ if ($ftype == TType::STRUCT) {
+ $this->ace = new \Airavata\API\Error\AiravataClientException();
+ $xfer += $this->ace->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->ase = new \Airavata\API\Error\AiravataSystemException();
+ $xfer += $this->ase->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
+ if ($ftype == TType::STRUCT) {
+ $this->ae = new \Airavata\API\Error\AuthorizationException();
+ $xfer += $this->ae->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ default:
+ $xfer += $input->skip($ftype);
+ break;
+ }
+ $xfer += $input->readFieldEnd();
}
+ $xfer += $input->readStructEnd();
+ return $xfer;
}
- public function recv_getAllGroupsUserBelongs()
- {
- $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
- if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Airavata\API\Airavata_getAllGroupsUserBelongs_result', $this->input_->isStrictRead());
- else
- {
- $rseqid = 0;
- $fname = null;
- $mtype = 0;
-
- $this->input_->readMessageBegin($fname, $mtype, $rseqid);
- if ($mtype == TMessageType::EXCEPTION) {
- $x = new TApplicationException();
- $x->read($this->input_);
- $this->input_->readMessageEnd();
- throw $x;
- }
- $result = new \Airavata\API\Airavata_getAllGroupsUserBelongs_result();
- $result->read($this->input_);
- $this->input_->readMessageEnd();
- }
- if ($result->success !== null) {
- return $result->success;
+ public function write($output) {
+ $xfer = 0;
+ $xfer += $output->writeStructBegin('Airavata_getAPIVersion_result');
+ if ($this->success !== null) {
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
+ $xfer += $output->writeFieldEnd();
}
- if ($result->ire !== null) {
- throw $result->ire;
+ if ($this->ire !== null) {
+ $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
+ $xfer += $this->ire->write($output);
+ $xfer += $output->writeFieldEnd();
}
- if ($result->ace !== null) {
- throw $result->ace;
+ if ($this->ace !== null) {
+ $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
+ $xfer += $this->ace->write($output);
+ $xfer += $output->writeFieldEnd();
}
- if ($result->ase !== null) {
- throw $result->ase;
+ if ($this->ase !== null) {
+ $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
+ $xfer += $this->ase->write($output);
+ $xfer += $output->writeFieldEnd();
}
- if ($result->ae !== null) {
- throw $result->ae;
+ if ($this->ae !== null) {
+ $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
+ $xfer += $this->ae->write($output);
+ $xfer += $output->writeFieldEnd();
}
- throw new \Exception("getAllGroupsUserBelongs failed: unknown result");
+ $xfer += $output->writeFieldStop();
+ $xfer += $output->writeStructEnd();
+ return $xfer;
}
}
-
-// HELPER FUNCTIONS AND STRUCTURES
-
-class Airavata_getAPIVersion_args {
+class Airavata_isUserExists_args {
static $_TSPEC;
/**
* @var \Airavata\Model\Security\AuthzToken
*/
public $authzToken = null;
+ /**
+ * @var string
+ */
+ public $gatewayId = null;
+ /**
+ * @var string
+ */
+ public $userName = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -15342,17 +15233,31 @@ class Airavata_getAPIVersion_args {
'type' => TType::STRUCT,
'class' => '\Airavata\Model\Security\AuthzToken',
),
+ 2 => array(
+ 'var' => 'gatewayId',
+ 'type' => TType::STRING,
+ ),
+ 3 => array(
+ 'var' => 'userName',
+ 'type' => TType::STRING,
+ ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
+ }
+ if (isset($vals['userName'])) {
+ $this->userName = $vals['userName'];
+ }
}
}
public function getName() {
- return 'Airavata_getAPIVersion_args';
+ return 'Airavata_isUserExists_args';
}
public function read($input)
@@ -15378,6 +15283,20 @@ class Airavata_getAPIVersion_args {
$xfer += $input->skip($ftype);
}
break;
+ case 2:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->gatewayId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->userName);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -15390,7 +15309,7 @@ class Airavata_getAPIVersion_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAPIVersion_args');
+ $xfer += $output->writeStructBegin('Airavata_isUserExists_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -15399,6 +15318,16 @@ class Airavata_getAPIVersion_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->userName !== null) {
+ $xfer += $output->writeFieldBegin('userName', TType::STRING, 3);
+ $xfer += $output->writeString($this->userName);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -15406,11 +15335,11 @@ class Airavata_getAPIVersion_args {
}
-class Airavata_getAPIVersion_result {
+class Airavata_isUserExists_result {
static $_TSPEC;
/**
- * @var string
+ * @var bool
*/
public $success = null;
/**
@@ -15435,7 +15364,7 @@ class Airavata_getAPIVersion_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -15479,7 +15408,7 @@ class Airavata_getAPIVersion_result {
}
public function getName() {
- return 'Airavata_getAPIVersion_result';
+ return 'Airavata_isUserExists_result';
}
public function read($input)
@@ -15498,8 +15427,8 @@ class Airavata_getAPIVersion_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -15548,10 +15477,10 @@ class Airavata_getAPIVersion_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAPIVersion_result');
+ $xfer += $output->writeStructBegin('Airavata_isUserExists_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -15581,7 +15510,7 @@ class Airavata_getAPIVersion_result {
}
-class Airavata_isUserExists_args {
+class Airavata_addGateway_args {
static $_TSPEC;
/**
@@ -15589,13 +15518,9 @@ class Airavata_isUserExists_args {
*/
public $authzToken = null;
/**
- * @var string
- */
- public $gatewayId = null;
- /**
- * @var string
+ * @var \Airavata\Model\Workspace\Gateway
*/
- public $userName = null;
+ public $gateway = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -15606,12 +15531,9 @@ class Airavata_isUserExists_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
- 'type' => TType::STRING,
- ),
- 3 => array(
- 'var' => 'userName',
- 'type' => TType::STRING,
+ 'var' => 'gateway',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Workspace\Gateway',
),
);
}
@@ -15619,17 +15541,14 @@ class Airavata_isUserExists_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
- }
- if (isset($vals['userName'])) {
- $this->userName = $vals['userName'];
+ if (isset($vals['gateway'])) {
+ $this->gateway = $vals['gateway'];
}
}
}
public function getName() {
- return 'Airavata_isUserExists_args';
+ return 'Airavata_addGateway_args';
}
public function read($input)
@@ -15656,15 +15575,9 @@ class Airavata_isUserExists_args {
}
break;
case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->userName);
+ if ($ftype == TType::STRUCT) {
+ $this->gateway = new \Airavata\Model\Workspace\Gateway();
+ $xfer += $this->gateway->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -15681,7 +15594,7 @@ class Airavata_isUserExists_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_isUserExists_args');
+ $xfer += $output->writeStructBegin('Airavata_addGateway_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -15690,14 +15603,12 @@ class Airavata_isUserExists_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
- $xfer += $output->writeString($this->gatewayId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->userName !== null) {
- $xfer += $output->writeFieldBegin('userName', TType::STRING, 3);
- $xfer += $output->writeString($this->userName);
+ if ($this->gateway !== null) {
+ if (!is_object($this->gateway)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('gateway', TType::STRUCT, 2);
+ $xfer += $this->gateway->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -15707,11 +15618,11 @@ class Airavata_isUserExists_args {
}
-class Airavata_isUserExists_result {
+class Airavata_addGateway_result {
static $_TSPEC;
/**
- * @var bool
+ * @var string
*/
public $success = null;
/**
@@ -15736,7 +15647,7 @@ class Airavata_isUserExists_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -15780,7 +15691,7 @@ class Airavata_isUserExists_result {
}
public function getName() {
- return 'Airavata_isUserExists_result';
+ return 'Airavata_addGateway_result';
}
public function read($input)
@@ -15799,8 +15710,8 @@ class Airavata_isUserExists_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -15849,10 +15760,10 @@ class Airavata_isUserExists_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_isUserExists_result');
+ $xfer += $output->writeStructBegin('Airavata_addGateway_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -15882,7 +15793,7 @@ class Airavata_isUserExists_result {
}
-class Airavata_addGateway_args {
+class Airavata_getAllUsersInGateway_args {
static $_TSPEC;
/**
@@ -15890,9 +15801,9 @@ class Airavata_addGateway_args {
*/
public $authzToken = null;
/**
- * @var \Airavata\Model\Workspace\Gateway
+ * @var string
*/
- public $gateway = null;
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -15903,9 +15814,8 @@ class Airavata_addGateway_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gateway',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Workspace\Gateway',
+ 'var' => 'gatewayId',
+ 'type' => TType::STRING,
),
);
}
@@ -15913,14 +15823,14 @@ class Airavata_addGateway_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['gateway'])) {
- $this->gateway = $vals['gateway'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
}
}
}
public function getName() {
- return 'Airavata_addGateway_args';
+ return 'Airavata_getAllUsersInGateway_args';
}
public function read($input)
@@ -15947,9 +15857,8 @@ class Airavata_addGateway_args {
}
break;
case 2:
- if ($ftype == TType::STRUCT) {
- $this->gateway = new \Airavata\Model\Workspace\Gateway();
- $xfer += $this->gateway->read($input);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -15966,7 +15875,7 @@ class Airavata_addGateway_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addGateway_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllUsersInGateway_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -15975,12 +15884,9 @@ class Airavata_addGateway_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->gateway !== null) {
- if (!is_object($this->gateway)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('gateway', TType::STRUCT, 2);
- $xfer += $this->gateway->write($output);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -15990,11 +15896,11 @@ class Airavata_addGateway_args {
}
-class Airavata_addGateway_result {
+class Airavata_getAllUsersInGateway_result {
static $_TSPEC;
/**
- * @var string
+ * @var string[]
*/
public $success = null;
/**
@@ -16019,7 +15925,11 @@ class Airavata_addGateway_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::LST,
+ 'etype' => TType::STRING,
+ 'elem' => array(
+ 'type' => TType::STRING,
+ ),
),
1 => array(
'var' => 'ire',
@@ -16063,7 +15973,7 @@ class Airavata_addGateway_result {
}
public function getName() {
- return 'Airavata_addGateway_result';
+ return 'Airavata_getAllUsersInGateway_result';
}
public function read($input)
@@ -16082,8 +15992,18 @@ class Airavata_addGateway_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size0 = 0;
+ $_etype3 = 0;
+ $xfer += $input->readListBegin($_etype3, $_size0);
+ for ($_i4 = 0; $_i4 < $_size0; ++$_i4)
+ {
+ $elem5 = null;
+ $xfer += $input->readString($elem5);
+ $this->success []= $elem5;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -16132,10 +16052,22 @@ class Airavata_addGateway_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_addGateway_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllUsersInGateway_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ if (!is_array($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::LST, 0);
+ {
+ $output->writeListBegin(TType::STRING, count($this->success));
+ {
+ foreach ($this->success as $iter6)
+ {
+ $xfer += $output->writeString($iter6);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -16165,7 +16097,7 @@ class Airavata_addGateway_result {
}
-class Airavata_getAllUsersInGateway_args {
+class Airavata_updateGateway_args {
static $_TSPEC;
/**
@@ -16176,6 +16108,10 @@ class Airavata_getAllUsersInGateway_args {
* @var string
*/
public $gatewayId = null;
+ /**
+ * @var \Airavata\Model\Workspace\Gateway
+ */
+ public $updatedGateway = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -16189,6 +16125,11 @@ class Airavata_getAllUsersInGateway_args {
'var' => 'gatewayId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'updatedGateway',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Workspace\Gateway',
+ ),
);
}
if (is_array($vals)) {
@@ -16198,11 +16139,14 @@ class Airavata_getAllUsersInGateway_args {
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
+ if (isset($vals['updatedGateway'])) {
+ $this->updatedGateway = $vals['updatedGateway'];
+ }
}
}
public function getName() {
- return 'Airavata_getAllUsersInGateway_args';
+ return 'Airavata_updateGateway_args';
}
public function read($input)
@@ -16235,6 +16179,14 @@ class Airavata_getAllUsersInGateway_args {
$xfer += $input->skip($ftype);
}
break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->updatedGateway = new \Airavata\Model\Workspace\Gateway();
+ $xfer += $this->updatedGateway->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -16247,7 +16199,7 @@ class Airavata_getAllUsersInGateway_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllUsersInGateway_args');
+ $xfer += $output->writeStructBegin('Airavata_updateGateway_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -16261,6 +16213,14 @@ class Airavata_getAllUsersInGateway_args {
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
+ if ($this->updatedGateway !== null) {
+ if (!is_object($this->updatedGateway)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('updatedGateway', TType::STRUCT, 3);
+ $xfer += $this->updatedGateway->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -16268,11 +16228,11 @@ class Airavata_getAllUsersInGateway_args {
}
-class Airavata_getAllUsersInGateway_result {
+class Airavata_updateGateway_result {
static $_TSPEC;
/**
- * @var string[]
+ * @var bool
*/
public $success = null;
/**
@@ -16297,11 +16257,7 @@ class Airavata_getAllUsersInGateway_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRING,
- 'elem' => array(
- 'type' => TType::STRING,
- ),
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -16345,7 +16301,7 @@ class Airavata_getAllUsersInGateway_result {
}
public function getName() {
- return 'Airavata_getAllUsersInGateway_result';
+ return 'Airavata_updateGateway_result';
}
public function read($input)
@@ -16364,18 +16320,8 @@ class Airavata_getAllUsersInGateway_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size0 = 0;
- $_etype3 = 0;
- $xfer += $input->readListBegin($_etype3, $_size0);
- for ($_i4 = 0; $_i4 < $_size0; ++$_i4)
- {
- $elem5 = null;
- $xfer += $input->readString($elem5);
- $this->success []= $elem5;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -16424,22 +16370,10 @@ class Airavata_getAllUsersInGateway_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllUsersInGateway_result');
+ $xfer += $output->writeStructBegin('Airavata_updateGateway_result');
if ($this->success !== null) {
- if (!is_array($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::LST, 0);
- {
- $output->writeListBegin(TType::STRING, count($this->success));
- {
- foreach ($this->success as $iter6)
- {
- $xfer += $output->writeString($iter6);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -16469,7 +16403,7 @@ class Airavata_getAllUsersInGateway_result {
}
-class Airavata_updateGateway_args {
+class Airavata_getGateway_args {
static $_TSPEC;
/**
@@ -16480,10 +16414,6 @@ class Airavata_updateGateway_args {
* @var string
*/
public $gatewayId = null;
- /**
- * @var \Airavata\Model\Workspace\Gateway
- */
- public $updatedGateway = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -16497,11 +16427,6 @@ class Airavata_updateGateway_args {
'var' => 'gatewayId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'updatedGateway',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Workspace\Gateway',
- ),
);
}
if (is_array($vals)) {
@@ -16511,14 +16436,11 @@ class Airavata_updateGateway_args {
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
- if (isset($vals['updatedGateway'])) {
- $this->updatedGateway = $vals['updatedGateway'];
- }
}
}
public function getName() {
- return 'Airavata_updateGateway_args';
+ return 'Airavata_getGateway_args';
}
public function read($input)
@@ -16551,14 +16473,6 @@ class Airavata_updateGateway_args {
$xfer += $input->skip($ftype);
}
break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->updatedGateway = new \Airavata\Model\Workspace\Gateway();
- $xfer += $this->updatedGateway->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -16571,7 +16485,7 @@ class Airavata_updateGateway_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateGateway_args');
+ $xfer += $output->writeStructBegin('Airavata_getGateway_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -16585,14 +16499,6 @@ class Airavata_updateGateway_args {
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
- if ($this->updatedGateway !== null) {
- if (!is_object($this->updatedGateway)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('updatedGateway', TType::STRUCT, 3);
- $xfer += $this->updatedGateway->write($output);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -16600,11 +16506,11 @@ class Airavata_updateGateway_args {
}
-class Airavata_updateGateway_result {
+class Airavata_getGateway_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\Workspace\Gateway
*/
public $success = null;
/**
@@ -16629,7 +16535,8 @@ class Airavata_updateGateway_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Workspace\Gateway',
),
1 => array(
'var' => 'ire',
@@ -16673,7 +16580,7 @@ class Airavata_updateGateway_result {
}
public function getName() {
- return 'Airavata_updateGateway_result';
+ return 'Airavata_getGateway_result';
}
public function read($input)
@@ -16692,8 +16599,9 @@ class Airavata_updateGateway_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\Workspace\Gateway();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -16742,10 +16650,13 @@ class Airavata_updateGateway_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateGateway_result');
+ $xfer += $output->writeStructBegin('Airavata_getGateway_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ if (!is_object($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -16775,7 +16686,7 @@ class Airavata_updateGateway_result {
}
-class Airavata_getGateway_args {
+class Airavata_deleteGateway_args {
static $_TSPEC;
/**
@@ -16812,7 +16723,7 @@ class Airavata_getGateway_args {
}
public function getName() {
- return 'Airavata_getGateway_args';
+ return 'Airavata_deleteGateway_args';
}
public function read($input)
@@ -16857,7 +16768,7 @@ class Airavata_getGateway_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getGateway_args');
+ $xfer += $output->writeStructBegin('Airavata_deleteGateway_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -16878,11 +16789,11 @@ class Airavata_getGateway_args {
}
-class Airavata_getGateway_result {
+class Airavata_deleteGateway_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Workspace\Gateway
+ * @var bool
*/
public $success = null;
/**
@@ -16907,8 +16818,7 @@ class Airavata_getGateway_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Workspace\Gateway',
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -16952,7 +16862,7 @@ class Airavata_getGateway_result {
}
public function getName() {
- return 'Airavata_getGateway_result';
+ return 'Airavata_deleteGateway_result';
}
public function read($input)
@@ -16971,9 +16881,8 @@ class Airavata_getGateway_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\Workspace\Gateway();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -17022,13 +16931,10 @@ class Airavata_getGateway_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getGateway_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteGateway_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -17058,17 +16964,13 @@ class Airavata_getGateway_result {
}
-class Airavata_deleteGateway_args {
+class Airavata_getAllGateways_args {
static $_TSPEC;
/**
* @var \Airavata\Model\Security\AuthzToken
*/
public $authzToken = null;
- /**
- * @var string
- */
- public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -17078,24 +16980,17 @@ class Airavata_deleteGateway_args {
'type' => TType::STRUCT,
'class' => '\Airavata\Model\Security\AuthzToken',
),
- 2 => array(
- 'var' => 'gatewayId',
- 'type' => TType::STRING,
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
- }
}
}
public function getName() {
- return 'Airavata_deleteGateway_args';
+ return 'Airavata_getAllGateways_args';
}
public function read($input)
@@ -17121,13 +17016,6 @@ class Airavata_deleteGateway_args {
$xfer += $input->skip($ftype);
}
break;
- case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -17140,7 +17028,7 @@ class Airavata_deleteGateway_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteGateway_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllGateways_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -17149,11 +17037,6 @@ class Airavata_deleteGateway_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
- $xfer += $output->writeString($this->gatewayId);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -17161,11 +17044,11 @@ class Airavata_deleteGateway_args {
}
-class Airavata_deleteGateway_result {
+class Airavata_getAllGateways_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\Workspace\Gateway[]
*/
public $success = null;
/**
@@ -17190,7 +17073,12 @@ class Airavata_deleteGateway_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Workspace\Gateway',
+ ),
),
1 => array(
'var' => 'ire',
@@ -17234,7 +17122,7 @@ class Airavata_deleteGateway_result {
}
public function getName() {
- return 'Airavata_deleteGateway_result';
+ return 'Airavata_getAllGateways_result';
}
public function read($input)
@@ -17253,8 +17141,19 @@ class Airavata_deleteGateway_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size7 = 0;
+ $_etype10 = 0;
+ $xfer += $input->readListBegin($_etype10, $_size7);
+ for ($_i11 = 0; $_i11 < $_size7; ++$_i11)
+ {
+ $elem12 = null;
+ $elem12 = new \Airavata\Model\Workspace\Gateway();
+ $xfer += $elem12->read($input);
+ $this->success []= $elem12;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -17303,10 +17202,22 @@ class Airavata_deleteGateway_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteGateway_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllGateways_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ if (!is_array($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::LST, 0);
+ {
+ $output->writeListBegin(TType::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $iter13)
+ {
+ $xfer += $iter13->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -17336,13 +17247,17 @@ class Airavata_deleteGateway_result {
}
-class Airavata_getAllGateways_args {
+class Airavata_isGatewayExist_args {
static $_TSPEC;
/**
* @var \Airavata\Model\Security\AuthzToken
*/
public $authzToken = null;
+ /**
+ * @var string
+ */
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -17352,17 +17267,24 @@ class Airavata_getAllGateways_args {
'type' => TType::STRUCT,
'class' => '\Airavata\Model\Security\AuthzToken',
),
+ 2 => array(
+ 'var' => 'gatewayId',
+ 'type' => TType::STRING,
+ ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
+ }
}
}
public function getName() {
- return 'Airavata_getAllGateways_args';
+ return 'Airavata_isGatewayExist_args';
}
public function read($input)
@@ -17388,6 +17310,13 @@ class Airavata_getAllGateways_args {
$xfer += $input->skip($ftype);
}
break;
+ case 2:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->gatewayId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -17400,7 +17329,7 @@ class Airavata_getAllGateways_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllGateways_args');
+ $xfer += $output->writeStructBegin('Airavata_isGatewayExist_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -17409,6 +17338,11 @@ class Airavata_getAllGateways_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -17416,11 +17350,11 @@ class Airavata_getAllGateways_args {
}
-class Airavata_getAllGateways_result {
+class Airavata_isGatewayExist_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Workspace\Gateway[]
+ * @var bool
*/
public $success = null;
/**
@@ -17445,12 +17379,7 @@ class Airavata_getAllGateways_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Workspace\Gateway',
- ),
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -17494,7 +17423,7 @@ class Airavata_getAllGateways_result {
}
public function getName() {
- return 'Airavata_getAllGateways_result';
+ return 'Airavata_isGatewayExist_result';
}
public function read($input)
@@ -17513,19 +17442,8 @@ class Airavata_getAllGateways_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size7 = 0;
- $_etype10 = 0;
- $xfer += $input->readListBegin($_etype10, $_size7);
- for ($_i11 = 0; $_i11 < $_size7; ++$_i11)
- {
- $elem12 = null;
- $elem12 = new \Airavata\Model\Workspace\Gateway();
- $xfer += $elem12->read($input);
- $this->success []= $elem12;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -17574,22 +17492,10 @@ class Airavata_getAllGateways_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllGateways_result');
+ $xfer += $output->writeStructBegin('Airavata_isGatewayExist_result');
if ($this->success !== null) {
- if (!is_array($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::LST, 0);
- {
- $output->writeListBegin(TType::STRUCT, count($this->success));
- {
- foreach ($this->success as $iter13)
- {
- $xfer += $iter13->write($output);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -17619,7 +17525,7 @@ class Airavata_getAllGateways_result {
}
-class Airavata_isGatewayExist_args {
+class Airavata_createNotification_args {
static $_TSPEC;
/**
@@ -17627,9 +17533,9 @@ class Airavata_isGatewayExist_args {
*/
public $authzToken = null;
/**
- * @var string
+ * @var \Airavata\Model\Workspace\Notification
*/
- public $gatewayId = null;
+ public $notification = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -17640,8 +17546,9 @@ class Airavata_isGatewayExist_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
- 'type' => TType::STRING,
+ 'var' => 'notification',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Workspace\Notification',
),
);
}
@@ -17649,14 +17556,14 @@ class Airavata_isGatewayExist_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
+ if (isset($vals['notification'])) {
+ $this->notification = $vals['notification'];
}
}
}
public function getName() {
- return 'Airavata_isGatewayExist_args';
+ return 'Airavata_createNotification_args';
}
public function read($input)
@@ -17683,8 +17590,9 @@ class Airavata_isGatewayExist_args {
}
break;
case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ if ($ftype == TType::STRUCT) {
+ $this->notification = new \Airavata\Model\Workspace\Notification();
+ $xfer += $this->notification->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -17701,7 +17609,7 @@ class Airavata_isGatewayExist_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_isGatewayExist_args');
+ $xfer += $output->writeStructBegin('Airavata_createNotification_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -17710,9 +17618,12 @@ class Airavata_isGatewayExist_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
- $xfer += $output->writeString($this->gatewayId);
+ if ($this->notification !== null) {
+ if (!is_object($this->notification)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('notification', TType::STRUCT, 2);
+ $xfer += $this->notification->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -17722,11 +17633,11 @@ class Airavata_isGatewayExist_args {
}
-class Airavata_isGatewayExist_result {
+class Airavata_createNotification_result {
static $_TSPEC;
/**
- * @var bool
+ * @var string
*/
public $success = null;
/**
@@ -17751,7 +17662,7 @@ class Airavata_isGatewayExist_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -17795,7 +17706,7 @@ class Airavata_isGatewayExist_result {
}
public function getName() {
- return 'Airavata_isGatewayExist_result';
+ return 'Airavata_createNotification_result';
}
public function read($input)
@@ -17814,8 +17725,8 @@ class Airavata_isGatewayExist_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -17864,10 +17775,10 @@ class Airavata_isGatewayExist_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_isGatewayExist_result');
+ $xfer += $output->writeStructBegin('Airavata_createNotification_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -17897,7 +17808,7 @@ class Airavata_isGatewayExist_result {
}
-class Airavata_createNotification_args {
+class Airavata_updateNotification_args {
static $_TSPEC;
/**
@@ -17935,7 +17846,7 @@ class Airavata_createNotification_args {
}
public function getName() {
- return 'Airavata_createNotification_args';
+ return 'Airavata_updateNotification_args';
}
public function read($input)
@@ -17981,7 +17892,7 @@ class Airavata_createNotification_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_createNotification_args');
+ $xfer += $output->writeStructBegin('Airavata_updateNotification_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -18005,11 +17916,11 @@ class Airavata_createNotification_args {
}
-class Airavata_createNotification_result {
+class Airavata_updateNotification_result {
static $_TSPEC;
/**
- * @var string
+ * @var bool
*/
public $success = null;
/**
@@ -18034,7 +17945,7 @@ class Airavata_createNotification_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -18078,7 +17989,7 @@ class Airavata_createNotification_result {
}
public function getName() {
- return 'Airavata_createNotification_result';
+ return 'Airavata_updateNotification_result';
}
public function read($input)
@@ -18097,8 +18008,8 @@ class Airavata_createNotification_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -18147,10 +18058,10 @@ class Airavata_createNotification_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_createNotification_result');
+ $xfer += $output->writeStructBegin('Airavata_updateNotification_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -18180,7 +18091,7 @@ class Airavata_createNotification_result {
}
-class Airavata_updateNotification_args {
+class Airavata_deleteNotification_args {
static $_TSPEC;
/**
@@ -18188,9 +18099,13 @@ class Airavata_updateNotification_args {
*/
public $authzToken = null;
/**
- * @var \Airavata\Model\Workspace\Notification
+ * @var string
*/
- public $notification = null;
+ public $gatewayId = null;
+ /**
+ * @var string
+ */
+ public $notificationId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -18201,9 +18116,12 @@ class Airavata_updateNotification_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'notification',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Workspace\Notification',
+ 'var' => 'gatewayId',
+ 'type' => TType::STRING,
+ ),
+ 3 => array(
+ 'var' => 'notificationId',
+ 'type' => TType::STRING,
),
);
}
@@ -18211,14 +18129,17 @@ class Airavata_updateNotification_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['notification'])) {
- $this->notification = $vals['notification'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
+ }
+ if (isset($vals['notificationId'])) {
+ $this->notificationId = $vals['notificationId'];
}
}
}
public function getName() {
- return 'Airavata_updateNotification_args';
+ return 'Airavata_deleteNotification_args';
}
public function read($input)
@@ -18245,9 +18166,15 @@ class Airavata_updateNotification_args {
}
break;
case 2:
- if ($ftype == TType::STRUCT) {
- $this->notification = new \Airavata\Model\Workspace\Notification();
- $xfer += $this->notification->read($input);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->gatewayId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->notificationId);
} else {
$xfer += $input->skip($ftype);
}
@@ -18264,7 +18191,7 @@ class Airavata_updateNotification_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateNotification_args');
+ $xfer += $output->writeStructBegin('Airavata_deleteNotification_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -18273,12 +18200,14 @@ class Airavata_updateNotification_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->notification !== null) {
- if (!is_object($this->notification)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('notification', TType::STRUCT, 2);
- $xfer += $this->notification->write($output);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->notificationId !== null) {
+ $xfer += $output->writeFieldBegin('notificationId', TType::STRING, 3);
+ $xfer += $output->writeString($this->notificationId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -18288,7 +18217,7 @@ class Airavata_updateNotification_args {
}
-class Airavata_updateNotification_result {
+class Airavata_deleteNotification_result {
static $_TSPEC;
/**
@@ -18361,7 +18290,7 @@ class Airavata_updateNotification_result {
}
public function getName() {
- return 'Airavata_updateNotification_result';
+ return 'Airavata_deleteNotification_result';
}
public function read($input)
@@ -18430,7 +18359,7 @@ class Airavata_updateNotification_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateNotification_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteNotification_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
$xfer += $output->writeBool($this->success);
@@ -18463,7 +18392,7 @@ class Airavata_updateNotification_result {
}
-class Airavata_deleteNotification_args {
+class Airavata_getNotification_args {
static $_TSPEC;
/**
@@ -18511,7 +18440,7 @@ class Airavata_deleteNotification_args {
}
public function getName() {
- return 'Airavata_deleteNotification_args';
+ return 'Airavata_getNotification_args';
}
public function read($input)
@@ -18563,7 +18492,7 @@ class Airavata_deleteNotification_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteNotification_args');
+ $xfer += $output->writeStructBegin('Airavata_getNotification_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -18589,11 +18518,11 @@ class Airavata_deleteNotification_args {
}
-class Airavata_deleteNotification_result {
+class Airavata_getNotification_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\Workspace\Notification
*/
public $success = null;
/**
@@ -18618,7 +18547,8 @@ class Airavata_deleteNotification_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Workspace\Notification',
),
1 => array(
'var' => 'ire',
@@ -18662,7 +18592,7 @@ class Airavata_deleteNotification_result {
}
public function getName() {
- return 'Airavata_deleteNotification_result';
+ return 'Airavata_getNotification_result';
}
public function read($input)
@@ -18681,8 +18611,9 @@ class Airavata_deleteNotification_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\Workspace\Notification();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -18731,10 +18662,13 @@ class Airavata_deleteNotification_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteNotification_result');
+ $xfer += $output->writeStructBegin('Airavata_getNotification_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ if (!is_object($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -18764,7 +18698,7 @@ class Airavata_deleteNotification_result {
}
-class Airavata_getNotification_args {
+class Airavata_getAllNotifications_args {
static $_TSPEC;
/**
@@ -18775,10 +18709,6 @@ class Airavata_getNotification_args {
* @var string
*/
public $gatewayId = null;
- /**
- * @var string
- */
- public $notificationId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -18792,10 +18722,6 @@ class Airavata_getNotification_args {
'var' => 'gatewayId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'notificationId',
- 'type' => TType::STRING,
- ),
);
}
if (is_array($vals)) {
@@ -18805,14 +18731,11 @@ class Airavata_getNotification_args {
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
- if (isset($vals['notificationId'])) {
- $this->notificationId = $vals['notificationId'];
- }
}
}
public function getName() {
- return 'Airavata_getNotification_args';
+ return 'Airavata_getAllNotifications_args';
}
public function read($input)
@@ -18845,13 +18768,6 @@ class Airavata_getNotification_args {
$xfer += $input->skip($ftype);
}
break;
- case 3:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->notificationId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -18864,7 +18780,7 @@ class Airavata_getNotification_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getNotification_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllNotifications_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -18878,11 +18794,6 @@ class Airavata_getNotification_args {
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
- if ($this->notificationId !== null) {
- $xfer += $output->writeFieldBegin('notificationId', TType::STRING, 3);
- $xfer += $output->writeString($this->notificationId);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -18890,11 +18801,11 @@ class Airavata_getNotification_args {
}
-class Airavata_getNotification_result {
+class Airavata_getAllNotifications_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Workspace\Notification
+ * @var \Airavata\Model\Workspace\Notification[]
*/
public $success = null;
/**
@@ -18919,8 +18830,12 @@ class Airavata_getNotification_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Workspace\Notification',
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Workspace\Notification',
+ ),
),
1 => array(
'var' => 'ire',
@@ -18964,7 +18879,7 @@ class Airavata_getNotification_result {
}
public function getName() {
- return 'Airavata_getNotification_result';
+ return 'Airavata_getAllNotifications_result';
}
public function read($input)
@@ -18983,9 +18898,19 @@ class Airavata_getNotification_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\Workspace\Notification();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size14 = 0;
+ $_etype17 = 0;
+ $xfer += $input->readListBegin($_etype17, $_size14);
+ for ($_i18 = 0; $_i18 < $_size14; ++$_i18)
+ {
+ $elem19 = null;
+ $elem19 = new \Airavata\Model\Workspace\Notification();
+ $xfer += $elem19->read($input);
+ $this->success []= $elem19;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -19034,13 +18959,22 @@ class Airavata_getNotification_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getNotification_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllNotifications_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
+ if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::LST, 0);
+ {
+ $output->writeListBegin(TType::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $iter20)
+ {
+ $xfer += $iter20->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -19070,7 +19004,7 @@ class Airavata_getNotification_result {
}
-class Airavata_getAllNotifications_args {
+class Airavata_generateAndRegisterSSHKeys_args {
static $_TSPEC;
/**
@@ -19081,6 +19015,18 @@ class Airavata_getAllNotifications_args {
* @var string
*/
public $gatewayId = null;
+ /**
+ * @var string
+ */
+ public $userName = null;
+ /**
+ * @var string
+ */
+ public $description = null;
+ /**
+ * @var int
+ */
+ public $credentialOwnerType = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -19094,6 +19040,18 @@ class Airavata_getAllNotifications_args {
'var' => 'gatewayId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'userName',
+ 'type' => TType::STRING,
+ ),
+ 4 => array(
+ 'var' => 'description',
+ 'type' => TType::STRING,
+ ),
+ 5 => array(
+ 'var' => 'credentialOwnerType',
+ 'type' => TType::I32,
+ ),
);
}
if (is_array($vals)) {
@@ -19103,11 +19061,20 @@ class Airavata_getAllNotifications_args {
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
+ if (isset($vals['userName'])) {
+ $this->userName = $vals['userName'];
+ }
+ if (isset($vals['description'])) {
+ $this->description = $vals['description'];
+ }
+ if (isset($vals['credentialOwnerType'])) {
+ $this->credentialOwnerType = $vals['credentialOwnerType'];
+ }
}
}
public function getName() {
- return 'Airavata_getAllNotifications_args';
+ return 'Airavata_generateAndRegisterSSHKeys_args';
}
public function read($input)
@@ -19140,6 +19107,27 @@ class Airavata_getAllNotifications_args {
$xfer += $input->skip($ftype);
}
break;
+ case 3:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->userName);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->description);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 5:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->credentialOwnerType);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -19152,7 +19140,7 @@ class Airavata_getAllNotifications_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllNotifications_args');
+ $xfer += $output->writeStructBegin('Airavata_generateAndRegisterSSHKeys_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -19166,6 +19154,21 @@ class Airavata_getAllNotifications_args {
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
+ if ($this->userName !== null) {
+ $xfer += $output->writeFieldBegin('userName', TType::STRING, 3);
+ $xfer += $output->writeString($this->userName);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->description !== null) {
+ $xfer += $output->writeFieldBegin('description', TType::STRING, 4);
+ $xfer += $output->writeString($this->description);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->credentialOwnerType !== null) {
+ $xfer += $output->writeFieldBegin('credentialOwnerType', TType::I32, 5);
+ $xfer += $output->writeI32($this->credentialOwnerType);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -19173,11 +19176,11 @@ class Airavata_getAllNotifications_args {
}
-class Airavata_getAllNotifications_result {
+class Airavata_generateAndRegisterSSHKeys_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Workspace\Notification[]
+ * @var string
*/
public $success = null;
/**
@@ -19192,22 +19195,13 @@ class Airavata_getAllNotifications_result {
* @var \Airavata\API\Error\AiravataSystemException
*/
public $ase = null;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Workspace\Notification',
- ),
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -19224,11 +19218,6 @@ class Airavata_getAllNotifications_result {
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AiravataSystemException',
),
- 4 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
);
}
if (is_array($vals)) {
@@ -19244,14 +19233,11 @@ class Airavata_getAllNotifications_result {
if (isset($vals['ase'])) {
$this->ase = $vals['ase'];
}
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
}
}
public function getName() {
- return 'Airavata_getAllNotifications_result';
+ return 'Airavata_generateAndRegisterSSHKeys_result';
}
public function read($input)
@@ -19270,19 +19256,8 @@ class Airavata_getAllNotifications_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size14 = 0;
- $_etype17 = 0;
- $xfer += $input->readListBegin($_etype17, $_size14);
- for ($_i18 = 0; $_i18 < $_size14; ++$_i18)
- {
- $elem19 = null;
- $elem19 = new \Airavata\Model\Workspace\Notification();
- $xfer += $elem19->read($input);
- $this->success []= $elem19;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -19311,14 +19286,6 @@ class Airavata_getAllNotifications_result {
$xfer += $input->skip($ftype);
}
break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -19331,22 +19298,10 @@ class Airavata_getAllNotifications_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllNotifications_result');
+ $xfer += $output->writeStructBegin('Airavata_generateAndRegisterSSHKeys_result');
if ($this->success !== null) {
- if (!is_array($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::LST, 0);
- {
- $output->writeListBegin(TType::STRUCT, count($this->success));
- {
- foreach ($this->success as $iter20)
- {
- $xfer += $iter20->write($output);
- }
- }
- $output->writeListEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -19364,11 +19319,6 @@ class Airavata_getAllNotifications_result {
$xfer += $this->ase->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -19376,7 +19326,7 @@ class Airavata_getAllNotifications_result {
}
-class Airavata_generateAndRegisterSSHKeys_args {
+class Airavata_registerPwdCredential_args {
static $_TSPEC;
/**
@@ -19390,15 +19340,19 @@ class Airavata_generateAndRegisterSSHKeys_args {
/**
* @var string
*/
- public $userName = null;
+ public $portalUserName = null;
/**
* @var string
*/
- public $description = null;
+ public $loginUserName = null;
/**
- * @var int
+ * @var string
*/
- public $credentialOwnerType = null;
+ public $password = null;
+ /**
+ * @var string
+ */
+ public $description = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -19413,16 +19367,20 @@ class Airavata_generateAndRegisterSSHKeys_args {
'type' => TType::STRING,
),
3 => array(
- 'var' => 'userName',
+ 'var' => 'portalUserName',
'type' => TType::STRING,
),
4 => array(
- 'var' => 'description',
+ 'var' => 'loginUserName',
'type' => TType::STRING,
),
5 => array(
- 'var' => 'credentialOwnerType',
- 'type' => TType::I32,
+ 'var' => 'password',
+ 'type' => TType::STRING,
+ ),
+ 6 => array(
+ 'var' => 'description',
+ 'type' => TType::STRING,
),
);
}
@@ -19433,20 +19391,23 @@ class Airavata_generateAndRegisterSSHKeys_args {
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
- if (isset($vals['userName'])) {
- $this->userName = $vals['userName'];
+ if (isset($vals['portalUserName'])) {
+ $this->portalUserName = $vals['portalUserName'];
+ }
+ if (isset($vals['loginUserName'])) {
+ $this->loginUserName = $vals['loginUserName'];
+ }
+ if (isset($vals['password'])) {
+ $this->password = $vals['password'];
}
if (isset($vals['description'])) {
$this->description = $vals['description'];
}
- if (isset($vals['credentialOwnerType'])) {
- $this->credentialOwnerType = $vals['credentialOwnerType'];
- }
}
}
public function getName() {
- return 'Airavata_generateAndRegisterSSHKeys_args';
+ return 'Airavata_registerPwdCredential_args';
}
public function read($input)
@@ -19481,21 +19442,28 @@ class Airavata_generateAndRegisterSSHKeys_args {
break;
case 3:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->userName);
+ $xfer += $input->readString($this->portalUserName);
} else {
$xfer += $input->skip($ftype);
}
break;
case 4:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->description);
+ $xfer += $input->readString($this->loginUserName);
} else {
$xfer += $input->skip($ftype);
}
break;
case 5:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->credentialOwnerType);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->password);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 6:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->description);
} else {
$xfer += $input->skip($ftype);
}
@@ -19512,7 +19480,7 @@ class Airavata_generateAndRegisterSSHKeys_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_generateAndRegisterSSHKeys_args');
+ $xfer += $output->writeStructBegin('Airavata_registerPwdCredential_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -19526,19 +19494,24 @@ class Airavata_generateAndRegisterSSHKeys_args {
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
- if ($this->userName !== null) {
- $xfer += $output->writeFieldBegin('userName', TType::STRING, 3);
- $xfer += $output->writeString($this->userName);
+ if ($this->portalUserName !== null) {
+ $xfer += $output->writeFieldBegin('portalUserName', TType::STRING, 3);
+ $xfer += $output->writeString($this->portalUserName);
$xfer += $output->writeFieldEnd();
}
- if ($this->description !== null) {
- $xfer += $output->writeFieldBegin('description', TType::STRING, 4);
- $xfer += $output->writeString($this->description);
+ if ($this->loginUserName !== null) {
+ $xfer += $output->writeFieldBegin('loginUserName', TType::STRING, 4);
+ $xfer += $output->writeString($this->loginUserName);
$xfer += $output->writeFieldEnd();
}
- if ($this->credentialOwnerType !== null) {
- $xfer += $output->writeFieldBegin('credentialOwnerType', TType::I32, 5);
- $xfer += $output->writeI32($this->credentialOwnerType);
+ if ($this->password !== null) {
+ $xfer += $output->writeFieldBegin('password', TType::STRING, 5);
+ $xfer += $output->writeString($this->password);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->description !== null) {
+ $xfer += $output->writeFieldBegin('description', TType::STRING, 6);
+ $xfer += $output->writeString($this->description);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -19548,7 +19521,7 @@ class Airavata_generateAndRegisterSSHKeys_args {
}
-class Airavata_generateAndRegisterSSHKeys_result {
+class Airavata_registerPwdCredential_result {
static $_TSPEC;
/**
@@ -19609,7 +19582,7 @@ class Airavata_generateAndRegisterSSHKeys_result {
}
public function getName() {
- return 'Airavata_generateAndRegisterSSHKeys_result';
+ return 'Airavata_registerPwdCredential_result';
}
public function read($input)
@@ -19670,7 +19643,7 @@ class Airavata_generateAndRegisterSSHKeys_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_generateAndRegisterSSHKeys_result');
+ $xfer += $output->writeStructBegin('Airavata_registerPwdCredential_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::STRING, 0);
$xfer += $output->writeString($this->success);
@@ -19698,7 +19671,7 @@ class Airavata_generateAndRegisterSSHKeys_result {
}
-class Airavata_registerPwdCredential_args {
+class Airavata_getSSHPubKey_args {
static $_TSPEC;
/**
@@ -19708,23 +19681,11 @@ class Airavata_registerPwdCredential_args {
/**
* @var string
*/
- public $gatewayId = null;
- /**
- * @var string
- */
- public $portalUserName = null;
- /**
- * @var string
- */
- public $loginUserName = null;
- /**
- * @var string
- */
- public $password = null;
+ public $airavataCredStoreToken = null;
/**
* @var string
*/
- public $description = null;
+ public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -19735,23 +19696,11 @@ class Airavata_registerPwdCredential_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
+ 'var' => 'airavataCredStoreToken',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'portalUserName',
- 'type' => TType::STRING,
- ),
- 4 => array(
- 'var' => 'loginUserName',
- 'type' => TType::STRING,
- ),
- 5 => array(
- 'var' => 'password',
- 'type' => TType::STRING,
- ),
- 6 => array(
- 'var' => 'description',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
);
@@ -19760,26 +19709,17 @@ class Airavata_registerPwdCredential_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
+ if (isset($vals['airavataCredStoreToken'])) {
+ $this->airavataCredStoreToken = $vals['airavataCredStoreToken'];
+ }
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
- if (isset($vals['portalUserName'])) {
- $this->portalUserName = $vals['portalUserName'];
- }
- if (isset($vals['loginUserName'])) {
- $this->loginUserName = $vals['loginUserName'];
- }
- if (isset($vals['password'])) {
- $this->password = $vals['password'];
- }
- if (isset($vals['description'])) {
- $this->description = $vals['description'];
- }
}
}
public function getName() {
- return 'Airavata_registerPwdCredential_args';
+ return 'Airavata_getSSHPubKey_args';
}
public function read($input)
@@ -19807,35 +19747,14 @@ class Airavata_registerPwdCredential_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ $xfer += $input->readString($this->airavataCredStoreToken);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->portalUserName);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->loginUserName);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 5:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->password);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 6:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->description);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -19852,7 +19771,7 @@ class Airavata_registerPwdCredential_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerPwdCredential_args');
+ $xfer += $output->writeStructBegin('Airavata_getSSHPubKey_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -19861,29 +19780,14 @@ class Airavata_registerPwdCredential_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
- $xfer += $output->writeString($this->gatewayId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->portalUserName !== null) {
- $xfer += $output->writeFieldBegin('portalUserName', TType::STRING, 3);
- $xfer += $output->writeString($this->portalUserName);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->loginUserName !== null) {
- $xfer += $output->writeFieldBegin('loginUserName', TType::STRING, 4);
- $xfer += $output->writeString($this->loginUserName);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->password !== null) {
- $xfer += $output->writeFieldBegin('password', TType::STRING, 5);
- $xfer += $output->writeString($this->password);
+ if ($this->airavataCredStoreToken !== null) {
+ $xfer += $output->writeFieldBegin('airavataCredStoreToken', TType::STRING, 2);
+ $xfer += $output->writeString($this->airavataCredStoreToken);
$xfer += $output->writeFieldEnd();
}
- if ($this->description !== null) {
- $xfer += $output->writeFieldBegin('description', TType::STRING, 6);
- $xfer += $output->writeString($this->description);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 3);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -19893,7 +19797,7 @@ class Airavata_registerPwdCredential_args {
}
-class Airavata_registerPwdCredential_result {
+class Airavata_getSSHPubKey_result {
static $_TSPEC;
/**
@@ -19954,7 +19858,7 @@ class Airavata_registerPwdCredential_result {
}
public function getName() {
- return 'Airavata_registerPwdCredential_result';
+ return 'Airavata_getSSHPubKey_result';
}
public function read($input)
@@ -20015,7 +19919,7 @@ class Airavata_registerPwdCredential_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_registerPwdCredential_result');
+ $xfer += $output->writeStructBegin('Airavata_getSSHPubKey_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::STRING, 0);
$xfer += $output->writeString($this->success);
@@ -20043,7 +19947,7 @@ class Airavata_registerPwdCredential_result {
}
-class Airavata_getSSHPubKey_args {
+class Airavata_getAllGatewaySSHPubKeys_args {
static $_TSPEC;
/**
@@ -20053,10 +19957,6 @@ class Airavata_getSSHPubKey_args {
/**
* @var string
*/
- public $airavataCredStoreToken = null;
- /**
- * @var string
- */
public $gatewayId = null;
public function __construct($vals=null) {
@@ -20068,10 +19968,6 @@ class Airavata_getSSHPubKey_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'airavataCredStoreToken',
- 'type' => TType::STRING,
- ),
- 3 => array(
'var' => 'gatewayId',
'type' => TType::STRING,
),
@@ -20081,9 +19977,6 @@ class Airavata_getSSHPubKey_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['airavataCredStoreToken'])) {
- $this->airavataCredStoreToken = $vals['airavataCredStoreToken'];
- }
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
@@ -20091,7 +19984,7 @@ class Airavata_getSSHPubKey_args {
}
public function getName() {
- return 'Airavata_getSSHPubKey_args';
+ return 'Airavata_getAllGatewaySSHPubKeys_args';
}
public function read($input)
@@ -20119,13 +20012,6 @@ class Airavata_getSSHPubKey_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->airavataCredStoreToken);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRING) {
$xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
@@ -20143,7 +20029,7 @@ class Airavata_getSSHPubKey_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getSSHPubKey_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeys_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -20152,13 +20038,8 @@ class Airavata_getSSHPubKey_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->airavataCredStoreToken !== null) {
- $xfer += $output->writeFieldBegin('airavataCredStoreToken', TType::STRING, 2);
- $xfer += $output->writeString($this->airavataCredStoreToken);
- $xfer += $output->writeFieldEnd();
- }
if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 3);
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
@@ -20169,11 +20050,11 @@ class Airavata_getSSHPubKey_args {
}
-class Airavata_getSSHPubKey_result {
+class Airavata_getAllGatewaySSHPubKeys_result {
static $_TSPEC;
/**
- * @var string
+ * @var array
*/
public $success = null;
/**
@@ -20194,7 +20075,15 @@ class Airavata_getSSHPubKey_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRING,
+ 'type' => TType::MAP,
+ 'ktype' => TType::STRING,
+ 'vtype' => TType::STRING,
+ 'key' => array(
+ 'type' => TType::STRING,
+ ),
+ 'val' => array(
+ 'type' => TType::STRING,
+ ),
),
1 => array(
'var' => 'ire',
@@ -20230,7 +20119,7 @@ class Airavata_getSSHPubKey_result {
}
public function getName() {
- return 'Airavata_getSSHPubKey_result';
+ return 'Airavata_getAllGatewaySSHPubKeys_result';
}
public function read($input)
@@ -20249,8 +20138,21 @@ class Airavata_getSSHPubKey_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
+ if ($ftype == TType::MAP) {
+ $this->success = array();
+ $_size21 = 0;
+ $_ktype22 = 0;
+ $_vtype23 = 0;
+ $xfer += $input->readMapBegin($_ktype22, $_vtype23, $_size21);
+ for ($_i25 = 0; $_i25 < $_size21; ++$_i25)
+ {
+ $key26 = '';
+ $val27 = '';
+ $xfer += $input->readString($key26);
+ $xfer += $input->readString($val27);
+ $this->success[$key26] = $val27;
+ }
+ $xfer += $input->readMapEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -20291,10 +20193,23 @@ class Airavata_getSSHPubKey_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getSSHPubKey_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeys_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
+ if (!is_array($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::MAP, 0);
+ {
+ $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
+ {
+ foreach ($this->success as $kiter28 => $viter29)
+ {
+ $xfer += $output->writeString($kiter28);
+ $xfer += $output->writeString($viter29);
+ }
+ }
+ $output->writeMapEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -20319,7 +20234,7 @@ class Airavata_getSSHPubKey_result {
}
-class Airavata_getAllGatewaySSHPubKeys_args {
+class Airavata_getAllCredentialSummaryForGateway_args {
static $_TSPEC;
/**
@@ -20327,6 +20242,10 @@ class Airavata_getAllGatewaySSHPubKeys_args {
*/
public $authzToken = null;
/**
+ * @var int
+ */
+ public $type = null;
+ /**
* @var string
*/
public $gatewayId = null;
@@ -20340,6 +20259,10 @@ class Airavata_getAllGatewaySSHPubKeys_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
+ 'var' => 'type',
+ 'type' => TType::I32,
+ ),
+ 3 => array(
'var' => 'gatewayId',
'type' => TType::STRING,
),
@@ -20349,6 +20272,9 @@ class Airavata_getAllGatewaySSHPubKeys_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
+ if (isset($vals['type'])) {
+ $this->type = $vals['type'];
+ }
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
@@ -20356,7 +20282,7 @@ class Airavata_getAllGatewaySSHPubKeys_args {
}
public function getName() {
- return 'Airavata_getAllGatewaySSHPubKeys_args';
+ return 'Airavata_getAllCredentialSummaryForGateway_args';
}
public function read($input)
@@ -20383,6 +20309,13 @@ class Airavata_getAllGatewaySSHPubKeys_args {
}
break;
case 2:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->type);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
if ($ftype == TType::STRING) {
$xfer += $input->readString($this->gatewayId);
} else {
@@ -20401,7 +20334,7 @@ class Airavata_getAllGatewaySSHPubKeys_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeys_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllCredentialSummaryForGateway_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -20410,8 +20343,13 @@ class Airavata_getAllGatewaySSHPubKeys_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
+ if ($this->type !== null) {
+ $xfer += $output->writeFieldBegin('type', TType::I32, 2);
+ $xfer += $output->writeI32($this->type);
+ $xfer += $output->writeFieldEnd();
+ }
if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 3);
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
@@ -20422,11 +20360,11 @@ class Airavata_getAllGatewaySSHPubKeys_args {
}
-class Airavata_getAllGatewaySSHPubKeys_result {
+class Airavata_getAllCredentialSummaryForGateway_result {
static $_TSPEC;
/**
- * @var array
+ * @var \Airavata\Model\Credential\Store\CredentialSummary[]
*/
public $success = null;
/**
@@ -20447,14 +20385,11 @@ class Airavata_getAllGatewaySSHPubKeys_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::MAP,
- 'ktype' => TType::STRING,
- 'vtype' => TType::STRING,
- 'key' => array(
- 'type' => TType::STRING,
- ),
- 'val' => array(
- 'type' => TType::STRING,
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Credential\Store\CredentialSummary',
),
),
1 => array(
@@ -20491,7 +20426,7 @@ class Airavata_getAllGatewaySSHPubKeys_result {
}
public function getName() {
- return 'Airavata_getAllGatewaySSHPubKeys_result';
+ return 'Airavata_getAllCredentialSummaryForGateway_result';
}
public function read($input)
@@ -20510,21 +20445,19 @@ class Airavata_getAllGatewaySSHPubKeys_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::MAP) {
+ if ($ftype == TType::LST) {
$this->success = array();
- $_size21 = 0;
- $_ktype22 = 0;
- $_vtype23 = 0;
- $xfer += $input->readMapBegin($_ktype22, $_vtype23, $_size21);
- for ($_i25 = 0; $_i25 < $_size21; ++$_i25)
+ $_size30 = 0;
+ $_etype33 = 0;
+ $xfer += $input->readListBegin($_etype33, $_size30);
+ for ($_i34 = 0; $_i34 < $_size30; ++$_i34)
{
- $key26 = '';
- $val27 = '';
- $xfer += $input->readString($key26);
- $xfer += $input->readString($val27);
- $this->success[$key26] = $val27;
+ $elem35 = null;
+ $elem35 = new \Airavata\Model\Credential\Store\CredentialSummary();
+ $xfer += $elem35->read($input);
+ $this->success []= $elem35;
}
- $xfer += $input->readMapEnd();
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -20565,22 +20498,21 @@ class Airavata_getAllGatewaySSHPubKeys_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeys_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllCredentialSummaryForGateway_result');
if ($this->success !== null) {
if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('success', TType::MAP, 0);
+ $xfer += $output->writeFieldBegin('success', TType::LST, 0);
{
- $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
+ $output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $kiter28 => $viter29)
+ foreach ($this->success as $iter36)
{
- $xfer += $output->writeString($kiter28);
- $xfer += $output->writeString($viter29);
+ $xfer += $iter36->write($output);
}
}
- $output->writeMapEnd();
+ $output->writeListEnd();
}
$xfer += $output->writeFieldEnd();
}
@@ -20606,7 +20538,7 @@ class Airavata_getAllGatewaySSHPubKeys_result {
}
-class Airavata_getAllCredentialSummaryForGateway_args {
+class Airavata_getAllCredentialSummaryForUsersInGateway_args {
static $_TSPEC;
/**
@@ -20621,6 +20553,10 @@ class Airavata_getAllCredentialSummaryForGateway_args {
* @var string
*/
public $gatewayId = null;
+ /**
+ * @var string
+ */
+ public $userId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -20638,6 +20574,10 @@ class Airavata_getAllCredentialSummaryForGateway_args {
'var' => 'gatewayId',
'type' => TType::STRING,
),
+ 4 => array(
+ 'var' => 'userId',
+ 'type' => TType::STRING,
+ ),
);
}
if (is_array($vals)) {
@@ -20650,11 +20590,14 @@ class Airavata_getAllCredentialSummaryForGateway_args {
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
+ if (isset($vals['userId'])) {
+ $this->userId = $vals['userId'];
+ }
}
}
public function getName() {
- return 'Airavata_getAllCredentialSummaryForGateway_args';
+ return 'Airavata_getAllCredentialSummaryForUsersInGateway_args';
}
public function read($input)
@@ -20694,6 +20637,13 @@ class Airavata_getAllCredentialSummaryForGateway_args {
$xfer += $input->skip($ftype);
}
break;
+ case 4:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->userId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -20706,7 +20656,7 @@ class Airavata_getAllCredentialSummaryForGateway_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllCredentialSummaryForGateway_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllCredentialSummaryForUsersInGateway_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -20725,6 +20675,11 @@ class Airavata_getAllCredentialSummaryForGateway_args {
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
+ if ($this->userId !== null) {
+ $xfer += $output->writeFieldBegin('userId', TType::STRING, 4);
+ $xfer += $output->writeString($this->userId);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -20732,7 +20687,7 @@ class Airavata_getAllCredentialSummaryForGateway_args {
}
-class Airavata_getAllCredentialSummaryForGateway_result {
+class Airavata_getAllCredentialSummaryForUsersInGateway_result {
static $_TSPEC;
/**
@@ -20798,7 +20753,7 @@ class Airavata_getAllCredentialSummaryForGateway_result {
}
public function getName() {
- return 'Airavata_getAllCredentialSummaryForGateway_result';
+ return 'Airavata_getAllCredentialSummaryForUsersInGateway_result';
}
public function read($input)
@@ -20819,15 +20774,15 @@ class Airavata_getAllCredentialSummaryForGateway_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size30 = 0;
- $_etype33 = 0;
- $xfer += $input->readListBegin($_etype33, $_size30);
- for ($_i34 = 0; $_i34 < $_size30; ++$_i34)
+ $_size37 = 0;
+ $_etype40 = 0;
+ $xfer += $input->readListBegin($_etype40, $_size37);
+ for ($_i41 = 0; $_i41 < $_size37; ++$_i41)
{
- $elem35 = null;
- $elem35 = new \Airavata\Model\Credential\Store\CredentialSummary();
- $xfer += $elem35->read($input);
- $this->success []= $elem35;
+ $elem42 = null;
+ $elem42 = new \Airavata\Model\Credential\Store\CredentialSummary();
+ $xfer += $elem42->read($input);
+ $this->success []= $elem42;
}
$xfer += $input->readListEnd();
} else {
@@ -20870,7 +20825,7 @@ class Airavata_getAllCredentialSummaryForGateway_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllCredentialSummaryForGateway_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllCredentialSummaryForUsersInGateway_result');
if ($this->success !== null) {
if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -20879,9 +20834,9 @@ class Airavata_getAllCredentialSummaryForGateway_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter36)
+ foreach ($this->success as $iter43)
{
- $xfer += $iter36->write($output);
+ $xfer += $iter43->write($output);
}
}
$output->writeListEnd();
@@ -20910,7 +20865,7 @@ class Airavata_getAllCredentialSummaryForGateway_result {
}
-class Airavata_getAllCredentialSummaryForUsersInGateway_args {
+class Airavata_getAllGatewayPWDCredentials_args {
static $_TSPEC;
/**
@@ -20918,17 +20873,9 @@ class Airavata_getAllCredentialSummaryForUsersInGateway_args {
*/
public $authzToken = null;
/**
- * @var int
- */
- public $type = null;
- /**
* @var string
*/
public $gatewayId = null;
- /**
- * @var string
- */
- public $userId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -20939,37 +20886,23 @@ class Airavata_getAllCredentialSummaryForUsersInGateway_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'type',
- 'type' => TType::I32,
- ),
- 3 => array(
'var' => 'gatewayId',
'type' => TType::STRING,
),
- 4 => array(
- 'var' => 'userId',
- 'type' => TType::STRING,
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['type'])) {
- $this->type = $vals['type'];
- }
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
- if (isset($vals['userId'])) {
- $this->userId = $vals['userId'];
- }
}
}
public function getName() {
- return 'Airavata_getAllCredentialSummaryForUsersInGateway_args';
+ return 'Airavata_getAllGatewayPWDCredentials_args';
}
public function read($input)
@@ -20996,26 +20929,12 @@ class Airavata_getAllCredentialSummaryForUsersInGateway_args {
}
break;
case 2:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->type);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
if ($ftype == TType::STRING) {
$xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
break;
- case 4:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->userId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -21028,7 +20947,7 @@ class Airavata_getAllCredentialSummaryForUsersInGateway_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllCredentialSummaryForUsersInGateway_args');
+ $xfer += $output->writeStructBegin('Airavata_getAllGatewayPWDCredentials_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -21037,21 +20956,11 @@ class Airavata_getAllCredentialSummaryForUsersInGateway_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->type !== null) {
- $xfer += $output->writeFieldBegin('type', TType::I32, 2);
- $xfer += $output->writeI32($this->type);
- $xfer += $output->writeFieldEnd();
- }
if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 3);
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
- if ($this->userId !== null) {
- $xfer += $output->writeFieldBegin('userId', TType::STRING, 4);
- $xfer += $output->writeString($this->userId);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -21059,11 +20968,11 @@ class Airavata_getAllCredentialSummaryForUsersInGateway_args {
}
-class Airavata_getAllCredentialSummaryForUsersInGateway_result {
+class Airavata_getAllGatewayPWDCredentials_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Credential\Store\CredentialSummary[]
+ * @var array
*/
public $success = null;
/**
@@ -21084,11 +20993,14 @@ class Airavata_getAllCredentialSummaryForUsersInGateway_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Credential\Store\CredentialSummary',
+ 'type' => TType::MAP,
+ 'ktype' => TType::STRING,
+ 'vtype' => TType::STRING,
+ 'key' => array(
+ 'type' => TType::STRING,
+ ),
+ 'val' => array(
+ 'type' => TType::STRING,
),
),
1 => array(
@@ -21125,7 +21037,7 @@ class Airavata_getAllCredentialSummaryForUsersInGateway_result {
}
public function getName() {
- return 'Airavata_getAllCredentialSummaryForUsersInGateway_result';
+ return 'Airavata_getAllGatewayPWDCredentials_result';
}
public function read($input)
@@ -21144,19 +21056,21 @@ class Airavata_getAllCredentialSummaryForUsersInGateway_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::LST) {
+ if ($ftype == TType::MAP) {
$this->success = array();
- $_size37 = 0;
- $_etype40 = 0;
- $xfer += $input->readListBegin($_etype40, $_size37);
- for ($_i41 = 0; $_i41 < $_size37; ++$_i41)
+ $_size44 = 0;
+ $_ktype45 = 0;
+ $_vtype46 = 0;
+ $xfer += $input->readMapBegin($_ktype45, $_vtype46, $_size44);
+ for ($_i48 = 0; $_i48 < $_size44; ++$_i48)
{
- $elem42 = null;
- $elem42 = new \Airavata\Model\Credential\Store\CredentialSummary();
- $xfer += $elem42->read($input);
- $this->success []= $elem42;
+ $key49 = '';
+ $val50 = '';
+ $xfer += $input->readString($key49);
+ $xfer += $input->readString($val50);
+ $this->success[$key49] = $val50;
}
- $xfer += $input->readListEnd();
+ $xfer += $input->readMapEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -21197,21 +21111,22 @@ class Airavata_getAllCredentialSummaryForUsersInGateway_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllCredentialSummaryForUsersInGateway_result');
+ $xfer += $output->writeStructBegin('Airavata_getAllGatewayPWDCredentials_result');
if ($this->success !== null) {
if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('success', TType::LST, 0);
+ $xfer += $output->writeFieldBegin('success', TType::MAP, 0);
{
- $output->writeListBegin(TType::STRUCT, count($this->success));
+ $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
{
- foreach ($this->success as $iter43)
+ foreach ($this->success as $kiter51 => $viter52)
{
- $xfer += $iter43->write($output);
+ $xfer += $output->writeString($kiter51);
+ $xfer += $output->writeString($viter52);
}
}
- $output->writeListEnd();
+ $output->writeMapEnd();
}
$xfer += $output->writeFieldEnd();
}
@@ -21237,7 +21152,7 @@ class Airavata_getAllCredentialSummaryForUsersInGateway_result {
}
-class Airavata_getAllGatewayPWDCredentials_args {
+class Airavata_deleteSSHPubKey_args {
static $_TSPEC;
/**
@@ -21247,6 +21162,10 @@ class Airavata_getAllGatewayPWDCredentials_args {
/**
* @var string
*/
+ public $airavataCredStoreToken = null;
+ /**
+ * @var string
+ */
public $gatewayId = null;
public function __construct($vals=null) {
@@ -21258,6 +21177,10 @@ class Airavata_getAllGatewayPWDCredentials_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
+ 'var' => 'airavataCredStoreToken',
+ 'type' => TType::STRING,
+ ),
+ 3 => array(
'var' => 'gatewayId',
'type' => TType::STRING,
),
@@ -21267,6 +21190,9 @@ class Airavata_getAllGatewayPWDCredentials_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
+ if (isset($vals['airavataCredStoreToken'])) {
+ $this->airavataCredStoreToken = $vals['airavataCredStoreToken'];
+ }
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
@@ -21274,7 +21200,7 @@ class Airavata_getAllGatewayPWDCredentials_args {
}
public function getName() {
- return 'Airavata_getAllGatewayPWDCredentials_args';
+ return 'Airavata_deleteSSHPubKey_args';
}
public function read($input)
@@ -21302,6 +21228,13 @@ class Airavata_getAllGatewayPWDCredentials_args {
break;
case 2:
if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->airavataCredStoreToken);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRING) {
$xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
@@ -21319,7 +21252,7 @@ class Airavata_getAllGatewayPWDCredentials_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllGatewayPWDCredentials_args');
+ $xfer += $output->writeStructBegin('Airavata_deleteSSHPubKey_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -21328,8 +21261,13 @@ class Airavata_getAllGatewayPWDCredentials_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
+ if ($this->airavataCredStoreToken !== null) {
+ $xfer += $output->writeFieldBegin('airavataCredStoreToken', TType::STRING, 2);
+ $xfer += $output->writeString($this->airavataCredStoreToken);
+ $xfer += $output->writeFieldEnd();
+ }
if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 3);
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
@@ -21340,11 +21278,11 @@ class Airavata_getAllGatewayPWDCredentials_args {
}
-class Airavata_getAllGatewayPWDCredentials_result {
+class Airavata_deleteSSHPubKey_result {
static $_TSPEC;
/**
- * @var array
+ * @var bool
*/
public $success = null;
/**
@@ -21365,15 +21303,7 @@ class Airavata_getAllGatewayPWDCredentials_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::MAP,
- 'ktype' => TType::STRING,
- 'vtype' => TType::STRING,
- 'key' => array(
- 'type' => TType::STRING,
- ),
- 'val' => array(
- 'type' => TType::STRING,
- ),
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -21409,7 +21339,7 @@ class Airavata_getAllGatewayPWDCredentials_result {
}
public function getName() {
- return 'Airavata_getAllGatewayPWDCredentials_result';
+ return 'Airavata_deleteSSHPubKey_result';
}
public function read($input)
@@ -21428,21 +21358,8 @@ class Airavata_getAllGatewayPWDCredentials_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::MAP) {
- $this->success = array();
- $_size44 = 0;
- $_ktype45 = 0;
- $_vtype46 = 0;
- $xfer += $input->readMapBegin($_ktype45, $_vtype46, $_size44);
- for ($_i48 = 0; $_i48 < $_size44; ++$_i48)
- {
- $key49 = '';
- $val50 = '';
- $xfer += $input->readString($key49);
- $xfer += $input->readString($val50);
- $this->success[$key49] = $val50;
- }
- $xfer += $input->readMapEnd();
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -21483,23 +21400,10 @@ class Airavata_getAllGatewayPWDCredentials_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getAllGatewayPWDCredentials_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteSSHPubKey_result');
if ($this->success !== null) {
- if (!is_array($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::MAP, 0);
- {
- $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success));
- {
- foreach ($this->success as $kiter51 => $viter52)
- {
- $xfer += $output->writeString($kiter51);
- $xfer += $output->writeString($viter52);
- }
- }
- $output->writeMapEnd();
- }
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -21524,7 +21428,7 @@ class Airavata_getAllGatewayPWDCredentials_result {
}
-class Airavata_deleteSSHPubKey_args {
+class Airavata_deletePWDCredential_args {
static $_TSPEC;
/**
@@ -21572,7 +21476,7 @@ class Airavata_deleteSSHPubKey_args {
}
public function getName() {
- return 'Airavata_deleteSSHPubKey_args';
+ return 'Airavata_deletePWDCredential_args';
}
public function read($input)
@@ -21624,7 +21528,7 @@ class Airavata_deleteSSHPubKey_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteSSHPubKey_args');
+ $xfer += $output->writeStructBegin('Airavata_deletePWDCredential_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -21650,7 +21554,7 @@ class Airavata_deleteSSHPubKey_args {
}
-class Airavata_deleteSSHPubKey_result {
+class Airavata_deletePWDCredential_result {
static $_TSPEC;
/**
@@ -21711,7 +21615,7 @@ class Airavata_deleteSSHPubKey_result {
}
public function getName() {
- return 'Airavata_deleteSSHPubKey_result';
+ return 'Airavata_deletePWDCredential_result';
}
public function read($input)
@@ -21772,7 +21676,7 @@ class Airavata_deleteSSHPubKey_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteSSHPubKey_result');
+ $xfer += $output->writeStructBegin('Airavata_deletePWDCredential_result');
if ($this->success !== null) {
$xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
$xfer += $output->writeBool($this->success);
@@ -21800,7 +21704,7 @@ class Airavata_deleteSSHPubKey_result {
}
-class Airavata_deletePWDCredential_args {
+class Airavata_createProject_args {
static $_TSPEC;
/**
@@ -21810,11 +21714,11 @@ class Airavata_deletePWDCredential_args {
/**
* @var string
*/
- public $airavataCredStoreToken = null;
+ public $gatewayId = null;
/**
- * @var string
+ * @var \Airavata\Model\Workspace\Project
*/
- public $gatewayId = null;
+ public $project = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -21825,12 +21729,13 @@ class Airavata_deletePWDCredential_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'airavataCredStoreToken',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'gatewayId',
- 'type' => TType::STRING,
+ 'var' => 'project',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Workspace\Project',
),
);
}
@@ -21838,17 +21743,17 @@ class Airavata_deletePWDCredential_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['airavataCredStoreToken'])) {
- $this->airavataCredStoreToken = $vals['airavataCredStoreToken'];
- }
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
+ if (isset($vals['project'])) {
+ $this->project = $vals['project'];
+ }
}
}
public function getName() {
- return 'Airavata_deletePWDCredential_args';
+ return 'Airavata_createProject_args';
}
public function read($input)
@@ -21876,14 +21781,15 @@ class Airavata_deletePWDCredential_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->airavataCredStoreToken);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ if ($ftype == TType::STRUCT) {
+ $this->project = new \Airavata\Model\Workspace\Project();
+ $xfer += $this->project->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -21900,7 +21806,7 @@ class Airavata_deletePWDCredential_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deletePWDCredential_args');
+ $xfer += $output->writeStructBegin('Airavata_createProject_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -21909,16 +21815,19 @@ class Airavata_deletePWDCredential_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->airavataCredStoreToken !== null) {
- $xfer += $output->writeFieldBegin('airavataCredStoreToken', TType::STRING, 2);
- $xfer += $output->writeString($this->airavataCredStoreToken);
- $xfer += $output->writeFieldEnd();
- }
if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 3);
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
+ if ($this->project !== null) {
+ if (!is_object($this->project)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('project', TType::STRUCT, 3);
+ $xfer += $this->project->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -21926,11 +21835,11 @@ class Airavata_deletePWDCredential_args {
}
-class Airavata_deletePWDCredential_result {
+class Airavata_createProject_result {
static $_TSPEC;
/**
- * @var bool
+ * @var string
*/
public $success = null;
/**
@@ -21945,13 +21854,17 @@ class Airavata_deletePWDCredential_result {
* @var \Airavata\API\Error\AiravataSystemException
*/
public $ase = null;
+ /**
+ * @var \Airavata\API\Error\AuthorizationException
+ */
+ public $ae = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRING,
),
1 => array(
'var' => 'ire',
@@ -21968,6 +21881,11 @@ class Airavata_deletePWDCredential_result {
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AiravataSystemException',
),
+ 4 => array(
+ 'var' => 'ae',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\AuthorizationException',
+ ),
);
}
if (is_array($vals)) {
@@ -21983,11 +21901,14 @@ class Airavata_deletePWDCredential_result {
if (isset($vals['ase'])) {
$this->ase = $vals['ase'];
}
+ if (isset($vals['ae'])) {
+ $this->ae = $vals['ae'];
+ }
}
}
public function getName() {
- return 'Airavata_deletePWDCredential_result';
+ return 'Airavata_createProject_result';
}
public function read($input)
@@ -22006,8 +21927,8 @@ class Airavata_deletePWDCredential_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -22036,6 +21957,14 @@ class Airavata_deletePWDCredential_result {
$xfer += $input->skip($ftype);
}
break;
+ case 4:
+ if ($ftype == TType::STRUCT) {
+ $this->ae = new \Airavata\API\Error\AuthorizationException();
+ $xfer += $this->ae->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -22048,10 +21977,10 @@ class Airavata_deletePWDCredential_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deletePWDCredential_result');
+ $xfer += $output->writeStructBegin('Airavata_createProject_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -22069,6 +21998,11 @@ class Airavata_deletePWDCredential_result {
$xfer += $this->ase->write($output);
$xfer += $output->writeFieldEnd();
}
+ if ($this->ae !== null) {
+ $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
+ $xfer += $this->ae->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -22076,7 +22010,7 @@ class Airavata_deletePWDCredential_result {
}
-class Airavata_createProject_args {
+class Airavata_updateProject_args {
static $_TSPEC;
/**
@@ -22086,11 +22020,11 @@ class Airavata_createProject_args {
/**
* @var string
*/
- public $gatewayId = null;
+ public $projectId = null;
/**
* @var \Airavata\Model\Workspace\Project
*/
- public $project = null;
+ public $updatedProject = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -22101,11 +22035,11 @@ class Airavata_createProject_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'gatewayId',
+ 'var' => 'projectId',
'type' => TType::STRING,
),
3 => array(
- 'var' => 'project',
+ 'var' => 'updatedProject',
'type' => TType::STRUCT,
'class' => '\Airavata\Model\Workspace\Project',
),
@@ -22115,17 +22049,17 @@ class Airavata_createProject_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
+ if (isset($vals['projectId'])) {
+ $this->projectId = $vals['projectId'];
}
- if (isset($vals['project'])) {
- $this->project = $vals['project'];
+ if (isset($vals['updatedProject'])) {
+ $this->updatedProject = $vals['updatedProject'];
}
}
}
public function getName() {
- return 'Airavata_createProject_args';
+ return 'Airavata_updateProject_args';
}
public function read($input)
@@ -22153,15 +22087,15 @@ class Airavata_createProject_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
+ $xfer += $input->readString($this->projectId);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
if ($ftype == TType::STRUCT) {
- $this->project = new \Airavata\Model\Workspace\Project();
- $xfer += $this->project->read($input);
+ $this->updatedProject = new \Airavata\Model\Workspace\Project();
+ $xfer += $this->updatedProject->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -22178,7 +22112,7 @@ class Airavata_createProject_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_createProject_args');
+ $xfer += $output->writeStructBegin('Airavata_updateProject_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -22187,17 +22121,17 @@ class Airavata_createProject_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
- $xfer += $output->writeString($this->gatewayId);
+ if ($this->projectId !== null) {
+ $xfer += $output->writeFieldBegin('projectId', TType::STRING, 2);
+ $xfer += $output->writeString($this->projectId);
$xfer += $output->writeFieldEnd();
}
- if ($this->project !== null) {
- if (!is_object($this->project)) {
+ if ($this->updatedProject !== null) {
+ if (!is_object($this->updatedProject)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('project', TType::STRUCT, 3);
- $xfer += $this->project->write($output);
+ $xfer += $output->writeFieldBegin('updatedProject', TType::STRUCT, 3);
+ $xfer += $this->updatedProject->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -22207,14 +22141,10 @@ class Airavata_createProject_args {
}
-class Airavata_createProject_result {
+class Airavata_updateProject_result {
static $_TSPEC;
/**
- * @var string
- */
- public $success = null;
- /**
* @var \Airavata\API\Error\InvalidRequestException
*/
public $ire = null;
@@ -22227,6 +22157,10 @@ class Airavata_createProject_result {
*/
public $ase = null;
/**
+ * @var \Airavata\API\Error\ProjectNotFoundException
+ */
+ public $pnfe = null;
+ /**
* @var \Airavata\API\Error\AuthorizationException
*/
public $ae = null;
@@ -22234,10 +22168,6 @@ class Airavata_createProject_result {
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::STRING,
- ),
1 => array(
'var' => 'ire',
'type' => TType::STRUCT,
@@ -22254,6 +22184,11 @@ class Airavata_createProject_result {
'class' => '\Airavata\API\Error\AiravataSystemException',
),
4 => array(
+ 'var' => 'pnfe',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\ProjectNotFoundException',
+ ),
+ 5 => array(
'var' => 'ae',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AuthorizationException',
@@ -22261,9 +22196,6 @@ class Airavata_createProject_result {
);
}
if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
if (isset($vals['ire'])) {
$this->ire = $vals['ire'];
}
@@ -22273,6 +22205,9 @@ class Airavata_createProject_result {
if (isset($vals['ase'])) {
$this->ase = $vals['ase'];
}
+ if (isset($vals['pnfe'])) {
+ $this->pnfe = $vals['pnfe'];
+ }
if (isset($vals['ae'])) {
$this->ae = $vals['ae'];
}
@@ -22280,7 +22215,7 @@ class Airavata_createProject_result {
}
public function getName() {
- return 'Airavata_createProject_result';
+ return 'Airavata_updateProject_result';
}
public function read($input)
@@ -22298,13 +22233,6 @@ class Airavata_createProject_result {
}
switch ($fid)
{
- case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
case 1:
if ($ftype == TType::STRUCT) {
$this->ire = new \Airavata\API\Error\InvalidRequestException();
@@ -22331,6 +22259,14 @@ class Airavata_createProject_result {
break;
case 4:
if ($ftype == TType::STRUCT) {
+ $this->pnfe = new \Airavata\API\Error\ProjectNotFoundException();
+ $xfer += $this->pnfe->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 5:
+ if ($ftype == TType::STRUCT) {
$this->ae = new \Airavata\API\Error\AuthorizationException();
$xfer += $this->ae->read($input);
} else {
@@ -22349,12 +22285,7 @@ class Airavata_createProject_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_createProject_result');
- if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
- $xfer += $output->writeFieldEnd();
- }
+ $xfer += $output->writeStructBegin('Airavata_updateProject_result');
if ($this->ire !== null) {
$xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
$xfer += $this->ire->write($output);
@@ -22370,8 +22301,13 @@ class Airavata_createProject_result {
$xfer += $this->ase->write($output);
$xfer += $output->writeFieldEnd();
}
+ if ($this->pnfe !== null) {
+ $xfer += $output->writeFieldBegin('pnfe', TType::STRUCT, 4);
+ $xfer += $this->pnfe->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
+ $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 5);
$xfer += $this->ae->write($output);
$xfer += $output->writeFieldEnd();
}
@@ -22382,7 +22318,7 @@ class Airavata_createProject_result {
}
-class Airavata_updateProject_args {
+class Airavata_getProject_args {
static $_TSPEC;
/**
@@ -22393,10 +22329,6 @@ class Airavata_updateProject_args {
* @var string
*/
public $projectId = null;
- /**
- * @var \Airavata\Model\Workspace\Project
- */
- public $updatedProject = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -22410,11 +22342,6 @@ class Airavata_updateProject_args {
'var' => 'projectId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'updatedProject',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Workspace\Project',
- ),
);
}
if (is_array($vals)) {
@@ -22424,14 +22351,11 @@ class Airavata_updateProject_args {
if (isset($vals['projectId'])) {
$this->projectId = $vals['projectId'];
}
- if (isset($vals['updatedProject'])) {
- $this->updatedProject = $vals['updatedProject'];
- }
}
}
public function getName() {
- return 'Airavata_updateProject_args';
+ return 'Airavata_getProject_args';
}
public function read($input)
@@ -22464,14 +22388,6 @@ class Airavata_updateProject_args {
$xfer += $input->skip($ftype);
}
break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->updatedProject = new \Airavata\Model\Workspace\Project();
- $xfer += $this->updatedProject->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -22484,7 +22400,7 @@ class Airavata_updateProject_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateProject_args');
+ $xfer += $output->writeStructBegin('Airavata_getProject_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -22498,14 +22414,6 @@ class Airavata_updateProject_args {
$xfer += $output->writeString($this->projectId);
$xfer += $output->writeFieldEnd();
}
- if ($this->updatedProject !== null) {
- if (!is_object($this->updatedProject)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('updatedProject', TType::STRUCT, 3);
- $xfer += $this->updatedProject->write($output);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -22513,10 +22421,14 @@ class Airavata_updateProject_args {
}
-class Airavata_updateProject_result {
+class Airavata_getProject_result {
static $_TSPEC;
/**
+ * @var \Airavata\Model\Workspace\Project
+ */
+ public $success = null;
+ /**
* @var \Airavata\API\Error\InvalidRequestException
*/
public $ire = null;
@@ -22540,6 +22452,11 @@ class Airavata_updateProject_result {
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
+ 0 => array(
+ 'var' => 'success',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Workspace\Project',
+ ),
1 => array(
'var' => 'ire',
'type' => TType::STRUCT,
@@ -22568,6 +22485,9 @@ class Airavata_updateProject_result {
);
}
if (is_array($vals)) {
+ if (isset($vals['success'])) {
+ $this->success = $vals['success'];
+ }
if (isset($vals['ire'])) {
$this->ire = $vals['ire'];
}
@@ -22587,7 +22507,7 @@ class Airavata_updateProject_result {
}
public function getName() {
- return 'Airavata_updateProject_result';
+ return 'Airavata_getProject_result';
}
public function read($input)
@@ -22605,6 +22525,14 @@ class Airavata_updateProject_result {
}
switch ($fid)
{
+ case 0:
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\Workspace\Project();
+ $xfer += $this->success->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
case 1:
if ($ftype == TType::STRUCT) {
$this->ire = new \Airavata\API\Error\InvalidRequestException();
@@ -22657,7 +22585,15 @@ class Airavata_updateProject_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateProject_result');
+ $xfer += $output->writeStructBegin('Airavata_getProject_result');
+ if ($this->success !== null) {
+ if (!is_object($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
if ($this->ire !== null) {
$xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
$xfer += $this->ire->write($output);
@@ -22690,7 +22626,7 @@ class Airavata_updateProject_result {
}
-class Airavata_getProject_args {
+class Airavata_deleteProject_args {
static $_TSPEC;
/**
@@ -22727,7 +22663,7 @@ class Airavata_getProject_args {
}
public function getName() {
- return 'Airavata_getProject_args';
+ return 'Airavata_deleteProject_args';
}
public function read($input)
@@ -22772,7 +22708,7 @@ class Airavata_getProject_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getProject_args');
+ $xfer += $output->writeStructBegin('Airavata_deleteProject_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -22793,11 +22729,11 @@ class Airavata_getProject_args {
}
-class Airavata_getProject_result {
+class Airavata_deleteProject_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Workspace\Project
+ * @var bool
*/
public $success = null;
/**
@@ -22826,8 +22762,7 @@ class Airavata_getProject_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Workspace\Project',
+ 'type' => TType::BOOL,
),
1 => array(
'var' => 'ire',
@@ -22879,7 +22814,7 @@ class Airavata_getProject_result {
}
public function getName() {
- return 'Airavata_getProject_result';
+ return 'Airavata_deleteProject_result';
}
public function read($input)
@@ -22898,9 +22833,8 @@ class Airavata_getProject_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\Workspace\Project();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
} else {
$xfer += $input->skip($ftype);
}
@@ -22957,13 +22891,10 @@ class Airavata_getProject_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getProject_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteProject_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -22998,7 +22929,7 @@ class Airavata_getProject_result {
}
-class Airavata_deleteProject_args {
+class Airavata_getUserProjects_args {
static $_TSPEC;
/**
@@ -23008,7 +22939,19 @@ class Airavata_deleteProject_args {
/**
* @var string
*/
- public $projectId = null;
+ public $gatewayId = null;
+ /**
+ * @var string
+ */
+ public $userName = null;
+ /**
+ * @var int
+ */
+ public $limit = null;
+ /**
+ * @var int
+ */
+ public $offset = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -23019,23 +22962,44 @@ class Airavata_deleteProject_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'projectId',
+ 'var' => 'gatewayId',
+ 'type' => TType::STRING,
+ ),
+ 3 => array(
+ 'var' => 'userName',
'type' => TType::STRING,
),
+ 4 => array(
+ 'var' => 'limit',
+ 'type' => TType::I32,
+ ),
+ 5 => array(
+ 'var' => 'offset',
+ 'type' => TType::I32,
+ ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['projectId'])) {
- $this->projectId = $vals['projectId'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
+ }
+ if (isset($vals['userName'])) {
+ $this->userName = $vals['userName'];
+ }
+ if (isset($vals['limit'])) {
+ $this->limit = $vals['limit'];
+ }
+ if (isset($vals['offset'])) {
+ $this->offset = $vals['offset'];
}
}
}
public function getName() {
- return 'Airavata_deleteProject_args';
+ return 'Airavata_getUserProjects_args';
}
public function read($input)
@@ -23063,7 +23027,28 @@ class Airavata_deleteProject_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->projectId);
+ $xfer += $input->readString($this->gatewayId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->userName);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->limit);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 5:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->offset);
} else {
$xfer += $input->skip($ftype);
}
@@ -23080,7 +23065,7 @@ class Airavata_deleteProject_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteProject_args');
+ $xfer += $output->writeStructBegin('Airavata_getUserProjects_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -23089,9 +23074,24 @@ class Airavata_deleteProject_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->projectId !== null) {
- $xfer += $output->writeFieldBegin('projectId', TType::STRING, 2);
- $xfer += $output->writeString($this->projectId);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->userName !== null) {
+ $xfer += $output->writeFieldBegin('userName', TType::STRING, 3);
+ $xfer += $output->writeString($this->userName);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->limit !== null) {
+ $xfer += $output->writeFieldBegin('limit', TType::I32, 4);
+ $xfer += $output->writeI32($this->limit);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->offset !== null) {
+ $xfer += $output->writeFieldBegin('offset', TType::I32, 5);
+ $xfer += $output->writeI32($this->offset);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -23101,11 +23101,11 @@ class Airavata_deleteProject_args {
}
-class Airavata_deleteProject_result {
+class Airavata_getUserProjects_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\Workspace\Project[]
*/
public $success = null;
/**
@@ -23121,10 +23121,6 @@ class Airavata_deleteProject_result {
*/
public $ase = null;
/**
- * @var \Airavata\API\Error\ProjectNotFoundException
- */
- public $pnfe = null;
- /**
* @var \Airavata\API\Error\AuthorizationException
*/
public $ae = null;
@@ -23134,7 +23130,12 @@ class Airavata_deleteProject_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Workspace\Project',
+ ),
),
1 => array(
'var' => 'ire',
@@ -23152,11 +23153,6 @@ class Airavata_deleteProject_result {
'class' => '\Airavata\API\Error\AiravataSystemException',
),
4 => array(
- 'var' => 'pnfe',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\ProjectNotFoundException',
- ),
- 5 => array(
'var' => 'ae',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AuthorizationException',
@@ -23176,9 +23172,6 @@ class Airavata_deleteProject_result {
if (isset($vals['ase'])) {
$this->ase = $vals['ase'];
}
- if (isset($vals['pnfe'])) {
- $this->pnfe = $vals['pnfe'];
- }
if (isset($vals['ae'])) {
$this->ae = $vals['ae'];
}
@@ -23186,7 +23179,7 @@ class Airavata_deleteProject_result {
}
public function getName() {
- return 'Airavata_deleteProject_result';
+ return 'Airavata_getUserProjects_result';
}
public function read($input)
@@ -23205,8 +23198,19 @@ class Airavata_deleteProject_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size53 = 0;
+ $_etype56 = 0;
+ $xfer += $input->readListBegin($_etype56, $_size53);
+ for ($_i57 = 0; $_i57 < $_size53; ++$_i57)
+ {
+ $elem58 = null;
+ $elem58 = new \Airavata\Model\Workspace\Project();
+ $xfer += $elem58->read($input);
+ $this->success []= $elem58;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -23237,14 +23241,6 @@ class Airavata_deleteProject_result {
break;
case 4:
if ($ftype == TType::STRUCT) {
- $this->pnfe = new \Airavata\API\Error\ProjectNotFoundException();
- $xfer += $this->pnfe->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 5:
- if ($ftype == TType::STRUCT) {
$this->ae = new \Airavata\API\Error\AuthorizationException();
$xfer += $this->ae->read($input);
} else {
@@ -23263,10 +23259,22 @@ class Airavata_deleteProject_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteProject_result');
+ $xfer += $output->writeStructBegin('Airavata_getUserProjects_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ if (!is_array($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::LST, 0);
+ {
+ $output->writeListBegin(TType::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $iter59)
+ {
+ $xfer += $iter59->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -23284,13 +23292,8 @@ class Airavata_deleteProject_result {
$xfer += $this->ase->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->pnfe !== null) {
- $xfer += $output->writeFieldBegin('pnfe', TType::STRUCT, 4);
- $xfer += $this->pnfe->write($output);
- $xfer += $output->writeFieldEnd();
- }
if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 5);
+ $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
$xfer += $this->ae->write($output);
$xfer += $output->writeFieldEnd();
}
@@ -23301,7 +23304,7 @@ class Airavata_deleteProject_result {
}
-class Airavata_getUserProjects_args {
+class Airavata_searchProjects_args {
static $_TSPEC;
/**
@@ -23317,6 +23320,10 @@ class Airavata_getUserProjects_args {
*/
public $userName = null;
/**
+ * @var array
+ */
+ public $filters = null;
+ /**
* @var int
*/
public $limit = null;
@@ -23342,10 +23349,22 @@ class Airavata_getUserProjects_args {
'type' => TType::STRING,
),
4 => array(
+ 'var' => 'filters',
+ 'type' => TType::MAP,
+ 'ktype' => TType::I32,
+ 'vtype' => TType::STRING,
+ 'key' => array(
+ 'type' => TType::I32,
+ ),
+ 'val' => array(
+ 'type' => TType::STRING,
+ ),
+ ),
+ 5 => array(
'var' => 'limit',
'type' => TType::I32,
),
- 5 => array(
+ 6 => array(
'var' => 'offset',
'type' => TType::I32,
),
@@ -23361,6 +23380,9 @@ class Airavata_getUserProjects_args {
if (isset($vals['userName'])) {
$this->userName = $vals['userName'];
}
+ if (isset($vals['filters'])) {
+ $this->filters = $vals['filters'];
+ }
if (isset($vals['limit'])) {
$this->limit = $vals['limit'];
}
@@ -23371,7 +23393,7 @@ class Airavata_getUserProjects_args {
}
public function getName() {
- return 'Airavata_getUserProjects_args';
+ return 'Airavata_searchProjects_args';
}
public function read($input)
@@ -23412,13 +23434,33 @@ class Airavata_getUserProjects_args {
}
break;
case 4:
+ if ($ftype == TType::MAP) {
+ $this->filters = array();
+ $_size60 = 0;
+ $_ktype61 = 0;
+ $_vtype62 = 0;
+ $xfer += $input->readMapBegin($_ktype61, $_vtype62, $_size60);
+ for ($_i64 = 0; $_i64 < $_size60; ++$_i64)
+ {
+ $key65 = 0;
+ $val66 = '';
+ $xfer += $input->readI32($key65);
+ $xfer += $input->readString($val66);
+ $this->filters[$key65] = $val66;
+ }
+ $xfer += $input->readMapEnd();
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 5:
if ($ftype == TType::I32) {
$xfer += $input->readI32($this->limit);
} else {
$xfer += $input->skip($ftype);
}
break;
- case 5:
+ case 6:
if ($ftype == TType::I32) {
$xfer += $input->readI32($this->offset);
} else {
@@ -23437,7 +23479,7 @@ class Airavata_getUserProjects_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getUserProjects_args');
+ $xfer += $output->writeStructBegin('Airavata_searchProjects_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -23456,13 +23498,31 @@ class Airavata_getUserProjects_args {
$xfer += $output->writeString($this->userName);
$xfer += $output->writeFieldEnd();
}
+ if ($this->filters !== null) {
+ if (!is_array($this->filters)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('filters', TType::MAP, 4);
+ {
+ $output->writeMapBegin(TType::I32, TType::STRING, count($this->filters));
+ {
+ foreach ($this->filters as $kiter67 => $viter68)
+ {
+ $xfer += $output->writeI32($kiter67);
+ $xfer += $output->writeString($viter68);
+ }
+ }
+ $output->writeMapEnd();
+ }
+ $xfer += $output->writeFieldEnd();
+ }
if ($this->limit !== null) {
- $xfer += $output->writeFieldBegin('limit', TType::I32, 4);
+ $xfer += $output->writeFieldBegin('limit', TType::I32, 5);
$xfer += $output->writeI32($this->limit);
$xfer += $output->writeFieldEnd();
}
if ($this->offset !== null) {
- $xfer += $output->writeFieldBegin('offset', TType::I32, 5);
+ $xfer += $output->writeFieldBegin('offset', TType::I32, 6);
$xfer += $output->writeI32($this->offset);
$xfer += $output->writeFieldEnd();
}
@@ -23473,7 +23533,7 @@ class Airavata_getUserProjects_args {
}
-class Airavata_getUserProjects_result {
+class Airavata_searchProjects_result {
static $_TSPEC;
/**
@@ -23551,7 +23611,7 @@ class Airavata_getUserProjects_result {
}
public function getName() {
- return 'Airavata_getUserProjects_result';
+ return 'Airavata_searchProjects_result';
}
public function read($input)
@@ -23572,15 +23632,15 @@ class Airavata_getUserProjects_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size53 = 0;
- $_etype56 = 0;
- $xfer += $input->readListBegin($_etype56, $_size53);
- for ($_i57 = 0; $_i57 < $_size53; ++$_i57)
+ $_size69 = 0;
+ $_etype72 = 0;
+ $xfer += $input->readListBegin($_etype72, $_size69);
+ for ($_i73 = 0; $_i73 < $_size69; ++$_i73)
{
- $elem58 = null;
- $elem58 = new \Airavata\Model\Workspace\Project();
- $xfer += $elem58->read($input);
- $this->success []= $elem58;
+ $elem74 = null;
+ $elem74 = new \Airavata\Model\Workspace\Project();
+ $xfer += $elem74->read($input);
+ $this->success []= $elem74;
}
$xfer += $input->readListEnd();
} else {
@@ -23631,7 +23691,7 @@ class Airavata_getUserProjects_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getUserProjects_result');
+ $xfer += $output->writeStructBegin('Airavata_searchProjects_result');
if ($this->success !== null) {
if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -23640,9 +23700,9 @@ class Airavata_getUserProjects_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter59)
+ foreach ($this->success as $iter75)
{
- $xfer += $iter59->write($output);
+ $xfer += $iter75->write($output);
}
}
$output->writeListEnd();
@@ -23676,7 +23736,7 @@ class Airavata_getUserProjects_result {
}
-class Airavata_searchProjects_args {
+class Airavata_searchExperiments_args {
static $_TSPEC;
/**
@@ -23765,7 +23825,7 @@ class Airavata_searchProjects_args {
}
public function getName() {
- return 'Airavata_searchProjects_args';
+ return 'Airavata_searchExperiments_args';
}
public function read($input)
@@ -23808,17 +23868,17 @@ class Airavata_searchProjects_args {
case 4:
if ($ftype == TType::MAP) {
$this->filters = array();
- $_size60 = 0;
- $_ktype61 = 0;
- $_vtype62 = 0;
- $xfer += $input->readMapBegin($_ktype61, $_vtype62, $_size60);
- for ($_i64 = 0; $_i64 < $_size60; ++$_i64)
+ $_size76 = 0;
+ $_ktype77 = 0;
+ $_vtype78 = 0;
+ $xfer += $input->readMapBegin($_ktype77, $_vtype78, $_size76);
+ for ($_i80 = 0; $_i80 < $_size76; ++$_i80)
{
- $key65 = 0;
- $val66 = '';
- $xfer += $input->readI32($key65);
- $xfer += $input->readString($val66);
- $this->filters[$key65] = $val66;
+ $key81 = 0;
+ $val82 = '';
+ $xfer += $input->readI32($key81);
+ $xfer += $input->readString($val82);
+ $this->filters[$key81] = $val82;
}
$xfer += $input->readMapEnd();
} else {
@@ -23851,7 +23911,7 @@ class Airavata_searchProjects_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_searchProjects_args');
+ $xfer += $output->writeStructBegin('Airavata_searchExperiments_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -23878,10 +23938,10 @@ class Airavata_searchProjects_args {
{
$output->writeMapBegin(TType::I32, TType::STRING, count($this->filters));
{
- foreach ($this->filters as $kiter67 => $viter68)
+ foreach ($this->filters as $kiter83 => $viter84)
{
- $xfer += $output->writeI32($kiter67);
- $xfer += $output->writeString($viter68);
+ $xfer += $output->writeI32($kiter83);
+ $xfer += $output->writeString($viter84);
}
}
$output->writeMapEnd();
@@ -23905,11 +23965,11 @@ class Airavata_searchProjects_args {
}
-class Airavata_searchProjects_result {
+class Airavata_searchExperiments_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Workspace\Project[]
+ * @var \Airavata\Model\Experiment\ExperimentSummaryModel[]
*/
public $success = null;
/**
@@ -23938,7 +23998,7 @@ class Airavata_searchProjects_result {
'etype' => TType::STRUCT,
'elem' => array(
'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Workspace\Project',
+ 'class' => '\Airavata\Model\Experiment\ExperimentSummaryModel',
),
),
1 => array(
@@ -23983,7 +24043,7 @@ class Airavata_searchProjects_result {
}
public function getName() {
- return 'Airavata_searchProjects_result';
+ return 'Airavata_searchExperiments_result';
}
public function read($input)
@@ -24004,15 +24064,15 @@ class Airavata_searchProjects_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size69 = 0;
- $_etype72 = 0;
- $xfer += $input->readListBegin($_etype72, $_size69);
- for ($_i73 = 0; $_i73 < $_size69; ++$_i73)
+ $_size85 = 0;
+ $_etype88 = 0;
+ $xfer += $input->readListBegin($_etype88, $_size85);
+ for ($_i89 = 0; $_i89 < $_size85; ++$_i89)
{
- $elem74 = null;
- $elem74 = new \Airavata\Model\Workspace\Project();
- $xfer += $elem74->read($input);
- $this->success []= $elem74;
+ $elem90 = null;
+ $elem90 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
+ $xfer += $elem90->read($input);
+ $this->success []= $elem90;
}
$xfer += $input->readListEnd();
} else {
@@ -24063,7 +24123,7 @@ class Airavata_searchProjects_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_searchProjects_result');
+ $xfer += $output->writeStructBegin('Airavata_searchExperiments_result');
if ($this->success !== null) {
if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -24072,9 +24132,9 @@ class Airavata_searchProjects_result {
{
$output->writeListBegin(TType::STRUCT, count($this->success));
{
- foreach ($this->success as $iter75)
+ foreach ($this->success as $iter91)
{
- $xfer += $iter75->write($output);
+ $xfer += $iter91->write($output);
}
}
$output->writeListEnd();
@@ -24108,7 +24168,7 @@ class Airavata_searchProjects_result {
}
-class Airavata_searchExperiments_args {
+class Airavata_getExperimentStatistics_args {
static $_TSPEC;
/**
@@ -24120,21 +24180,25 @@ class Airavata_searchExperiments_args {
*/
public $gatewayId = null;
/**
- * @var string
+ * @var int
*/
- public $userName = null;
+ public $fromTime = null;
/**
- * @var array
+ * @var int
*/
- public $filters = null;
+ public $toTime = null;
/**
- * @var int
+ * @var string
*/
- public $limit = null;
+ public $userName = null;
/**
- * @var int
+ * @var string
*/
- public $offset = null;
+ public $applicationName = null;
+ /**
+ * @var string
+ */
+ public $resourceHostName = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -24149,28 +24213,24 @@ class Airavata_searchExperiments_args {
'type' => TType::STRING,
),
3 => array(
- 'var' => 'userName',
- 'type' => TType::STRING,
+ 'var' => 'fromTime',
+ 'type' => TType::I64,
),
4 => array(
- 'var' => 'filters',
- 'type' => TType::MAP,
- 'ktype' => TType::I32,
- 'vtype' => TType::STRING,
- 'key' => array(
- 'type' => TType::I32,
- ),
- 'val' => array(
- 'type' => TType::STRING,
- ),
+ 'var' => 'toTime',
+ 'type' => TType::I64,
),
5 => array(
- 'var' => 'limit',
- 'type' => TType::I32,
+ 'var' => 'userName',
+ 'type' => TType::STRING,
),
6 => array(
- 'var' => 'offset',
- 'type' => TType::I32,
+ 'var' => 'applicationName',
+ 'type' => TType::STRING,
+ ),
+ 7 => array(
+ 'var' => 'resourceHostName',
+ 'type' => TType::STRING,
),
);
}
@@ -24181,23 +24241,26 @@ class Airavata_searchExperiments_args {
if (isset($vals['gatewayId'])) {
$this->gatewayId = $vals['gatewayId'];
}
+ if (isset($vals['fromTime'])) {
+ $this->fromTime = $vals['fromTime'];
+ }
+ if (isset($vals['toTime'])) {
+ $this->toTime = $vals['toTime'];
+ }
if (isset($vals['userName'])) {
$this->userName = $vals['userName'];
}
- if (isset($vals['filters'])) {
- $this->filters = $vals['filters'];
- }
- if (isset($vals['limit'])) {
- $this->limit = $vals['limit'];
+ if (isset($vals['applicationName'])) {
+ $this->applicationName = $vals['applicationName'];
}
- if (isset($vals['offset'])) {
- $this->offset = $vals['offset'];
+ if (isset($vals['resourceHostName'])) {
+ $this->resourceHostName = $vals['resourceHostName'];
}
}
}
public function getName() {
- return 'Airavata_searchExperiments_args';
+ return 'Airavata_getExperimentStatistics_args';
}
public function read($input)
@@ -24231,42 +24294,36 @@ class Airavata_searchExperiments_args {
}
break;
case 3:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->userName);
+ if ($ftype == TType::I64) {
+ $xfer += $input->readI64($this->fromTime);
} else {
$xfer += $input->skip($ftype);
}
break;
case 4:
- if ($ftype == TType::MAP) {
- $this->filters = array();
- $_size76 = 0;
- $_ktype77 = 0;
- $_vtype78 = 0;
- $xfer += $input->readMapBegin($_ktype77, $_vtype78, $_size76);
- for ($_i80 = 0; $_i80 < $_size76; ++$_i80)
- {
- $key81 = 0;
- $val82 = '';
- $xfer += $input->readI32($key81);
- $xfer += $input->readString($val82);
- $this->filters[$key81] = $val82;
- }
- $xfer += $input->readMapEnd();
+ if ($ftype == TType::I64) {
+ $xfer += $input->readI64($this->toTime);
} else {
$xfer += $input->skip($ftype);
}
break;
case 5:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->limit);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->userName);
} else {
$xfer += $input->skip($ftype);
}
break;
case 6:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->offset);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->applicationName);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 7:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->resourceHostName);
} else {
$xfer += $input->skip($ftype);
}
@@ -24283,7 +24340,7 @@ class Airavata_searchExperiments_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_searchExperiments_args');
+ $xfer += $output->writeStructBegin('Airavata_getExperimentStatistics_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -24297,37 +24354,29 @@ class Airavata_searchExperiments_args {
$xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
- if ($this->userName !== null) {
- $xfer += $output->writeFieldBegin('userName', TType::STRING, 3);
- $xfer += $output->writeString($this->userName);
+ if ($this->fromTime !== null) {
+ $xfer += $output->writeFieldBegin('fromTime', TType::I64, 3);
+ $xfer += $output->writeI64($this->fromTime);
$xfer += $output->writeFieldEnd();
}
- if ($this->filters !== null) {
- if (!is_array($this->filters)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('filters', TType::MAP, 4);
- {
- $output->writeMapBegin(TType::I32, TType::STRING, count($this->filters));
- {
- foreach ($this->filters as $kiter83 => $viter84)
- {
- $xfer += $output->writeI32($kiter83);
- $xfer += $output->writeString($viter84);
- }
- }
- $output->writeMapEnd();
- }
+ if ($this->toTime !== null) {
+ $xfer += $output->writeFieldBegin('toTime', TType::I64, 4);
+ $xfer += $output->writeI64($this->toTime);
$xfer += $output->writeFieldEnd();
}
- if ($this->limit !== null) {
- $xfer += $output->writeFieldBegin('limit', TType::I32, 5);
- $xfer += $output->writeI32($this->limit);
+ if ($this->userName !== null) {
+ $xfer += $output->writeFieldBegin('userName', TType::STRING, 5);
+ $xfer += $output->writeString($this->userName);
$xfer += $output->writeFieldEnd();
}
- if ($this->offset !== null) {
- $xfer += $output->writeFieldBegin('offset', TType::I32, 6);
- $xfer += $output->writeI32($this->offset);
+ if ($this->applicationName !== null) {
+ $xfer += $output->writeFieldBegin('applicationName', TType::STRING, 6);
+ $xfer += $output->writeString($this->applicationName);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->resourceHostName !== null) {
+ $xfer += $output->writeFieldBegin('resourceHostName', TType::STRING, 7);
+ $xfer += $output->writeString($this->resourceHostName);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -24337,432 +24386,11 @@ class Airavata_searchExperiments_args {
}
-class Airavata_searchExperiments_result {
+class Airavata_getExperimentStatistics_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Experiment\ExperimentSummaryModel[]
- */
- public $success = null;
- /**
- * @var \Airavata\API\Error\InvalidRequestException
- */
- public $ire = null;
- /**
- * @var \Airavata\API\Error\AiravataClientException
- */
- public $ace = null;
- /**
- * @var \Airavata\API\Error\AiravataSystemException
- */
- public $ase = null;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Experiment\ExperimentSummaryModel',
- ),
- ),
- 1 => array(
- 'var' => 'ire',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\InvalidRequestException',
- ),
- 2 => array(
- 'var' => 'ace',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataClientException',
- ),
- 3 => array(
- 'var' => 'ase',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataSystemException',
- ),
- 4 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
- if (isset($vals['ire'])) {
- $this->ire = $vals['ire'];
- }
- if (isset($vals['ace'])) {
- $this->ace = $vals['ace'];
- }
- if (isset($vals['ase'])) {
- $this->ase = $vals['ase'];
- }
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_searchExperiments_result';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size85 = 0;
- $_etype88 = 0;
- $xfer += $input->readListBegin($_etype88, $_size85);
- for ($_i89 = 0; $_i89 < $_size85; ++$_i89)
- {
- $elem90 = null;
- $elem90 = new \Airavata\Model\Experiment\ExperimentSummaryModel();
- $xfer += $elem90->read($input);
- $this->success []= $elem90;
- }
- $xfer += $input->readListEnd();
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->ire = new \Airavata\API\Error\InvalidRequestException();
- $xfer += $this->ire->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRUCT) {
- $this->ace = new \Airavata\API\Error\AiravataClientException();
- $xfer += $this->ace->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->ase = new \Airavata\API\Error\AiravataSystemException();
- $xfer += $this->ase->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_searchExperiments_result');
- if ($this->success !== null) {
- if (!is_array($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::LST, 0);
- {
- $output->writeListBegin(TType::STRUCT, count($this->success));
- {
- foreach ($this->success as $iter91)
- {
- $xfer += $iter91->write($output);
- }
- }
- $output->writeListEnd();
- }
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ire !== null) {
- $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
- $xfer += $this->ire->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
- $xfer += $this->ace->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
- $xfer += $this->ase->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_getExperimentStatistics_args {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Security\AuthzToken
- */
- public $authzToken = null;
- /**
- * @var string
- */
- public $gatewayId = null;
- /**
- * @var int
- */
- public $fromTime = null;
- /**
- * @var int
- */
- public $toTime = null;
- /**
- * @var string
- */
- public $userName = null;
- /**
- * @var string
- */
- public $applicationName = null;
- /**
- * @var string
- */
- public $resourceHostName = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 1 => array(
- 'var' => 'authzToken',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Security\AuthzToken',
- ),
- 2 => array(
- 'var' => 'gatewayId',
- 'type' => TType::STRING,
- ),
- 3 => array(
- 'var' => 'fromTime',
- 'type' => TType::I64,
- ),
- 4 => array(
- 'var' => 'toTime',
- 'type' => TType::I64,
- ),
- 5 => array(
- 'var' => 'userName',
- 'type' => TType::STRING,
- ),
- 6 => array(
- 'var' => 'applicationName',
- 'type' => TType::STRING,
- ),
- 7 => array(
- 'var' => 'resourceHostName',
- 'type' => TType::STRING,
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['authzToken'])) {
- $this->authzToken = $vals['authzToken'];
- }
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
- }
- if (isset($vals['fromTime'])) {
- $this->fromTime = $vals['fromTime'];
- }
- if (isset($vals['toTime'])) {
- $this->toTime = $vals['toTime'];
- }
- if (isset($vals['userName'])) {
- $this->userName = $vals['userName'];
- }
- if (isset($vals['applicationName'])) {
- $this->applicationName = $vals['applicationName'];
- }
- if (isset($vals['resourceHostName'])) {
- $this->resourceHostName = $vals['resourceHostName'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_getExperimentStatistics_args';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->authzToken = new \Airavata\Model\Security\AuthzToken();
- $xfer += $this->authzToken->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::I64) {
- $xfer += $input->readI64($this->fromTime);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::I64) {
- $xfer += $input->readI64($this->toTime);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 5:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->userName);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 6:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->applicationName);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 7:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->resourceHostName);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getExperimentStatistics_args');
- if ($this->authzToken !== null) {
- if (!is_object($this->authzToken)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('authzToken', TType::STRUCT, 1);
- $xfer += $this->authzToken->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
- $xfer += $output->writeString($this->gatewayId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->fromTime !== null) {
- $xfer += $output->writeFieldBegin('fromTime', TType::I64, 3);
- $xfer += $output->writeI64($this->fromTime);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->toTime !== null) {
- $xfer += $output->writeFieldBegin('toTime', TType::I64, 4);
- $xfer += $output->writeI64($this->toTime);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->userName !== null) {
- $xfer += $output->writeFieldBegin('userName', TType::STRING, 5);
- $xfer += $output->writeString($this->userName);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->applicationName !== null) {
- $xfer += $output->writeFieldBegin('applicationName', TType::STRING, 6);
- $xfer += $output->writeString($this->applicationName);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->resourceHostName !== null) {
- $xfer += $output->writeFieldBegin('resourceHostName', TType::STRING, 7);
- $xfer += $output->writeString($this->resourceHostName);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_getExperimentStatistics_result {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Experiment\ExperimentStatistics
+ * @var \Airavata\Model\Experiment\ExperimentStatistics
*/
public $success = null;
/**
@@ -25265,1597 +24893,22 @@ class Airavata_getExperimentsInProject_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getExperimentsInProject_result');
- if ($this->success !== null) {
- if (!is_array($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::LST, 0);
- {
- $output->writeListBegin(TType::STRUCT, count($this->success));
- {
- foreach ($this->success as $iter98)
- {
- $xfer += $iter98->write($output);
- }
- }
- $output->writeListEnd();
- }
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ire !== null) {
- $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
- $xfer += $this->ire->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
- $xfer += $this->ace->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
- $xfer += $this->ase->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->pnfe !== null) {
- $xfer += $output->writeFieldBegin('pnfe', TType::STRUCT, 4);
- $xfer += $this->pnfe->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 5);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_getUserExperiments_args {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Security\AuthzToken
- */
- public $authzToken = null;
- /**
- * @var string
- */
- public $gatewayId = null;
- /**
- * @var string
- */
- public $userName = null;
- /**
- * @var int
- */
- public $limit = null;
- /**
- * @var int
- */
- public $offset = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 1 => array(
- 'var' => 'authzToken',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Security\AuthzToken',
- ),
- 2 => array(
- 'var' => 'gatewayId',
- 'type' => TType::STRING,
- ),
- 3 => array(
- 'var' => 'userName',
- 'type' => TType::STRING,
- ),
- 4 => array(
- 'var' => 'limit',
- 'type' => TType::I32,
- ),
- 5 => array(
- 'var' => 'offset',
- 'type' => TType::I32,
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['authzToken'])) {
- $this->authzToken = $vals['authzToken'];
- }
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
- }
- if (isset($vals['userName'])) {
- $this->userName = $vals['userName'];
- }
- if (isset($vals['limit'])) {
- $this->limit = $vals['limit'];
- }
- if (isset($vals['offset'])) {
- $this->offset = $vals['offset'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_getUserExperiments_args';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->authzToken = new \Airavata\Model\Security\AuthzToken();
- $xfer += $this->authzToken->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->userName);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->limit);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 5:
- if ($ftype == TType::I32) {
- $xfer += $input->readI32($this->offset);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getUserExperiments_args');
- if ($this->authzToken !== null) {
- if (!is_object($this->authzToken)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('authzToken', TType::STRUCT, 1);
- $xfer += $this->authzToken->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
- $xfer += $output->writeString($this->gatewayId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->userName !== null) {
- $xfer += $output->writeFieldBegin('userName', TType::STRING, 3);
- $xfer += $output->writeString($this->userName);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->limit !== null) {
- $xfer += $output->writeFieldBegin('limit', TType::I32, 4);
- $xfer += $output->writeI32($this->limit);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->offset !== null) {
- $xfer += $output->writeFieldBegin('offset', TType::I32, 5);
- $xfer += $output->writeI32($this->offset);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_getUserExperiments_result {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Experiment\ExperimentModel[]
- */
- public $success = null;
- /**
- * @var \Airavata\API\Error\InvalidRequestException
- */
- public $ire = null;
- /**
- * @var \Airavata\API\Error\AiravataClientException
- */
- public $ace = null;
- /**
- * @var \Airavata\API\Error\AiravataSystemException
- */
- public $ase = null;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Experiment\ExperimentModel',
- ),
- ),
- 1 => array(
- 'var' => 'ire',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\InvalidRequestException',
- ),
- 2 => array(
- 'var' => 'ace',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataClientException',
- ),
- 3 => array(
- 'var' => 'ase',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataSystemException',
- ),
- 4 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
- if (isset($vals['ire'])) {
- $this->ire = $vals['ire'];
- }
- if (isset($vals['ace'])) {
- $this->ace = $vals['ace'];
- }
- if (isset($vals['ase'])) {
- $this->ase = $vals['ase'];
- }
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_getUserExperiments_result';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size99 = 0;
- $_etype102 = 0;
- $xfer += $input->readListBegin($_etype102, $_size99);
- for ($_i103 = 0; $_i103 < $_size99; ++$_i103)
- {
- $elem104 = null;
- $elem104 = new \Airavata\Model\Experiment\ExperimentModel();
- $xfer += $elem104->read($input);
- $this->success []= $elem104;
- }
- $xfer += $input->readListEnd();
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->ire = new \Airavata\API\Error\InvalidRequestException();
- $xfer += $this->ire->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRUCT) {
- $this->ace = new \Airavata\API\Error\AiravataClientException();
- $xfer += $this->ace->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->ase = new \Airavata\API\Error\AiravataSystemException();
- $xfer += $this->ase->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getUserExperiments_result');
- if ($this->success !== null) {
- if (!is_array($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::LST, 0);
- {
- $output->writeListBegin(TType::STRUCT, count($this->success));
- {
- foreach ($this->success as $iter105)
- {
- $xfer += $iter105->write($output);
- }
- }
- $output->writeListEnd();
- }
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ire !== null) {
- $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
- $xfer += $this->ire->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
- $xfer += $this->ace->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
- $xfer += $this->ase->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_createExperiment_args {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Security\AuthzToken
- */
- public $authzToken = null;
- /**
- * @var string
- */
- public $gatewayId = null;
- /**
- * @var \Airavata\Model\Experiment\ExperimentModel
- */
- public $experiment = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 1 => array(
- 'var' => 'authzToken',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Security\AuthzToken',
- ),
- 2 => array(
- 'var' => 'gatewayId',
- 'type' => TType::STRING,
- ),
- 3 => array(
- 'var' => 'experiment',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Experiment\ExperimentModel',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['authzToken'])) {
- $this->authzToken = $vals['authzToken'];
- }
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
- }
- if (isset($vals['experiment'])) {
- $this->experiment = $vals['experiment'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_createExperiment_args';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->authzToken = new \Airavata\Model\Security\AuthzToken();
- $xfer += $this->authzToken->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->experiment = new \Airavata\Model\Experiment\ExperimentModel();
- $xfer += $this->experiment->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_createExperiment_args');
- if ($this->authzToken !== null) {
- if (!is_object($this->authzToken)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('authzToken', TType::STRUCT, 1);
- $xfer += $this->authzToken->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
- $xfer += $output->writeString($this->gatewayId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->experiment !== null) {
- if (!is_object($this->experiment)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('experiment', TType::STRUCT, 3);
- $xfer += $this->experiment->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_createExperiment_result {
- static $_TSPEC;
-
- /**
- * @var string
- */
- public $success = null;
- /**
- * @var \Airavata\API\Error\InvalidRequestException
- */
- public $ire = null;
- /**
- * @var \Airavata\API\Error\AiravataClientException
- */
- public $ace = null;
- /**
- * @var \Airavata\API\Error\AiravataSystemException
- */
- public $ase = null;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::STRING,
- ),
- 1 => array(
- 'var' => 'ire',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\InvalidRequestException',
- ),
- 2 => array(
- 'var' => 'ace',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataClientException',
- ),
- 3 => array(
- 'var' => 'ase',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataSystemException',
- ),
- 4 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
- if (isset($vals['ire'])) {
- $this->ire = $vals['ire'];
- }
- if (isset($vals['ace'])) {
- $this->ace = $vals['ace'];
- }
- if (isset($vals['ase'])) {
- $this->ase = $vals['ase'];
- }
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_createExperiment_result';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 0:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->success);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->ire = new \Airavata\API\Error\InvalidRequestException();
- $xfer += $this->ire->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRUCT) {
- $this->ace = new \Airavata\API\Error\AiravataClientException();
- $xfer += $this->ace->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->ase = new \Airavata\API\Error\AiravataSystemException();
- $xfer += $this->ase->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_createExperiment_result');
- if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
- $xfer += $output->writeString($this->success);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ire !== null) {
- $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
- $xfer += $this->ire->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
- $xfer += $this->ace->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
- $xfer += $this->ase->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_deleteExperiment_args {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Security\AuthzToken
- */
- public $authzToken = null;
- /**
- * @var string
- */
- public $experimentId = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 1 => array(
- 'var' => 'authzToken',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Security\AuthzToken',
- ),
- 2 => array(
- 'var' => 'experimentId',
- 'type' => TType::STRING,
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['authzToken'])) {
- $this->authzToken = $vals['authzToken'];
- }
- if (isset($vals['experimentId'])) {
- $this->experimentId = $vals['experimentId'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_deleteExperiment_args';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->authzToken = new \Airavata\Model\Security\AuthzToken();
- $xfer += $this->authzToken->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->experimentId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteExperiment_args');
- if ($this->authzToken !== null) {
- if (!is_object($this->authzToken)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('authzToken', TType::STRUCT, 1);
- $xfer += $this->authzToken->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->experimentId !== null) {
- $xfer += $output->writeFieldBegin('experimentId', TType::STRING, 2);
- $xfer += $output->writeString($this->experimentId);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_deleteExperiment_result {
- static $_TSPEC;
-
- /**
- * @var bool
- */
- public $success = null;
- /**
- * @var \Airavata\API\Error\InvalidRequestException
- */
- public $ire = null;
- /**
- * @var \Airavata\API\Error\AiravataClientException
- */
- public $ace = null;
- /**
- * @var \Airavata\API\Error\AiravataSystemException
- */
- public $ase = null;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::BOOL,
- ),
- 1 => array(
- 'var' => 'ire',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\InvalidRequestException',
- ),
- 2 => array(
- 'var' => 'ace',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataClientException',
- ),
- 3 => array(
- 'var' => 'ase',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataSystemException',
- ),
- 4 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
- if (isset($vals['ire'])) {
- $this->ire = $vals['ire'];
- }
- if (isset($vals['ace'])) {
- $this->ace = $vals['ace'];
- }
- if (isset($vals['ase'])) {
- $this->ase = $vals['ase'];
- }
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_deleteExperiment_result';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->ire = new \Airavata\API\Error\InvalidRequestException();
- $xfer += $this->ire->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRUCT) {
- $this->ace = new \Airavata\API\Error\AiravataClientException();
- $xfer += $this->ace->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->ase = new \Airavata\API\Error\AiravataSystemException();
- $xfer += $this->ase->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_deleteExperiment_result');
- if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ire !== null) {
- $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
- $xfer += $this->ire->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
- $xfer += $this->ace->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
- $xfer += $this->ase->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_getExperiment_args {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Security\AuthzToken
- */
- public $authzToken = null;
- /**
- * @var string
- */
- public $airavataExperimentId = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 1 => array(
- 'var' => 'authzToken',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Security\AuthzToken',
- ),
- 2 => array(
- 'var' => 'airavataExperimentId',
- 'type' => TType::STRING,
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['authzToken'])) {
- $this->authzToken = $vals['authzToken'];
- }
- if (isset($vals['airavataExperimentId'])) {
- $this->airavataExperimentId = $vals['airavataExperimentId'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_getExperiment_args';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->authzToken = new \Airavata\Model\Security\AuthzToken();
- $xfer += $this->authzToken->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->airavataExperimentId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getExperiment_args');
- if ($this->authzToken !== null) {
- if (!is_object($this->authzToken)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('authzToken', TType::STRUCT, 1);
- $xfer += $this->authzToken->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->airavataExperimentId !== null) {
- $xfer += $output->writeFieldBegin('airavataExperimentId', TType::STRING, 2);
- $xfer += $output->writeString($this->airavataExperimentId);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_getExperiment_result {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Experiment\ExperimentModel
- */
- public $success = null;
- /**
- * @var \Airavata\API\Error\InvalidRequestException
- */
- public $ire = null;
- /**
- * @var \Airavata\API\Error\ExperimentNotFoundException
- */
- public $enf = null;
- /**
- * @var \Airavata\API\Error\AiravataClientException
- */
- public $ace = null;
- /**
- * @var \Airavata\API\Error\AiravataSystemException
- */
- public $ase = null;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Experiment\ExperimentModel',
- ),
- 1 => array(
- 'var' => 'ire',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\InvalidRequestException',
- ),
- 2 => array(
- 'var' => 'enf',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\ExperimentNotFoundException',
- ),
- 3 => array(
- 'var' => 'ace',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataClientException',
- ),
- 4 => array(
- 'var' => 'ase',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataSystemException',
- ),
- 5 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
- if (isset($vals['ire'])) {
- $this->ire = $vals['ire'];
- }
- if (isset($vals['enf'])) {
- $this->enf = $vals['enf'];
- }
- if (isset($vals['ace'])) {
- $this->ace = $vals['ace'];
- }
- if (isset($vals['ase'])) {
- $this->ase = $vals['ase'];
- }
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_getExperiment_result';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\Experiment\ExperimentModel();
- $xfer += $this->success->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->ire = new \Airavata\API\Error\InvalidRequestException();
- $xfer += $this->ire->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRUCT) {
- $this->enf = new \Airavata\API\Error\ExperimentNotFoundException();
- $xfer += $this->enf->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->ace = new \Airavata\API\Error\AiravataClientException();
- $xfer += $this->ace->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ase = new \Airavata\API\Error\AiravataSystemException();
- $xfer += $this->ase->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 5:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getExperiment_result');
- if ($this->success !== null) {
- if (!is_object($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ire !== null) {
- $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
- $xfer += $this->ire->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->enf !== null) {
- $xfer += $output->writeFieldBegin('enf', TType::STRUCT, 2);
- $xfer += $this->enf->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 3);
- $xfer += $this->ace->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 4);
- $xfer += $this->ase->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 5);
- $xfer += $this->ae->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_getExperimentByAdmin_args {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Security\AuthzToken
- */
- public $authzToken = null;
- /**
- * @var string
- */
- public $airavataExperimentId = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 1 => array(
- 'var' => 'authzToken',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Security\AuthzToken',
- ),
- 2 => array(
- 'var' => 'airavataExperimentId',
- 'type' => TType::STRING,
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['authzToken'])) {
- $this->authzToken = $vals['authzToken'];
- }
- if (isset($vals['airavataExperimentId'])) {
- $this->airavataExperimentId = $vals['airavataExperimentId'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_getExperimentByAdmin_args';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->authzToken = new \Airavata\Model\Security\AuthzToken();
- $xfer += $this->authzToken->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->airavataExperimentId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getExperimentByAdmin_args');
- if ($this->authzToken !== null) {
- if (!is_object($this->authzToken)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('authzToken', TType::STRUCT, 1);
- $xfer += $this->authzToken->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->airavataExperimentId !== null) {
- $xfer += $output->writeFieldBegin('airavataExperimentId', TType::STRING, 2);
- $xfer += $output->writeString($this->airavataExperimentId);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-class Airavata_getExperimentByAdmin_result {
- static $_TSPEC;
-
- /**
- * @var \Airavata\Model\Experiment\ExperimentModel
- */
- public $success = null;
- /**
- * @var \Airavata\API\Error\InvalidRequestException
- */
- public $ire = null;
- /**
- * @var \Airavata\API\Error\ExperimentNotFoundException
- */
- public $enf = null;
- /**
- * @var \Airavata\API\Error\AiravataClientException
- */
- public $ace = null;
- /**
- * @var \Airavata\API\Error\AiravataSystemException
- */
- public $ase = null;
- /**
- * @var \Airavata\API\Error\AuthorizationException
- */
- public $ae = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Experiment\ExperimentModel',
- ),
- 1 => array(
- 'var' => 'ire',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\InvalidRequestException',
- ),
- 2 => array(
- 'var' => 'enf',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\ExperimentNotFoundException',
- ),
- 3 => array(
- 'var' => 'ace',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataClientException',
- ),
- 4 => array(
- 'var' => 'ase',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataSystemException',
- ),
- 5 => array(
- 'var' => 'ae',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AuthorizationException',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
- if (isset($vals['ire'])) {
- $this->ire = $vals['ire'];
- }
- if (isset($vals['enf'])) {
- $this->enf = $vals['enf'];
- }
- if (isset($vals['ace'])) {
- $this->ace = $vals['ace'];
- }
- if (isset($vals['ase'])) {
- $this->ase = $vals['ase'];
- }
- if (isset($vals['ae'])) {
- $this->ae = $vals['ae'];
- }
- }
- }
-
- public function getName() {
- return 'Airavata_getExperimentByAdmin_result';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\Experiment\ExperimentModel();
- $xfer += $this->success->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->ire = new \Airavata\API\Error\InvalidRequestException();
- $xfer += $this->ire->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRUCT) {
- $this->enf = new \Airavata\API\Error\ExperimentNotFoundException();
- $xfer += $this->enf->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->ace = new \Airavata\API\Error\AiravataClientException();
- $xfer += $this->ace->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ase = new \Airavata\API\Error\AiravataSystemException();
- $xfer += $this->ase->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 5:
- if ($ftype == TType::STRUCT) {
- $this->ae = new \Airavata\API\Error\AuthorizationException();
- $xfer += $this->ae->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- default:
- $xfer += $input->skip($ftype);
- break;
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getExperimentByAdmin_result');
+ $xfer += $output->writeStructBegin('Airavata_getExperimentsInProject_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
+ if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::LST, 0);
+ {
+ $output->writeListBegin(TType::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $iter98)
+ {
+ $xfer += $iter98->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -26863,21 +24916,21 @@ class Airavata_getExperimentByAdmin_result {
$xfer += $this->ire->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->enf !== null) {
- $xfer += $output->writeFieldBegin('enf', TType::STRUCT, 2);
- $xfer += $this->enf->write($output);
- $xfer += $output->writeFieldEnd();
- }
if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 3);
+ $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
$xfer += $this->ace->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 4);
+ $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
$xfer += $this->ase->write($output);
$xfer += $output->writeFieldEnd();
}
+ if ($this->pnfe !== null) {
+ $xfer += $output->writeFieldBegin('pnfe', TType::STRUCT, 4);
+ $xfer += $this->pnfe->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
if ($this->ae !== null) {
$xfer += $output->writeFieldBegin('ae', TType::STRUCT, 5);
$xfer += $this->ae->write($output);
@@ -26890,7 +24943,7 @@ class Airavata_getExperimentByAdmin_result {
}
-class Airavata_getDetailedExperimentTree_args {
+class Airavata_getUserExperiments_args {
static $_TSPEC;
/**
@@ -26900,7 +24953,19 @@ class Airavata_getDetailedExperimentTree_args {
/**
* @var string
*/
- public $airavataExperimentId = null;
+ public $gatewayId = null;
+ /**
+ * @var string
+ */
+ public $userName = null;
+ /**
+ * @var int
+ */
+ public $limit = null;
+ /**
+ * @var int
+ */
+ public $offset = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -26911,23 +24976,44 @@ class Airavata_getDetailedExperimentTree_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'airavataExperimentId',
+ 'var' => 'gatewayId',
+ 'type' => TType::STRING,
+ ),
+ 3 => array(
+ 'var' => 'userName',
'type' => TType::STRING,
),
+ 4 => array(
+ 'var' => 'limit',
+ 'type' => TType::I32,
+ ),
+ 5 => array(
+ 'var' => 'offset',
+ 'type' => TType::I32,
+ ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['airavataExperimentId'])) {
- $this->airavataExperimentId = $vals['airavataExperimentId'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
+ }
+ if (isset($vals['userName'])) {
+ $this->userName = $vals['userName'];
+ }
+ if (isset($vals['limit'])) {
+ $this->limit = $vals['limit'];
+ }
+ if (isset($vals['offset'])) {
+ $this->offset = $vals['offset'];
}
}
}
public function getName() {
- return 'Airavata_getDetailedExperimentTree_args';
+ return 'Airavata_getUserExperiments_args';
}
public function read($input)
@@ -26955,7 +25041,28 @@ class Airavata_getDetailedExperimentTree_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->airavataExperimentId);
+ $xfer += $input->readString($this->gatewayId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->userName);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->limit);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 5:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->offset);
} else {
$xfer += $input->skip($ftype);
}
@@ -26972,7 +25079,7 @@ class Airavata_getDetailedExperimentTree_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getDetailedExperimentTree_args');
+ $xfer += $output->writeStructBegin('Airavata_getUserExperiments_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -26981,9 +25088,24 @@ class Airavata_getDetailedExperimentTree_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->airavataExperimentId !== null) {
- $xfer += $output->writeFieldBegin('airavataExperimentId', TType::STRING, 2);
- $xfer += $output->writeString($this->airavataExperimentId);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->userName !== null) {
+ $xfer += $output->writeFieldBegin('userName', TType::STRING, 3);
+ $xfer += $output->writeString($this->userName);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->limit !== null) {
+ $xfer += $output->writeFieldBegin('limit', TType::I32, 4);
+ $xfer += $output->writeI32($this->limit);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->offset !== null) {
+ $xfer += $output->writeFieldBegin('offset', TType::I32, 5);
+ $xfer += $output->writeI32($this->offset);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -26993,11 +25115,11 @@ class Airavata_getDetailedExperimentTree_args {
}
-class Airavata_getDetailedExperimentTree_result {
+class Airavata_getUserExperiments_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Experiment\ExperimentModel
+ * @var \Airavata\Model\Experiment\ExperimentModel[]
*/
public $success = null;
/**
@@ -27005,10 +25127,6 @@ class Airavata_getDetailedExperimentTree_result {
*/
public $ire = null;
/**
- * @var \Airavata\API\Error\ExperimentNotFoundException
- */
- public $enf = null;
- /**
* @var \Airavata\API\Error\AiravataClientException
*/
public $ace = null;
@@ -27026,8 +25144,12 @@ class Airavata_getDetailedExperimentTree_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Experiment\ExperimentModel',
+ 'type' => TType::LST,
+ 'etype' => TType::STRUCT,
+ 'elem' => array(
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Experiment\ExperimentModel',
+ ),
),
1 => array(
'var' => 'ire',
@@ -27035,21 +25157,16 @@ class Airavata_getDetailedExperimentTree_result {
'class' => '\Airavata\API\Error\InvalidRequestException',
),
2 => array(
- 'var' => 'enf',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\ExperimentNotFoundException',
- ),
- 3 => array(
'var' => 'ace',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AiravataClientException',
),
- 4 => array(
+ 3 => array(
'var' => 'ase',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AiravataSystemException',
),
- 5 => array(
+ 4 => array(
'var' => 'ae',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AuthorizationException',
@@ -27063,9 +25180,6 @@ class Airavata_getDetailedExperimentTree_result {
if (isset($vals['ire'])) {
$this->ire = $vals['ire'];
}
- if (isset($vals['enf'])) {
- $this->enf = $vals['enf'];
- }
if (isset($vals['ace'])) {
$this->ace = $vals['ace'];
}
@@ -27079,7 +25193,7 @@ class Airavata_getDetailedExperimentTree_result {
}
public function getName() {
- return 'Airavata_getDetailedExperimentTree_result';
+ return 'Airavata_getUserExperiments_result';
}
public function read($input)
@@ -27098,9 +25212,19 @@ class Airavata_getDetailedExperimentTree_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\Experiment\ExperimentModel();
- $xfer += $this->success->read($input);
+ if ($ftype == TType::LST) {
+ $this->success = array();
+ $_size99 = 0;
+ $_etype102 = 0;
+ $xfer += $input->readListBegin($_etype102, $_size99);
+ for ($_i103 = 0; $_i103 < $_size99; ++$_i103)
+ {
+ $elem104 = null;
+ $elem104 = new \Airavata\Model\Experiment\ExperimentModel();
+ $xfer += $elem104->read($input);
+ $this->success []= $elem104;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
@@ -27115,21 +25239,13 @@ class Airavata_getDetailedExperimentTree_result {
break;
case 2:
if ($ftype == TType::STRUCT) {
- $this->enf = new \Airavata\API\Error\ExperimentNotFoundException();
- $xfer += $this->enf->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
$this->ace = new \Airavata\API\Error\AiravataClientException();
$xfer += $this->ace->read($input);
} else {
$xfer += $input->skip($ftype);
}
break;
- case 4:
+ case 3:
if ($ftype == TType::STRUCT) {
$this->ase = new \Airavata\API\Error\AiravataSystemException();
$xfer += $this->ase->read($input);
@@ -27137,7 +25253,7 @@ class Airavata_getDetailedExperimentTree_result {
$xfer += $input->skip($ftype);
}
break;
- case 5:
+ case 4:
if ($ftype == TType::STRUCT) {
$this->ae = new \Airavata\API\Error\AuthorizationException();
$xfer += $this->ae->read($input);
@@ -27157,13 +25273,22 @@ class Airavata_getDetailedExperimentTree_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getDetailedExperimentTree_result');
+ $xfer += $output->writeStructBegin('Airavata_getUserExperiments_result');
if ($this->success !== null) {
- if (!is_object($this->success)) {
+ if (!is_array($this->success)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldBegin('success', TType::LST, 0);
+ {
+ $output->writeListBegin(TType::STRUCT, count($this->success));
+ {
+ foreach ($this->success as $iter105)
+ {
+ $xfer += $iter105->write($output);
+ }
+ }
+ $output->writeListEnd();
+ }
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -27171,23 +25296,18 @@ class Airavata_getDetailedExperimentTree_result {
$xfer += $this->ire->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->enf !== null) {
- $xfer += $output->writeFieldBegin('enf', TType::STRUCT, 2);
- $xfer += $this->enf->write($output);
- $xfer += $output->writeFieldEnd();
- }
if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 3);
+ $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
$xfer += $this->ace->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 4);
+ $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
$xfer += $this->ase->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 5);
+ $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
$xfer += $this->ae->write($output);
$xfer += $output->writeFieldEnd();
}
@@ -27198,7 +25318,7 @@ class Airavata_getDetailedExperimentTree_result {
}
-class Airavata_updateExperiment_args {
+class Airavata_createExperiment_args {
static $_TSPEC;
/**
@@ -27208,7 +25328,7 @@ class Airavata_updateExperiment_args {
/**
* @var string
*/
- public $airavataExperimentId = null;
+ public $gatewayId = null;
/**
* @var \Airavata\Model\Experiment\ExperimentModel
*/
@@ -27223,7 +25343,7 @@ class Airavata_updateExperiment_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'airavataExperimentId',
+ 'var' => 'gatewayId',
'type' => TType::STRING,
),
3 => array(
@@ -27237,8 +25357,8 @@ class Airavata_updateExperiment_args {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['airavataExperimentId'])) {
- $this->airavataExperimentId = $vals['airavataExperimentId'];
+ if (isset($vals['gatewayId'])) {
+ $this->gatewayId = $vals['gatewayId'];
}
if (isset($vals['experiment'])) {
$this->experiment = $vals['experiment'];
@@ -27247,7 +25367,7 @@ class Airavata_updateExperiment_args {
}
public function getName() {
- return 'Airavata_updateExperiment_args';
+ return 'Airavata_createExperiment_args';
}
public function read($input)
@@ -27275,7 +25395,7 @@ class Airavata_updateExperiment_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->airavataExperimentId);
+ $xfer += $input->readString($this->gatewayId);
} else {
$xfer += $input->skip($ftype);
}
@@ -27300,7 +25420,7 @@ class Airavata_updateExperiment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateExperiment_args');
+ $xfer += $output->writeStructBegin('Airavata_createExperiment_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -27309,9 +25429,9 @@ class Airavata_updateExperiment_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->airavataExperimentId !== null) {
- $xfer += $output->writeFieldBegin('airavataExperimentId', TType::STRING, 2);
- $xfer += $output->writeString($this->airavataExperimentId);
+ if ($this->gatewayId !== null) {
+ $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 2);
+ $xfer += $output->writeString($this->gatewayId);
$xfer += $output->writeFieldEnd();
}
if ($this->experiment !== null) {
@@ -27329,17 +25449,17 @@ class Airavata_updateExperiment_args {
}
-class Airavata_updateExperiment_result {
+class Airavata_createExperiment_result {
static $_TSPEC;
/**
- * @var \Airavata\API\Error\InvalidRequestException
+ * @var string
*/
- public $ire = null;
+ public $success = null;
/**
- * @var \Airavata\API\Error\ExperimentNotFoundException
+ * @var \Airavata\API\Error\InvalidRequestException
*/
- public $enf = null;
+ public $ire = null;
/**
* @var \Airavata\API\Error\AiravataClientException
*/
@@ -27356,27 +25476,26 @@ class Airavata_updateExperiment_result {
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
+ 0 => array(
+ 'var' => 'success',
+ 'type' => TType::STRING,
+ ),
1 => array(
'var' => 'ire',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\InvalidRequestException',
),
2 => array(
- 'var' => 'enf',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\ExperimentNotFoundException',
- ),
- 3 => array(
'var' => 'ace',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AiravataClientException',
),
- 4 => array(
+ 3 => array(
'var' => 'ase',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AiravataSystemException',
),
- 5 => array(
+ 4 => array(
'var' => 'ae',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AuthorizationException',
@@ -27384,12 +25503,12 @@ class Airavata_updateExperiment_result {
);
}
if (is_array($vals)) {
+ if (isset($vals['success'])) {
+ $this->success = $vals['success'];
+ }
if (isset($vals['ire'])) {
$this->ire = $vals['ire'];
}
- if (isset($vals['enf'])) {
- $this->enf = $vals['enf'];
- }
if (isset($vals['ace'])) {
$this->ace = $vals['ace'];
}
@@ -27403,7 +25522,7 @@ class Airavata_updateExperiment_result {
}
public function getName() {
- return 'Airavata_updateExperiment_result';
+ return 'Airavata_createExperiment_result';
}
public function read($input)
@@ -27421,23 +25540,22 @@ class Airavata_updateExperiment_result {
}
switch ($fid)
{
- case 1:
- if ($ftype == TType::STRUCT) {
- $this->ire = new \Airavata\API\Error\InvalidRequestException();
- $xfer += $this->ire->read($input);
+ case 0:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->success);
} else {
$xfer += $input->skip($ftype);
}
break;
- case 2:
+ case 1:
if ($ftype == TType::STRUCT) {
- $this->enf = new \Airavata\API\Error\ExperimentNotFoundException();
- $xfer += $this->enf->read($input);
+ $this->ire = new \Airavata\API\Error\InvalidRequestException();
+ $xfer += $this->ire->read($input);
} else {
$xfer += $input->skip($ftype);
}
break;
- case 3:
+ case 2:
if ($ftype == TType::STRUCT) {
$this->ace = new \Airavata\API\Error\AiravataClientException();
$xfer += $this->ace->read($input);
@@ -27445,7 +25563,7 @@ class Airavata_updateExperiment_result {
$xfer += $input->skip($ftype);
}
break;
- case 4:
+ case 3:
if ($ftype == TType::STRUCT) {
$this->ase = new \Airavata\API\Error\AiravataSystemException();
$xfer += $this->ase->read($input);
@@ -27453,7 +25571,7 @@ class Airavata_updateExperiment_result {
$xfer += $input->skip($ftype);
}
break;
- case 5:
+ case 4:
if ($ftype == TType::STRUCT) {
$this->ae = new \Airavata\API\Error\AuthorizationException();
$xfer += $this->ae->read($input);
@@ -27473,29 +25591,29 @@ class Airavata_updateExperiment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateExperiment_result');
+ $xfer += $output->writeStructBegin('Airavata_createExperiment_result');
+ if ($this->success !== null) {
+ $xfer += $output->writeFieldBegin('success', TType::STRING, 0);
+ $xfer += $output->writeString($this->success);
+ $xfer += $output->writeFieldEnd();
+ }
if ($this->ire !== null) {
$xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
$xfer += $this->ire->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->enf !== null) {
- $xfer += $output->writeFieldBegin('enf', TType::STRUCT, 2);
- $xfer += $this->enf->write($output);
- $xfer += $output->writeFieldEnd();
- }
if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 3);
+ $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
$xfer += $this->ace->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 4);
+ $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
$xfer += $this->ase->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 5);
+ $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
$xfer += $this->ae->write($output);
$xfer += $output->writeFieldEnd();
}
@@ -27506,7 +25624,7 @@ class Airavata_updateExperiment_result {
}
-class Airavata_updateExperimentConfiguration_args {
+class Airavata_deleteExperiment_args {
static $_TSPEC;
/**
@@ -27516,11 +25634,7 @@ class Airavata_updateExperimentConfiguration_args {
/**
* @var string
*/
- public $airavataExperimentId = null;
- /**
- * @var \Airavata\Model\Experiment\UserConfigurationDataModel
- */
- public $userConfiguration = null;
+ public $experimentId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -27531,31 +25645,23 @@ class Airavata_updateExperimentConfiguration_args {
'class' => '\Airavata\Model\Security\AuthzToken',
),
2 => array(
- 'var' => 'airavataExperimentId',
+ 'var' => 'experimentId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'userConfiguration',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Experiment\UserConfigurationDataModel',
- ),
);
}
if (is_array($vals)) {
if (isset($vals['authzToken'])) {
$this->authzToken = $vals['authzToken'];
}
- if (isset($vals['airavataExperimentId'])) {
- $this->airavataExperimentId = $vals['airavataExperimentId'];
- }
- if (isset($vals['userConfiguration'])) {
- $this->userConfiguration = $vals['userConfiguration'];
+ if (isset($vals['experimentId'])) {
+ $this->experimentId = $vals['experimentId'];
}
}
}
public function getName() {
- return 'Airavata_updateExperimentConfiguration_args';
+ return 'Airavata_deleteExperiment_args';
}
public function read($input)
@@ -27583,15 +25689,7 @@ class Airavata_updateExperimentConfiguration_args {
break;
case 2:
if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->airavataExperimentId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->userConfiguration = new \Airavata\Model\Experiment\UserConfigurationDataModel();
- $xfer += $this->userConfiguration->read($input);
+ $xfer += $input->readString($this->experimentId);
} else {
$xfer += $input->skip($ftype);
}
@@ -27608,7 +25706,7 @@ class Airavata_updateExperimentConfiguration_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateExperimentConfiguration_args');
+ $xfer += $output->writeStructBegin('Airavata_deleteExperiment_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -27617,17 +25715,9 @@ class Airavata_updateExperimentConfiguration_args {
$xfer += $this->authzToken->write($output);
$xfer += $output->writeFieldEnd();
}
- if ($this->airavataExperimentId !== null) {
- $xfer += $output->writeFieldBegin('airavataExperimentId', TType::STRING, 2);
- $xfer += $output->writeString($this->airavataExperimentId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->userConfiguration !== null) {
- if (!is_object($this->userConfiguration)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('userConfiguration', TType::STRUCT, 3);
- $xfer += $this->userConfiguration->write($output);
+ if ($this->experimentId !== null) {
+ $xfer += $output->writeFieldBegin('experimentId', TType::STRING, 2);
+ $xfer += $output->writeString($this->experimentId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -27637,10 +25727,26 @@ class Airavata_updateExperimentConfiguration_args {
}
-class Airavata_updateExperimentConfiguration_result {
+class Airavata_deleteExperiment_result {
static $_TSPEC;
/**
+ * @var bool
+ */
+ public $success = null;
+ /**
+ * @var \Airavata\API\Error\InvalidRequestException
+ */
+ public $ire = null;
+ /**
+ * @var \Airavata\API\Error\AiravataClientException
+ */
+ public $ace = null;
+ /**
+ * @var \Airavata\API\Error\AiravataSystemException
+ */
+ public $ase = null;
+ /**
* @var \Airavata\API\Error\AuthorizationException
*/
public $ae = null;
@@ -27648,7 +25754,26 @@ class Airavata_updateExperimentConfiguration_result {
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
+ 0 => array(
+ 'var' => 'success',
+ 'type' => TType::BOOL,
+ ),
1 => array(
+ 'var' => 'ire',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\InvalidRequestException',
+ ),
+ 2 => array(
+ 'var' => 'ace',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\AiravataClientException',
+ ),
+ 3 => array(
+ 'var' => 'ase',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\AiravataSystemException',
+ ),
+ 4 => array(
'var' => 'ae',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AuthorizationException',
@@ -27656,6 +25781,18 @@ class Airavata_updateExperimentConfiguration_result {
);
}
if (is_array($vals)) {
+ if (isset($vals['success'])) {
+ $this->success = $vals['success'];
+ }
+ if (isset($vals['ire'])) {
+ $this->ire = $vals['ire'];
+ }
+ if (isset($vals['ace'])) {
+ $this->ace = $vals['ace'];
+ }
+ if (isset($vals['ase'])) {
+ $this->ase = $vals['ase'];
+ }
if (isset($vals['ae'])) {
$this->ae = $vals['ae'];
}
@@ -27663,7 +25800,7 @@ class Airavata_updateExperimentConfiguration_result {
}
public function getName() {
- return 'Airavata_updateExperimentConfiguration_result';
+ return 'Airavata_deleteExperiment_result';
}
public function read($input)
@@ -27681,8 +25818,39 @@ class Airavata_updateExperimentConfiguration_result {
}
switch ($fid)
{
+ case 0:
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->success);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
case 1:
if ($ftype == TType::STRUCT) {
+ $this->ire = new \Airavata\API\Error\InvalidRequestException();
+ $xfer += $this->ire->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 2:
+ if ($ftype == TType::STRUCT) {
+ $this->ace = new \Airavata\API\Error\AiravataClientException();
+ $xfer += $this->ace->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->ase = new \Airavata\API\Error\AiravataSystemException();
+ $xfer += $this->ase->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
+ if ($ftype == TType::STRUCT) {
$this->ae = new \Airavata\API\Error\AuthorizationException();
$xfer += $this->ae->read($input);
} else {
@@ -27701,9 +25869,29 @@ class Airavata_updateExperimentConfiguration_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateExperimentConfiguration_result');
+ $xfer += $output->writeStructBegin('Airavata_deleteExperiment_result');
+ if ($this->success !== null) {
+ $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
+ $xfer += $output->writeBool($this->success);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->ire !== null) {
+ $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
+ $xfer += $this->ire->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->ace !== null) {
+ $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 2);
+ $xfer += $this->ace->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->ase !== null) {
+ $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 3);
+ $xfer += $this->ase->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 1);
+ $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 4);
$xfer += $this->ae->write($output);
$xfer += $output->writeFieldEnd();
}
@@ -27714,7 +25902,7 @@ class Airavata_updateExperimentConfiguration_result {
}
-class Airavata_updateResourceScheduleing_args {
+class Airavata_getExperiment_args {
static $_TSPEC;
/**
@@ -27725,10 +25913,6 @@ class Airavata_updateResourceScheduleing_args {
* @var string
*/
public $airavataExperimentId = null;
- /**
- * @var \Airavata\Model\Scheduling\ComputationalResourceSchedulingModel
- */
- public $resourceScheduling = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -27742,11 +25926,6 @@ class Airavata_updateResourceScheduleing_args {
'var' => 'airavataExperimentId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'resourceScheduling',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Scheduling\ComputationalResourceSchedulingModel',
- ),
);
}
if (is_array($vals)) {
@@ -27756,14 +25935,11 @@ class Airavata_updateResourceScheduleing_args {
if (isset($vals['airavataExperimentId'])) {
$this->airavataExperimentId = $vals['airavataExperimentId'];
}
- if (isset($vals['resourceScheduling'])) {
- $this->resourceScheduling = $vals['resourceScheduling'];
- }
}
}
public function getName() {
- return 'Airavata_updateResourceScheduleing_args';
+ return 'Airavata_getExperiment_args';
}
public function read($input)
@@ -27796,14 +25972,6 @@ class Airavata_updateResourceScheduleing_args {
$xfer += $input->skip($ftype);
}
break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->resourceScheduling = new \Airavata\Model\Scheduling\ComputationalResourceSchedulingModel();
- $xfer += $this->resourceScheduling->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -27816,7 +25984,7 @@ class Airavata_updateResourceScheduleing_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateResourceScheduleing_args');
+ $xfer += $output->writeStructBegin('Airavata_getExperiment_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -27830,14 +25998,6 @@ class Airavata_updateResourceScheduleing_args {
$xfer += $output->writeString($this->airavataExperimentId);
$xfer += $output->writeFieldEnd();
}
- if ($this->resourceScheduling !== null) {
- if (!is_object($this->resourceScheduling)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('resourceScheduling', TType::STRUCT, 3);
- $xfer += $this->resourceScheduling->write($output);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -27845,10 +26005,30 @@ class Airavata_updateResourceScheduleing_args {
}
-class Airavata_updateResourceScheduleing_result {
+class Airavata_getExperiment_result {
static $_TSPEC;
/**
+ * @var \Airavata\Model\Experiment\ExperimentModel
+ */
+ public $success = null;
+ /**
+ * @var \Airavata\API\Error\InvalidRequestException
+ */
+ public $ire = null;
+ /**
+ * @var \Airavata\API\Error\ExperimentNotFoundException
+ */
+ public $enf = null;
+ /**
+ * @var \Airavata\API\Error\AiravataClientException
+ */
+ public $ace = null;
+ /**
+ * @var \Airavata\API\Error\AiravataSystemException
+ */
+ public $ase = null;
+ /**
* @var \Airavata\API\Error\AuthorizationException
*/
public $ae = null;
@@ -27856,7 +26036,32 @@ class Airavata_updateResourceScheduleing_result {
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
+ 0 => array(
+ 'var' => 'success',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Experiment\ExperimentModel',
+ ),
1 => array(
+ 'var' => 'ire',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\InvalidRequestException',
+ ),
+ 2 => array(
+ 'var' => 'enf',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\ExperimentNotFoundException',
+ ),
+ 3 => array(
+ 'var' => 'ace',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\AiravataClientException',
+ ),
+ 4 => array(
+ 'var' => 'ase',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\API\Error\AiravataSystemException',
+ ),
+ 5 => array(
'var' => 'ae',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AuthorizationException',
@@ -27864,6 +26069,21 @@ class Airavata_updateResourceScheduleing_result {
);
}
if (is_array($vals)) {
+ if (isset($vals['success'])) {
+ $this->success = $vals['success'];
+ }
+ if (isset($vals['ire'])) {
+ $this->ire = $vals['ire'];
+ }
+ if (isset($vals['enf'])) {
+ $this->enf = $vals['enf'];
+ }
+ if (isset($vals['ace'])) {
+ $this->ace = $vals['ace'];
+ }
+ if (isset($vals['ase'])) {
+ $this->ase = $vals['ase'];
+ }
if (isset($vals['ae'])) {
$this->ae = $vals['ae'];
}
@@ -27871,7 +26091,7 @@ class Airavata_updateResourceScheduleing_result {
}
public function getName() {
- return 'Airavata_updateResourceScheduleing_result';
+ return 'Airavata_getExperiment_result';
}
public function read($input)
@@ -27889,8 +26109,48 @@ class Airavata_updateResourceScheduleing_result {
}
switch ($fid)
{
+ case 0:
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\Experiment\ExperimentModel();
+ $xfer += $this->success->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
case 1:
if ($ftype == TType::STRUCT) {
+ $this->ire = new \Airavata\API\Error\InvalidRequestException();
+ $xfer += $this->ire->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 2:
+ if ($ftype == TType::STRUCT) {
+ $this->enf = new \Airavata\API\Error\ExperimentNotFoundException();
+ $xfer += $this->enf->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->ace = new \Airavata\API\Error\AiravataClientException();
+ $xfer += $this->ace->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
+ if ($ftype == TType::STRUCT) {
+ $this->ase = new \Airavata\API\Error\AiravataSystemException();
+ $xfer += $this->ase->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 5:
+ if ($ftype == TType::STRUCT) {
$this->ae = new \Airavata\API\Error\AuthorizationException();
$xfer += $this->ae->read($input);
} else {
@@ -27909,9 +26169,37 @@ class Airavata_updateResourceScheduleing_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_updateResourceScheduleing_result');
+ $xfer += $output->writeStructBegin('Airavata_getExperiment_result');
+ if ($this->success !== null) {
+ if (!is_object($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->ire !== null) {
+ $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
+ $xfer += $this->ire->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->enf !== null) {
+ $xfer += $output->writeFieldBegin('enf', TType::STRUCT, 2);
+ $xfer += $this->enf->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->ace !== null) {
+ $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 3);
+ $xfer += $this->ace->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->ase !== null) {
+ $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 4);
+ $xfer += $this->ase->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 1);
+ $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 5);
$xfer += $this->ae->write($output);
$xfer += $output->writeFieldEnd();
}
@@ -27922,7 +26210,7 @@ class Airavata_updateResourceScheduleing_result {
}
-class Airavata_validateExperiment_args {
+class Airavata_getExperimentByAdmin_args {
static $_TSPEC;
/**
@@ -27959,7 +26247,7 @@ class Airavata_validateExperiment_args {
}
public function getName() {
- return 'Airavata_validateExperiment_args';
+ return 'Airavata_getExperimentByAdmin_args';
}
public function read($input)
@@ -28004,7 +26292,7 @@ class Airavata_validateExperiment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_validateExperiment_args');
+ $xfer += $output->writeStructBegin('Airavata_getExperimentByAdmin_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -28025,11 +26313,11 @@ class Airavata_validateExperiment_args {
}
-class Airavata_validateExperiment_result {
+class Airavata_getExperimentByAdmin_result {
static $_TSPEC;
/**
- * @var bool
+ * @var \Airavata\Model\Experiment\ExperimentModel
*/
public $success = null;
/**
@@ -28058,7 +26346,8 @@ class Airavata_validateExperiment_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::BOOL,
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Experiment\ExperimentModel',
),
1 => array(
'var' => 'ire',
@@ -28110,7 +26399,7 @@ class Airavata_validateExperiment_result {
}
public function getName() {
- return 'Airavata_validateExperiment_result';
+ return 'Airavata_getExperimentByAdmin_result';
}
public function read($input)
@@ -28129,8 +26418,9 @@ class Airavata_validateExperiment_result {
switch ($fid)
{
case 0:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->success);
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\Experiment\ExperimentModel();
+ $xfer += $this->success->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -28187,10 +26477,13 @@ class Airavata_validateExperiment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_validateExperiment_result');
+ $xfer += $output->writeStructBegin('Airavata_getExperimentByAdmin_result');
if ($this->success !== null) {
- $xfer += $output->writeFieldBegin('success', TType::BOOL, 0);
- $xfer += $output->writeBool($this->success);
+ if (!is_object($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
$xfer += $output->writeFieldEnd();
}
if ($this->ire !== null) {
@@ -28225,7 +26518,7 @@ class Airavata_validateExperiment_result {
}
-class Airavata_launchExperiment_args {
+class Airavata_getDetailedExperimentTree_args {
static $_TSPEC;
/**
@@ -28236,10 +26529,6 @@ class Airavata_launchExperiment_args {
* @var string
*/
public $airavataExperimentId = null;
- /**
- * @var string
- */
- public $gatewayId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -28253,10 +26542,6 @@ class Airavata_launchExperiment_args {
'var' => 'airavataExperimentId',
'type' => TType::STRING,
),
- 3 => array(
- 'var' => 'gatewayId',
- 'type' => TType::STRING,
- ),
);
}
if (is_array($vals)) {
@@ -28266,14 +26551,11 @@ class Airavata_launchExperiment_args {
if (isset($vals['airavataExperimentId'])) {
$this->airavataExperimentId = $vals['airavataExperimentId'];
}
- if (isset($vals['gatewayId'])) {
- $this->gatewayId = $vals['gatewayId'];
- }
}
}
public function getName() {
- return 'Airavata_launchExperiment_args';
+ return 'Airavata_getDetailedExperimentTree_args';
}
public function read($input)
@@ -28306,13 +26588,6 @@ class Airavata_launchExperiment_args {
$xfer += $input->skip($ftype);
}
break;
- case 3:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->gatewayId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
default:
$xfer += $input->skip($ftype);
break;
@@ -28325,7 +26600,7 @@ class Airavata_launchExperiment_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_launchExperiment_args');
+ $xfer += $output->writeStructBegin('Airavata_getDetailedExperimentTree_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -28339,11 +26614,6 @@ class Airavata_launchExperiment_args {
$xfer += $output->writeString($this->airavataExperimentId);
$xfer += $output->writeFieldEnd();
}
- if ($this->gatewayId !== null) {
- $xfer += $output->writeFieldBegin('gatewayId', TType::STRING, 3);
- $xfer += $output->writeString($this->gatewayId);
- $xfer += $output->writeFieldEnd();
- }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -28351,10 +26621,14 @@ class Airavata_launchExperiment_args {
}
-class Airavata_launchExperiment_result {
+class Airavata_getDetailedExperimentTree_result {
static $_TSPEC;
/**
+ * @var \Airavata\Model\Experiment\ExperimentModel
+ */
+ public $success = null;
+ /**
* @var \Airavata\API\Error\InvalidRequestException
*/
public $ire = null;
@@ -28378,6 +26652,11 @@ class Airavata_launchExperiment_result {
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
+ 0 => array(
+ 'var' => 'success',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Experiment\ExperimentModel',
+ ),
1 => array(
'var' => 'ire',
'type' => TType::STRUCT,
@@ -28406,6 +26685,9 @@ class Airavata_launchExperiment_result {
);
}
if (is_array($vals)) {
+ if (isset($vals['success'])) {
+ $this->success = $vals['success'];
+ }
if (isset($vals['ire'])) {
$this->ire = $vals['ire'];
}
@@ -28425,7 +26707,7 @@ class Airavata_launchExperiment_result {
}
public function getName() {
- return 'Airavata_launchExperiment_result';
+ return 'Airavata_getDetailedExperimentTree_result';
}
public function read($input)
@@ -28443,6 +26725,14 @@ class Airavata_launchExperiment_result {
}
switch ($fid)
{
+ case 0:
+ if ($ftype == TType::STRUCT) {
+ $this->success = new \Airavata\Model\Experiment\ExperimentModel();
+ $xfer += $this->success->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
case 1:
if ($ftype == TType::STRUCT) {
$this->ire = new \Airavata\API\Error\InvalidRequestException();
@@ -28495,7 +26785,15 @@ class Airavata_launchExperiment_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_launchExperiment_result');
+ $xfer += $output->writeStructBegin('Airavata_getDetailedExperimentTree_result');
+ if ($this->success !== null) {
+ if (!is_object($this->success)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
+ $xfer += $this->success->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
if ($this->ire !== null) {
$xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
$xfer += $this->ire->write($output);
@@ -28528,7 +26826,7 @@ class Airavata_launchExperiment_result {
}
-class Airavata_getExperimentStatus_args {
+class Airavata_updateExperiment_args {
static $_TSPEC;
/**
@@ -28539,6 +26837,10 @@ class Airavata_getExperimentStatus_args {
* @var string
*/
public $airavataExperimentId = null;
+ /**
+ * @var \Airavata\Model\Experiment\ExperimentModel
+ */
+ public $experiment = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -28552,6 +26854,11 @@ class Airavata_getExperimentStatus_args {
'var' => 'airavataExperimentId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'experiment',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Experiment\ExperimentModel',
+ ),
);
}
if (is_array($vals)) {
@@ -28561,11 +26868,14 @@ class Airavata_getExperimentStatus_args {
if (isset($vals['airavataExperimentId'])) {
$this->airavataExperimentId = $vals['airavataExperimentId'];
}
+ if (isset($vals['experiment'])) {
+ $this->experiment = $vals['experiment'];
+ }
}
}
public function getName() {
- return 'Airavata_getExperimentStatus_args';
+ return 'Airavata_updateExperiment_args';
}
public function read($input)
@@ -28598,6 +26908,14 @@ class Airavata_getExperimentStatus_args {
$xfer += $input->skip($ftype);
}
break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->experiment = new \Airavata\Model\Experiment\ExperimentModel();
+ $xfer += $this->experiment->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -28610,7 +26928,7 @@ class Airavata_getExperimentStatus_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getExperimentStatus_args');
+ $xfer += $output->writeStructBegin('Airavata_updateExperiment_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -28624,6 +26942,14 @@ class Airavata_getExperimentStatus_args {
$xfer += $output->writeString($this->airavataExperimentId);
$xfer += $output->writeFieldEnd();
}
+ if ($this->experiment !== null) {
+ if (!is_object($this->experiment)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('experiment', TType::STRUCT, 3);
+ $xfer += $this->experiment->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -28631,14 +26957,10 @@ class Airavata_getExperimentStatus_args {
}
-class Airavata_getExperimentStatus_result {
+class Airavata_updateExperiment_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Status\ExperimentStatus
- */
- public $success = null;
- /**
* @var \Airavata\API\Error\InvalidRequestException
*/
public $ire = null;
@@ -28662,11 +26984,6 @@ class Airavata_getExperimentStatus_result {
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Status\ExperimentStatus',
- ),
1 => array(
'var' => 'ire',
'type' => TType::STRUCT,
@@ -28695,9 +27012,6 @@ class Airavata_getExperimentStatus_result {
);
}
if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
if (isset($vals['ire'])) {
$this->ire = $vals['ire'];
}
@@ -28717,7 +27031,7 @@ class Airavata_getExperimentStatus_result {
}
public function getName() {
- return 'Airavata_getExperimentStatus_result';
+ return 'Airavata_updateExperiment_result';
}
public function read($input)
@@ -28735,14 +27049,6 @@ class Airavata_getExperimentStatus_result {
}
switch ($fid)
{
- case 0:
- if ($ftype == TType::STRUCT) {
- $this->success = new \Airavata\Model\Status\ExperimentStatus();
- $xfer += $this->success->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
case 1:
if ($ftype == TType::STRUCT) {
$this->ire = new \Airavata\API\Error\InvalidRequestException();
@@ -28795,15 +27101,7 @@ class Airavata_getExperimentStatus_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getExperimentStatus_result');
- if ($this->success !== null) {
- if (!is_object($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0);
- $xfer += $this->success->write($output);
- $xfer += $output->writeFieldEnd();
- }
+ $xfer += $output->writeStructBegin('Airavata_updateExperiment_result');
if ($this->ire !== null) {
$xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
$xfer += $this->ire->write($output);
@@ -28836,7 +27134,7 @@ class Airavata_getExperimentStatus_result {
}
-class Airavata_getExperimentOutputs_args {
+class Airavata_updateExperimentConfiguration_args {
static $_TSPEC;
/**
@@ -28847,6 +27145,10 @@ class Airavata_getExperimentOutputs_args {
* @var string
*/
public $airavataExperimentId = null;
+ /**
+ * @var \Airavata\Model\Experiment\UserConfigurationDataModel
+ */
+ public $userConfiguration = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -28860,6 +27162,11 @@ class Airavata_getExperimentOutputs_args {
'var' => 'airavataExperimentId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'userConfiguration',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Experiment\UserConfigurationDataModel',
+ ),
);
}
if (is_array($vals)) {
@@ -28869,11 +27176,14 @@ class Airavata_getExperimentOutputs_args {
if (isset($vals['airavataExperimentId'])) {
$this->airavataExperimentId = $vals['airavataExperimentId'];
}
+ if (isset($vals['userConfiguration'])) {
+ $this->userConfiguration = $vals['userConfiguration'];
+ }
}
}
public function getName() {
- return 'Airavata_getExperimentOutputs_args';
+ return 'Airavata_updateExperimentConfiguration_args';
}
public function read($input)
@@ -28906,6 +27216,14 @@ class Airavata_getExperimentOutputs_args {
$xfer += $input->skip($ftype);
}
break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->userConfiguration = new \Airavata\Model\Experiment\UserConfigurationDataModel();
+ $xfer += $this->userConfiguration->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -28918,7 +27236,7 @@ class Airavata_getExperimentOutputs_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getExperimentOutputs_args');
+ $xfer += $output->writeStructBegin('Airavata_updateExperimentConfiguration_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -28932,6 +27250,14 @@ class Airavata_getExperimentOutputs_args {
$xfer += $output->writeString($this->airavataExperimentId);
$xfer += $output->writeFieldEnd();
}
+ if ($this->userConfiguration !== null) {
+ if (!is_object($this->userConfiguration)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('userConfiguration', TType::STRUCT, 3);
+ $xfer += $this->userConfiguration->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -28939,30 +27265,10 @@ class Airavata_getExperimentOutputs_args {
}
-class Airavata_getExperimentOutputs_result {
+class Airavata_updateExperimentConfiguration_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Application\Io\OutputDataObjectType[]
- */
- public $success = null;
- /**
- * @var \Airavata\API\Error\InvalidRequestException
- */
- public $ire = null;
- /**
- * @var \Airavata\API\Error\ExperimentNotFoundException
- */
- public $enf = null;
- /**
- * @var \Airavata\API\Error\AiravataClientException
- */
- public $ace = null;
- /**
- * @var \Airavata\API\Error\AiravataSystemException
- */
- public $ase = null;
- /**
* @var \Airavata\API\Error\AuthorizationException
*/
public $ae = null;
@@ -28970,36 +27276,7 @@ class Airavata_getExperimentOutputs_result {
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Application\Io\OutputDataObjectType',
- ),
- ),
1 => array(
- 'var' => 'ire',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\InvalidRequestException',
- ),
- 2 => array(
- 'var' => 'enf',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\ExperimentNotFoundException',
- ),
- 3 => array(
- 'var' => 'ace',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataClientException',
- ),
- 4 => array(
- 'var' => 'ase',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataSystemException',
- ),
- 5 => array(
'var' => 'ae',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AuthorizationException',
@@ -29007,21 +27284,6 @@ class Airavata_getExperimentOutputs_result {
);
}
if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
- if (isset($vals['ire'])) {
- $this->ire = $vals['ire'];
- }
- if (isset($vals['enf'])) {
- $this->enf = $vals['enf'];
- }
- if (isset($vals['ace'])) {
- $this->ace = $vals['ace'];
- }
- if (isset($vals['ase'])) {
- $this->ase = $vals['ase'];
- }
if (isset($vals['ae'])) {
$this->ae = $vals['ae'];
}
@@ -29029,7 +27291,7 @@ class Airavata_getExperimentOutputs_result {
}
public function getName() {
- return 'Airavata_getExperimentOutputs_result';
+ return 'Airavata_updateExperimentConfiguration_result';
}
public function read($input)
@@ -29047,58 +27309,8 @@ class Airavata_getExperimentOutputs_result {
}
switch ($fid)
{
- case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size106 = 0;
- $_etype109 = 0;
- $xfer += $input->readListBegin($_etype109, $_size106);
- for ($_i110 = 0; $_i110 < $_size106; ++$_i110)
- {
- $elem111 = null;
- $elem111 = new \Airavata\Model\Application\Io\OutputDataObjectType();
- $xfer += $elem111->read($input);
- $this->success []= $elem111;
- }
- $xfer += $input->readListEnd();
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
case 1:
if ($ftype == TType::STRUCT) {
- $this->ire = new \Airavata\API\Error\InvalidRequestException();
- $xfer += $this->ire->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRUCT) {
- $this->enf = new \Airavata\API\Error\ExperimentNotFoundException();
- $xfer += $this->enf->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->ace = new \Airavata\API\Error\AiravataClientException();
- $xfer += $this->ace->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ase = new \Airavata\API\Error\AiravataSystemException();
- $xfer += $this->ase->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 5:
- if ($ftype == TType::STRUCT) {
$this->ae = new \Airavata\API\Error\AuthorizationException();
$xfer += $this->ae->read($input);
} else {
@@ -29117,46 +27329,9 @@ class Airavata_getExperimentOutputs_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getExperimentOutputs_result');
- if ($this->success !== null) {
- if (!is_array($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::LST, 0);
- {
- $output->writeListBegin(TType::STRUCT, count($this->success));
- {
- foreach ($this->success as $iter112)
- {
- $xfer += $iter112->write($output);
- }
- }
- $output->writeListEnd();
- }
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ire !== null) {
- $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
- $xfer += $this->ire->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->enf !== null) {
- $xfer += $output->writeFieldBegin('enf', TType::STRUCT, 2);
- $xfer += $this->enf->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 3);
- $xfer += $this->ace->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 4);
- $xfer += $this->ase->write($output);
- $xfer += $output->writeFieldEnd();
- }
+ $xfer += $output->writeStructBegin('Airavata_updateExperimentConfiguration_result');
if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 5);
+ $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 1);
$xfer += $this->ae->write($output);
$xfer += $output->writeFieldEnd();
}
@@ -29167,7 +27342,7 @@ class Airavata_getExperimentOutputs_result {
}
-class Airavata_getIntermediateOutputs_args {
+class Airavata_updateResourceScheduleing_args {
static $_TSPEC;
/**
@@ -29178,6 +27353,10 @@ class Airavata_getIntermediateOutputs_args {
* @var string
*/
public $airavataExperimentId = null;
+ /**
+ * @var \Airavata\Model\Scheduling\ComputationalResourceSchedulingModel
+ */
+ public $resourceScheduling = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
@@ -29191,6 +27370,11 @@ class Airavata_getIntermediateOutputs_args {
'var' => 'airavataExperimentId',
'type' => TType::STRING,
),
+ 3 => array(
+ 'var' => 'resourceScheduling',
+ 'type' => TType::STRUCT,
+ 'class' => '\Airavata\Model\Scheduling\ComputationalResourceSchedulingModel',
+ ),
);
}
if (is_array($vals)) {
@@ -29200,11 +27384,14 @@ class Airavata_getIntermediateOutputs_args {
if (isset($vals['airavataExperimentId'])) {
$this->airavataExperimentId = $vals['airavataExperimentId'];
}
+ if (isset($vals['resourceScheduling'])) {
+ $this->resourceScheduling = $vals['resourceScheduling'];
+ }
}
}
public function getName() {
- return 'Airavata_getIntermediateOutputs_args';
+ return 'Airavata_updateResourceScheduleing_args';
}
public function read($input)
@@ -29237,6 +27424,14 @@ class Airavata_getIntermediateOutputs_args {
$xfer += $input->skip($ftype);
}
break;
+ case 3:
+ if ($ftype == TType::STRUCT) {
+ $this->resourceScheduling = new \Airavata\Model\Scheduling\ComputationalResourceSchedulingModel();
+ $xfer += $this->resourceScheduling->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
default:
$xfer += $input->skip($ftype);
break;
@@ -29249,7 +27444,7 @@ class Airavata_getIntermediateOutputs_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getIntermediateOutputs_args');
+ $xfer += $output->writeStructBegin('Airavata_updateResourceScheduleing_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -29263,6 +27458,14 @@ class Airavata_getIntermediateOutputs_args {
$xfer += $output->writeString($this->airavataExperimentId);
$xfer += $output->writeFieldEnd();
}
+ if ($this->resourceScheduling !== null) {
+ if (!is_object($this->resourceScheduling)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('resourceScheduling', TType::STRUCT, 3);
+ $xfer += $this->resourceScheduling->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
$xfer += $output->writeFieldStop();
$xfer += $output->writeStructEnd();
return $xfer;
@@ -29270,30 +27473,10 @@ class Airavata_getIntermediateOutputs_args {
}
-class Airavata_getIntermediateOutputs_result {
+class Airavata_updateResourceScheduleing_result {
static $_TSPEC;
/**
- * @var \Airavata\Model\Application\Io\OutputDataObjectType[]
- */
- public $success = null;
- /**
- * @var \Airavata\API\Error\InvalidRequestException
- */
- public $ire = null;
- /**
- * @var \Airavata\API\Error\ExperimentNotFoundException
- */
- public $enf = null;
- /**
- * @var \Airavata\API\Error\AiravataClientException
- */
- public $ace = null;
- /**
- * @var \Airavata\API\Error\AiravataSystemException
- */
- public $ase = null;
- /**
* @var \Airavata\API\Error\AuthorizationException
*/
public $ae = null;
@@ -29301,36 +27484,7 @@ class Airavata_getIntermediateOutputs_result {
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
- 0 => array(
- 'var' => 'success',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Application\Io\OutputDataObjectType',
- ),
- ),
1 => array(
- 'var' => 'ire',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\InvalidRequestException',
- ),
- 2 => array(
- 'var' => 'enf',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\ExperimentNotFoundException',
- ),
- 3 => array(
- 'var' => 'ace',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataClientException',
- ),
- 4 => array(
- 'var' => 'ase',
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\API\Error\AiravataSystemException',
- ),
- 5 => array(
'var' => 'ae',
'type' => TType::STRUCT,
'class' => '\Airavata\API\Error\AuthorizationException',
@@ -29338,21 +27492,6 @@ class Airavata_getIntermediateOutputs_result {
);
}
if (is_array($vals)) {
- if (isset($vals['success'])) {
- $this->success = $vals['success'];
- }
- if (isset($vals['ire'])) {
- $this->ire = $vals['ire'];
- }
- if (isset($vals['enf'])) {
- $this->enf = $vals['enf'];
- }
- if (isset($vals['ace'])) {
- $this->ace = $vals['ace'];
- }
- if (isset($vals['ase'])) {
- $this->ase = $vals['ase'];
- }
if (isset($vals['ae'])) {
$this->ae = $vals['ae'];
}
@@ -29360,7 +27499,7 @@ class Airavata_getIntermediateOutputs_result {
}
public function getName() {
- return 'Airavata_getIntermediateOutputs_result';
+ return 'Airavata_updateResourceScheduleing_result';
}
public function read($input)
@@ -29378,58 +27517,8 @@ class Airavata_getIntermediateOutputs_result {
}
switch ($fid)
{
- case 0:
- if ($ftype == TType::LST) {
- $this->success = array();
- $_size113 = 0;
- $_etype116 = 0;
- $xfer += $input->readListBegin($_etype116, $_size113);
- for ($_i117 = 0; $_i117 < $_size113; ++$_i117)
- {
- $elem118 = null;
- $elem118 = new \Airavata\Model\Application\Io\OutputDataObjectType();
- $xfer += $elem118->read($input);
- $this->success []= $elem118;
- }
- $xfer += $input->readListEnd();
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
case 1:
if ($ftype == TType::STRUCT) {
- $this->ire = new \Airavata\API\Error\InvalidRequestException();
- $xfer += $this->ire->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRUCT) {
- $this->enf = new \Airavata\API\Error\ExperimentNotFoundException();
- $xfer += $this->enf->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRUCT) {
- $this->ace = new \Airavata\API\Error\AiravataClientException();
- $xfer += $this->ace->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::STRUCT) {
- $this->ase = new \Airavata\API\Error\AiravataSystemException();
- $xfer += $this->ase->read($input);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 5:
- if ($ftype == TType::STRUCT) {
$this->ae = new \Airavata\API\Error\AuthorizationException();
$xfer += $this->ae->read($input);
} else {
@@ -29448,46 +27537,9 @@ class Airavata_getIntermediateOutputs_result {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getIntermediateOutputs_result');
- if ($this->success !== null) {
- if (!is_array($this->success)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('success', TType::LST, 0);
- {
- $output->writeListBegin(TType::STRUCT, count($this->success));
- {
- foreach ($this->success as $iter119)
- {
- $xfer += $iter119->write($output);
- }
- }
- $output->writeListEnd();
- }
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ire !== null) {
- $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1);
- $xfer += $this->ire->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->enf !== null) {
- $xfer += $output->writeFieldBegin('enf', TType::STRUCT, 2);
- $xfer += $this->enf->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ace !== null) {
- $xfer += $output->writeFieldBegin('ace', TType::STRUCT, 3);
- $xfer += $this->ace->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->ase !== null) {
- $xfer += $output->writeFieldBegin('ase', TType::STRUCT, 4);
- $xfer += $this->ase->write($output);
- $xfer += $output->writeFieldEnd();
- }
+ $xfer += $output->writeStructBegin('Airavata_updateResourceScheduleing_result');
if ($this->ae !== null) {
- $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 5);
+ $xfer += $output->writeFieldBegin('ae', TType::STRUCT, 1);
$xfer += $this->ae->write($output);
$xfer += $output->writeFieldEnd();
}
@@ -29498,7 +27550,7 @@ class Airavata_getIntermediateOutputs_result {
}
-class Airavata_getJobStatuses_args {
+class Airavata_validateExperiment_args {
static $_TSPEC;
/**
@@ -29535,7 +27587,7 @@ class Airavata_getJobStatuses_args {
}
public function getName() {
- return 'Airavata_getJobStatuses_args';
+ return 'Airavata_validateExperiment_args';
}
public function read($input)
@@ -29580,7 +27632,7 @@ class Airavata_getJobStatuses_args {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('Airavata_getJobStatuses_args');
+ $xfer += $output->writeStructBegin('Airavata_validateExperiment_args');
if ($this->authzToken !== null) {
if (!is_object($this->authzToken)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
@@ -29601,11 +27653,11 @@ class Airavata_getJobStatuses_args {
}
-class Airavata_getJobStatuses_result {
+class Airavata_validateExperiment_result {
static $_TSPEC;
/**
- * @var array
+ * @var bool
*/
public $success = null;
/**
@@ -29634,16 +27686,7 @@ class Airavata_getJobStatuses_result {
self::$_TSPEC = array(
0 => array(
'var' => 'success',
- 'type' => TType::MAP,
- 'ktype' => TType::STRING,
- 'vtype' => TType::STRUCT,
- 'key' => array(
- 'type' => TType::STRING,
- ),
- 'val' => array(
- 'type' => TType::STRUCT,
- 'class' => '\Airavata\Model\Status\JobStatus',
- ),
+ 'type' => TType::BOOL,
),
... 25618 lines suppressed ...