Example #1
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'status', 'type' => TType::STRUCT, 'class' => '\\TStatus'), 2 => array('var' => 'operationHandle', 'type' => TType::STRUCT, 'class' => '\\TOperationHandle'));
     }
     if (is_array($vals)) {
         if (isset($vals['status'])) {
             $this->status = $vals['status'];
         }
         if (isset($vals['operationHandle'])) {
             $this->operationHandle = $vals['operationHandle'];
         }
     }
 }