http://git-wip-us.apache.org/repos/asf/airavata/blob/9dd7c14a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Airavata.php ---------------------------------------------------------------------- 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 8a3cc2c..e29b37d 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 @@ -71,6 +71,26 @@ interface AiravataIf { */ public function addGateway(\Airavata\Model\Security\AuthzToken $authzToken, \Airavata\Model\Workspace\Gateway $gateway); /** + * Get all users in the gateway + * + * @param gatewayId + * The gateway data model. + * + * @return users + * list of usernames of the users in the gateway + * + * + * + * @param \Airavata\Model\Security\AuthzToken $authzToken + * @param string $gatewayId + * @return string[] + * @throws \Airavata\API\Error\InvalidRequestException + * @throws \Airavata\API\Error\AiravataClientException + * @throws \Airavata\API\Error\AiravataSystemException + * @throws \Airavata\API\Error\AuthorizationException + */ + public function getAllUsersInGateway(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId); + /** * Update previously registered Gateway metadata. * * @param gatewayId @@ -3767,6 +3787,70 @@ class AiravataClient implements \Airavata\API\AiravataIf { throw new \Exception("addGateway failed: unknown result"); } + public function getAllUsersInGateway(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId) + { + $this->send_getAllUsersInGateway($authzToken, $gatewayId); + return $this->recv_getAllUsersInGateway(); + } + + public function send_getAllUsersInGateway(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId) + { + $args = new \Airavata\API\Airavata_getAllUsersInGateway_args(); + $args->authzToken = $authzToken; + $args->gatewayId = $gatewayId; + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'getAllUsersInGateway', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('getAllUsersInGateway', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_getAllUsersInGateway() + { + $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_getAllUsersInGateway_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_getAllUsersInGateway_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("getAllUsersInGateway failed: unknown result"); + } + public function updateGateway(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, \Airavata\Model\Workspace\Gateway $updatedGateway) { $this->send_updateGateway($authzToken, $gatewayId, $updatedGateway); @@ -13865,7 +13949,7 @@ class Airavata_addGateway_result { } -class Airavata_updateGateway_args { +class Airavata_getAllUsersInGateway_args { static $_TSPEC; /** @@ -13876,10 +13960,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)) { @@ -13893,11 +13973,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)) { @@ -13907,14 +13982,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_getAllUsersInGateway_args'; } public function read($input) @@ -13947,14 +14019,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; @@ -13967,7 +14031,7 @@ class Airavata_updateGateway_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_updateGateway_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); @@ -13981,14 +14045,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; @@ -13996,10 +14052,14 @@ class Airavata_updateGateway_args { } -class Airavata_updateGateway_result { +class Airavata_getAllUsersInGateway_result { static $_TSPEC; /** + * @var string[] + */ + public $success = null; + /** * @var \Airavata\API\Error\InvalidRequestException */ public $ire = null; @@ -14019,6 +14079,14 @@ class Airavata_updateGateway_result { public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::LST, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), + ), 1 => array( 'var' => 'ire', 'type' => TType::STRUCT, @@ -14042,6 +14110,9 @@ class Airavata_updateGateway_result { ); } if (is_array($vals)) { + if (isset($vals['success'])) { + $this->success = $vals['success']; + } if (isset($vals['ire'])) { $this->ire = $vals['ire']; } @@ -14058,7 +14129,7 @@ class Airavata_updateGateway_result { } public function getName() { - return 'Airavata_updateGateway_result'; + return 'Airavata_getAllUsersInGateway_result'; } public function read($input) @@ -14076,6 +14147,23 @@ class Airavata_updateGateway_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(); + } else { + $xfer += $input->skip($ftype); + } + break; case 1: if ($ftype == TType::STRUCT) { $this->ire = new \Airavata\API\Error\InvalidRequestException(); @@ -14120,7 +14208,24 @@ class Airavata_updateGateway_result { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_updateGateway_result'); + $xfer += $output->writeStructBegin('Airavata_getAllUsersInGateway_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->writeFieldEnd(); + } if ($this->ire !== null) { $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1); $xfer += $this->ire->write($output); @@ -14148,7 +14253,7 @@ class Airavata_updateGateway_result { } -class Airavata_getGateway_args { +class Airavata_updateGateway_args { static $_TSPEC; /** @@ -14159,6 +14264,10 @@ class Airavata_getGateway_args { * @var string */ public $gatewayId = null; + /** + * @var \Airavata\Model\Workspace\Gateway + */ + public $updatedGateway = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -14172,6 +14281,11 @@ class Airavata_getGateway_args { 'var' => 'gatewayId', 'type' => TType::STRING, ), + 3 => array( + 'var' => 'updatedGateway', + 'type' => TType::STRUCT, + 'class' => '\Airavata\Model\Workspace\Gateway', + ), ); } if (is_array($vals)) { @@ -14181,11 +14295,14 @@ class Airavata_getGateway_args { if (isset($vals['gatewayId'])) { $this->gatewayId = $vals['gatewayId']; } + if (isset($vals['updatedGateway'])) { + $this->updatedGateway = $vals['updatedGateway']; + } } } public function getName() { - return 'Airavata_getGateway_args'; + return 'Airavata_updateGateway_args'; } public function read($input) @@ -14218,6 +14335,14 @@ class Airavata_getGateway_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; @@ -14230,7 +14355,7 @@ class Airavata_getGateway_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_getGateway_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); @@ -14244,6 +14369,14 @@ class Airavata_getGateway_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; @@ -14251,14 +14384,10 @@ class Airavata_getGateway_args { } -class Airavata_getGateway_result { +class Airavata_updateGateway_result { static $_TSPEC; /** - * @var \Airavata\Model\Workspace\Gateway - */ - public $success = null; - /** * @var \Airavata\API\Error\InvalidRequestException */ public $ire = null; @@ -14278,11 +14407,6 @@ class Airavata_getGateway_result { public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( - 0 => array( - 'var' => 'success', - 'type' => TType::STRUCT, - 'class' => '\Airavata\Model\Workspace\Gateway', - ), 1 => array( 'var' => 'ire', 'type' => TType::STRUCT, @@ -14306,9 +14430,6 @@ class Airavata_getGateway_result { ); } if (is_array($vals)) { - if (isset($vals['success'])) { - $this->success = $vals['success']; - } if (isset($vals['ire'])) { $this->ire = $vals['ire']; } @@ -14325,7 +14446,7 @@ class Airavata_getGateway_result { } public function getName() { - return 'Airavata_getGateway_result'; + return 'Airavata_updateGateway_result'; } public function read($input) @@ -14343,14 +14464,6 @@ class Airavata_getGateway_result { } switch ($fid) { - case 0: - if ($ftype == TType::STRUCT) { - $this->success = new \Airavata\Model\Workspace\Gateway(); - $xfer += $this->success->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; case 1: if ($ftype == TType::STRUCT) { $this->ire = new \Airavata\API\Error\InvalidRequestException(); @@ -14395,15 +14508,7 @@ class Airavata_getGateway_result { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_getGateway_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_updateGateway_result'); if ($this->ire !== null) { $xfer += $output->writeFieldBegin('ire', TType::STRUCT, 1); $xfer += $this->ire->write($output); @@ -14431,7 +14536,7 @@ class Airavata_getGateway_result { } -class Airavata_deleteGateway_args { +class Airavata_getGateway_args { static $_TSPEC; /** @@ -14468,7 +14573,7 @@ class Airavata_deleteGateway_args { } public function getName() { - return 'Airavata_deleteGateway_args'; + return 'Airavata_getGateway_args'; } public function read($input) @@ -14513,7 +14618,7 @@ class Airavata_deleteGateway_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_deleteGateway_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); @@ -14534,11 +14639,11 @@ class Airavata_deleteGateway_args { } -class Airavata_deleteGateway_result { +class Airavata_getGateway_result { static $_TSPEC; /** - * @var bool + * @var \Airavata\Model\Workspace\Gateway */ public $success = null; /** @@ -14563,7 +14668,8 @@ class Airavata_deleteGateway_result { self::$_TSPEC = array( 0 => array( 'var' => 'success', - 'type' => TType::BOOL, + 'type' => TType::STRUCT, + 'class' => '\Airavata\Model\Workspace\Gateway', ), 1 => array( 'var' => 'ire', @@ -14607,7 +14713,7 @@ class Airavata_deleteGateway_result { } public function getName() { - return 'Airavata_deleteGateway_result'; + return 'Airavata_getGateway_result'; } public function read($input) @@ -14626,8 +14732,9 @@ class Airavata_deleteGateway_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); } @@ -14676,10 +14783,13 @@ class Airavata_deleteGateway_result { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_deleteGateway_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) { @@ -14709,13 +14819,17 @@ class Airavata_deleteGateway_result { } -class Airavata_getAllGateways_args { +class Airavata_deleteGateway_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)) { @@ -14725,17 +14839,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_deleteGateway_args'; } public function read($input) @@ -14761,6 +14882,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; @@ -14773,7 +14901,7 @@ class Airavata_getAllGateways_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_getAllGateways_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); @@ -14782,6 +14910,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; @@ -14789,11 +14922,11 @@ class Airavata_getAllGateways_args { } -class Airavata_getAllGateways_result { +class Airavata_deleteGateway_result { static $_TSPEC; /** - * @var \Airavata\Model\Workspace\Gateway[] + * @var bool */ public $success = null; /** @@ -14818,12 +14951,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', @@ -14867,7 +14995,7 @@ class Airavata_getAllGateways_result { } public function getName() { - return 'Airavata_getAllGateways_result'; + return 'Airavata_deleteGateway_result'; } public function read($input) @@ -14886,19 +15014,8 @@ class Airavata_getAllGateways_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; - $elem5 = new \Airavata\Model\Workspace\Gateway(); - $xfer += $elem5->read($input); - $this->success []= $elem5; - } - $xfer += $input->readListEnd(); + if ($ftype == TType::BOOL) { + $xfer += $input->readBool($this->success); } else { $xfer += $input->skip($ftype); } @@ -14947,22 +15064,10 @@ class Airavata_getAllGateways_result { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_getAllGateways_result'); + $xfer += $output->writeStructBegin('Airavata_deleteGateway_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 $iter6) - { - $xfer += $iter6->write($output); - } - } - $output->writeListEnd(); - } + $xfer += $output->writeFieldBegin('success', TType::BOOL, 0); + $xfer += $output->writeBool($this->success); $xfer += $output->writeFieldEnd(); } if ($this->ire !== null) { @@ -14992,17 +15097,13 @@ class Airavata_getAllGateways_result { } -class Airavata_isGatewayExist_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)) { @@ -15012,24 +15113,17 @@ class Airavata_isGatewayExist_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_isGatewayExist_args'; + return 'Airavata_getAllGateways_args'; } public function read($input) @@ -15055,13 +15149,6 @@ class Airavata_isGatewayExist_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; @@ -15074,7 +15161,7 @@ class Airavata_isGatewayExist_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_isGatewayExist_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); @@ -15083,11 +15170,6 @@ 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); - $xfer += $output->writeFieldEnd(); - } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -15095,11 +15177,11 @@ class Airavata_isGatewayExist_args { } -class Airavata_isGatewayExist_result { +class Airavata_getAllGateways_result { static $_TSPEC; /** - * @var bool + * @var \Airavata\Model\Workspace\Gateway[] */ public $success = null; /** @@ -15124,7 +15206,12 @@ class Airavata_isGatewayExist_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', @@ -15168,7 +15255,7 @@ class Airavata_isGatewayExist_result { } public function getName() { - return 'Airavata_isGatewayExist_result'; + return 'Airavata_getAllGateways_result'; } public function read($input) @@ -15187,8 +15274,19 @@ class Airavata_isGatewayExist_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); } @@ -15237,10 +15335,22 @@ class Airavata_isGatewayExist_result { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_isGatewayExist_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) { @@ -15270,7 +15380,7 @@ class Airavata_isGatewayExist_result { } -class Airavata_createNotification_args { +class Airavata_isGatewayExist_args { static $_TSPEC; /** @@ -15278,9 +15388,9 @@ class Airavata_createNotification_args { */ public $authzToken = null; /** - * @var \Airavata\Model\Workspace\Notification + * @var string */ - public $notification = null; + public $gatewayId = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -15291,9 +15401,8 @@ class Airavata_createNotification_args { 'class' => '\Airavata\Model\Security\AuthzToken', ), 2 => array( - 'var' => 'notification', - 'type' => TType::STRUCT, - 'class' => '\Airavata\Model\Workspace\Notification', + 'var' => 'gatewayId', + 'type' => TType::STRING, ), ); } @@ -15301,14 +15410,14 @@ class Airavata_createNotification_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']; } } } public function getName() { - return 'Airavata_createNotification_args'; + return 'Airavata_isGatewayExist_args'; } public function read($input) @@ -15335,9 +15444,8 @@ class Airavata_createNotification_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); } @@ -15354,7 +15462,7 @@ class Airavata_createNotification_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_createNotification_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); @@ -15363,12 +15471,9 @@ class Airavata_createNotification_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(); } $xfer += $output->writeFieldStop(); @@ -15378,11 +15483,11 @@ class Airavata_createNotification_args { } -class Airavata_createNotification_result { +class Airavata_isGatewayExist_result { static $_TSPEC; /** - * @var string + * @var bool */ public $success = null; /** @@ -15407,7 +15512,7 @@ class Airavata_createNotification_result { self::$_TSPEC = array( 0 => array( 'var' => 'success', - 'type' => TType::STRING, + 'type' => TType::BOOL, ), 1 => array( 'var' => 'ire', @@ -15451,7 +15556,7 @@ class Airavata_createNotification_result { } public function getName() { - return 'Airavata_createNotification_result'; + return 'Airavata_isGatewayExist_result'; } public function read($input) @@ -15470,8 +15575,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); } @@ -15520,10 +15625,10 @@ class Airavata_createNotification_result { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_createNotification_result'); + $xfer += $output->writeStructBegin('Airavata_isGatewayExist_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) { @@ -15553,7 +15658,7 @@ class Airavata_createNotification_result { } -class Airavata_updateNotification_args { +class Airavata_createNotification_args { static $_TSPEC; /** @@ -15591,7 +15696,7 @@ class Airavata_updateNotification_args { } public function getName() { - return 'Airavata_updateNotification_args'; + return 'Airavata_createNotification_args'; } public function read($input) @@ -15637,7 +15742,7 @@ class Airavata_updateNotification_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_updateNotification_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); @@ -15661,11 +15766,11 @@ class Airavata_updateNotification_args { } -class Airavata_updateNotification_result { +class Airavata_createNotification_result { static $_TSPEC; /** - * @var bool + * @var string */ public $success = null; /** @@ -15690,7 +15795,7 @@ class Airavata_updateNotification_result { self::$_TSPEC = array( 0 => array( 'var' => 'success', - 'type' => TType::BOOL, + 'type' => TType::STRING, ), 1 => array( 'var' => 'ire', @@ -15734,7 +15839,7 @@ class Airavata_updateNotification_result { } public function getName() { - return 'Airavata_updateNotification_result'; + return 'Airavata_createNotification_result'; } public function read($input) @@ -15753,8 +15858,8 @@ class Airavata_updateNotification_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); } @@ -15803,10 +15908,10 @@ class Airavata_updateNotification_result { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_updateNotification_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) { @@ -15836,7 +15941,7 @@ class Airavata_updateNotification_result { } -class Airavata_deleteNotification_args { +class Airavata_updateNotification_args { static $_TSPEC; /** @@ -15844,13 +15949,9 @@ class Airavata_deleteNotification_args { */ public $authzToken = null; /** - * @var string - */ - public $gatewayId = null; - /** - * @var string + * @var \Airavata\Model\Workspace\Notification */ - public $notificationId = null; + public $notification = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -15861,12 +15962,9 @@ class Airavata_deleteNotification_args { 'class' => '\Airavata\Model\Security\AuthzToken', ), 2 => array( - 'var' => 'gatewayId', - 'type' => TType::STRING, - ), - 3 => array( - 'var' => 'notificationId', - 'type' => TType::STRING, + 'var' => 'notification', + 'type' => TType::STRUCT, + 'class' => '\Airavata\Model\Workspace\Notification', ), ); } @@ -15874,17 +15972,14 @@ class Airavata_deleteNotification_args { if (isset($vals['authzToken'])) { $this->authzToken = $vals['authzToken']; } - if (isset($vals['gatewayId'])) { - $this->gatewayId = $vals['gatewayId']; - } - if (isset($vals['notificationId'])) { - $this->notificationId = $vals['notificationId']; + if (isset($vals['notification'])) { + $this->notification = $vals['notification']; } } } public function getName() { - return 'Airavata_deleteNotification_args'; + return 'Airavata_updateNotification_args'; } public function read($input) @@ -15911,15 +16006,9 @@ class Airavata_deleteNotification_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->notificationId); + if ($ftype == TType::STRUCT) { + $this->notification = new \Airavata\Model\Workspace\Notification(); + $xfer += $this->notification->read($input); } else { $xfer += $input->skip($ftype); } @@ -15936,7 +16025,7 @@ class Airavata_deleteNotification_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_deleteNotification_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); @@ -15945,14 +16034,12 @@ class Airavata_deleteNotification_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->notificationId !== null) { - $xfer += $output->writeFieldBegin('notificationId', TType::STRING, 3); - $xfer += $output->writeString($this->notificationId); + 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(); @@ -15962,7 +16049,308 @@ class Airavata_deleteNotification_args { } -class Airavata_deleteNotification_result { +class Airavata_updateNotification_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_updateNotification_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_updateNotification_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_deleteNotification_args { + static $_TSPEC; + + /** + * @var \Airavata\Model\Security\AuthzToken + */ + public $authzToken = null; + /** + * @var string + */ + public $gatewayId = null; + /** + * @var string + */ + public $notificationId = 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' => 'notificationId', + '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['notificationId'])) { + $this->notificationId = $vals['notificationId']; + } + } + } + + public function getName() { + return 'Airavata_deleteNotification_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->notificationId); + } 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_deleteNotification_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->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; + } + +} + +class Airavata_deleteNotification_result { static $_TSPEC; /** @@ -16645,15 +17033,15 @@ class Airavata_getAllNotifications_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size7 = 0; - $_etype10 = 0; - $xfer += $input->readListBegin($_etype10, $_size7); - for ($_i11 = 0; $_i11 < $_size7; ++$_i11) + $_size14 = 0; + $_etype17 = 0; + $xfer += $input->readListBegin($_etype17, $_size14); + for ($_i18 = 0; $_i18 < $_size14; ++$_i18) { - $elem12 = null; - $elem12 = new \Airavata\Model\Workspace\Notification(); - $xfer += $elem12->read($input); - $this->success []= $elem12; + $elem19 = null; + $elem19 = new \Airavata\Model\Workspace\Notification(); + $xfer += $elem19->read($input); + $this->success []= $elem19; } $xfer += $input->readListEnd(); } else { @@ -16713,9 +17101,9 @@ class Airavata_getAllNotifications_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter13) + foreach ($this->success as $iter20) { - $xfer += $iter13->write($output); + $xfer += $iter20->write($output); } } $output->writeListEnd(); @@ -17839,17 +18227,17 @@ class Airavata_getAllGatewaySSHPubKeys_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size14 = 0; - $_ktype15 = 0; - $_vtype16 = 0; - $xfer += $input->readMapBegin($_ktype15, $_vtype16, $_size14); - for ($_i18 = 0; $_i18 < $_size14; ++$_i18) + $_size21 = 0; + $_ktype22 = 0; + $_vtype23 = 0; + $xfer += $input->readMapBegin($_ktype22, $_vtype23, $_size21); + for ($_i25 = 0; $_i25 < $_size21; ++$_i25) { - $key19 = ''; - $val20 = ''; - $xfer += $input->readString($key19); - $xfer += $input->readString($val20); - $this->success[$key19] = $val20; + $key26 = ''; + $val27 = ''; + $xfer += $input->readString($key26); + $xfer += $input->readString($val27); + $this->success[$key26] = $val27; } $xfer += $input->readMapEnd(); } else { @@ -17901,10 +18289,10 @@ class Airavata_getAllGatewaySSHPubKeys_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter21 => $viter22) + foreach ($this->success as $kiter28 => $viter29) { - $xfer += $output->writeString($kiter21); - $xfer += $output->writeString($viter22); + $xfer += $output->writeString($kiter28); + $xfer += $output->writeString($viter29); } } $output->writeMapEnd(); @@ -18126,17 +18514,17 @@ class Airavata_getAllGatewayPWDCredentials_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size23 = 0; - $_ktype24 = 0; - $_vtype25 = 0; - $xfer += $input->readMapBegin($_ktype24, $_vtype25, $_size23); - for ($_i27 = 0; $_i27 < $_size23; ++$_i27) + $_size30 = 0; + $_ktype31 = 0; + $_vtype32 = 0; + $xfer += $input->readMapBegin($_ktype31, $_vtype32, $_size30); + for ($_i34 = 0; $_i34 < $_size30; ++$_i34) { - $key28 = ''; - $val29 = ''; - $xfer += $input->readString($key28); - $xfer += $input->readString($val29); - $this->success[$key28] = $val29; + $key35 = ''; + $val36 = ''; + $xfer += $input->readString($key35); + $xfer += $input->readString($val36); + $this->success[$key35] = $val36; } $xfer += $input->readMapEnd(); } else { @@ -18188,10 +18576,10 @@ class Airavata_getAllGatewayPWDCredentials_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter30 => $viter31) + foreach ($this->success as $kiter37 => $viter38) { - $xfer += $output->writeString($kiter30); - $xfer += $output->writeString($viter31); + $xfer += $output->writeString($kiter37); + $xfer += $output->writeString($viter38); } } $output->writeMapEnd(); @@ -20268,15 +20656,15 @@ class Airavata_getUserProjects_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size32 = 0; - $_etype35 = 0; - $xfer += $input->readListBegin($_etype35, $_size32); - for ($_i36 = 0; $_i36 < $_size32; ++$_i36) + $_size39 = 0; + $_etype42 = 0; + $xfer += $input->readListBegin($_etype42, $_size39); + for ($_i43 = 0; $_i43 < $_size39; ++$_i43) { - $elem37 = null; - $elem37 = new \Airavata\Model\Workspace\Project(); - $xfer += $elem37->read($input); - $this->success []= $elem37; + $elem44 = null; + $elem44 = new \Airavata\Model\Workspace\Project(); + $xfer += $elem44->read($input); + $this->success []= $elem44; } $xfer += $input->readListEnd(); } else { @@ -20336,9 +20724,9 @@ class Airavata_getUserProjects_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter38) + foreach ($this->success as $iter45) { - $xfer += $iter38->write($output); + $xfer += $iter45->write($output); } } $output->writeListEnd(); @@ -20666,15 +21054,15 @@ class Airavata_searchProjectsByProjectName_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size39 = 0; - $_etype42 = 0; - $xfer += $input->readListBegin($_etype42, $_size39); - for ($_i43 = 0; $_i43 < $_size39; ++$_i43) + $_size46 = 0; + $_etype49 = 0; + $xfer += $input->readListBegin($_etype49, $_size46); + for ($_i50 = 0; $_i50 < $_size46; ++$_i50) { - $elem44 = null; - $elem44 = new \Airavata\Model\Workspace\Project(); - $xfer += $elem44->read($input); - $this->success []= $elem44; + $elem51 = null; + $elem51 = new \Airavata\Model\Workspace\Project(); + $xfer += $elem51->read($input); + $this->success []= $elem51; } $xfer += $input->readListEnd(); } else { @@ -20734,9 +21122,9 @@ class Airavata_searchProjectsByProjectName_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter45) + foreach ($this->success as $iter52) { - $xfer += $iter45->write($output); + $xfer += $iter52->write($output); } } $output->writeListEnd(); @@ -21064,15 +21452,15 @@ class Airavata_searchProjectsByProjectDesc_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size46 = 0; - $_etype49 = 0; - $xfer += $input->readListBegin($_etype49, $_size46); - for ($_i50 = 0; $_i50 < $_size46; ++$_i50) + $_size53 = 0; + $_etype56 = 0; + $xfer += $input->readListBegin($_etype56, $_size53); + for ($_i57 = 0; $_i57 < $_size53; ++$_i57) { - $elem51 = null; - $elem51 = new \Airavata\Model\Workspace\Project(); - $xfer += $elem51->read($input); - $this->success []= $elem51; + $elem58 = null; + $elem58 = new \Airavata\Model\Workspace\Project(); + $xfer += $elem58->read($input); + $this->success []= $elem58; } $xfer += $input->readListEnd(); } else { @@ -21132,9 +21520,9 @@ class Airavata_searchProjectsByProjectDesc_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter52) + foreach ($this->success as $iter59) { - $xfer += $iter52->write($output); + $xfer += $iter59->write($output); } } $output->writeListEnd(); @@ -21462,15 +21850,15 @@ class Airavata_searchExperimentsByName_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) + $_size60 = 0; + $_etype63 = 0; + $xfer += $input->readListBegin($_etype63, $_size60); + for ($_i64 = 0; $_i64 < $_size60; ++$_i64) { - $elem58 = null; - $elem58 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); - $xfer += $elem58->read($input); - $this->success []= $elem58; + $elem65 = null; + $elem65 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); + $xfer += $elem65->read($input); + $this->success []= $elem65; } $xfer += $input->readListEnd(); } else { @@ -21530,9 +21918,9 @@ class Airavata_searchExperimentsByName_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter59) + foreach ($this->success as $iter66) { - $xfer += $iter59->write($output); + $xfer += $iter66->write($output); } } $output->writeListEnd(); @@ -21860,15 +22248,15 @@ class Airavata_searchExperimentsByDesc_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size60 = 0; - $_etype63 = 0; - $xfer += $input->readListBegin($_etype63, $_size60); - for ($_i64 = 0; $_i64 < $_size60; ++$_i64) + $_size67 = 0; + $_etype70 = 0; + $xfer += $input->readListBegin($_etype70, $_size67); + for ($_i71 = 0; $_i71 < $_size67; ++$_i71) { - $elem65 = null; - $elem65 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); - $xfer += $elem65->read($input); - $this->success []= $elem65; + $elem72 = null; + $elem72 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); + $xfer += $elem72->read($input); + $this->success []= $elem72; } $xfer += $input->readListEnd(); } else { @@ -21928,9 +22316,9 @@ class Airavata_searchExperimentsByDesc_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter66) + foreach ($this->success as $iter73) { - $xfer += $iter66->write($output); + $xfer += $iter73->write($output); } } $output->writeListEnd(); @@ -22258,15 +22646,15 @@ class Airavata_searchExperimentsByApplication_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size67 = 0; - $_etype70 = 0; - $xfer += $input->readListBegin($_etype70, $_size67); - for ($_i71 = 0; $_i71 < $_size67; ++$_i71) + $_size74 = 0; + $_etype77 = 0; + $xfer += $input->readListBegin($_etype77, $_size74); + for ($_i78 = 0; $_i78 < $_size74; ++$_i78) { - $elem72 = null; - $elem72 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); - $xfer += $elem72->read($input); - $this->success []= $elem72; + $elem79 = null; + $elem79 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); + $xfer += $elem79->read($input); + $this->success []= $elem79; } $xfer += $input->readListEnd(); } else { @@ -22326,9 +22714,9 @@ class Airavata_searchExperimentsByApplication_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter73) + foreach ($this->success as $iter80) { - $xfer += $iter73->write($output); + $xfer += $iter80->write($output); } } $output->writeListEnd(); @@ -22656,15 +23044,15 @@ class Airavata_searchExperimentsByStatus_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size74 = 0; - $_etype77 = 0; - $xfer += $input->readListBegin($_etype77, $_size74); - for ($_i78 = 0; $_i78 < $_size74; ++$_i78) + $_size81 = 0; + $_etype84 = 0; + $xfer += $input->readListBegin($_etype84, $_size81); + for ($_i85 = 0; $_i85 < $_size81; ++$_i85) { - $elem79 = null; - $elem79 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); - $xfer += $elem79->read($input); - $this->success []= $elem79; + $elem86 = null; + $elem86 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); + $xfer += $elem86->read($input); + $this->success []= $elem86; } $xfer += $input->readListEnd(); } else { @@ -22724,9 +23112,9 @@ class Airavata_searchExperimentsByStatus_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter80) + foreach ($this->success as $iter87) { - $xfer += $iter80->write($output); + $xfer += $iter87->write($output); } } $output->writeListEnd(); @@ -23077,15 +23465,15 @@ class Airavata_searchExperimentsByCreationTime_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size81 = 0; - $_etype84 = 0; - $xfer += $input->readListBegin($_etype84, $_size81); - for ($_i85 = 0; $_i85 < $_size81; ++$_i85) + $_size88 = 0; + $_etype91 = 0; + $xfer += $input->readListBegin($_etype91, $_size88); + for ($_i92 = 0; $_i92 < $_size88; ++$_i92) { - $elem86 = null; - $elem86 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); - $xfer += $elem86->read($input); - $this->success []= $elem86; + $elem93 = null; + $elem93 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); + $xfer += $elem93->read($input); + $this->success []= $elem93; } $xfer += $input->readListEnd(); } else { @@ -23145,9 +23533,9 @@ class Airavata_searchExperimentsByCreationTime_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter87) + foreach ($this->success as $iter94) { - $xfer += $iter87->write($output); + $xfer += $iter94->write($output); } } $output->writeListEnd(); @@ -23313,17 +23701,17 @@ class Airavata_searchExperiments_args { case 4: if ($ftype == TType::MAP) { $this->filters = array(); - $_size88 = 0; - $_ktype89 = 0; - $_vtype90 = 0; - $xfer += $input->readMapBegin($_ktype89, $_vtype90, $_size88); - for ($_i92 = 0; $_i92 < $_size88; ++$_i92) + $_size95 = 0; + $_ktype96 = 0; + $_vtype97 = 0; + $xfer += $input->readMapBegin($_ktype96, $_vtype97, $_size95); + for ($_i99 = 0; $_i99 < $_size95; ++$_i99) { - $key93 = 0; - $val94 = ''; - $xfer += $input->readI32($key93); - $xfer += $input->readString($val94); - $this->filters[$key93] = $val94; + $key100 = 0; + $val101 = ''; + $xfer += $input->readI32($key100); + $xfer += $input->readString($val101); + $this->filters[$key100] = $val101; } $xfer += $input->readMapEnd(); } else { @@ -23383,10 +23771,10 @@ class Airavata_searchExperiments_args { { $output->writeMapBegin(TType::I32, TType::STRING, count($this->filters)); { - foreach ($this->filters as $kiter95 => $viter96) + foreach ($this->filters as $kiter102 => $viter103) { - $xfer += $output->writeI32($kiter95); - $xfer += $output->writeString($viter96); + $xfer += $output->writeI32($kiter102); + $xfer += $output->writeString($viter103); } } $output->writeMapEnd(); @@ -23509,15 +23897,15 @@ class Airavata_searchExperiments_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size97 = 0; - $_etype100 = 0; - $xfer += $input->readListBegin($_etype100, $_size97); - for ($_i101 = 0; $_i101 < $_size97; ++$_i101) + $_size104 = 0; + $_etype107 = 0; + $xfer += $input->readListBegin($_etype107, $_size104); + for ($_i108 = 0; $_i108 < $_size104; ++$_i108) { - $elem102 = null; - $elem102 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); - $xfer += $elem102->read($input); - $this->success []= $elem102; + $elem109 = null; + $elem109 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); + $xfer += $elem109->read($input); + $this->success []= $elem109; } $xfer += $input->readListEnd(); } else { @@ -23577,9 +23965,9 @@ class Airavata_searchExperiments_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter103) + foreach ($this->success as $iter110) { - $xfer += $iter103->write($output); + $xfer += $iter110->write($output); } } $output->writeListEnd(); @@ -24202,15 +24590,15 @@ class Airavata_getExperimentsInProject_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size104 = 0; - $_etype107 = 0; - $xfer += $input->readListBegin($_etype107, $_size104); - for ($_i108 = 0; $_i108 < $_size104; ++$_i108) + $_size111 = 0; + $_etype114 = 0; + $xfer += $input->readListBegin($_etype114, $_size111); + for ($_i115 = 0; $_i115 < $_size111; ++$_i115) { - $elem109 = null; - $elem109 = new \Airavata\Model\Experiment\ExperimentModel(); - $xfer += $elem109->read($input); - $this->success []= $elem109; + $elem116 = null; + $elem116 = new \Airavata\Model\Experiment\ExperimentModel(); + $xfer += $elem116->read($input); + $this->success []= $elem116; } $xfer += $input->readListEnd(); } else { @@ -24278,9 +24666,9 @@ class Airavata_getExperimentsInProject_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter110) + foreach ($this->success as $iter117) { - $xfer += $iter110->write($output); + $xfer += $iter117->write($output); } } $output->writeListEnd(); @@ -24590,15 +24978,15 @@ class Airavata_getUserExperiments_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size111 = 0; - $_etype114 = 0; - $xfer += $input->readListBegin($_etype114, $_size111); - for ($_i115 = 0; $_i115 < $_size111; ++$_i115) + $_size118 = 0; + $_etype121 = 0; + $xfer += $input->readListBegin($_etype121, $_size118); + for ($_i122 = 0; $_i122 < $_size118; ++$_i122) { - $elem116 = null; - $elem116 = new \Airavata\Model\Experiment\ExperimentModel(); - $xfer += $elem116->read($input); - $this->success []= $elem116; + $elem123 = null; + $elem123 = new \Airavata\Model\Experiment\ExperimentModel(); + $xfer += $elem123->read($input); + $this->success []= $elem123; } $xfer += $input->readListEnd(); } else { @@ -24658,9 +25046,9 @@ class Airavata_getUserExperiments_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter117) + foreach ($this->success as $iter124) { - $xfer += $iter117->write($output); + $xfer += $iter124->write($output); } } $output->writeListEnd(); @@ -27746,15 +28134,15 @@ class Airavata_getExperimentOutputs_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size118 = 0; - $_etype121 = 0; - $xfer += $input->readListBegin($_etype121, $_size118); - for ($_i122 = 0; $_i122 < $_size118; ++$_i122) + $_size125 = 0; + $_etype128 = 0; + $xfer += $input->readListBegin($_etype128, $_size125); + for ($_i129 = 0; $_i129 < $_size125; ++$_i129) { - $elem123 = null; - $elem123 = new \Airavata\Model\Application\Io\OutputDataObjectType(); - $xfer += $elem123->read($input); - $this->success []= $elem123; + $elem130 = null; + $elem130 = new \Airavata\Model\Application\Io\OutputDataObjectType(); + $xfer += $elem130->read($input); + $this->success []= $elem130; } $xfer += $input->readListEnd(); } else { @@ -27822,9 +28210,9 @@ class Airavata_getExperimentOutputs_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter124) + foreach ($this->success as $iter131) { - $xfer += $iter124->write($output); + $xfer += $iter131->write($output); } } $output->writeListEnd(); @@ -28077,15 +28465,15 @@ class Airavata_getIntermediateOutputs_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size125 = 0; - $_etype128 = 0; - $xfer += $input->readListBegin($_etype128, $_size125); - for ($_i129 = 0; $_i129 < $_size125; ++$_i129) + $_size132 = 0; + $_etype135 = 0; + $xfer += $input->readListBegin($_etype135, $_size132); + for ($_i136 = 0; $_i136 < $_size132; ++$_i136) { - $elem130 = null; - $elem130 = new \Airavata\Model\Application\Io\OutputDataObjectType(); - $xfer += $elem130->read($input); - $this->success []= $elem130; + $elem137 = null; + $elem137 = new \Airavata\Model\Application\Io\OutputDataObjectType(); + $xfer += $elem137->read($input); + $this->success []= $elem137; } $xfer += $input->readListEnd(); } else { @@ -28153,9 +28541,9 @@ class Airavata_getIntermediateOutputs_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter131) + foreach ($this->success as $iter138) { - $xfer += $iter131->write($output); + $xfer += $iter138->write($output); } } $output->writeListEnd(); @@ -28412,18 +28800,18 @@ class Airavata_getJobStatuses_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size132 = 0; - $_ktype133 = 0; - $_vtype134 = 0; - $xfer += $input->readMapBegin($_ktype133, $_vtype134, $_size132); - for ($_i136 = 0; $_i136 < $_size132; ++$_i136) + $_size139 = 0; + $_ktype140 = 0; + $_vtype141 = 0; + $xfer += $input->readMapBegin($_ktype140, $_vtype141, $_size139); + for ($_i143 = 0; $_i143 < $_size139; ++$_i143) { - $key137 = ''; - $val138 = new \Airavata\Model\Status\JobStatus(); - $xfer += $input->readString($key137); - $val138 = new \Airavata\Model\Status\JobStatus(); - $xfer += $val138->read($input); - $this->success[$key137] = $val138; + $key144 = ''; + $val145 = new \Airavata\Model\Status\JobStatus(); + $xfer += $input->readString($key144); + $val145 = new \Airavata\Model\Status\JobStatus(); + $xfer += $val145->read($input); + $this->success[$key144] = $val145; } $xfer += $input->readMapEnd(); } else { @@ -28491,10 +28879,10 @@ class Airavata_getJobStatuses_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter139 => $viter140) + foreach ($this->success as $kiter146 => $viter147) { - $xfer += $output->writeString($kiter139); - $xfer += $viter140->write($output); + $xfer += $output->writeString($kiter146); + $xfer += $viter147->write($output); } } $output->writeMapEnd(); @@ -28747,15 +29135,15 @@ class Airavata_getJobDetails_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size141 = 0; - $_etype144 = 0; - $xfer += $input->readListBegin($_etype144, $_size141); - for ($_i145 = 0; $_i145 < $_size141; ++$_i145) + $_size148 = 0; + $_etype151 = 0; + $xfer += $input->readListBegin($_etype151, $_size148); + for ($_i152 = 0; $_i152 < $_size148; ++$_i152) { - $elem146 = null; - $elem146 = new \Airavata\Model\Job\JobModel(); - $xfer += $elem146->read($input); - $this->success []= $elem146; + $elem153 = null; + $elem153 = new \Airavata\Model\Job\JobModel(); + $xfer += $elem153->read($input); + $this->success []= $elem153; } $xfer += $input->readListEnd(); } else { @@ -28823,9 +29211,9 @@ class Airavata_getJobDetails_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter147) + foreach ($this->success as $iter154) { - $xfer += $iter147->write($output); + $xfer += $iter154->write($output); } } $output->writeListEnd(); @@ -30590,15 +30978,15 @@ class Airavata_getAllAppModules_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size148 = 0; - $_etype151 = 0; - $xfer += $input->readListBegin($_etype151, $_size148); - for ($_i152 = 0; $_i152 < $_size148; ++$_i152) + $_size155 = 0; + $_etype158 = 0; + $xfer += $input->readListBegin($_etype158, $_size155); + for ($_i159 = 0; $_i159 < $_size155; ++$_i159) { - $elem153 = null; - $elem153 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule(); - $xfer += $elem153->read($input); - $this->success []= $elem153; + $elem160 = null; + $elem160 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule(); + $xfer += $elem160->read($input); + $this->success []= $elem160; } $xfer += $input->readListEnd(); } else { @@ -30658,9 +31046,9 @@ class Airavata_getAllAppModules_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter154) + foreach ($this->success as $iter161) { - $xfer += $iter154->write($output); + $xfer += $iter161->write($output); } } $output->writeListEnd(); @@ -32347,15 +32735,15 @@ class Airavata_getAllApplicationDeployments_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size155 = 0; - $_etype158 = 0; - $xfer += $input->readListBegin($_etype158, $_size155); - for ($_i159 = 0; $_i159 < $_size155; ++$_i159) + $_size162 = 0; + $_etype165 = 0; + $xfer += $input->readListBegin($_etype165, $_size162); + for ($_i166 = 0; $_i166 < $_size162; ++$_i166) { - $elem160 = null; - $elem160 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription(); - $xfer += $elem160->read($input); - $this->success []= $elem160; + $elem167 = null; + $elem167 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription(); + $xfer += $elem167->read($input); + $this->success []= $elem167; } $xfer += $input->readListEnd(); } else { @@ -32415,9 +32803,9 @@ class Airavata_getAllApplicationDeployments_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter161) + foreach ($this->success as $iter168) { - $xfer += $iter161->write($output); + $xfer += $iter168->write($output); } } $output->writeListEnd(); @@ -32652,14 +33040,14 @@ class Airavata_getAppModuleDeployedResources_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size162 = 0; - $_etype165 = 0; - $xfer += $input->readListBegin($_etype165, $_size162); - for ($_i166 = 0; $_i166 < $_size162; ++$_i166) + $_size169 = 0; + $_etype172 = 0; + $xfer += $input->readListBegin($_etype172, $_size169); + for ($_i173 = 0; $_i173 < $_size169; ++$_i173) { - $elem167 = null; - $xfer += $input->readString($elem167); - $this->success []= $elem167; + $elem174 = null; + $xfer += $input->readString($elem174); + $this->success []= $elem174; } $xfer += $input->readListEnd(); } else { @@ -32719,9 +33107,9 @@ class Airavata_getAppModuleDeployedResources_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter168) + foreach ($this->success as $iter175) { - $xfer += $output->writeString($iter168); + $xfer += $output->writeString($iter175); } } $output->writeListEnd(); @@ -34457,17 +34845,17 @@ class Airavata_getAllApplicationInterfaceNames_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size169 = 0; - $_ktype170 = 0; - $_vtype171 = 0; - $xfer += $input->readMapBegin($_ktype170, $_vtype171, $_size169); - for ($_i173 = 0; $_i173 < $_size169; ++$_i173) + $_size176 = 0; + $_ktype177 = 0; + $_vtype178 = 0; + $xfer += $input->readMapBegin($_ktype177, $_vtype178, $_size176); + for ($_i180 = 0; $_i180 < $_size176; ++$_i180) { - $key174 = ''; - $val175 = ''; - $xfer += $input->readString($key174); - $xfer += $input->readString($val175); - $this->success[$key174] = $val175; + $key181 = ''; + $val182 = ''; + $xfer += $input->readString($key181); + $xfer += $input->readString($val182); + $this->success[$key181] = $val182; } $xfer += $input->readMapEnd(); } else { @@ -34527,10 +34915,10 @@ class Airavata_getAllApplicationInterfaceNames_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter176 => $viter177) + foreach ($this->success as $kiter183 => $viter184) { - $xfer += $output->writeString($kiter176); - $xfer += $output->writeString($viter177); + $xfer += $output->writeString($kiter183); + $xfer += $output->writeString($viter184); } } $output->writeMapEnd(); @@ -34766,15 +35154,15 @@ class Airavata_getAllApplicationInterfaces_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size178 = 0; - $_etype181 = 0; - $xfer += $input->readListBegin($_etype181, $_size178); - for ($_i182 = 0; $_i182 < $_size178; ++$_i182) + $_size185 = 0; + $_etype188 = 0; + $xfer += $input->readListBegin($_etype188, $_size185); + for ($_i189 = 0; $_i189 < $_size185; ++$_i189) { - $elem183 = null; - $elem183 = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription(); - $xfer += $elem183->read($input); - $this->success []= $elem183; + $elem190 = null; + $elem190 = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription(); + $xfer += $elem190->read($input); + $this->success []= $elem190; } $xfer += $input->readListEnd(); } else { @@ -34834,9 +35222,9 @@ class Airavata_getAllApplicationInterfaces_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter184) + foreach ($this->success as $iter191) { - $xfer += $iter184->write($output); + $xfer += $iter191->write($output); } } $output->writeListEnd(); @@ -35072,15 +35460,15 @@ class Airavata_getApplicationInputs_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size185 = 0; - $_etype188 = 0; - $xfer += $input->readListBegin($_etype188, $_size185); - for ($_i189 = 0; $_i189 < $_size185; ++$_i189) + $_size192 = 0; + $_etype195 = 0; + $xfer += $input->readListBegin($_etype195, $_size192); + for ($_i196 = 0; $_i196 < $_size192; ++$_i196) { - $elem190 = null; - $elem190 = new \Airavata\Model\Application\Io\InputDataObjectType(); - $xfer += $elem190->read($input); - $this->success []= $elem190; + $elem197 = null; + $elem197 = new \Airavata\Model\Application\Io\InputDataObjectType(); + $xfer += $elem197->read($input); + $this->success []= $elem197; } $xfer += $input->readListEnd(); } else { @@ -35140,9 +35528,9 @@ class Airavata_getApplicationInputs_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter191) + foreach ($this->success as $iter198) { - $xfer += $iter191->write($output); + $xfer += $iter198->write($output); } } $output->writeListEnd(); @@ -35378,15 +35766,15 @@ class Airavata_getApplicationOutputs_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size192 = 0; - $_etype195 = 0; - $xfer += $input->readListBegin($_etype195, $_size192); - for ($_i196 = 0; $_i196 < $_size192; ++$_i196) + $_size199 = 0; + $_etype202 = 0; + $xfer += $input->readListBegin($_etype202, $_size199); + for ($_i203 = 0; $_i203 < $_size199; ++$_i203) { - $elem197 = null; - $elem197 = new \Airavata\Model\Application\Io\OutputDataObjectType(); - $xfer += $elem197->read($input); - $this->success []= $elem197; + $elem204 = null; + $elem204 = new \Airavata\Model\Application\Io\OutputDataObjectType(); + $xfer += $elem204->read($input); + $this->success []= $elem204; } $xfer += $input->readListEnd(); } else { @@ -35446,9 +35834,9 @@ class Airavata_getApplicationOutputs_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter198) + foreach ($this->success as $iter205) { - $xfer += $iter198->write($output); + $xfer += $iter205->write($output); } } $output->writeListEnd(); @@ -35687,17 +36075,17 @@ class Airavata_getAvailableAppInterfaceComputeResources_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size199 = 0; - $_ktype200 = 0; - $_vtype201 = 0; - $xfer += $input->readMapBegin($_ktype200, $_vtype201, $_size199); - for ($_i203 = 0; $_i203 < $_size199; ++$_i203) + $_size206 = 0; + $_ktype207 = 0; + $_vtype208 = 0; + $xfer += $input->readMapBegin($_ktype207, $_vtype208, $_size206); + for ($_i210 = 0; $_i210 < $_size206; ++$_i210) { - $key204 = ''; - $val205 = ''; - $xfer += $input->readString($key204); - $xfer += $input->readString($val205); - $this->success[$key204] = $val205; + $key211 = ''; + $val212 = ''; + $xfer += $input->readString($key211); + $xfer += $input->readString($val212); + $this->success[$key211] = $val212; } $xfer += $input->readMapEnd(); } else { @@ -35757,10 +36145,10 @@ class Airavata_getAvailable
<TRUNCATED>
