[CPP] [CPPREST] first steps on fixing the template (#5877)

* - Added Restbed Generator

* - Added Json processing functions to model
- Removed unnused code from restbed codegen class
- Added response header processing to api template

* Changed it to respect alphabetical order

* Made the string joining java 7 compatible

* Added samples

* First step in fixing the cpp rest template
regenerated new samples

TODO: Fix the other functions

* Updated samples
This commit is contained in:
stkrwork
2017-06-19 19:29:42 +02:00
committed by wing328
parent 24c55d1f0e
commit 8ab2b84c97
14 changed files with 71 additions and 54 deletions

View File

@@ -219,12 +219,12 @@ int64_t User::getId() const
return m_Id;
}
void User::setId(int64_t value)
{
m_Id = value;
m_IdIsSet = true;
}
bool User::idIsSet() const
{
return m_IdIsSet;
@@ -240,12 +240,12 @@ utility::string_t User::getUsername() const
return m_Username;
}
void User::setUsername(utility::string_t value)
{
m_Username = value;
m_UsernameIsSet = true;
}
bool User::usernameIsSet() const
{
return m_UsernameIsSet;
@@ -261,12 +261,12 @@ utility::string_t User::getFirstName() const
return m_FirstName;
}
void User::setFirstName(utility::string_t value)
{
m_FirstName = value;
m_FirstNameIsSet = true;
}
bool User::firstNameIsSet() const
{
return m_FirstNameIsSet;
@@ -282,12 +282,12 @@ utility::string_t User::getLastName() const
return m_LastName;
}
void User::setLastName(utility::string_t value)
{
m_LastName = value;
m_LastNameIsSet = true;
}
bool User::lastNameIsSet() const
{
return m_LastNameIsSet;
@@ -303,12 +303,12 @@ utility::string_t User::getEmail() const
return m_Email;
}
void User::setEmail(utility::string_t value)
{
m_Email = value;
m_EmailIsSet = true;
}
bool User::emailIsSet() const
{
return m_EmailIsSet;
@@ -324,12 +324,12 @@ utility::string_t User::getPassword() const
return m_Password;
}
void User::setPassword(utility::string_t value)
{
m_Password = value;
m_PasswordIsSet = true;
}
bool User::passwordIsSet() const
{
return m_PasswordIsSet;
@@ -345,12 +345,12 @@ utility::string_t User::getPhone() const
return m_Phone;
}
void User::setPhone(utility::string_t value)
{
m_Phone = value;
m_PhoneIsSet = true;
}
bool User::phoneIsSet() const
{
return m_PhoneIsSet;
@@ -366,12 +366,12 @@ int32_t User::getUserStatus() const
return m_UserStatus;
}
void User::setUserStatus(int32_t value)
{
m_UserStatus = value;
m_UserStatusIsSet = true;
}
bool User::userStatusIsSet() const
{
return m_UserStatusIsSet;