mirror of
https://github.com/tribufu/sdk-cpp
synced 2025-06-15 11:44:20 +00:00
148 lines
4.3 KiB
C++
148 lines
4.3 KiB
C++
/**
|
|
* 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 "tribufu++/AnyType.h"
|
|
#include <cpprest/details/basic_types.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_ */
|