mirror of
https://github.com/tribufu/sdk-cpp
synced 2025-06-20 17:05:34 +00:00
Format c++ files on generation
This commit is contained in:
include/tribufu++
AnyType.hApiClient.hApiConfiguration.hApiException.hHttpContent.hIHttpBody.hJsonBody.hModelBase.hMultipartFormData.hObject.h
api
model
Account.hApplication.hApplicationType.hAuthorizeRequest.hCodeChallengeMethod.hCryptoViewModel.hGame.hGameServer.hGameServerCluster.hGrantType.hGroup.hGroupGame.hGroupMember.hGroupRank.hHashViewModel.hIntrospectRequest.hIpAddress.hLeaderboardItem.hLeaderboardOrder.hLoginProvider.hLoginRequest.hLoginResponse.hPackage.hProfile.hProfileGame.hProfileGroup.hRefreshRequest.hRegisterRequest.hResponseType.hRevokeRequest.hSearchRequest.hSearchType.hServerMetrics.hServerStatus.hSubscription.hTokenHintType.hTokenRequest.hTokenResponse.hTokenType.hUpdateProfile.hUserInfo.hUserType.h
scripts
src
AnyType.cppApiClient.cppApiConfiguration.cppApiException.cppHttpContent.cppJsonBody.cppModelBase.cppMultipartFormData.cppObject.cpp
api
model
Account.cppApplication.cppApplicationType.cppAuthorizeRequest.cppCodeChallengeMethod.cppCryptoViewModel.cppGame.cppGameServer.cppGameServerCluster.cppGrantType.cppGroup.cppGroupGame.cppGroupMember.cppGroupRank.cppHashViewModel.cppIntrospectRequest.cppIpAddress.cppLeaderboardItem.cppLeaderboardOrder.cppLoginProvider.cppLoginRequest.cppLoginResponse.cppPackage.cppProfile.cppProfileGame.cppProfileGroup.cppRefreshRequest.cppRegisterRequest.cppResponseType.cppRevokeRequest.cppSearchRequest.cppSearchType.cppServerMetrics.cppServerStatus.cppSubscription.cppTokenHintType.cppTokenRequest.cppTokenResponse.cppTokenType.cppUpdateProfile.cppUserInfo.cppUserType.cpp
@ -13,7 +13,7 @@
|
||||
/*
|
||||
* RevokeRequest.h
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef TRIBUFU_MODELS_RevokeRequest_H_
|
||||
@ -23,59 +23,55 @@
|
||||
|
||||
#include "tribufu++/ModelBase.h"
|
||||
|
||||
#include <cpprest/details/basic_types.h>
|
||||
#include "tribufu++/model/TokenHintType.h"
|
||||
#include <cpprest/details/basic_types.h>
|
||||
|
||||
namespace tribufu {
|
||||
namespace models {
|
||||
|
||||
|
||||
|
||||
class RevokeRequest
|
||||
: public ModelBase
|
||||
namespace tribufu
|
||||
{
|
||||
public:
|
||||
RevokeRequest();
|
||||
virtual ~RevokeRequest();
|
||||
namespace models
|
||||
{
|
||||
|
||||
/////////////////////////////////////////////
|
||||
/// ModelBase overrides
|
||||
class RevokeRequest : public ModelBase
|
||||
{
|
||||
public:
|
||||
RevokeRequest();
|
||||
virtual ~RevokeRequest();
|
||||
|
||||
void validate() override;
|
||||
/////////////////////////////////////////////
|
||||
/// ModelBase overrides
|
||||
|
||||
web::json::value toJson() const override;
|
||||
bool fromJson(const web::json::value& json) override;
|
||||
void validate() override;
|
||||
|
||||
void toMultipart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) const override;
|
||||
bool fromMultiPart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) override;
|
||||
web::json::value toJson() const override;
|
||||
bool fromJson(const web::json::value &json) override;
|
||||
|
||||
void toMultipart(std::shared_ptr<MultipartFormData> multipart,
|
||||
const utility::string_t &namePrefix) const override;
|
||||
bool fromMultiPart(std::shared_ptr<MultipartFormData> multipart,
|
||||
const utility::string_t &namePrefix) override;
|
||||
|
||||
/////////////////////////////////////////////
|
||||
/// RevokeRequest members
|
||||
/////////////////////////////////////////////
|
||||
/// RevokeRequest members
|
||||
|
||||
utility::string_t getToken() const;
|
||||
bool tokenIsSet() const;
|
||||
void unsetToken();
|
||||
void setToken(const utility::string_t &value);
|
||||
|
||||
utility::string_t getToken() const;
|
||||
bool tokenIsSet() const;
|
||||
void unsetToken();
|
||||
void setToken(const utility::string_t& value);
|
||||
std::shared_ptr<TokenHintType> getTokenTypeHint() const;
|
||||
bool tokenTypeHintIsSet() const;
|
||||
void unsetToken_type_hint();
|
||||
void setTokenTypeHint(const std::shared_ptr<TokenHintType> &value);
|
||||
|
||||
std::shared_ptr<TokenHintType> getTokenTypeHint() const;
|
||||
bool tokenTypeHintIsSet() const;
|
||||
void unsetToken_type_hint();
|
||||
void setTokenTypeHint(const std::shared_ptr<TokenHintType>& value);
|
||||
protected:
|
||||
utility::string_t m_Token;
|
||||
bool m_TokenIsSet;
|
||||
|
||||
std::shared_ptr<TokenHintType> m_Token_type_hint;
|
||||
bool m_Token_type_hintIsSet;
|
||||
};
|
||||
|
||||
protected:
|
||||
utility::string_t m_Token;
|
||||
bool m_TokenIsSet;
|
||||
|
||||
std::shared_ptr<TokenHintType> m_Token_type_hint;
|
||||
bool m_Token_type_hintIsSet;
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* TRIBUFU_MODELS_RevokeRequest_H_ */
|
||||
|
Reference in New Issue
Block a user