http://git-wip-us.apache.org/repos/asf/airavata/blob/325d1630/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 0b41f51..7d5325a 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 @@ -269,6 +269,35 @@ interface AiravataIf { */ public function generateAndRegisterSSHKeys(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $userName); /** + * Generate and Register SSH Key Pair with Airavata Credential Store. + * + * @param gatewayId + * The identifier for the requested Gateway. + * + * @param userName + * The User for which the credential should be registered. For community accounts, this user is the name of the + * community user name. For computational resources, this user name need not be the same user name on resoruces. + * + * @param description + * The description field for a credential type, all type of credential can have a description. + * + * @return airavataCredStoreToken + * An SSH Key pair is generated and stored in the credential store and associated with users or community account + * belonging to a Gateway. + * + * + * + * @param \Airavata\Model\Security\AuthzToken $authzToken + * @param string $gatewayId + * @param string $userName + * @param string $description + * @return string + * @throws \Airavata\API\Error\InvalidRequestException + * @throws \Airavata\API\Error\AiravataClientException + * @throws \Airavata\API\Error\AiravataSystemException + */ + public function generateAndRegisterSSHKeysWithDescription(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $userName, $description); + /** * Generate and Register Username PWD Pair with Airavata Credential Store. * * @param gatewayId @@ -345,6 +374,54 @@ interface AiravataIf { */ public function getAllGatewaySSHPubKeys(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId); /** + * + * Get all Public Keys of the Gateway + * + * @param CredStoreToken + * Credential Store Token which you want to find the Public Key for. + * + * @param gatewayId + * This is the unique identifier of your gateway where the token and public key was generated from. + * + * @return publicKey + * + * + * + * @param \Airavata\Model\Security\AuthzToken $authzToken + * @param string $gatewayId + * @return \Airavata\Model\AppCatalog\CredetialSummary\CredentialSummary[] + * @throws \Airavata\API\Error\InvalidRequestException + * @throws \Airavata\API\Error\AiravataClientException + * @throws \Airavata\API\Error\AiravataSystemException + */ + public function getAllGatewaySSHPubKeysSummary(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId); + /** + * + * Get all Public Key summaries for user in a Gateway + * + * @param CredStoreToken + * Credential Store Token which you want to find the Public Key for. + * + * @param gatewayId + * This is the unique identifier of your gateway where the token and public key was generated from. + * + * @param userId + * This is the unique identifier of user whose public keys are to be fetched. + * + * @return CredentialSummary + * + * + * + * @param \Airavata\Model\Security\AuthzToken $authzToken + * @param string $gatewayId + * @param string $userId + * @return \Airavata\Model\AppCatalog\CredetialSummary\CredentialSummary[] + * @throws \Airavata\API\Error\InvalidRequestException + * @throws \Airavata\API\Error\AiravataClientException + * @throws \Airavata\API\Error\AiravataSystemException + */ + public function getAllSSHPubKeysSummaryForUserInGateway(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $userId); + /** * @param \Airavata\Model\Security\AuthzToken $authzToken * @param string $gatewayId * @return array @@ -3283,6 +3360,9 @@ interface AiravataIf { * * identityServerPwdCredToken: * + * isNull: + * Indicates that this instance is just a container for a null value. + * * * @throws \Airavata\API\Error\InvalidRequestException * @throws \Airavata\API\Error\AiravataClientException @@ -4857,6 +4937,69 @@ class AiravataClient implements \Airavata\API\AiravataIf { throw new \Exception("generateAndRegisterSSHKeys failed: unknown result"); } + public function generateAndRegisterSSHKeysWithDescription(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $userName, $description) + { + $this->send_generateAndRegisterSSHKeysWithDescription($authzToken, $gatewayId, $userName, $description); + return $this->recv_generateAndRegisterSSHKeysWithDescription(); + } + + public function send_generateAndRegisterSSHKeysWithDescription(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $userName, $description) + { + $args = new \Airavata\API\Airavata_generateAndRegisterSSHKeysWithDescription_args(); + $args->authzToken = $authzToken; + $args->gatewayId = $gatewayId; + $args->userName = $userName; + $args->description = $description; + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'generateAndRegisterSSHKeysWithDescription', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('generateAndRegisterSSHKeysWithDescription', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_generateAndRegisterSSHKeysWithDescription() + { + $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_generateAndRegisterSSHKeysWithDescription_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_generateAndRegisterSSHKeysWithDescription_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; + } + throw new \Exception("generateAndRegisterSSHKeysWithDescription failed: unknown result"); + } + public function registerPwdCredential(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $portalUserName, $loginUserName, $password, $description) { $this->send_registerPwdCredential($authzToken, $gatewayId, $portalUserName, $loginUserName, $password, $description); @@ -5045,6 +5188,129 @@ class AiravataClient implements \Airavata\API\AiravataIf { throw new \Exception("getAllGatewaySSHPubKeys failed: unknown result"); } + public function getAllGatewaySSHPubKeysSummary(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId) + { + $this->send_getAllGatewaySSHPubKeysSummary($authzToken, $gatewayId); + return $this->recv_getAllGatewaySSHPubKeysSummary(); + } + + public function send_getAllGatewaySSHPubKeysSummary(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId) + { + $args = new \Airavata\API\Airavata_getAllGatewaySSHPubKeysSummary_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_, 'getAllGatewaySSHPubKeysSummary', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('getAllGatewaySSHPubKeysSummary', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_getAllGatewaySSHPubKeysSummary() + { + $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_getAllGatewaySSHPubKeysSummary_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_getAllGatewaySSHPubKeysSummary_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; + } + throw new \Exception("getAllGatewaySSHPubKeysSummary failed: unknown result"); + } + + public function getAllSSHPubKeysSummaryForUserInGateway(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $userId) + { + $this->send_getAllSSHPubKeysSummaryForUserInGateway($authzToken, $gatewayId, $userId); + return $this->recv_getAllSSHPubKeysSummaryForUserInGateway(); + } + + public function send_getAllSSHPubKeysSummaryForUserInGateway(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId, $userId) + { + $args = new \Airavata\API\Airavata_getAllSSHPubKeysSummaryForUserInGateway_args(); + $args->authzToken = $authzToken; + $args->gatewayId = $gatewayId; + $args->userId = $userId; + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'getAllSSHPubKeysSummaryForUserInGateway', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('getAllSSHPubKeysSummaryForUserInGateway', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_getAllSSHPubKeysSummaryForUserInGateway() + { + $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_getAllSSHPubKeysSummaryForUserInGateway_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_getAllSSHPubKeysSummaryForUserInGateway_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; + } + throw new \Exception("getAllSSHPubKeysSummaryForUserInGateway failed: unknown result"); + } + public function getAllGatewayPWDCredentials(\Airavata\Model\Security\AuthzToken $authzToken, $gatewayId) { $this->send_getAllGatewayPWDCredentials($authzToken, $gatewayId); @@ -18838,7 +19104,7 @@ class Airavata_generateAndRegisterSSHKeys_result { } -class Airavata_registerPwdCredential_args { +class Airavata_generateAndRegisterSSHKeysWithDescription_args { static $_TSPEC; /** @@ -18852,15 +19118,7 @@ class Airavata_registerPwdCredential_args { /** * @var string */ - public $portalUserName = null; - /** - * @var string - */ - public $loginUserName = null; - /** - * @var string - */ - public $password = null; + public $userName = null; /** * @var string */ @@ -18879,18 +19137,10 @@ class Airavata_registerPwdCredential_args { 'type' => TType::STRING, ), 3 => array( - 'var' => 'portalUserName', + 'var' => 'userName', 'type' => TType::STRING, ), 4 => array( - 'var' => 'loginUserName', - 'type' => TType::STRING, - ), - 5 => array( - 'var' => 'password', - 'type' => TType::STRING, - ), - 6 => array( 'var' => 'description', 'type' => TType::STRING, ), @@ -18903,14 +19153,8 @@ class Airavata_registerPwdCredential_args { 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['userName'])) { + $this->userName = $vals['userName']; } if (isset($vals['description'])) { $this->description = $vals['description']; @@ -18919,7 +19163,7 @@ class Airavata_registerPwdCredential_args { } public function getName() { - return 'Airavata_registerPwdCredential_args'; + return 'Airavata_generateAndRegisterSSHKeysWithDescription_args'; } public function read($input) @@ -18954,27 +19198,13 @@ class Airavata_registerPwdCredential_args { break; case 3: if ($ftype == TType::STRING) { - $xfer += $input->readString($this->portalUserName); + $xfer += $input->readString($this->userName); } 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); } else { $xfer += $input->skip($ftype); @@ -18992,7 +19222,7 @@ class Airavata_registerPwdCredential_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_registerPwdCredential_args'); + $xfer += $output->writeStructBegin('Airavata_generateAndRegisterSSHKeysWithDescription_args'); if ($this->authzToken !== null) { if (!is_object($this->authzToken)) { throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); @@ -19006,23 +19236,13 @@ class Airavata_registerPwdCredential_args { $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->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, 6); + $xfer += $output->writeFieldBegin('description', TType::STRING, 4); $xfer += $output->writeString($this->description); $xfer += $output->writeFieldEnd(); } @@ -19033,7 +19253,352 @@ class Airavata_registerPwdCredential_args { } -class Airavata_registerPwdCredential_result { +class Airavata_generateAndRegisterSSHKeysWithDescription_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; + + 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', + ), + ); + } + 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']; + } + } + } + + public function getName() { + return 'Airavata_generateAndRegisterSSHKeysWithDescription_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; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('Airavata_generateAndRegisterSSHKeysWithDescription_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(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class Airavata_registerPwdCredential_args { + static $_TSPEC; + + /** + * @var \Airavata\Model\Security\AuthzToken + */ + public $authzToken = null; + /** + * @var string + */ + public $gatewayId = null; + /** + * @var string + */ + public $portalUserName = null; + /** + * @var string + */ + public $loginUserName = null; + /** + * @var string + */ + public $password = null; + /** + * @var string + */ + public $description = 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' => 'portalUserName', + 'type' => TType::STRING, + ), + 4 => array( + 'var' => 'loginUserName', + 'type' => TType::STRING, + ), + 5 => array( + 'var' => 'password', + 'type' => TType::STRING, + ), + 6 => array( + 'var' => 'description', + '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['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'; + } + + 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->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); + } 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_registerPwdCredential_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->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); + $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(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class Airavata_registerPwdCredential_result { static $_TSPEC; /** @@ -19541,7 +20106,593 @@ class Airavata_getAllGatewaySSHPubKeys_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeys_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); + } + $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(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class Airavata_getAllGatewaySSHPubKeys_result { + static $_TSPEC; + + /** + * @var array + */ + 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; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + 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, + ), + ), + 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', + ), + ); + } + 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']; + } + } + } + + public function getName() { + return 'Airavata_getAllGatewaySSHPubKeys_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::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); + } + 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; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeys_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 $kiter28 => $viter29) + { + $xfer += $output->writeString($kiter28); + $xfer += $output->writeString($viter29); + } + } + $output->writeMapEnd(); + } + $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(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class Airavata_getAllGatewaySSHPubKeysSummary_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)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'authzToken', + '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_getAllGatewaySSHPubKeysSummary_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; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeysSummary_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(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class Airavata_getAllGatewaySSHPubKeysSummary_result { + static $_TSPEC; + + /** + * @var \Airavata\Model\AppCatalog\CredetialSummary\CredentialSummary[] + */ + 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; + + 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\AppCatalog\CredetialSummary\CredentialSummary', + ), + ), + 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', + ), + ); + } + 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']; + } + } + } + + public function getName() { + return 'Airavata_getAllGatewaySSHPubKeysSummary_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(); + $_size30 = 0; + $_etype33 = 0; + $xfer += $input->readListBegin($_etype33, $_size30); + for ($_i34 = 0; $_i34 < $_size30; ++$_i34) + { + $elem35 = null; + $elem35 = new \Airavata\Model\AppCatalog\CredetialSummary\CredentialSummary(); + $xfer += $elem35->read($input); + $this->success []= $elem35; + } + $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; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeysSummary_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 $iter36) + { + $xfer += $iter36->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(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class Airavata_getAllSSHPubKeysSummaryForUserInGateway_args { + static $_TSPEC; + + /** + * @var \Airavata\Model\Security\AuthzToken + */ + public $authzToken = null; + /** + * @var string + */ + public $gatewayId = null; + /** + * @var string + */ + public $userId = 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' => 'userId', + '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['userId'])) { + $this->userId = $vals['userId']; + } + } + } + + public function getName() { + return 'Airavata_getAllSSHPubKeysSummaryForUserInGateway_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->userId); + } 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_getAllSSHPubKeysSummaryForUserInGateway_args'); if ($this->authzToken !== null) { if (!is_object($this->authzToken)) { throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); @@ -19555,6 +20706,11 @@ class Airavata_getAllGatewaySSHPubKeys_args { $xfer += $output->writeString($this->gatewayId); $xfer += $output->writeFieldEnd(); } + if ($this->userId !== null) { + $xfer += $output->writeFieldBegin('userId', TType::STRING, 3); + $xfer += $output->writeString($this->userId); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -19562,11 +20718,11 @@ class Airavata_getAllGatewaySSHPubKeys_args { } -class Airavata_getAllGatewaySSHPubKeys_result { +class Airavata_getAllSSHPubKeysSummaryForUserInGateway_result { static $_TSPEC; /** - * @var array + * @var \Airavata\Model\AppCatalog\CredetialSummary\CredentialSummary[] */ public $success = null; /** @@ -19587,14 +20743,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\AppCatalog\CredetialSummary\CredentialSummary', ), ), 1 => array( @@ -19631,7 +20784,7 @@ class Airavata_getAllGatewaySSHPubKeys_result { } public function getName() { - return 'Airavata_getAllGatewaySSHPubKeys_result'; + return 'Airavata_getAllSSHPubKeysSummaryForUserInGateway_result'; } public function read($input) @@ -19650,21 +20803,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) + $_size37 = 0; + $_etype40 = 0; + $xfer += $input->readListBegin($_etype40, $_size37); + for ($_i41 = 0; $_i41 < $_size37; ++$_i41) { - $key26 = ''; - $val27 = ''; - $xfer += $input->readString($key26); - $xfer += $input->readString($val27); - $this->success[$key26] = $val27; + $elem42 = null; + $elem42 = new \Airavata\Model\AppCatalog\CredetialSummary\CredentialSummary(); + $xfer += $elem42->read($input); + $this->success []= $elem42; } - $xfer += $input->readMapEnd(); + $xfer += $input->readListEnd(); } else { $xfer += $input->skip($ftype); } @@ -19705,22 +20856,21 @@ class Airavata_getAllGatewaySSHPubKeys_result { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('Airavata_getAllGatewaySSHPubKeys_result'); + $xfer += $output->writeStructBegin('Airavata_getAllSSHPubKeysSummaryForUserInGateway_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 $iter43) { - $xfer += $output->writeString($kiter28); - $xfer += $output->writeString($viter29); + $xfer += $iter43->write($output); } } - $output->writeMapEnd(); + $output->writeListEnd(); } $xfer += $output->writeFieldEnd(); } @@ -19939,17 +21089,17 @@ class Airavata_getAllGatewayPWDCredentials_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size30 = 0; - $_ktype31 = 0; - $_vtype32 = 0; - $xfer += $input->readMapBegin($_ktype31, $_vtype32, $_size30); - for ($_i34 = 0; $_i34 < $_size30; ++$_i34) + $_size44 = 0; + $_ktype45 = 0; + $_vtype46 = 0; + $xfer += $input->readMapBegin($_ktype45, $_vtype46, $_size44); + for ($_i48 = 0; $_i48 < $_size44; ++$_i48) { - $key35 = ''; - $val36 = ''; - $xfer += $input->readString($key35); - $xfer += $input->readString($val36); - $this->success[$key35] = $val36; + $key49 = ''; + $val50 = ''; + $xfer += $input->readString($key49); + $xfer += $input->readString($val50); + $this->success[$key49] = $val50; } $xfer += $input->readMapEnd(); } else { @@ -20001,10 +21151,10 @@ class Airavata_getAllGatewayPWDCredentials_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter37 => $viter38) + foreach ($this->success as $kiter51 => $viter52) { - $xfer += $output->writeString($kiter37); - $xfer += $output->writeString($viter38); + $xfer += $output->writeString($kiter51); + $xfer += $output->writeString($viter52); } } $output->writeMapEnd(); @@ -22081,15 +23231,15 @@ class Airavata_getUserProjects_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) + $_size53 = 0; + $_etype56 = 0; + $xfer += $input->readListBegin($_etype56, $_size53); + for ($_i57 = 0; $_i57 < $_size53; ++$_i57) { - $elem44 = null; - $elem44 = new \Airavata\Model\Workspace\Project(); - $xfer += $elem44->read($input); - $this->success []= $elem44; + $elem58 = null; + $elem58 = new \Airavata\Model\Workspace\Project(); + $xfer += $elem58->read($input); + $this->success []= $elem58; } $xfer += $input->readListEnd(); } else { @@ -22149,9 +23299,9 @@ class Airavata_getUserProjects_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter45) + foreach ($this->success as $iter59) { - $xfer += $iter45->write($output); + $xfer += $iter59->write($output); } } $output->writeListEnd(); @@ -22317,17 +23467,17 @@ class Airavata_searchProjects_args { case 4: if ($ftype == TType::MAP) { $this->filters = array(); - $_size46 = 0; - $_ktype47 = 0; - $_vtype48 = 0; - $xfer += $input->readMapBegin($_ktype47, $_vtype48, $_size46); - for ($_i50 = 0; $_i50 < $_size46; ++$_i50) + $_size60 = 0; + $_ktype61 = 0; + $_vtype62 = 0; + $xfer += $input->readMapBegin($_ktype61, $_vtype62, $_size60); + for ($_i64 = 0; $_i64 < $_size60; ++$_i64) { - $key51 = 0; - $val52 = ''; - $xfer += $input->readI32($key51); - $xfer += $input->readString($val52); - $this->filters[$key51] = $val52; + $key65 = 0; + $val66 = ''; + $xfer += $input->readI32($key65); + $xfer += $input->readString($val66); + $this->filters[$key65] = $val66; } $xfer += $input->readMapEnd(); } else { @@ -22387,10 +23537,10 @@ class Airavata_searchProjects_args { { $output->writeMapBegin(TType::I32, TType::STRING, count($this->filters)); { - foreach ($this->filters as $kiter53 => $viter54) + foreach ($this->filters as $kiter67 => $viter68) { - $xfer += $output->writeI32($kiter53); - $xfer += $output->writeString($viter54); + $xfer += $output->writeI32($kiter67); + $xfer += $output->writeString($viter68); } } $output->writeMapEnd(); @@ -22513,15 +23663,15 @@ class Airavata_searchProjects_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size55 = 0; - $_etype58 = 0; - $xfer += $input->readListBegin($_etype58, $_size55); - for ($_i59 = 0; $_i59 < $_size55; ++$_i59) + $_size69 = 0; + $_etype72 = 0; + $xfer += $input->readListBegin($_etype72, $_size69); + for ($_i73 = 0; $_i73 < $_size69; ++$_i73) { - $elem60 = null; - $elem60 = new \Airavata\Model\Workspace\Project(); - $xfer += $elem60->read($input); - $this->success []= $elem60; + $elem74 = null; + $elem74 = new \Airavata\Model\Workspace\Project(); + $xfer += $elem74->read($input); + $this->success []= $elem74; } $xfer += $input->readListEnd(); } else { @@ -22581,9 +23731,9 @@ class Airavata_searchProjects_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter61) + foreach ($this->success as $iter75) { - $xfer += $iter61->write($output); + $xfer += $iter75->write($output); } } $output->writeListEnd(); @@ -22749,17 +23899,17 @@ class Airavata_searchExperiments_args { case 4: if ($ftype == TType::MAP) { $this->filters = array(); - $_size62 = 0; - $_ktype63 = 0; - $_vtype64 = 0; - $xfer += $input->readMapBegin($_ktype63, $_vtype64, $_size62); - for ($_i66 = 0; $_i66 < $_size62; ++$_i66) + $_size76 = 0; + $_ktype77 = 0; + $_vtype78 = 0; + $xfer += $input->readMapBegin($_ktype77, $_vtype78, $_size76); + for ($_i80 = 0; $_i80 < $_size76; ++$_i80) { - $key67 = 0; - $val68 = ''; - $xfer += $input->readI32($key67); - $xfer += $input->readString($val68); - $this->filters[$key67] = $val68; + $key81 = 0; + $val82 = ''; + $xfer += $input->readI32($key81); + $xfer += $input->readString($val82); + $this->filters[$key81] = $val82; } $xfer += $input->readMapEnd(); } else { @@ -22819,10 +23969,10 @@ class Airavata_searchExperiments_args { { $output->writeMapBegin(TType::I32, TType::STRING, count($this->filters)); { - foreach ($this->filters as $kiter69 => $viter70) + foreach ($this->filters as $kiter83 => $viter84) { - $xfer += $output->writeI32($kiter69); - $xfer += $output->writeString($viter70); + $xfer += $output->writeI32($kiter83); + $xfer += $output->writeString($viter84); } } $output->writeMapEnd(); @@ -22945,15 +24095,15 @@ class Airavata_searchExperiments_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size71 = 0; - $_etype74 = 0; - $xfer += $input->readListBegin($_etype74, $_size71); - for ($_i75 = 0; $_i75 < $_size71; ++$_i75) + $_size85 = 0; + $_etype88 = 0; + $xfer += $input->readListBegin($_etype88, $_size85); + for ($_i89 = 0; $_i89 < $_size85; ++$_i89) { - $elem76 = null; - $elem76 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); - $xfer += $elem76->read($input); - $this->success []= $elem76; + $elem90 = null; + $elem90 = new \Airavata\Model\Experiment\ExperimentSummaryModel(); + $xfer += $elem90->read($input); + $this->success []= $elem90; } $xfer += $input->readListEnd(); } else { @@ -23013,9 +24163,9 @@ class Airavata_searchExperiments_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter77) + foreach ($this->success as $iter91) { - $xfer += $iter77->write($output); + $xfer += $iter91->write($output); } } $output->writeListEnd(); @@ -23638,15 +24788,15 @@ class Airavata_getExperimentsInProject_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size78 = 0; - $_etype81 = 0; - $xfer += $input->readListBegin($_etype81, $_size78); - for ($_i82 = 0; $_i82 < $_size78; ++$_i82) + $_size92 = 0; + $_etype95 = 0; + $xfer += $input->readListBegin($_etype95, $_size92); + for ($_i96 = 0; $_i96 < $_size92; ++$_i96) { - $elem83 = null; - $elem83 = new \Airavata\Model\Experiment\ExperimentModel(); - $xfer += $elem83->read($input); - $this->success []= $elem83; + $elem97 = null; + $elem97 = new \Airavata\Model\Experiment\ExperimentModel(); + $xfer += $elem97->read($input); + $this->success []= $elem97; } $xfer += $input->readListEnd(); } else { @@ -23714,9 +24864,9 @@ class Airavata_getExperimentsInProject_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter84) + foreach ($this->success as $iter98) { - $xfer += $iter84->write($output); + $xfer += $iter98->write($output); } } $output->writeListEnd(); @@ -24026,15 +25176,15 @@ class Airavata_getUserExperiments_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size85 = 0; - $_etype88 = 0; - $xfer += $input->readListBegin($_etype88, $_size85); - for ($_i89 = 0; $_i89 < $_size85; ++$_i89) + $_size99 = 0; + $_etype102 = 0; + $xfer += $input->readListBegin($_etype102, $_size99); + for ($_i103 = 0; $_i103 < $_size99; ++$_i103) { - $elem90 = null; - $elem90 = new \Airavata\Model\Experiment\ExperimentModel(); - $xfer += $elem90->read($input); - $this->success []= $elem90; + $elem104 = null; + $elem104 = new \Airavata\Model\Experiment\ExperimentModel(); + $xfer += $elem104->read($input); + $this->success []= $elem104; } $xfer += $input->readListEnd(); } else { @@ -24094,9 +25244,9 @@ class Airavata_getUserExperiments_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter91) + foreach ($this->success as $iter105) { - $xfer += $iter91->write($output); + $xfer += $iter105->write($output); } } $output->writeListEnd(); @@ -27182,15 +28332,15 @@ class Airavata_getExperimentOutputs_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size92 = 0; - $_etype95 = 0; - $xfer += $input->readListBegin($_etype95, $_size92); - for ($_i96 = 0; $_i96 < $_size92; ++$_i96) + $_size106 = 0; + $_etype109 = 0; + $xfer += $input->readListBegin($_etype109, $_size106); + for ($_i110 = 0; $_i110 < $_size106; ++$_i110) { - $elem97 = null; - $elem97 = new \Airavata\Model\Application\Io\OutputDataObjectType(); - $xfer += $elem97->read($input); - $this->success []= $elem97; + $elem111 = null; + $elem111 = new \Airavata\Model\Application\Io\OutputDataObjectType(); + $xfer += $elem111->read($input); + $this->success []= $elem111; } $xfer += $input->readListEnd(); } else { @@ -27258,9 +28408,9 @@ class Airavata_getExperimentOutputs_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter98) + foreach ($this->success as $iter112) { - $xfer += $iter98->write($output); + $xfer += $iter112->write($output); } } $output->writeListEnd(); @@ -27513,15 +28663,15 @@ class Airavata_getIntermediateOutputs_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size99 = 0; - $_etype102 = 0; - $xfer += $input->readListBegin($_etype102, $_size99); - for ($_i103 = 0; $_i103 < $_size99; ++$_i103) + $_size113 = 0; + $_etype116 = 0; + $xfer += $input->readListBegin($_etype116, $_size113); + for ($_i117 = 0; $_i117 < $_size113; ++$_i117) { - $elem104 = null; - $elem104 = new \Airavata\Model\Application\Io\OutputDataObjectType(); - $xfer += $elem104->read($input); - $this->success []= $elem104; + $elem118 = null; + $elem118 = new \Airavata\Model\Application\Io\OutputDataObjectType(); + $xfer += $elem118->read($input); + $this->success []= $elem118; } $xfer += $input->readListEnd(); } else { @@ -27589,9 +28739,9 @@ class Airavata_getIntermediateOutputs_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter105) + foreach ($this->success as $iter119) { - $xfer += $iter105->write($output); + $xfer += $iter119->write($output); } } $output->writeListEnd(); @@ -27848,18 +28998,18 @@ class Airavata_getJobStatuses_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size106 = 0; - $_ktype107 = 0; - $_vtype108 = 0; - $xfer += $input->readMapBegin($_ktype107, $_vtype108, $_size106); - for ($_i110 = 0; $_i110 < $_size106; ++$_i110) + $_size120 = 0; + $_ktype121 = 0; + $_vtype122 = 0; + $xfer += $input->readMapBegin($_ktype121, $_vtype122, $_size120); + for ($_i124 = 0; $_i124 < $_size120; ++$_i124) { - $key111 = ''; - $val112 = new \Airavata\Model\Status\JobStatus(); - $xfer += $input->readString($key111); - $val112 = new \Airavata\Model\Status\JobStatus(); - $xfer += $val112->read($input); - $this->success[$key111] = $val112; + $key125 = ''; + $val126 = new \Airavata\Model\Status\JobStatus(); + $xfer += $input->readString($key125); + $val126 = new \Airavata\Model\Status\JobStatus(); + $xfer += $val126->read($input); + $this->success[$key125] = $val126; } $xfer += $input->readMapEnd(); } else { @@ -27927,10 +29077,10 @@ class Airavata_getJobStatuses_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter113 => $viter114) + foreach ($this->success as $kiter127 => $viter128) { - $xfer += $output->writeString($kiter113); - $xfer += $viter114->write($output); + $xfer += $output->writeString($kiter127); + $xfer += $viter128->write($output); } } $output->writeMapEnd(); @@ -28183,15 +29333,15 @@ class Airavata_getJobDetails_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size115 = 0; - $_etype118 = 0; - $xfer += $input->readListBegin($_etype118, $_size115); - for ($_i119 = 0; $_i119 < $_size115; ++$_i119) + $_size129 = 0; + $_etype132 = 0; + $xfer += $input->readListBegin($_etype132, $_size129); + for ($_i133 = 0; $_i133 < $_size129; ++$_i133) { - $elem120 = null; - $elem120 = new \Airavata\Model\Job\JobModel(); - $xfer += $elem120->read($input); - $this->success []= $elem120; + $elem134 = null; + $elem134 = new \Airavata\Model\Job\JobModel(); + $xfer += $elem134->read($input); + $this->success []= $elem134; } $xfer += $input->readListEnd(); } else { @@ -28259,9 +29409,9 @@ class Airavata_getJobDetails_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter121) + foreach ($this->success as $iter135) { - $xfer += $iter121->write($output); + $xfer += $iter135->write($output); } } $output->writeListEnd(); @@ -30026,15 +31176,15 @@ class Airavata_getAllAppModules_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size122 = 0; - $_etype125 = 0; - $xfer += $input->readListBegin($_etype125, $_size122); - for ($_i126 = 0; $_i126 < $_size122; ++$_i126) + $_size136 = 0; + $_etype139 = 0; + $xfer += $input->readListBegin($_etype139, $_size136); + for ($_i140 = 0; $_i140 < $_size136; ++$_i140) { - $elem127 = null; - $elem127 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule(); - $xfer += $elem127->read($input); - $this->success []= $elem127; + $elem141 = null; + $elem141 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationModule(); + $xfer += $elem141->read($input); + $this->success []= $elem141; } $xfer += $input->readListEnd(); } else { @@ -30094,9 +31244,9 @@ class Airavata_getAllAppModules_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter128) + foreach ($this->success as $iter142) { - $xfer += $iter128->write($output); + $xfer += $iter142->write($output); } } $output->writeListEnd(); @@ -31783,15 +32933,15 @@ class Airavata_getAllApplicationDeployments_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size129 = 0; - $_etype132 = 0; - $xfer += $input->readListBegin($_etype132, $_size129); - for ($_i133 = 0; $_i133 < $_size129; ++$_i133) + $_size143 = 0; + $_etype146 = 0; + $xfer += $input->readListBegin($_etype146, $_size143); + for ($_i147 = 0; $_i147 < $_size143; ++$_i147) { - $elem134 = null; - $elem134 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription(); - $xfer += $elem134->read($input); - $this->success []= $elem134; + $elem148 = null; + $elem148 = new \Airavata\Model\AppCatalog\AppDeployment\ApplicationDeploymentDescription(); + $xfer += $elem148->read($input); + $this->success []= $elem148; } $xfer += $input->readListEnd(); } else { @@ -31851,9 +33001,9 @@ class Airavata_getAllApplicationDeployments_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter135) + foreach ($this->success as $iter149) { - $xfer += $iter135->write($output); + $xfer += $iter149->write($output); } } $output->writeListEnd(); @@ -32088,14 +33238,14 @@ class Airavata_getAppModuleDeployedResources_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size136 = 0; - $_etype139 = 0; - $xfer += $input->readListBegin($_etype139, $_size136); - for ($_i140 = 0; $_i140 < $_size136; ++$_i140) + $_size150 = 0; + $_etype153 = 0; + $xfer += $input->readListBegin($_etype153, $_size150); + for ($_i154 = 0; $_i154 < $_size150; ++$_i154) { - $elem141 = null; - $xfer += $input->readString($elem141); - $this->success []= $elem141; + $elem155 = null; + $xfer += $input->readString($elem155); + $this->success []= $elem155; } $xfer += $input->readListEnd(); } else { @@ -32155,9 +33305,9 @@ class Airavata_getAppModuleDeployedResources_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter142) + foreach ($this->success as $iter156) { - $xfer += $output->writeString($iter142); + $xfer += $output->writeString($iter156); } } $output->writeListEnd(); @@ -33893,17 +35043,17 @@ class Airavata_getAllApplicationInterfaceNames_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size143 = 0; - $_ktype144 = 0; - $_vtype145 = 0; - $xfer += $input->readMapBegin($_ktype144, $_vtype145, $_size143); - for ($_i147 = 0; $_i147 < $_size143; ++$_i147) + $_size157 = 0; + $_ktype158 = 0; + $_vtype159 = 0; + $xfer += $input->readMapBegin($_ktype158, $_vtype159, $_size157); + for ($_i161 = 0; $_i161 < $_size157; ++$_i161) { - $key148 = ''; - $val149 = ''; - $xfer += $input->readString($key148); - $xfer += $input->readString($val149); - $this->success[$key148] = $val149; + $key162 = ''; + $val163 = ''; + $xfer += $input->readString($key162); + $xfer += $input->readString($val163); + $this->success[$key162] = $val163; } $xfer += $input->readMapEnd(); } else { @@ -33963,10 +35113,10 @@ class Airavata_getAllApplicationInterfaceNames_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter150 => $viter151) + foreach ($this->success as $kiter164 => $viter165) { - $xfer += $output->writeString($kiter150); - $xfer += $output->writeString($viter151); + $xfer += $output->writeString($kiter164); + $xfer += $output->writeString($viter165); } } $output->writeMapEnd(); @@ -34202,15 +35352,15 @@ class Airavata_getAllApplicationInterfaces_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size152 = 0; - $_etype155 = 0; - $xfer += $input->readListBegin($_etype155, $_size152); - for ($_i156 = 0; $_i156 < $_size152; ++$_i156) + $_size166 = 0; + $_etype169 = 0; + $xfer += $input->readListBegin($_etype169, $_size166); + for ($_i170 = 0; $_i170 < $_size166; ++$_i170) { - $elem157 = null; - $elem157 = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription(); - $xfer += $elem157->read($input); - $this->success []= $elem157; + $elem171 = null; + $elem171 = new \Airavata\Model\AppCatalog\AppInterface\ApplicationInterfaceDescription(); + $xfer += $elem171->read($input); + $this->success []= $elem171; } $xfer += $input->readListEnd(); } else { @@ -34270,9 +35420,9 @@ class Airavata_getAllApplicationInterfaces_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter158) + foreach ($this->success as $iter172) { - $xfer += $iter158->write($output); + $xfer += $iter172->write($output); } } $output->writeListEnd(); @@ -34508,15 +35658,15 @@ class Airavata_getApplicationInputs_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size159 = 0; - $_etype162 = 0; - $xfer += $input->readListBegin($_etype162, $_size159); - for ($_i163 = 0; $_i163 < $_size159; ++$_i163) + $_size173 = 0; + $_etype176 = 0; + $xfer += $input->readListBegin($_etype176, $_size173); + for ($_i177 = 0; $_i177 < $_size173; ++$_i177) { - $elem164 = null; - $elem164 = new \Airavata\Model\Application\Io\InputDataObjectType(); - $xfer += $elem164->read($input); - $this->success []= $elem164; + $elem178 = null; + $elem178 = new \Airavata\Model\Application\Io\InputDataObjectType(); + $xfer += $elem178->read($input); + $this->success []= $elem178; } $xfer += $input->readListEnd(); } else { @@ -34576,9 +35726,9 @@ class Airavata_getApplicationInputs_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter165) + foreach ($this->success as $iter179) { - $xfer += $iter165->write($output); + $xfer += $iter179->write($output); } } $output->writeListEnd(); @@ -34814,15 +35964,15 @@ class Airavata_getApplicationOutputs_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size166 = 0; - $_etype169 = 0; - $xfer += $input->readListBegin($_etype169, $_size166); - for ($_i170 = 0; $_i170 < $_size166; ++$_i170) + $_size180 = 0; + $_etype183 = 0; + $xfer += $input->readListBegin($_etype183, $_size180); + for ($_i184 = 0; $_i184 < $_size180; ++$_i184) { - $elem171 = null; - $elem171 = new \Airavata\Model\Application\Io\OutputDataObjectType(); - $xfer += $elem171->read($input); - $this->success []= $elem171; + $elem185 = null; + $elem185 = new \Airavata\Model\Application\Io\OutputDataObjectType(); + $xfer += $elem185->read($input); + $this->success []= $elem185; } $xfer += $input->readListEnd(); } else { @@ -34882,9 +36032,9 @@ class Airavata_getApplicationOutputs_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter172) + foreach ($this->success as $iter186) { - $xfer += $iter172->write($output); + $xfer += $iter186->write($output); } } $output->writeListEnd(); @@ -35123,17 +36273,17 @@ class Airavata_getAvailableAppInterfaceComputeResources_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size173 = 0; - $_ktype174 = 0; - $_vtype175 = 0; - $xfer += $input->readMapBegin($_ktype174, $_vtype175, $_size173); - for ($_i177 = 0; $_i177 < $_size173; ++$_i177) + $_size187 = 0; + $_ktype188 = 0; + $_vtype189 = 0; + $xfer += $input->readMapBegin($_ktype188, $_vtype189, $_size187); + for ($_i191 = 0; $_i191 < $_size187; ++$_i191) { - $key178 = ''; - $val179 = ''; - $xfer += $input->readString($key178); - $xfer += $input->readString($val179); - $this->success[$key178] = $val179; + $key192 = ''; + $val193 = ''; + $xfer += $input->readString($key192); + $xfer += $input->readString($val193); + $this->success[$key192] = $val193; } $xfer += $input->readMapEnd(); } else { @@ -35193,10 +36343,10 @@ class Airavata_getAvailableAppInterfaceComputeResources_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter180 => $viter181) + foreach ($this->success as $kiter194 => $viter195) { - $xfer += $output->writeString($kiter180); - $xfer += $output->writeString($viter181); + $xfer += $output->writeString($kiter194); + $xfer += $output->writeString($viter195); } } $output->writeMapEnd(); @@ -35978,17 +37128,17 @@ class Airavata_getAllComputeResourceNames_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size182 = 0; - $_ktype183 = 0; - $_vtype184 = 0; - $xfer += $input->readMapBegin($_ktype183, $_vtype184, $_size182); - for ($_i186 = 0; $_i186 < $_size182; ++$_i186) + $_size196 = 0; + $_ktype197 = 0; + $_vtype198 = 0; + $xfer += $input->readMapBegin($_ktype197, $_vtype198, $_size196); + for ($_i200 = 0; $_i200 < $_size196; ++$_i200) { - $key187 = ''; - $val188 = ''; - $xfer += $input->readString($key187); - $xfer += $input->readString($val188); - $this->success[$key187] = $val188; + $key201 = ''; + $val202 = ''; + $xfer += $input->readString($key201); + $xfer += $input->readString($val202); + $this->success[$key201] = $val202; } $xfer += $input->readMapEnd(); } else { @@ -36048,10 +37198,10 @@ class Airavata_getAllComputeResourceNames_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter189 => $viter190) + foreach ($this->success as $kiter203 => $viter204) { - $xfer += $output->writeString($kiter189); - $xfer += $output->writeString($viter190); + $xfer += $output->writeString($kiter203); + $xfer += $output->writeString($viter204); } } $output->writeMapEnd(); @@ -37417,17 +38567,17 @@ class Airavata_getAllStorageResourceNames_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size191 = 0; - $_ktype192 = 0; - $_vtype193 = 0; - $xfer += $input->readMapBegin($_ktype192, $_vtype193, $_size191); - for ($_i195 = 0; $_i195 < $_size191; ++$_i195) + $_size205 = 0; + $_ktype206 = 0; + $_vtype207 = 0; + $xfer += $input->readMapBegin($_ktype206, $_vtype207, $_size205); + for ($_i209 = 0; $_i209 < $_size205; ++$_i209) { - $key196 = ''; - $val197 = ''; - $xfer += $input->readString($key196); - $xfer += $input->readString($val197); - $this->success[$key196] = $val197; + $key210 = ''; + $val211 = ''; + $xfer += $input->readString($key210); + $xfer += $input->readString($val211); + $this->success[$key210] = $val211; } $xfer += $input->readMapEnd(); } else { @@ -37487,10 +38637,10 @@ class Airavata_getAllStorageResourceNames_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter198 => $viter199) + foreach ($this->success as $kiter212 => $viter213) { - $xfer += $output->writeString($kiter198); - $xfer += $output->writeString($viter199); + $xfer += $output->writeString($kiter212); + $xfer += $output->writeString($viter213); } } $output->writeMapEnd(); @@ -46549,17 +47699,17 @@ class Airavata_changeJobSubmissionPriorities_args { case 2: if ($ftype == TType::MAP) { $this->jobSubmissionPriorityMap = array(); - $_size200 = 0; - $_ktype201 = 0; - $_vtype202 = 0; - $xfer += $input->readMapBegin($_ktype201, $_vtype202, $_size200); - for ($_i204 = 0; $_i204 < $_size200; ++$_i204) + $_size214 = 0; + $_ktype215 = 0; + $_vtype216 = 0; + $xfer += $input->readMapBegin($_ktype215, $_vtype216, $_size214); + for ($_i218 = 0; $_i218 < $_size214; ++$_i218) { - $key205 = ''; - $val206 = 0; - $xfer += $input->readString($key205); - $xfer += $input->readI32($val206); - $this->jobSubmissionPriorityMap[$key205] = $val206; + $key219 = ''; + $val220 = 0; + $xfer += $input->readString($key219); + $xfer += $input->readI32($val220); + $this->jobSubmissionPriorityMap[$key219] = $val220; } $xfer += $input->readMapEnd(); } else { @@ -46595,10 +47745,10 @@ class Airavata_changeJobSubmissionPriorities_args { { $output->writeMapBegin(TType::STRING, TType::I32, count($this->jobSubmissionPriorityMap)); { - foreach ($this->jobSubmissionPriorityMap as $kiter207 => $viter208) + foreach ($this->jobSubmissionPriorityMap as $kiter221 => $viter222) { - $xfer += $output->writeString($kiter207); - $xfer += $output->writeI32($viter208); + $xfer += $output->writeString($kiter221); + $xfer += $output->writeI32($viter222); } } $output->writeMapEnd(); @@ -46861,17 +48011,17 @@ class Airavata_changeDataMovementPriorities_args { case 2: if ($ftype == TType::MAP) { $this->dataMovementPriorityMap = array(); - $_size209 = 0; - $_ktype210 = 0; - $_vtype211 = 0; - $xfer += $input->readMapBegin($_ktype210, $_vtype211, $_size209); - for ($_i213 = 0; $_i213 < $_size209; ++$_i213) + $_size223 = 0; + $_ktype224 = 0; + $_vtype225 = 0; + $xfer += $input->readMapBegin($_ktype224, $_vtype225, $_size223); + for ($_i227 = 0; $_i227 < $_size223; ++$_i227) { - $key214 = ''; - $val215 = 0; - $xfer += $input->readString($key214); - $xfer += $input->readI32($val215); - $this->dataMovementPriorityMap[$key214] = $val215; + $key228 = ''; + $val229 = 0; + $xfer += $input->readString($key228); + $xfer += $input->readI32($val229); + $this->dataMovementPriorityMap[$key228] = $val229; } $xfer += $input->readMapEnd(); } else { @@ -46907,10 +48057,10 @@ class Airavata_changeDataMovementPriorities_args { { $output->writeMapBegin(TType::STRING, TType::I32, count($this->dataMovementPriorityMap)); { - foreach ($this->dataMovementPriorityMap as $kiter216 => $viter217) + foreach ($this->dataMovementPriorityMap as $kiter230 => $viter231) { - $xfer += $output->writeString($kiter216); - $xfer += $output->writeI32($viter217); + $xfer += $output->writeString($kiter230); + $xfer += $output->writeI32($viter231); } } $output->writeMapEnd(); @@ -51797,15 +52947,15 @@ class Airavata_getAllGatewayComputeResourcePreferences_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size218 = 0; - $_etype221 = 0; - $xfer += $input->readListBegin($_etype221, $_size218); - for ($_i222 = 0; $_i222 < $_size218; ++$_i222) + $_size232 = 0; + $_etype235 = 0; + $xfer += $input->readListBegin($_etype235, $_size232); + for ($_i236 = 0; $_i236 < $_size232; ++$_i236) { - $elem223 = null; - $elem223 = new \Airavata\Model\AppCatalog\GatewayProfile\ComputeResourcePreference(); - $xfer += $elem223->read($input); - $this->success []= $elem223; + $elem237 = null; + $elem237 = new \Airavata\Model\AppCatalog\GatewayProfile\ComputeResourcePreference(); + $xfer += $elem237->read($input); + $this->success []= $elem237; } $xfer += $input->readListEnd(); } else { @@ -51865,9 +53015,9 @@ class Airavata_getAllGatewayComputeResourcePreferences_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter224) + foreach ($this->success as $iter238) { - $xfer += $iter224->write($output); + $xfer += $iter238->write($output); } } $output->writeListEnd(); @@ -52103,15 +53253,15 @@ class Airavata_getAllGatewayStoragePreferences_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size225 = 0; - $_etype228 = 0; - $xfer += $input->readListBegin($_etype228, $_size225); - for ($_i229 = 0; $_i229 < $_size225; ++$_i229) + $_size239 = 0; + $_etype242 = 0; + $xfer += $input->readListBegin($_etype242, $_size239); + for ($_i243 = 0; $_i243 < $_size239; ++$_i243) { - $elem230 = null; - $elem230 = new \Airavata\Model\AppCatalog\
<TRUNCATED>
