mirror of
https://github.com/tribufu/sdk-cpp
synced 2025-06-19 20:04:18 +00:00
Generate project with openapi generator
This commit is contained in:
.gitattributes.gitignore.openapi-generator-ignore
.openapi-generator
CMakeLists.txtConfig.cmake.inbootstrap.ps1include/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
premake5.lua
152
include/tribufu++/model/ProfileGame.h
Normal file
152
include/tribufu++/model/ProfileGame.h
Normal file
@ -0,0 +1,152 @@
|
||||
/**
|
||||
* Tribufu API
|
||||
* REST API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.1.0
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI-Generator 7.12.0.
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
/*
|
||||
* ProfileGame.h
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef TRIBUFU_MODELS_ProfileGame_H_
|
||||
#define TRIBUFU_MODELS_ProfileGame_H_
|
||||
|
||||
|
||||
#include "tribufu++/ModelBase.h"
|
||||
|
||||
#include <cpprest/details/basic_types.h>
|
||||
#include "tribufu++/AnyType.h"
|
||||
|
||||
namespace tribufu {
|
||||
namespace models {
|
||||
|
||||
|
||||
|
||||
class ProfileGame
|
||||
: public ModelBase
|
||||
{
|
||||
public:
|
||||
ProfileGame();
|
||||
virtual ~ProfileGame();
|
||||
|
||||
/////////////////////////////////////////////
|
||||
/// ModelBase overrides
|
||||
|
||||
void validate() 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;
|
||||
|
||||
|
||||
/////////////////////////////////////////////
|
||||
/// ProfileGame members
|
||||
|
||||
|
||||
utility::string_t getId() const;
|
||||
bool idIsSet() const;
|
||||
void unsetId();
|
||||
void setId(const utility::string_t& value);
|
||||
|
||||
utility::string_t getName() const;
|
||||
bool nameIsSet() const;
|
||||
void unsetName();
|
||||
void setName(const utility::string_t& value);
|
||||
|
||||
utility::string_t getCapsuleImageUrl() const;
|
||||
bool capsuleImageUrlIsSet() const;
|
||||
void unsetCapsule_image_url();
|
||||
void setCapsuleImageUrl(const utility::string_t& value);
|
||||
|
||||
utility::string_t getLibraryImageUrl() const;
|
||||
bool libraryImageUrlIsSet() const;
|
||||
void unsetLibrary_image_url();
|
||||
void setLibraryImageUrl(const utility::string_t& value);
|
||||
|
||||
utility::string_t getSlug() const;
|
||||
bool slugIsSet() const;
|
||||
void unsetSlug();
|
||||
void setSlug(const utility::string_t& value);
|
||||
|
||||
double getTimeUsed() const;
|
||||
bool timeUsedIsSet() const;
|
||||
void unsetTime_used();
|
||||
void setTimeUsed(double value);
|
||||
|
||||
int32_t getUnlockedAchievements() const;
|
||||
bool unlockedAchievementsIsSet() const;
|
||||
void unsetUnlocked_achievements();
|
||||
void setUnlockedAchievements(int32_t value);
|
||||
|
||||
int32_t getTotalAchievements() const;
|
||||
bool totalAchievementsIsSet() const;
|
||||
void unsetTotal_achievements();
|
||||
void setTotalAchievements(int32_t value);
|
||||
|
||||
std::shared_ptr<AnyType> getStats() const;
|
||||
bool statsIsSet() const;
|
||||
void unsetStats();
|
||||
void setStats(const std::shared_ptr<AnyType>& value);
|
||||
|
||||
utility::datetime getAcquired() const;
|
||||
bool acquiredIsSet() const;
|
||||
void unsetAcquired();
|
||||
void setAcquired(const utility::datetime& value);
|
||||
|
||||
utility::datetime getLastUsed() const;
|
||||
bool lastUsedIsSet() const;
|
||||
void unsetLast_used();
|
||||
void setLastUsed(const utility::datetime& value);
|
||||
|
||||
|
||||
protected:
|
||||
utility::string_t m_Id;
|
||||
bool m_IdIsSet;
|
||||
|
||||
utility::string_t m_Name;
|
||||
bool m_NameIsSet;
|
||||
|
||||
utility::string_t m_Capsule_image_url;
|
||||
bool m_Capsule_image_urlIsSet;
|
||||
|
||||
utility::string_t m_Library_image_url;
|
||||
bool m_Library_image_urlIsSet;
|
||||
|
||||
utility::string_t m_Slug;
|
||||
bool m_SlugIsSet;
|
||||
|
||||
double m_Time_used;
|
||||
bool m_Time_usedIsSet;
|
||||
|
||||
int32_t m_Unlocked_achievements;
|
||||
bool m_Unlocked_achievementsIsSet;
|
||||
|
||||
int32_t m_Total_achievements;
|
||||
bool m_Total_achievementsIsSet;
|
||||
|
||||
std::shared_ptr<AnyType> m_Stats;
|
||||
bool m_StatsIsSet;
|
||||
|
||||
utility::datetime m_Acquired;
|
||||
bool m_AcquiredIsSet;
|
||||
|
||||
utility::datetime m_Last_used;
|
||||
bool m_Last_usedIsSet;
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* TRIBUFU_MODELS_ProfileGame_H_ */
|
Reference in New Issue
Block a user