mirror of
https://github.com/tribufu/sdk-cpp
synced 2025-06-15 20:04:18 +00:00
222 lines
6.6 KiB
C++
222 lines
6.6 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.14.0-SNAPSHOT.
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
/*
|
|
* Application.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef TRIBUFU_MODELS_Application_H_
|
|
#define TRIBUFU_MODELS_Application_H_
|
|
|
|
#include <stdexcept>
|
|
|
|
#include "tribufu++/ModelBase.h"
|
|
|
|
#include "tribufu++/model/ApplicationType.h"
|
|
#include <cpprest/details/basic_types.h>
|
|
|
|
namespace tribufu
|
|
{
|
|
namespace models
|
|
{
|
|
|
|
class Application : public ModelBase
|
|
{
|
|
public:
|
|
Application();
|
|
virtual ~Application();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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;
|
|
|
|
/////////////////////////////////////////////
|
|
/// Application 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 getDescription() const;
|
|
bool descriptionIsSet() const;
|
|
void unsetDescription();
|
|
void setDescription(const utility::string_t &value);
|
|
|
|
std::shared_ptr<ApplicationType> getType() const;
|
|
bool typeIsSet() const;
|
|
void unsetType();
|
|
void setType(const std::shared_ptr<ApplicationType> &value);
|
|
|
|
utility::string_t getOrganizationId() const;
|
|
bool organizationIdIsSet() const;
|
|
void unsetOrganization_id();
|
|
void setOrganizationId(const utility::string_t &value);
|
|
|
|
utility::string_t getIconUrl() const;
|
|
bool iconUrlIsSet() const;
|
|
void unsetIcon_url();
|
|
void setIconUrl(const utility::string_t &value);
|
|
|
|
utility::string_t getBannerUrl() const;
|
|
bool bannerUrlIsSet() const;
|
|
void unsetBanner_url();
|
|
void setBannerUrl(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 getParentId() const;
|
|
bool parentIdIsSet() const;
|
|
void unsetParent_id();
|
|
void setParentId(const utility::string_t &value);
|
|
|
|
utility::string_t getSlug() const;
|
|
bool slugIsSet() const;
|
|
void unsetSlug();
|
|
void setSlug(const utility::string_t &value);
|
|
|
|
int32_t getVisibility() const;
|
|
bool visibilityIsSet() const;
|
|
void unsetVisibility();
|
|
void setVisibility(int32_t value);
|
|
|
|
utility::string_t getPassword() const;
|
|
bool passwordIsSet() const;
|
|
void unsetPassword();
|
|
void setPassword(const utility::string_t &value);
|
|
|
|
int32_t getPrimary() const;
|
|
bool primaryIsSet() const;
|
|
void unsetPrimary();
|
|
void setPrimary(int32_t value);
|
|
|
|
int32_t getUserCount() const;
|
|
bool userCountIsSet() const;
|
|
void unsetUser_count();
|
|
void setUserCount(int32_t value);
|
|
|
|
int32_t getAchievementCount() const;
|
|
bool achievementCountIsSet() const;
|
|
void unsetAchievement_count();
|
|
void setAchievementCount(int32_t value);
|
|
|
|
int32_t getBadgeCount() const;
|
|
bool badgeCountIsSet() const;
|
|
void unsetBadge_count();
|
|
void setBadgeCount(int32_t value);
|
|
|
|
int32_t getDownloadCount() const;
|
|
bool downloadCountIsSet() const;
|
|
void unsetDownload_count();
|
|
void setDownloadCount(int32_t value);
|
|
|
|
utility::datetime getCreated() const;
|
|
bool createdIsSet() const;
|
|
void unsetCreated();
|
|
void setCreated(const utility::datetime &value);
|
|
|
|
utility::datetime getUpdated() const;
|
|
bool updatedIsSet() const;
|
|
void unsetUpdated();
|
|
void setUpdated(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_Description;
|
|
bool m_DescriptionIsSet;
|
|
|
|
std::shared_ptr<ApplicationType> m_Type;
|
|
bool m_TypeIsSet;
|
|
|
|
utility::string_t m_Organization_id;
|
|
bool m_Organization_idIsSet;
|
|
|
|
utility::string_t m_Icon_url;
|
|
bool m_Icon_urlIsSet;
|
|
|
|
utility::string_t m_Banner_url;
|
|
bool m_Banner_urlIsSet;
|
|
|
|
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_Parent_id;
|
|
bool m_Parent_idIsSet;
|
|
|
|
utility::string_t m_Slug;
|
|
bool m_SlugIsSet;
|
|
|
|
int32_t m_Visibility;
|
|
bool m_VisibilityIsSet;
|
|
|
|
utility::string_t m_Password;
|
|
bool m_PasswordIsSet;
|
|
|
|
int32_t m_Primary;
|
|
bool m_PrimaryIsSet;
|
|
|
|
int32_t m_User_count;
|
|
bool m_User_countIsSet;
|
|
|
|
int32_t m_Achievement_count;
|
|
bool m_Achievement_countIsSet;
|
|
|
|
int32_t m_Badge_count;
|
|
bool m_Badge_countIsSet;
|
|
|
|
int32_t m_Download_count;
|
|
bool m_Download_countIsSet;
|
|
|
|
utility::datetime m_Created;
|
|
bool m_CreatedIsSet;
|
|
|
|
utility::datetime m_Updated;
|
|
bool m_UpdatedIsSet;
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* TRIBUFU_MODELS_Application_H_ */
|