You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2017/02/15 20:57:07 UTC

airavata-php-gateway git commit: updating thrift generated files

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 8dc708f42 -> 9ae9cf86f


updating thrift generated files


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/9ae9cf86
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/9ae9cf86
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/9ae9cf86

Branch: refs/heads/develop
Commit: 9ae9cf86fd01e9f8eef2ca39de65ad06f5fc71dd
Parents: 8dc708f
Author: scnakandala <su...@gmail.com>
Authored: Wed Feb 15 15:57:04 2017 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Wed Feb 15 15:57:04 2017 -0500

----------------------------------------------------------------------
 .../Airavata/Model/Application/Io/Types.php     | 23 ++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/9ae9cf86/app/libraries/Airavata/Model/Application/Io/Types.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/Model/Application/Io/Types.php b/app/libraries/Airavata/Model/Application/Io/Types.php
index fae8964..fd97025 100644
--- a/app/libraries/Airavata/Model/Application/Io/Types.php
+++ b/app/libraries/Airavata/Model/Application/Io/Types.php
@@ -117,6 +117,10 @@ class InputDataObjectType {
    * @var string
    */
   public $storageResourceId = null;
+  /**
+   * @var bool
+   */
+  public $isReadOnly = null;
 
   public function __construct($vals=null) {
     if (!isset(self::$_TSPEC)) {
@@ -169,6 +173,10 @@ class InputDataObjectType {
           'var' => 'storageResourceId',
           'type' => TType::STRING,
           ),
+          13 => array(
+              'var' => 'isReadOnly',
+              'type' => TType::BOOL,
+          ),
         );
     }
     if (is_array($vals)) {
@@ -208,6 +216,9 @@ class InputDataObjectType {
       if (isset($vals['storageResourceId'])) {
         $this->storageResourceId = $vals['storageResourceId'];
       }
+      if (isset($vals['isReadOnly'])) {
+        $this->isReadOnly = $vals['isReadOnly'];
+      }
     }
   }
 
@@ -314,6 +325,13 @@ class InputDataObjectType {
             $xfer += $input->skip($ftype);
           }
           break;
+        case 13:
+          if ($ftype == TType::BOOL) {
+            $xfer += $input->readBool($this->isReadOnly);
+          } else {
+            $xfer += $input->skip($ftype);
+          }
+          break;
         default:
           $xfer += $input->skip($ftype);
           break;
@@ -387,6 +405,11 @@ class InputDataObjectType {
       $xfer += $output->writeString($this->storageResourceId);
       $xfer += $output->writeFieldEnd();
     }
+    if ($this->isReadOnly !== null) {
+      $xfer += $output->writeFieldBegin('isReadOnly', TType::BOOL, 13);
+      $xfer += $output->writeBool($this->isReadOnly);
+      $xfer += $output->writeFieldEnd();
+    }
     $xfer += $output->writeFieldStop();
     $xfer += $output->writeStructEnd();
     return $xfer;