airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [14/51] [partial] airavata-php-gateway git commit: removing files from wrong merge
Date Tue, 13 Dec 2016 22:09:27 GMT
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspace_model_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspace_model_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspace_model_types.cpp
deleted file mode 100644
index edd4822..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspace_model_types.cpp
+++ /dev/null
@@ -1,1397 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Autogenerated by Thrift Compiler (0.9.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-#include "workspace_model_types.h"
-
-#include <algorithm>
-#include <ostream>
-
-#include <thrift/TToString.h>
-
-namespace apache { namespace airavata { namespace model { namespace workspace {
-
-int _kGatewayApprovalStatusValues[] = {
-  GatewayApprovalStatus::REQUESTED,
-  GatewayApprovalStatus::APPROVED,
-  GatewayApprovalStatus::ACTIVE,
-  GatewayApprovalStatus::DEACTIVATED,
-  GatewayApprovalStatus::CANCELLED,
-  GatewayApprovalStatus::DENIED,
-  GatewayApprovalStatus::CREATED
-};
-const char* _kGatewayApprovalStatusNames[] = {
-  "REQUESTED",
-  "APPROVED",
-  "ACTIVE",
-  "DEACTIVATED",
-  "CANCELLED",
-  "DENIED",
-  "CREATED"
-};
-const std::map<int, const char*> _GatewayApprovalStatus_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(7, _kGatewayApprovalStatusValues, _kGatewayApprovalStatusNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
-
-int _kNotificationPriorityValues[] = {
-  NotificationPriority::LOW,
-  NotificationPriority::NORMAL,
-  NotificationPriority::HIGH
-};
-const char* _kNotificationPriorityNames[] = {
-  "LOW",
-  "NORMAL",
-  "HIGH"
-};
-const std::map<int, const char*> _NotificationPriority_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(3, _kNotificationPriorityValues, _kNotificationPriorityNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
-
-
-Group::~Group() throw() {
-}
-
-
-void Group::__set_groupName(const std::string& val) {
-  this->groupName = val;
-}
-
-void Group::__set_description(const std::string& val) {
-  this->description = val;
-__isset.description = true;
-}
-
-uint32_t Group::read(::apache::thrift::protocol::TProtocol* iprot) {
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
-  uint32_t xfer = 0;
-  std::string fname;
-  ::apache::thrift::protocol::TType ftype;
-  int16_t fid;
-
-  xfer += iprot->readStructBegin(fname);
-
-  using ::apache::thrift::protocol::TProtocolException;
-
-  bool isset_groupName = false;
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->groupName);
-          isset_groupName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->description);
-          this->__isset.description = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_groupName)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t Group::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("Group");
-
-  xfer += oprot->writeFieldBegin("groupName", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->groupName);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.description) {
-    xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 2);
-    xfer += oprot->writeString(this->description);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(Group &a, Group &b) {
-  using ::std::swap;
-  swap(a.groupName, b.groupName);
-  swap(a.description, b.description);
-  swap(a.__isset, b.__isset);
-}
-
-Group::Group(const Group& other0) {
-  groupName = other0.groupName;
-  description = other0.description;
-  __isset = other0.__isset;
-}
-Group& Group::operator=(const Group& other1) {
-  groupName = other1.groupName;
-  description = other1.description;
-  __isset = other1.__isset;
-  return *this;
-}
-void Group::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "Group(";
-  out << "groupName=" << to_string(groupName);
-  out << ", " << "description="; (__isset.description ? (out << to_string(description)) : (out << "<null>"));
-  out << ")";
-}
-
-
-Project::~Project() throw() {
-}
-
-
-void Project::__set_projectID(const std::string& val) {
-  this->projectID = val;
-}
-
-void Project::__set_owner(const std::string& val) {
-  this->owner = val;
-}
-
-void Project::__set_gatewayId(const std::string& val) {
-  this->gatewayId = val;
-}
-
-void Project::__set_name(const std::string& val) {
-  this->name = val;
-}
-
-void Project::__set_description(const std::string& val) {
-  this->description = val;
-__isset.description = true;
-}
-
-void Project::__set_creationTime(const int64_t val) {
-  this->creationTime = val;
-__isset.creationTime = true;
-}
-
-void Project::__set_sharedUsers(const std::vector<std::string> & val) {
-  this->sharedUsers = val;
-__isset.sharedUsers = true;
-}
-
-void Project::__set_sharedGroups(const std::vector<std::string> & val) {
-  this->sharedGroups = val;
-__isset.sharedGroups = true;
-}
-
-uint32_t Project::read(::apache::thrift::protocol::TProtocol* iprot) {
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
-  uint32_t xfer = 0;
-  std::string fname;
-  ::apache::thrift::protocol::TType ftype;
-  int16_t fid;
-
-  xfer += iprot->readStructBegin(fname);
-
-  using ::apache::thrift::protocol::TProtocolException;
-
-  bool isset_projectID = false;
-  bool isset_owner = false;
-  bool isset_gatewayId = false;
-  bool isset_name = false;
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->projectID);
-          isset_projectID = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->owner);
-          isset_owner = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayId);
-          isset_gatewayId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 4:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->name);
-          isset_name = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 5:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->description);
-          this->__isset.description = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 6:
-        if (ftype == ::apache::thrift::protocol::T_I64) {
-          xfer += iprot->readI64(this->creationTime);
-          this->__isset.creationTime = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 7:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->sharedUsers.clear();
-            uint32_t _size2;
-            ::apache::thrift::protocol::TType _etype5;
-            xfer += iprot->readListBegin(_etype5, _size2);
-            this->sharedUsers.resize(_size2);
-            uint32_t _i6;
-            for (_i6 = 0; _i6 < _size2; ++_i6)
-            {
-              xfer += iprot->readString(this->sharedUsers[_i6]);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.sharedUsers = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 8:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->sharedGroups.clear();
-            uint32_t _size7;
-            ::apache::thrift::protocol::TType _etype10;
-            xfer += iprot->readListBegin(_etype10, _size7);
-            this->sharedGroups.resize(_size7);
-            uint32_t _i11;
-            for (_i11 = 0; _i11 < _size7; ++_i11)
-            {
-              xfer += iprot->readString(this->sharedGroups[_i11]);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.sharedGroups = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_projectID)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_owner)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_gatewayId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_name)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t Project::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("Project");
-
-  xfer += oprot->writeFieldBegin("projectID", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->projectID);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("owner", ::apache::thrift::protocol::T_STRING, 2);
-  xfer += oprot->writeString(this->owner);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 3);
-  xfer += oprot->writeString(this->gatewayId);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 4);
-  xfer += oprot->writeString(this->name);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.description) {
-    xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 5);
-    xfer += oprot->writeString(this->description);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.creationTime) {
-    xfer += oprot->writeFieldBegin("creationTime", ::apache::thrift::protocol::T_I64, 6);
-    xfer += oprot->writeI64(this->creationTime);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.sharedUsers) {
-    xfer += oprot->writeFieldBegin("sharedUsers", ::apache::thrift::protocol::T_LIST, 7);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->sharedUsers.size()));
-      std::vector<std::string> ::const_iterator _iter12;
-      for (_iter12 = this->sharedUsers.begin(); _iter12 != this->sharedUsers.end(); ++_iter12)
-      {
-        xfer += oprot->writeString((*_iter12));
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.sharedGroups) {
-    xfer += oprot->writeFieldBegin("sharedGroups", ::apache::thrift::protocol::T_LIST, 8);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->sharedGroups.size()));
-      std::vector<std::string> ::const_iterator _iter13;
-      for (_iter13 = this->sharedGroups.begin(); _iter13 != this->sharedGroups.end(); ++_iter13)
-      {
-        xfer += oprot->writeString((*_iter13));
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(Project &a, Project &b) {
-  using ::std::swap;
-  swap(a.projectID, b.projectID);
-  swap(a.owner, b.owner);
-  swap(a.gatewayId, b.gatewayId);
-  swap(a.name, b.name);
-  swap(a.description, b.description);
-  swap(a.creationTime, b.creationTime);
-  swap(a.sharedUsers, b.sharedUsers);
-  swap(a.sharedGroups, b.sharedGroups);
-  swap(a.__isset, b.__isset);
-}
-
-Project::Project(const Project& other14) {
-  projectID = other14.projectID;
-  owner = other14.owner;
-  gatewayId = other14.gatewayId;
-  name = other14.name;
-  description = other14.description;
-  creationTime = other14.creationTime;
-  sharedUsers = other14.sharedUsers;
-  sharedGroups = other14.sharedGroups;
-  __isset = other14.__isset;
-}
-Project& Project::operator=(const Project& other15) {
-  projectID = other15.projectID;
-  owner = other15.owner;
-  gatewayId = other15.gatewayId;
-  name = other15.name;
-  description = other15.description;
-  creationTime = other15.creationTime;
-  sharedUsers = other15.sharedUsers;
-  sharedGroups = other15.sharedGroups;
-  __isset = other15.__isset;
-  return *this;
-}
-void Project::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "Project(";
-  out << "projectID=" << to_string(projectID);
-  out << ", " << "owner=" << to_string(owner);
-  out << ", " << "gatewayId=" << to_string(gatewayId);
-  out << ", " << "name=" << to_string(name);
-  out << ", " << "description="; (__isset.description ? (out << to_string(description)) : (out << "<null>"));
-  out << ", " << "creationTime="; (__isset.creationTime ? (out << to_string(creationTime)) : (out << "<null>"));
-  out << ", " << "sharedUsers="; (__isset.sharedUsers ? (out << to_string(sharedUsers)) : (out << "<null>"));
-  out << ", " << "sharedGroups="; (__isset.sharedGroups ? (out << to_string(sharedGroups)) : (out << "<null>"));
-  out << ")";
-}
-
-
-User::~User() throw() {
-}
-
-
-void User::__set_airavataInternalUserId(const std::string& val) {
-  this->airavataInternalUserId = val;
-}
-
-void User::__set_userName(const std::string& val) {
-  this->userName = val;
-__isset.userName = true;
-}
-
-void User::__set_gatewayId(const std::string& val) {
-  this->gatewayId = val;
-}
-
-void User::__set_firstName(const std::string& val) {
-  this->firstName = val;
-__isset.firstName = true;
-}
-
-void User::__set_lastName(const std::string& val) {
-  this->lastName = val;
-__isset.lastName = true;
-}
-
-void User::__set_email(const std::string& val) {
-  this->email = val;
-__isset.email = true;
-}
-
-uint32_t User::read(::apache::thrift::protocol::TProtocol* iprot) {
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
-  uint32_t xfer = 0;
-  std::string fname;
-  ::apache::thrift::protocol::TType ftype;
-  int16_t fid;
-
-  xfer += iprot->readStructBegin(fname);
-
-  using ::apache::thrift::protocol::TProtocolException;
-
-  bool isset_airavataInternalUserId = false;
-  bool isset_gatewayId = false;
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->airavataInternalUserId);
-          isset_airavataInternalUserId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->userName);
-          this->__isset.userName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayId);
-          isset_gatewayId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 4:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->firstName);
-          this->__isset.firstName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 5:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->lastName);
-          this->__isset.lastName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 6:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->email);
-          this->__isset.email = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_airavataInternalUserId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_gatewayId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t User::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("User");
-
-  xfer += oprot->writeFieldBegin("airavataInternalUserId", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->airavataInternalUserId);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.userName) {
-    xfer += oprot->writeFieldBegin("userName", ::apache::thrift::protocol::T_STRING, 2);
-    xfer += oprot->writeString(this->userName);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 3);
-  xfer += oprot->writeString(this->gatewayId);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.firstName) {
-    xfer += oprot->writeFieldBegin("firstName", ::apache::thrift::protocol::T_STRING, 4);
-    xfer += oprot->writeString(this->firstName);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.lastName) {
-    xfer += oprot->writeFieldBegin("lastName", ::apache::thrift::protocol::T_STRING, 5);
-    xfer += oprot->writeString(this->lastName);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.email) {
-    xfer += oprot->writeFieldBegin("email", ::apache::thrift::protocol::T_STRING, 6);
-    xfer += oprot->writeString(this->email);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(User &a, User &b) {
-  using ::std::swap;
-  swap(a.airavataInternalUserId, b.airavataInternalUserId);
-  swap(a.userName, b.userName);
-  swap(a.gatewayId, b.gatewayId);
-  swap(a.firstName, b.firstName);
-  swap(a.lastName, b.lastName);
-  swap(a.email, b.email);
-  swap(a.__isset, b.__isset);
-}
-
-User::User(const User& other16) {
-  airavataInternalUserId = other16.airavataInternalUserId;
-  userName = other16.userName;
-  gatewayId = other16.gatewayId;
-  firstName = other16.firstName;
-  lastName = other16.lastName;
-  email = other16.email;
-  __isset = other16.__isset;
-}
-User& User::operator=(const User& other17) {
-  airavataInternalUserId = other17.airavataInternalUserId;
-  userName = other17.userName;
-  gatewayId = other17.gatewayId;
-  firstName = other17.firstName;
-  lastName = other17.lastName;
-  email = other17.email;
-  __isset = other17.__isset;
-  return *this;
-}
-void User::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "User(";
-  out << "airavataInternalUserId=" << to_string(airavataInternalUserId);
-  out << ", " << "userName="; (__isset.userName ? (out << to_string(userName)) : (out << "<null>"));
-  out << ", " << "gatewayId=" << to_string(gatewayId);
-  out << ", " << "firstName="; (__isset.firstName ? (out << to_string(firstName)) : (out << "<null>"));
-  out << ", " << "lastName="; (__isset.lastName ? (out << to_string(lastName)) : (out << "<null>"));
-  out << ", " << "email="; (__isset.email ? (out << to_string(email)) : (out << "<null>"));
-  out << ")";
-}
-
-
-Gateway::~Gateway() throw() {
-}
-
-
-void Gateway::__set_gatewayId(const std::string& val) {
-  this->gatewayId = val;
-}
-
-void Gateway::__set_gatewayApprovalStatus(const GatewayApprovalStatus::type val) {
-  this->gatewayApprovalStatus = val;
-}
-
-void Gateway::__set_gatewayName(const std::string& val) {
-  this->gatewayName = val;
-__isset.gatewayName = true;
-}
-
-void Gateway::__set_domain(const std::string& val) {
-  this->domain = val;
-__isset.domain = true;
-}
-
-void Gateway::__set_emailAddress(const std::string& val) {
-  this->emailAddress = val;
-__isset.emailAddress = true;
-}
-
-void Gateway::__set_gatewayAcronym(const std::string& val) {
-  this->gatewayAcronym = val;
-__isset.gatewayAcronym = true;
-}
-
-void Gateway::__set_gatewayURL(const std::string& val) {
-  this->gatewayURL = val;
-__isset.gatewayURL = true;
-}
-
-void Gateway::__set_gatewayPublicAbstract(const std::string& val) {
-  this->gatewayPublicAbstract = val;
-__isset.gatewayPublicAbstract = true;
-}
-
-void Gateway::__set_reviewProposalDescription(const std::string& val) {
-  this->reviewProposalDescription = val;
-__isset.reviewProposalDescription = true;
-}
-
-void Gateway::__set_gatewayAdminFirstName(const std::string& val) {
-  this->gatewayAdminFirstName = val;
-__isset.gatewayAdminFirstName = true;
-}
-
-void Gateway::__set_gatewayAdminLastName(const std::string& val) {
-  this->gatewayAdminLastName = val;
-__isset.gatewayAdminLastName = true;
-}
-
-void Gateway::__set_gatewayAdminEmail(const std::string& val) {
-  this->gatewayAdminEmail = val;
-__isset.gatewayAdminEmail = true;
-}
-
-void Gateway::__set_identityServerUserName(const std::string& val) {
-  this->identityServerUserName = val;
-__isset.identityServerUserName = true;
-}
-
-void Gateway::__set_identityServerPasswordToken(const std::string& val) {
-  this->identityServerPasswordToken = val;
-__isset.identityServerPasswordToken = true;
-}
-
-void Gateway::__set_declinedReason(const std::string& val) {
-  this->declinedReason = val;
-__isset.declinedReason = true;
-}
-
-void Gateway::__set_oauthClientId(const std::string& val) {
-  this->oauthClientId = val;
-__isset.oauthClientId = true;
-}
-
-void Gateway::__set_oauthClientSecret(const std::string& val) {
-  this->oauthClientSecret = val;
-__isset.oauthClientSecret = true;
-}
-
-void Gateway::__set_requestCreationTime(const int64_t val) {
-  this->requestCreationTime = val;
-__isset.requestCreationTime = true;
-}
-
-void Gateway::__set_requesterUsername(const std::string& val) {
-  this->requesterUsername = val;
-__isset.requesterUsername = true;
-}
-
-uint32_t Gateway::read(::apache::thrift::protocol::TProtocol* iprot) {
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
-  uint32_t xfer = 0;
-  std::string fname;
-  ::apache::thrift::protocol::TType ftype;
-  int16_t fid;
-
-  xfer += iprot->readStructBegin(fname);
-
-  using ::apache::thrift::protocol::TProtocolException;
-
-  bool isset_gatewayId = false;
-  bool isset_gatewayApprovalStatus = false;
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayId);
-          isset_gatewayId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_I32) {
-          int32_t ecast18;
-          xfer += iprot->readI32(ecast18);
-          this->gatewayApprovalStatus = (GatewayApprovalStatus::type)ecast18;
-          isset_gatewayApprovalStatus = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayName);
-          this->__isset.gatewayName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 4:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->domain);
-          this->__isset.domain = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 5:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->emailAddress);
-          this->__isset.emailAddress = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 6:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayAcronym);
-          this->__isset.gatewayAcronym = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 7:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayURL);
-          this->__isset.gatewayURL = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 8:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayPublicAbstract);
-          this->__isset.gatewayPublicAbstract = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 9:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->reviewProposalDescription);
-          this->__isset.reviewProposalDescription = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 10:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayAdminFirstName);
-          this->__isset.gatewayAdminFirstName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 11:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayAdminLastName);
-          this->__isset.gatewayAdminLastName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 12:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayAdminEmail);
-          this->__isset.gatewayAdminEmail = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 13:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->identityServerUserName);
-          this->__isset.identityServerUserName = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 14:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->identityServerPasswordToken);
-          this->__isset.identityServerPasswordToken = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 15:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->declinedReason);
-          this->__isset.declinedReason = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 16:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->oauthClientId);
-          this->__isset.oauthClientId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 17:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->oauthClientSecret);
-          this->__isset.oauthClientSecret = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 18:
-        if (ftype == ::apache::thrift::protocol::T_I64) {
-          xfer += iprot->readI64(this->requestCreationTime);
-          this->__isset.requestCreationTime = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 19:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->requesterUsername);
-          this->__isset.requesterUsername = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_gatewayId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_gatewayApprovalStatus)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t Gateway::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("Gateway");
-
-  xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->gatewayId);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("gatewayApprovalStatus", ::apache::thrift::protocol::T_I32, 2);
-  xfer += oprot->writeI32((int32_t)this->gatewayApprovalStatus);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.gatewayName) {
-    xfer += oprot->writeFieldBegin("gatewayName", ::apache::thrift::protocol::T_STRING, 3);
-    xfer += oprot->writeString(this->gatewayName);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.domain) {
-    xfer += oprot->writeFieldBegin("domain", ::apache::thrift::protocol::T_STRING, 4);
-    xfer += oprot->writeString(this->domain);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.emailAddress) {
-    xfer += oprot->writeFieldBegin("emailAddress", ::apache::thrift::protocol::T_STRING, 5);
-    xfer += oprot->writeString(this->emailAddress);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.gatewayAcronym) {
-    xfer += oprot->writeFieldBegin("gatewayAcronym", ::apache::thrift::protocol::T_STRING, 6);
-    xfer += oprot->writeString(this->gatewayAcronym);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.gatewayURL) {
-    xfer += oprot->writeFieldBegin("gatewayURL", ::apache::thrift::protocol::T_STRING, 7);
-    xfer += oprot->writeString(this->gatewayURL);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.gatewayPublicAbstract) {
-    xfer += oprot->writeFieldBegin("gatewayPublicAbstract", ::apache::thrift::protocol::T_STRING, 8);
-    xfer += oprot->writeString(this->gatewayPublicAbstract);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.reviewProposalDescription) {
-    xfer += oprot->writeFieldBegin("reviewProposalDescription", ::apache::thrift::protocol::T_STRING, 9);
-    xfer += oprot->writeString(this->reviewProposalDescription);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.gatewayAdminFirstName) {
-    xfer += oprot->writeFieldBegin("gatewayAdminFirstName", ::apache::thrift::protocol::T_STRING, 10);
-    xfer += oprot->writeString(this->gatewayAdminFirstName);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.gatewayAdminLastName) {
-    xfer += oprot->writeFieldBegin("gatewayAdminLastName", ::apache::thrift::protocol::T_STRING, 11);
-    xfer += oprot->writeString(this->gatewayAdminLastName);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.gatewayAdminEmail) {
-    xfer += oprot->writeFieldBegin("gatewayAdminEmail", ::apache::thrift::protocol::T_STRING, 12);
-    xfer += oprot->writeString(this->gatewayAdminEmail);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.identityServerUserName) {
-    xfer += oprot->writeFieldBegin("identityServerUserName", ::apache::thrift::protocol::T_STRING, 13);
-    xfer += oprot->writeString(this->identityServerUserName);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.identityServerPasswordToken) {
-    xfer += oprot->writeFieldBegin("identityServerPasswordToken", ::apache::thrift::protocol::T_STRING, 14);
-    xfer += oprot->writeString(this->identityServerPasswordToken);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.declinedReason) {
-    xfer += oprot->writeFieldBegin("declinedReason", ::apache::thrift::protocol::T_STRING, 15);
-    xfer += oprot->writeString(this->declinedReason);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.oauthClientId) {
-    xfer += oprot->writeFieldBegin("oauthClientId", ::apache::thrift::protocol::T_STRING, 16);
-    xfer += oprot->writeString(this->oauthClientId);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.oauthClientSecret) {
-    xfer += oprot->writeFieldBegin("oauthClientSecret", ::apache::thrift::protocol::T_STRING, 17);
-    xfer += oprot->writeString(this->oauthClientSecret);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.requestCreationTime) {
-    xfer += oprot->writeFieldBegin("requestCreationTime", ::apache::thrift::protocol::T_I64, 18);
-    xfer += oprot->writeI64(this->requestCreationTime);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.requesterUsername) {
-    xfer += oprot->writeFieldBegin("requesterUsername", ::apache::thrift::protocol::T_STRING, 19);
-    xfer += oprot->writeString(this->requesterUsername);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(Gateway &a, Gateway &b) {
-  using ::std::swap;
-  swap(a.gatewayId, b.gatewayId);
-  swap(a.gatewayApprovalStatus, b.gatewayApprovalStatus);
-  swap(a.gatewayName, b.gatewayName);
-  swap(a.domain, b.domain);
-  swap(a.emailAddress, b.emailAddress);
-  swap(a.gatewayAcronym, b.gatewayAcronym);
-  swap(a.gatewayURL, b.gatewayURL);
-  swap(a.gatewayPublicAbstract, b.gatewayPublicAbstract);
-  swap(a.reviewProposalDescription, b.reviewProposalDescription);
-  swap(a.gatewayAdminFirstName, b.gatewayAdminFirstName);
-  swap(a.gatewayAdminLastName, b.gatewayAdminLastName);
-  swap(a.gatewayAdminEmail, b.gatewayAdminEmail);
-  swap(a.identityServerUserName, b.identityServerUserName);
-  swap(a.identityServerPasswordToken, b.identityServerPasswordToken);
-  swap(a.declinedReason, b.declinedReason);
-  swap(a.oauthClientId, b.oauthClientId);
-  swap(a.oauthClientSecret, b.oauthClientSecret);
-  swap(a.requestCreationTime, b.requestCreationTime);
-  swap(a.requesterUsername, b.requesterUsername);
-  swap(a.__isset, b.__isset);
-}
-
-Gateway::Gateway(const Gateway& other19) {
-  gatewayId = other19.gatewayId;
-  gatewayApprovalStatus = other19.gatewayApprovalStatus;
-  gatewayName = other19.gatewayName;
-  domain = other19.domain;
-  emailAddress = other19.emailAddress;
-  gatewayAcronym = other19.gatewayAcronym;
-  gatewayURL = other19.gatewayURL;
-  gatewayPublicAbstract = other19.gatewayPublicAbstract;
-  reviewProposalDescription = other19.reviewProposalDescription;
-  gatewayAdminFirstName = other19.gatewayAdminFirstName;
-  gatewayAdminLastName = other19.gatewayAdminLastName;
-  gatewayAdminEmail = other19.gatewayAdminEmail;
-  identityServerUserName = other19.identityServerUserName;
-  identityServerPasswordToken = other19.identityServerPasswordToken;
-  declinedReason = other19.declinedReason;
-  oauthClientId = other19.oauthClientId;
-  oauthClientSecret = other19.oauthClientSecret;
-  requestCreationTime = other19.requestCreationTime;
-  requesterUsername = other19.requesterUsername;
-  __isset = other19.__isset;
-}
-Gateway& Gateway::operator=(const Gateway& other20) {
-  gatewayId = other20.gatewayId;
-  gatewayApprovalStatus = other20.gatewayApprovalStatus;
-  gatewayName = other20.gatewayName;
-  domain = other20.domain;
-  emailAddress = other20.emailAddress;
-  gatewayAcronym = other20.gatewayAcronym;
-  gatewayURL = other20.gatewayURL;
-  gatewayPublicAbstract = other20.gatewayPublicAbstract;
-  reviewProposalDescription = other20.reviewProposalDescription;
-  gatewayAdminFirstName = other20.gatewayAdminFirstName;
-  gatewayAdminLastName = other20.gatewayAdminLastName;
-  gatewayAdminEmail = other20.gatewayAdminEmail;
-  identityServerUserName = other20.identityServerUserName;
-  identityServerPasswordToken = other20.identityServerPasswordToken;
-  declinedReason = other20.declinedReason;
-  oauthClientId = other20.oauthClientId;
-  oauthClientSecret = other20.oauthClientSecret;
-  requestCreationTime = other20.requestCreationTime;
-  requesterUsername = other20.requesterUsername;
-  __isset = other20.__isset;
-  return *this;
-}
-void Gateway::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "Gateway(";
-  out << "gatewayId=" << to_string(gatewayId);
-  out << ", " << "gatewayApprovalStatus=" << to_string(gatewayApprovalStatus);
-  out << ", " << "gatewayName="; (__isset.gatewayName ? (out << to_string(gatewayName)) : (out << "<null>"));
-  out << ", " << "domain="; (__isset.domain ? (out << to_string(domain)) : (out << "<null>"));
-  out << ", " << "emailAddress="; (__isset.emailAddress ? (out << to_string(emailAddress)) : (out << "<null>"));
-  out << ", " << "gatewayAcronym="; (__isset.gatewayAcronym ? (out << to_string(gatewayAcronym)) : (out << "<null>"));
-  out << ", " << "gatewayURL="; (__isset.gatewayURL ? (out << to_string(gatewayURL)) : (out << "<null>"));
-  out << ", " << "gatewayPublicAbstract="; (__isset.gatewayPublicAbstract ? (out << to_string(gatewayPublicAbstract)) : (out << "<null>"));
-  out << ", " << "reviewProposalDescription="; (__isset.reviewProposalDescription ? (out << to_string(reviewProposalDescription)) : (out << "<null>"));
-  out << ", " << "gatewayAdminFirstName="; (__isset.gatewayAdminFirstName ? (out << to_string(gatewayAdminFirstName)) : (out << "<null>"));
-  out << ", " << "gatewayAdminLastName="; (__isset.gatewayAdminLastName ? (out << to_string(gatewayAdminLastName)) : (out << "<null>"));
-  out << ", " << "gatewayAdminEmail="; (__isset.gatewayAdminEmail ? (out << to_string(gatewayAdminEmail)) : (out << "<null>"));
-  out << ", " << "identityServerUserName="; (__isset.identityServerUserName ? (out << to_string(identityServerUserName)) : (out << "<null>"));
-  out << ", " << "identityServerPasswordToken="; (__isset.identityServerPasswordToken ? (out << to_string(identityServerPasswordToken)) : (out << "<null>"));
-  out << ", " << "declinedReason="; (__isset.declinedReason ? (out << to_string(declinedReason)) : (out << "<null>"));
-  out << ", " << "oauthClientId="; (__isset.oauthClientId ? (out << to_string(oauthClientId)) : (out << "<null>"));
-  out << ", " << "oauthClientSecret="; (__isset.oauthClientSecret ? (out << to_string(oauthClientSecret)) : (out << "<null>"));
-  out << ", " << "requestCreationTime="; (__isset.requestCreationTime ? (out << to_string(requestCreationTime)) : (out << "<null>"));
-  out << ", " << "requesterUsername="; (__isset.requesterUsername ? (out << to_string(requesterUsername)) : (out << "<null>"));
-  out << ")";
-}
-
-
-Notification::~Notification() throw() {
-}
-
-
-void Notification::__set_notificationId(const std::string& val) {
-  this->notificationId = val;
-__isset.notificationId = true;
-}
-
-void Notification::__set_gatewayId(const std::string& val) {
-  this->gatewayId = val;
-}
-
-void Notification::__set_title(const std::string& val) {
-  this->title = val;
-}
-
-void Notification::__set_notificationMessage(const std::string& val) {
-  this->notificationMessage = val;
-}
-
-void Notification::__set_creationTime(const int64_t val) {
-  this->creationTime = val;
-__isset.creationTime = true;
-}
-
-void Notification::__set_publishedTime(const int64_t val) {
-  this->publishedTime = val;
-__isset.publishedTime = true;
-}
-
-void Notification::__set_expirationTime(const int64_t val) {
-  this->expirationTime = val;
-__isset.expirationTime = true;
-}
-
-void Notification::__set_priority(const NotificationPriority::type val) {
-  this->priority = val;
-__isset.priority = true;
-}
-
-uint32_t Notification::read(::apache::thrift::protocol::TProtocol* iprot) {
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
-  uint32_t xfer = 0;
-  std::string fname;
-  ::apache::thrift::protocol::TType ftype;
-  int16_t fid;
-
-  xfer += iprot->readStructBegin(fname);
-
-  using ::apache::thrift::protocol::TProtocolException;
-
-  bool isset_gatewayId = false;
-  bool isset_title = false;
-  bool isset_notificationMessage = false;
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->notificationId);
-          this->__isset.notificationId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->gatewayId);
-          isset_gatewayId = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->title);
-          isset_title = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 4:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->notificationMessage);
-          isset_notificationMessage = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 5:
-        if (ftype == ::apache::thrift::protocol::T_I64) {
-          xfer += iprot->readI64(this->creationTime);
-          this->__isset.creationTime = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 6:
-        if (ftype == ::apache::thrift::protocol::T_I64) {
-          xfer += iprot->readI64(this->publishedTime);
-          this->__isset.publishedTime = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 7:
-        if (ftype == ::apache::thrift::protocol::T_I64) {
-          xfer += iprot->readI64(this->expirationTime);
-          this->__isset.expirationTime = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 8:
-        if (ftype == ::apache::thrift::protocol::T_I32) {
-          int32_t ecast21;
-          xfer += iprot->readI32(ecast21);
-          this->priority = (NotificationPriority::type)ecast21;
-          this->__isset.priority = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  if (!isset_gatewayId)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_title)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  if (!isset_notificationMessage)
-    throw TProtocolException(TProtocolException::INVALID_DATA);
-  return xfer;
-}
-
-uint32_t Notification::write(::apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("Notification");
-
-  if (this->__isset.notificationId) {
-    xfer += oprot->writeFieldBegin("notificationId", ::apache::thrift::protocol::T_STRING, 1);
-    xfer += oprot->writeString(this->notificationId);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldBegin("gatewayId", ::apache::thrift::protocol::T_STRING, 2);
-  xfer += oprot->writeString(this->gatewayId);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("title", ::apache::thrift::protocol::T_STRING, 3);
-  xfer += oprot->writeString(this->title);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("notificationMessage", ::apache::thrift::protocol::T_STRING, 4);
-  xfer += oprot->writeString(this->notificationMessage);
-  xfer += oprot->writeFieldEnd();
-
-  if (this->__isset.creationTime) {
-    xfer += oprot->writeFieldBegin("creationTime", ::apache::thrift::protocol::T_I64, 5);
-    xfer += oprot->writeI64(this->creationTime);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.publishedTime) {
-    xfer += oprot->writeFieldBegin("publishedTime", ::apache::thrift::protocol::T_I64, 6);
-    xfer += oprot->writeI64(this->publishedTime);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.expirationTime) {
-    xfer += oprot->writeFieldBegin("expirationTime", ::apache::thrift::protocol::T_I64, 7);
-    xfer += oprot->writeI64(this->expirationTime);
-    xfer += oprot->writeFieldEnd();
-  }
-  if (this->__isset.priority) {
-    xfer += oprot->writeFieldBegin("priority", ::apache::thrift::protocol::T_I32, 8);
-    xfer += oprot->writeI32((int32_t)this->priority);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-void swap(Notification &a, Notification &b) {
-  using ::std::swap;
-  swap(a.notificationId, b.notificationId);
-  swap(a.gatewayId, b.gatewayId);
-  swap(a.title, b.title);
-  swap(a.notificationMessage, b.notificationMessage);
-  swap(a.creationTime, b.creationTime);
-  swap(a.publishedTime, b.publishedTime);
-  swap(a.expirationTime, b.expirationTime);
-  swap(a.priority, b.priority);
-  swap(a.__isset, b.__isset);
-}
-
-Notification::Notification(const Notification& other22) {
-  notificationId = other22.notificationId;
-  gatewayId = other22.gatewayId;
-  title = other22.title;
-  notificationMessage = other22.notificationMessage;
-  creationTime = other22.creationTime;
-  publishedTime = other22.publishedTime;
-  expirationTime = other22.expirationTime;
-  priority = other22.priority;
-  __isset = other22.__isset;
-}
-Notification& Notification::operator=(const Notification& other23) {
-  notificationId = other23.notificationId;
-  gatewayId = other23.gatewayId;
-  title = other23.title;
-  notificationMessage = other23.notificationMessage;
-  creationTime = other23.creationTime;
-  publishedTime = other23.publishedTime;
-  expirationTime = other23.expirationTime;
-  priority = other23.priority;
-  __isset = other23.__isset;
-  return *this;
-}
-void Notification::printTo(std::ostream& out) const {
-  using ::apache::thrift::to_string;
-  out << "Notification(";
-  out << "notificationId="; (__isset.notificationId ? (out << to_string(notificationId)) : (out << "<null>"));
-  out << ", " << "gatewayId=" << to_string(gatewayId);
-  out << ", " << "title=" << to_string(title);
-  out << ", " << "notificationMessage=" << to_string(notificationMessage);
-  out << ", " << "creationTime="; (__isset.creationTime ? (out << to_string(creationTime)) : (out << "<null>"));
-  out << ", " << "publishedTime="; (__isset.publishedTime ? (out << to_string(publishedTime)) : (out << "<null>"));
-  out << ", " << "expirationTime="; (__isset.expirationTime ? (out << to_string(expirationTime)) : (out << "<null>"));
-  out << ", " << "priority="; (__isset.priority ? (out << to_string(priority)) : (out << "<null>"));
-  out << ")";
-}
-
-}}}} // namespace

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspace_model_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspace_model_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspace_model_types.h
deleted file mode 100644
index d6db351..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspace_model_types.h
+++ /dev/null
@@ -1,584 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * Autogenerated by Thrift Compiler (0.9.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-#ifndef workspace_model_TYPES_H
-#define workspace_model_TYPES_H
-
-#include <iosfwd>
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-#include "airavata_commons_types.h"
-
-
-namespace apache { namespace airavata { namespace model { namespace workspace {
-
-struct GatewayApprovalStatus {
-  enum type {
-    REQUESTED = 0,
-    APPROVED = 1,
-    ACTIVE = 2,
-    DEACTIVATED = 3,
-    CANCELLED = 4,
-    DENIED = 5,
-    CREATED = 6
-  };
-};
-
-extern const std::map<int, const char*> _GatewayApprovalStatus_VALUES_TO_NAMES;
-
-struct NotificationPriority {
-  enum type {
-    LOW = 0,
-    NORMAL = 1,
-    HIGH = 2
-  };
-};
-
-extern const std::map<int, const char*> _NotificationPriority_VALUES_TO_NAMES;
-
-class Group;
-
-class Project;
-
-class User;
-
-class Gateway;
-
-class Notification;
-
-typedef struct _Group__isset {
-  _Group__isset() : description(false) {}
-  bool description :1;
-} _Group__isset;
-
-class Group {
- public:
-
-  Group(const Group&);
-  Group& operator=(const Group&);
-  Group() : groupName(), description() {
-  }
-
-  virtual ~Group() throw();
-  std::string groupName;
-  std::string description;
-
-  _Group__isset __isset;
-
-  void __set_groupName(const std::string& val);
-
-  void __set_description(const std::string& val);
-
-  bool operator == (const Group & rhs) const
-  {
-    if (!(groupName == rhs.groupName))
-      return false;
-    if (__isset.description != rhs.__isset.description)
-      return false;
-    else if (__isset.description && !(description == rhs.description))
-      return false;
-    return true;
-  }
-  bool operator != (const Group &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const Group & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-  virtual void printTo(std::ostream& out) const;
-};
-
-void swap(Group &a, Group &b);
-
-inline std::ostream& operator<<(std::ostream& out, const Group& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-typedef struct _Project__isset {
-  _Project__isset() : description(false), creationTime(false), sharedUsers(false), sharedGroups(false) {}
-  bool description :1;
-  bool creationTime :1;
-  bool sharedUsers :1;
-  bool sharedGroups :1;
-} _Project__isset;
-
-class Project {
- public:
-
-  Project(const Project&);
-  Project& operator=(const Project&);
-  Project() : projectID("DO_NOT_SET_AT_CLIENTS"), owner(), gatewayId(), name(), description(), creationTime(0) {
-  }
-
-  virtual ~Project() throw();
-  std::string projectID;
-  std::string owner;
-  std::string gatewayId;
-  std::string name;
-  std::string description;
-  int64_t creationTime;
-  std::vector<std::string>  sharedUsers;
-  std::vector<std::string>  sharedGroups;
-
-  _Project__isset __isset;
-
-  void __set_projectID(const std::string& val);
-
-  void __set_owner(const std::string& val);
-
-  void __set_gatewayId(const std::string& val);
-
-  void __set_name(const std::string& val);
-
-  void __set_description(const std::string& val);
-
-  void __set_creationTime(const int64_t val);
-
-  void __set_sharedUsers(const std::vector<std::string> & val);
-
-  void __set_sharedGroups(const std::vector<std::string> & val);
-
-  bool operator == (const Project & rhs) const
-  {
-    if (!(projectID == rhs.projectID))
-      return false;
-    if (!(owner == rhs.owner))
-      return false;
-    if (!(gatewayId == rhs.gatewayId))
-      return false;
-    if (!(name == rhs.name))
-      return false;
-    if (__isset.description != rhs.__isset.description)
-      return false;
-    else if (__isset.description && !(description == rhs.description))
-      return false;
-    if (__isset.creationTime != rhs.__isset.creationTime)
-      return false;
-    else if (__isset.creationTime && !(creationTime == rhs.creationTime))
-      return false;
-    if (__isset.sharedUsers != rhs.__isset.sharedUsers)
-      return false;
-    else if (__isset.sharedUsers && !(sharedUsers == rhs.sharedUsers))
-      return false;
-    if (__isset.sharedGroups != rhs.__isset.sharedGroups)
-      return false;
-    else if (__isset.sharedGroups && !(sharedGroups == rhs.sharedGroups))
-      return false;
-    return true;
-  }
-  bool operator != (const Project &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const Project & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-  virtual void printTo(std::ostream& out) const;
-};
-
-void swap(Project &a, Project &b);
-
-inline std::ostream& operator<<(std::ostream& out, const Project& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-typedef struct _User__isset {
-  _User__isset() : userName(false), firstName(false), lastName(false), email(false) {}
-  bool userName :1;
-  bool firstName :1;
-  bool lastName :1;
-  bool email :1;
-} _User__isset;
-
-class User {
- public:
-
-  User(const User&);
-  User& operator=(const User&);
-  User() : airavataInternalUserId("DO_NOT_SET_AT_CLIENTS"), userName(), gatewayId(), firstName(), lastName(), email() {
-  }
-
-  virtual ~User() throw();
-  std::string airavataInternalUserId;
-  std::string userName;
-  std::string gatewayId;
-  std::string firstName;
-  std::string lastName;
-  std::string email;
-
-  _User__isset __isset;
-
-  void __set_airavataInternalUserId(const std::string& val);
-
-  void __set_userName(const std::string& val);
-
-  void __set_gatewayId(const std::string& val);
-
-  void __set_firstName(const std::string& val);
-
-  void __set_lastName(const std::string& val);
-
-  void __set_email(const std::string& val);
-
-  bool operator == (const User & rhs) const
-  {
-    if (!(airavataInternalUserId == rhs.airavataInternalUserId))
-      return false;
-    if (__isset.userName != rhs.__isset.userName)
-      return false;
-    else if (__isset.userName && !(userName == rhs.userName))
-      return false;
-    if (!(gatewayId == rhs.gatewayId))
-      return false;
-    if (__isset.firstName != rhs.__isset.firstName)
-      return false;
-    else if (__isset.firstName && !(firstName == rhs.firstName))
-      return false;
-    if (__isset.lastName != rhs.__isset.lastName)
-      return false;
-    else if (__isset.lastName && !(lastName == rhs.lastName))
-      return false;
-    if (__isset.email != rhs.__isset.email)
-      return false;
-    else if (__isset.email && !(email == rhs.email))
-      return false;
-    return true;
-  }
-  bool operator != (const User &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const User & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-  virtual void printTo(std::ostream& out) const;
-};
-
-void swap(User &a, User &b);
-
-inline std::ostream& operator<<(std::ostream& out, const User& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-typedef struct _Gateway__isset {
-  _Gateway__isset() : gatewayName(false), domain(false), emailAddress(false), gatewayAcronym(false), gatewayURL(false), gatewayPublicAbstract(false), reviewProposalDescription(false), gatewayAdminFirstName(false), gatewayAdminLastName(false), gatewayAdminEmail(false), identityServerUserName(false), identityServerPasswordToken(false), declinedReason(false), oauthClientId(false), oauthClientSecret(false), requestCreationTime(false), requesterUsername(false) {}
-  bool gatewayName :1;
-  bool domain :1;
-  bool emailAddress :1;
-  bool gatewayAcronym :1;
-  bool gatewayURL :1;
-  bool gatewayPublicAbstract :1;
-  bool reviewProposalDescription :1;
-  bool gatewayAdminFirstName :1;
-  bool gatewayAdminLastName :1;
-  bool gatewayAdminEmail :1;
-  bool identityServerUserName :1;
-  bool identityServerPasswordToken :1;
-  bool declinedReason :1;
-  bool oauthClientId :1;
-  bool oauthClientSecret :1;
-  bool requestCreationTime :1;
-  bool requesterUsername :1;
-} _Gateway__isset;
-
-class Gateway {
- public:
-
-  Gateway(const Gateway&);
-  Gateway& operator=(const Gateway&);
-  Gateway() : gatewayId(), gatewayApprovalStatus((GatewayApprovalStatus::type)0), gatewayName(), domain(), emailAddress(), gatewayAcronym(), gatewayURL(), gatewayPublicAbstract(), reviewProposalDescription(), gatewayAdminFirstName(), gatewayAdminLastName(), gatewayAdminEmail(), identityServerUserName(), identityServerPasswordToken(), declinedReason(), oauthClientId(), oauthClientSecret(), requestCreationTime(0), requesterUsername() {
-  }
-
-  virtual ~Gateway() throw();
-  std::string gatewayId;
-  GatewayApprovalStatus::type gatewayApprovalStatus;
-  std::string gatewayName;
-  std::string domain;
-  std::string emailAddress;
-  std::string gatewayAcronym;
-  std::string gatewayURL;
-  std::string gatewayPublicAbstract;
-  std::string reviewProposalDescription;
-  std::string gatewayAdminFirstName;
-  std::string gatewayAdminLastName;
-  std::string gatewayAdminEmail;
-  std::string identityServerUserName;
-  std::string identityServerPasswordToken;
-  std::string declinedReason;
-  std::string oauthClientId;
-  std::string oauthClientSecret;
-  int64_t requestCreationTime;
-  std::string requesterUsername;
-
-  _Gateway__isset __isset;
-
-  void __set_gatewayId(const std::string& val);
-
-  void __set_gatewayApprovalStatus(const GatewayApprovalStatus::type val);
-
-  void __set_gatewayName(const std::string& val);
-
-  void __set_domain(const std::string& val);
-
-  void __set_emailAddress(const std::string& val);
-
-  void __set_gatewayAcronym(const std::string& val);
-
-  void __set_gatewayURL(const std::string& val);
-
-  void __set_gatewayPublicAbstract(const std::string& val);
-
-  void __set_reviewProposalDescription(const std::string& val);
-
-  void __set_gatewayAdminFirstName(const std::string& val);
-
-  void __set_gatewayAdminLastName(const std::string& val);
-
-  void __set_gatewayAdminEmail(const std::string& val);
-
-  void __set_identityServerUserName(const std::string& val);
-
-  void __set_identityServerPasswordToken(const std::string& val);
-
-  void __set_declinedReason(const std::string& val);
-
-  void __set_oauthClientId(const std::string& val);
-
-  void __set_oauthClientSecret(const std::string& val);
-
-  void __set_requestCreationTime(const int64_t val);
-
-  void __set_requesterUsername(const std::string& val);
-
-  bool operator == (const Gateway & rhs) const
-  {
-    if (!(gatewayId == rhs.gatewayId))
-      return false;
-    if (!(gatewayApprovalStatus == rhs.gatewayApprovalStatus))
-      return false;
-    if (__isset.gatewayName != rhs.__isset.gatewayName)
-      return false;
-    else if (__isset.gatewayName && !(gatewayName == rhs.gatewayName))
-      return false;
-    if (__isset.domain != rhs.__isset.domain)
-      return false;
-    else if (__isset.domain && !(domain == rhs.domain))
-      return false;
-    if (__isset.emailAddress != rhs.__isset.emailAddress)
-      return false;
-    else if (__isset.emailAddress && !(emailAddress == rhs.emailAddress))
-      return false;
-    if (__isset.gatewayAcronym != rhs.__isset.gatewayAcronym)
-      return false;
-    else if (__isset.gatewayAcronym && !(gatewayAcronym == rhs.gatewayAcronym))
-      return false;
-    if (__isset.gatewayURL != rhs.__isset.gatewayURL)
-      return false;
-    else if (__isset.gatewayURL && !(gatewayURL == rhs.gatewayURL))
-      return false;
-    if (__isset.gatewayPublicAbstract != rhs.__isset.gatewayPublicAbstract)
-      return false;
-    else if (__isset.gatewayPublicAbstract && !(gatewayPublicAbstract == rhs.gatewayPublicAbstract))
-      return false;
-    if (__isset.reviewProposalDescription != rhs.__isset.reviewProposalDescription)
-      return false;
-    else if (__isset.reviewProposalDescription && !(reviewProposalDescription == rhs.reviewProposalDescription))
-      return false;
-    if (__isset.gatewayAdminFirstName != rhs.__isset.gatewayAdminFirstName)
-      return false;
-    else if (__isset.gatewayAdminFirstName && !(gatewayAdminFirstName == rhs.gatewayAdminFirstName))
-      return false;
-    if (__isset.gatewayAdminLastName != rhs.__isset.gatewayAdminLastName)
-      return false;
-    else if (__isset.gatewayAdminLastName && !(gatewayAdminLastName == rhs.gatewayAdminLastName))
-      return false;
-    if (__isset.gatewayAdminEmail != rhs.__isset.gatewayAdminEmail)
-      return false;
-    else if (__isset.gatewayAdminEmail && !(gatewayAdminEmail == rhs.gatewayAdminEmail))
-      return false;
-    if (__isset.identityServerUserName != rhs.__isset.identityServerUserName)
-      return false;
-    else if (__isset.identityServerUserName && !(identityServerUserName == rhs.identityServerUserName))
-      return false;
-    if (__isset.identityServerPasswordToken != rhs.__isset.identityServerPasswordToken)
-      return false;
-    else if (__isset.identityServerPasswordToken && !(identityServerPasswordToken == rhs.identityServerPasswordToken))
-      return false;
-    if (__isset.declinedReason != rhs.__isset.declinedReason)
-      return false;
-    else if (__isset.declinedReason && !(declinedReason == rhs.declinedReason))
-      return false;
-    if (__isset.oauthClientId != rhs.__isset.oauthClientId)
-      return false;
-    else if (__isset.oauthClientId && !(oauthClientId == rhs.oauthClientId))
-      return false;
-    if (__isset.oauthClientSecret != rhs.__isset.oauthClientSecret)
-      return false;
-    else if (__isset.oauthClientSecret && !(oauthClientSecret == rhs.oauthClientSecret))
-      return false;
-    if (__isset.requestCreationTime != rhs.__isset.requestCreationTime)
-      return false;
-    else if (__isset.requestCreationTime && !(requestCreationTime == rhs.requestCreationTime))
-      return false;
-    if (__isset.requesterUsername != rhs.__isset.requesterUsername)
-      return false;
-    else if (__isset.requesterUsername && !(requesterUsername == rhs.requesterUsername))
-      return false;
-    return true;
-  }
-  bool operator != (const Gateway &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const Gateway & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-  virtual void printTo(std::ostream& out) const;
-};
-
-void swap(Gateway &a, Gateway &b);
-
-inline std::ostream& operator<<(std::ostream& out, const Gateway& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-typedef struct _Notification__isset {
-  _Notification__isset() : notificationId(false), creationTime(false), publishedTime(false), expirationTime(false), priority(false) {}
-  bool notificationId :1;
-  bool creationTime :1;
-  bool publishedTime :1;
-  bool expirationTime :1;
-  bool priority :1;
-} _Notification__isset;
-
-class Notification {
- public:
-
-  Notification(const Notification&);
-  Notification& operator=(const Notification&);
-  Notification() : notificationId(), gatewayId(), title(), notificationMessage(), creationTime(0), publishedTime(0), expirationTime(0), priority((NotificationPriority::type)0) {
-  }
-
-  virtual ~Notification() throw();
-  std::string notificationId;
-  std::string gatewayId;
-  std::string title;
-  std::string notificationMessage;
-  int64_t creationTime;
-  int64_t publishedTime;
-  int64_t expirationTime;
-  NotificationPriority::type priority;
-
-  _Notification__isset __isset;
-
-  void __set_notificationId(const std::string& val);
-
-  void __set_gatewayId(const std::string& val);
-
-  void __set_title(const std::string& val);
-
-  void __set_notificationMessage(const std::string& val);
-
-  void __set_creationTime(const int64_t val);
-
-  void __set_publishedTime(const int64_t val);
-
-  void __set_expirationTime(const int64_t val);
-
-  void __set_priority(const NotificationPriority::type val);
-
-  bool operator == (const Notification & rhs) const
-  {
-    if (__isset.notificationId != rhs.__isset.notificationId)
-      return false;
-    else if (__isset.notificationId && !(notificationId == rhs.notificationId))
-      return false;
-    if (!(gatewayId == rhs.gatewayId))
-      return false;
-    if (!(title == rhs.title))
-      return false;
-    if (!(notificationMessage == rhs.notificationMessage))
-      return false;
-    if (__isset.creationTime != rhs.__isset.creationTime)
-      return false;
-    else if (__isset.creationTime && !(creationTime == rhs.creationTime))
-      return false;
-    if (__isset.publishedTime != rhs.__isset.publishedTime)
-      return false;
-    else if (__isset.publishedTime && !(publishedTime == rhs.publishedTime))
-      return false;
-    if (__isset.expirationTime != rhs.__isset.expirationTime)
-      return false;
-    else if (__isset.expirationTime && !(expirationTime == rhs.expirationTime))
-      return false;
-    if (__isset.priority != rhs.__isset.priority)
-      return false;
-    else if (__isset.priority && !(priority == rhs.priority))
-      return false;
-    return true;
-  }
-  bool operator != (const Notification &rhs) const {
-    return !(*this == rhs);
-  }
-
-  bool operator < (const Notification & ) const;
-
-  uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-  uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-  virtual void printTo(std::ostream& out) const;
-};
-
-void swap(Notification &a, Notification &b);
-
-inline std::ostream& operator<<(std::ostream& out, const Notification& obj)
-{
-  obj.printTo(out);
-  return out;
-}
-
-}}}} // namespace
-
-#endif

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/TApplicationException.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/TApplicationException.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/TApplicationException.cpp
deleted file mode 100644
index 1110ba2..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/TApplicationException.cpp
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-
-namespace apache { namespace thrift {
-
-uint32_t TApplicationException::read(apache::thrift::protocol::TProtocol* iprot) {
-  uint32_t xfer = 0;
-  std::string fname;
-  apache::thrift::protocol::TType ftype;
-  int16_t fid;
-
-  xfer += iprot->readStructBegin(fname);
-
-  while (true) {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    switch (fid) {
-    case 1:
-      if (ftype == apache::thrift::protocol::T_STRING) {
-        xfer += iprot->readString(message_);
-      } else {
-        xfer += iprot->skip(ftype);
-      }
-      break;
-    case 2:
-      if (ftype == apache::thrift::protocol::T_I32) {
-        int32_t type;
-        xfer += iprot->readI32(type);
-        type_ = (TApplicationExceptionType)type;
-      } else {
-        xfer += iprot->skip(ftype);
-      }
-      break;
-    default:
-      xfer += iprot->skip(ftype);
-      break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-  return xfer;
-}
-
-uint32_t TApplicationException::write(apache::thrift::protocol::TProtocol* oprot) const {
-  uint32_t xfer = 0;
-  xfer += oprot->writeStructBegin("TApplicationException");
-  xfer += oprot->writeFieldBegin("message", apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(message_);
-  xfer += oprot->writeFieldEnd();
-  xfer += oprot->writeFieldBegin("type", apache::thrift::protocol::T_I32, 2);
-  xfer += oprot->writeI32(type_);
-  xfer += oprot->writeFieldEnd();
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-}} // apache::thrift

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/TApplicationException.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/TApplicationException.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/TApplicationException.h
deleted file mode 100644
index d32a21d..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/TApplicationException.h
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#ifndef _THRIFT_TAPPLICATIONEXCEPTION_H_
-#define _THRIFT_TAPPLICATIONEXCEPTION_H_ 1
-
-#include <thrift/Thrift.h>
-
-
-namespace apache { namespace thrift {
-
-namespace protocol {
-  class TProtocol;
-}
-
-class TApplicationException : public TException {
- public:
-
-  /**
-   * Error codes for the various types of exceptions.
-   */
-  enum TApplicationExceptionType {
-    UNKNOWN = 0,
-    UNKNOWN_METHOD = 1,
-    INVALID_MESSAGE_TYPE = 2,
-    WRONG_METHOD_NAME = 3,
-    BAD_SEQUENCE_ID = 4,
-    MISSING_RESULT = 5,
-    INTERNAL_ERROR = 6,
-    PROTOCOL_ERROR = 7,
-    INVALID_TRANSFORM = 8,
-    INVALID_PROTOCOL = 9,
-    UNSUPPORTED_CLIENT_TYPE = 10
-  };
-
-  TApplicationException() :
-    TException(),
-    type_(UNKNOWN) {}
-
-  TApplicationException(TApplicationExceptionType type) :
-    TException(),
-    type_(type) {}
-
-  TApplicationException(const std::string& message) :
-    TException(message),
-    type_(UNKNOWN) {}
-
-  TApplicationException(TApplicationExceptionType type,
-                        const std::string& message) :
-    TException(message),
-    type_(type) {}
-
-  virtual ~TApplicationException() throw() {}
-
-  /**
-   * Returns an error code that provides information about the type of error
-   * that has occurred.
-   *
-   * @return Error code
-   */
-  TApplicationExceptionType getType() {
-    return type_;
-  }
-
-  virtual const char* what() const throw() {
-    if (message_.empty()) {
-      switch (type_) {
-        case UNKNOWN                 : return "TApplicationException: Unknown application exception";
-        case UNKNOWN_METHOD          : return "TApplicationException: Unknown method";
-        case INVALID_MESSAGE_TYPE    : return "TApplicationException: Invalid message type";
-        case WRONG_METHOD_NAME       : return "TApplicationException: Wrong method name";
-        case BAD_SEQUENCE_ID         : return "TApplicationException: Bad sequence identifier";
-        case MISSING_RESULT          : return "TApplicationException: Missing result";
-        case INTERNAL_ERROR          : return "TApplicationException: Internal error";
-        case PROTOCOL_ERROR          : return "TApplicationException: Protocol error";
-        case INVALID_TRANSFORM       : return "TApplicationException: Invalid transform";
-        case INVALID_PROTOCOL        : return "TApplicationException: Invalid protocol";
-        case UNSUPPORTED_CLIENT_TYPE : return "TApplicationException: Unsupported client type";
-        default                      : return "TApplicationException: (Invalid exception type)";
-      };
-    } else {
-      return message_.c_str();
-    }
-  }
-
-  uint32_t read(protocol::TProtocol* iprot);
-  uint32_t write(protocol::TProtocol* oprot) const;
-
- protected:
-  /**
-   * Error code
-   */
-  TApplicationExceptionType type_;
-
-};
-
-}} // apache::thrift
-
-#endif // #ifndef _THRIFT_TAPPLICATIONEXCEPTION_H_

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/TDispatchProcessor.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/TDispatchProcessor.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/TDispatchProcessor.h
deleted file mode 100644
index 33ec22e..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/thrift/TDispatchProcessor.h
+++ /dev/null
@@ -1,142 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef _THRIFT_TDISPATCHPROCESSOR_H_
-#define _THRIFT_TDISPATCHPROCESSOR_H_ 1
-
-#include <thrift/TProcessor.h>
-
-namespace apache { namespace thrift {
-
-/**
- * TDispatchProcessor is a helper class to parse the message header then call
- * another function to dispatch based on the function name.
- *
- * Subclasses must implement dispatchCall() to dispatch on the function name.
- */
-template <class Protocol_>
-class TDispatchProcessorT : public TProcessor {
- public:
-  virtual bool process(boost::shared_ptr<protocol::TProtocol> in,
-                       boost::shared_ptr<protocol::TProtocol> out,
-                       void* connectionContext) {
-    protocol::TProtocol* inRaw = in.get();
-    protocol::TProtocol* outRaw = out.get();
-
-    // Try to dynamic cast to the template protocol type
-    Protocol_* specificIn = dynamic_cast<Protocol_*>(inRaw);
-    Protocol_* specificOut = dynamic_cast<Protocol_*>(outRaw);
-    if (specificIn && specificOut) {
-      return processFast(specificIn, specificOut, connectionContext);
-    }
-
-    // Log the fact that we have to use the slow path
-    T_GENERIC_PROTOCOL(this, inRaw, specificIn);
-    T_GENERIC_PROTOCOL(this, outRaw, specificOut);
-
-    std::string fname;
-    protocol::TMessageType mtype;
-    int32_t seqid;
-    inRaw->readMessageBegin(fname, mtype, seqid);
-
-    // If this doesn't look like a valid call, log an error and return false so
-    // that the server will close the connection.
-    //
-    // (The old generated processor code used to try to skip a T_STRUCT and
-    // continue.  However, that seems unsafe.)
-    if (mtype != protocol::T_CALL && mtype != protocol::T_ONEWAY) {
-      GlobalOutput.printf("received invalid message type %d from client",
-                          mtype);
-      return false;
-    }
-
-    return this->dispatchCall(inRaw, outRaw, fname, seqid, connectionContext);
-  }
-
- protected:
-  bool processFast(Protocol_* in, Protocol_* out, void* connectionContext) {
-    std::string fname;
-    protocol::TMessageType mtype;
-    int32_t seqid;
-    in->readMessageBegin(fname, mtype, seqid);
-
-    if (mtype != protocol::T_CALL && mtype != protocol::T_ONEWAY) {
-      GlobalOutput.printf("received invalid message type %d from client",
-                          mtype);
-      return false;
-    }
-
-    return this->dispatchCallTemplated(in, out, fname,
-                                       seqid, connectionContext);
-  }
-
-  /**
-   * dispatchCall() methods must be implemented by subclasses
-   */
-  virtual bool dispatchCall(apache::thrift::protocol::TProtocol* in,
-                            apache::thrift::protocol::TProtocol* out,
-                            const std::string& fname, int32_t seqid,
-                            void* callContext) = 0;
-
-  virtual bool dispatchCallTemplated(Protocol_* in, Protocol_* out,
-                                     const std::string& fname, int32_t seqid,
-                                     void* callContext) = 0;
-};
-
-/**
- * Non-templatized version of TDispatchProcessor, that doesn't bother trying to
- * perform a dynamic_cast.
- */
-class TDispatchProcessor : public TProcessor {
- public:
-  virtual bool process(boost::shared_ptr<protocol::TProtocol> in,
-                       boost::shared_ptr<protocol::TProtocol> out,
-                       void* connectionContext) {
-    std::string fname;
-    protocol::TMessageType mtype;
-    int32_t seqid;
-    in->readMessageBegin(fname, mtype, seqid);
-
-    if (mtype != protocol::T_CALL && mtype != protocol::T_ONEWAY) {
-      GlobalOutput.printf("received invalid message type %d from client",
-                          mtype);
-      return false;
-    }
-
-    return dispatchCall(in.get(), out.get(), fname, seqid, connectionContext);
-  }
-
- protected:
-  virtual bool dispatchCall(apache::thrift::protocol::TProtocol* in,
-                            apache::thrift::protocol::TProtocol* out,
-                            const std::string& fname, int32_t seqid,
-                            void* callContext) = 0;
-};
-
-// Specialize TDispatchProcessorT for TProtocol and TDummyProtocol just to use
-// the generic TDispatchProcessor.
-template <>
-class TDispatchProcessorT<protocol::TDummyProtocol> :
-  public TDispatchProcessor {};
-template <>
-class TDispatchProcessorT<protocol::TProtocol> :
-  public TDispatchProcessor {};
-
-}} // apache::thrift
-
-#endif // _THRIFT_TDISPATCHPROCESSOR_H_


Mime
View raw message