Update openapi generator version

This commit is contained in:
2025-06-03 17:20:22 -03:00
parent 4ce994a111
commit 6c6221a436
107 changed files with 2874 additions and 2412 deletions

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -23,7 +23,7 @@
#include "tribufu++/ApiException.h"
#include "tribufu++/HttpContent.h"
#include "tribufu++/IHttpBody.h"
#include "tribufu++/ModelBase.h"
#if defined(_WIN32) || defined(_WIN64)
#undef U
#endif
@ -63,6 +63,7 @@ namespace tribufu
static utility::string_t parameterToString(double value);
static utility::string_t parameterToString(const utility::datetime &value);
static utility::string_t parameterToString(bool value);
static utility::string_t parameterToString(const ModelBase &value);
template <class T> static utility::string_t parameterToString(const std::vector<T> &value);
template <class T> static utility::string_t parameterToString(const std::shared_ptr<T> &value);

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -30,6 +30,12 @@ namespace tribufu
{
public:
ApplicationType();
ApplicationType(utility::string_t str);
operator utility::string_t() const
{
return enumToStrMap.at(getValue());
}
virtual ~ApplicationType();
/////////////////////////////////////////////
@ -56,6 +62,12 @@ namespace tribufu
protected:
eApplicationType m_value;
std::map<eApplicationType, utility::string_t> enumToStrMap = {
{eApplicationType::ApplicationType_APPLICATION, "APPLICATION"},
{eApplicationType::ApplicationType_GAME, "GAME"}};
std::map<utility::string_t, eApplicationType> strToEnumMap = {
{"APPLICATION", eApplicationType::ApplicationType_APPLICATION},
{"GAME", eApplicationType::ApplicationType_GAME}};
};
}

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -30,6 +30,12 @@ namespace tribufu
{
public:
CodeChallengeMethod();
CodeChallengeMethod(utility::string_t str);
operator utility::string_t() const
{
return enumToStrMap.at(getValue());
}
virtual ~CodeChallengeMethod();
/////////////////////////////////////////////
@ -56,6 +62,12 @@ namespace tribufu
protected:
eCodeChallengeMethod m_value;
std::map<eCodeChallengeMethod, utility::string_t> enumToStrMap = {
{eCodeChallengeMethod::CodeChallengeMethod_PLAIN, "PLAIN"},
{eCodeChallengeMethod::CodeChallengeMethod_S256, "S256"}};
std::map<utility::string_t, eCodeChallengeMethod> strToEnumMap = {
{"PLAIN", eCodeChallengeMethod::CodeChallengeMethod_PLAIN},
{"S256", eCodeChallengeMethod::CodeChallengeMethod_S256}};
};
}

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -30,6 +30,12 @@ namespace tribufu
{
public:
GrantType();
GrantType(utility::string_t str);
operator utility::string_t() const
{
return enumToStrMap.at(getValue());
}
virtual ~GrantType();
/////////////////////////////////////////////
@ -58,6 +64,16 @@ namespace tribufu
protected:
eGrantType m_value;
std::map<eGrantType, utility::string_t> enumToStrMap = {
{eGrantType::GrantType_AUTHORIZATION_CODE, "AUTHORIZATION_CODE"},
{eGrantType::GrantType_CLIENT_CREDENTIALS, "CLIENT_CREDENTIALS"},
{eGrantType::GrantType_PASSWORD, "PASSWORD"},
{eGrantType::GrantType_REFRESH_TOKEN, "REFRESH_TOKEN"}};
std::map<utility::string_t, eGrantType> strToEnumMap = {
{"AUTHORIZATION_CODE", eGrantType::GrantType_AUTHORIZATION_CODE},
{"CLIENT_CREDENTIALS", eGrantType::GrantType_CLIENT_CREDENTIALS},
{"PASSWORD", eGrantType::GrantType_PASSWORD},
{"REFRESH_TOKEN", eGrantType::GrantType_REFRESH_TOKEN}};
};
}

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -30,6 +30,12 @@ namespace tribufu
{
public:
GroupRank();
GroupRank(utility::string_t str);
operator utility::string_t() const
{
return enumToStrMap.at(getValue());
}
virtual ~GroupRank();
/////////////////////////////////////////////
@ -57,6 +63,12 @@ namespace tribufu
protected:
eGroupRank m_value;
std::map<eGroupRank, utility::string_t> enumToStrMap = {{eGroupRank::GroupRank_MEMBER, "MEMBER"},
{eGroupRank::GroupRank_LEADER, "LEADER"},
{eGroupRank::GroupRank_OWNER, "OWNER"}};
std::map<utility::string_t, eGroupRank> strToEnumMap = {{"MEMBER", eGroupRank::GroupRank_MEMBER},
{"LEADER", eGroupRank::GroupRank_LEADER},
{"OWNER", eGroupRank::GroupRank_OWNER}};
};
}

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -30,6 +30,12 @@ namespace tribufu
{
public:
LeaderboardOrder();
LeaderboardOrder(utility::string_t str);
operator utility::string_t() const
{
return enumToStrMap.at(getValue());
}
virtual ~LeaderboardOrder();
/////////////////////////////////////////////
@ -56,6 +62,12 @@ namespace tribufu
protected:
eLeaderboardOrder m_value;
std::map<eLeaderboardOrder, utility::string_t> enumToStrMap = {
{eLeaderboardOrder::LeaderboardOrder_LEVEL, "LEVEL"},
{eLeaderboardOrder::LeaderboardOrder_POINTS, "POINTS"}};
std::map<utility::string_t, eLeaderboardOrder> strToEnumMap = {
{"LEVEL", eLeaderboardOrder::LeaderboardOrder_LEVEL},
{"POINTS", eLeaderboardOrder::LeaderboardOrder_POINTS}};
};
}

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -30,6 +30,12 @@ namespace tribufu
{
public:
LoginProvider();
LoginProvider(utility::string_t str);
operator utility::string_t() const
{
return enumToStrMap.at(getValue());
}
virtual ~LoginProvider();
/////////////////////////////////////////////
@ -61,6 +67,22 @@ namespace tribufu
protected:
eLoginProvider m_value;
std::map<eLoginProvider, utility::string_t> enumToStrMap = {
{eLoginProvider::LoginProvider_STEAM, "STEAM"},
{eLoginProvider::LoginProvider_EPIC, "EPIC"},
{eLoginProvider::LoginProvider_DISCORD, "DISCORD"},
{eLoginProvider::LoginProvider_MICROSOFT, "MICROSOFT"},
{eLoginProvider::LoginProvider_PLAYSTATION, "PLAYSTATION"},
{eLoginProvider::LoginProvider_GOOGLE, "GOOGLE"},
{eLoginProvider::LoginProvider_APPLE, "APPLE"}};
std::map<utility::string_t, eLoginProvider> strToEnumMap = {
{"STEAM", eLoginProvider::LoginProvider_STEAM},
{"EPIC", eLoginProvider::LoginProvider_EPIC},
{"DISCORD", eLoginProvider::LoginProvider_DISCORD},
{"MICROSOFT", eLoginProvider::LoginProvider_MICROSOFT},
{"PLAYSTATION", eLoginProvider::LoginProvider_PLAYSTATION},
{"GOOGLE", eLoginProvider::LoginProvider_GOOGLE},
{"APPLE", eLoginProvider::LoginProvider_APPLE}};
};
}

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -30,6 +30,12 @@ namespace tribufu
{
public:
ResponseType();
ResponseType(utility::string_t str);
operator utility::string_t() const
{
return enumToStrMap.at(getValue());
}
virtual ~ResponseType();
/////////////////////////////////////////////
@ -56,6 +62,10 @@ namespace tribufu
protected:
eResponseType m_value;
std::map<eResponseType, utility::string_t> enumToStrMap = {{eResponseType::ResponseType_CODE, "CODE"},
{eResponseType::ResponseType_TOKEN, "TOKEN"}};
std::map<utility::string_t, eResponseType> strToEnumMap = {{"CODE", eResponseType::ResponseType_CODE},
{"TOKEN", eResponseType::ResponseType_TOKEN}};
};
}

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -30,6 +30,12 @@ namespace tribufu
{
public:
SearchType();
SearchType(utility::string_t str);
operator utility::string_t() const
{
return enumToStrMap.at(getValue());
}
virtual ~SearchType();
/////////////////////////////////////////////
@ -58,6 +64,14 @@ namespace tribufu
protected:
eSearchType m_value;
std::map<eSearchType, utility::string_t> enumToStrMap = {{eSearchType::SearchType_USER, "USER"},
{eSearchType::SearchType_GROUP, "GROUP"},
{eSearchType::SearchType_SERVER, "SERVER"},
{eSearchType::SearchType_CLUSTER, "CLUSTER"}};
std::map<utility::string_t, eSearchType> strToEnumMap = {{"USER", eSearchType::SearchType_USER},
{"GROUP", eSearchType::SearchType_GROUP},
{"SERVER", eSearchType::SearchType_SERVER},
{"CLUSTER", eSearchType::SearchType_CLUSTER}};
};
}

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -30,6 +30,12 @@ namespace tribufu
{
public:
ServerStatus();
ServerStatus(utility::string_t str);
operator utility::string_t() const
{
return enumToStrMap.at(getValue());
}
virtual ~ServerStatus();
/////////////////////////////////////////////
@ -57,6 +63,12 @@ namespace tribufu
protected:
eServerStatus m_value;
std::map<eServerStatus, utility::string_t> enumToStrMap = {{eServerStatus::ServerStatus_UNKNOWN, "UNKNOWN"},
{eServerStatus::ServerStatus_OFFLINE, "OFFLINE"},
{eServerStatus::ServerStatus_ONLINE, "ONLINE"}};
std::map<utility::string_t, eServerStatus> strToEnumMap = {{"UNKNOWN", eServerStatus::ServerStatus_UNKNOWN},
{"OFFLINE", eServerStatus::ServerStatus_OFFLINE},
{"ONLINE", eServerStatus::ServerStatus_ONLINE}};
};
}

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -30,6 +30,12 @@ namespace tribufu
{
public:
TokenHintType();
TokenHintType(utility::string_t str);
operator utility::string_t() const
{
return enumToStrMap.at(getValue());
}
virtual ~TokenHintType();
/////////////////////////////////////////////
@ -56,6 +62,12 @@ namespace tribufu
protected:
eTokenHintType m_value;
std::map<eTokenHintType, utility::string_t> enumToStrMap = {
{eTokenHintType::TokenHintType_ACCESS_TOKEN, "ACCESS_TOKEN"},
{eTokenHintType::TokenHintType_REFRESH_TOKEN, "REFRESH_TOKEN"}};
std::map<utility::string_t, eTokenHintType> strToEnumMap = {
{"ACCESS_TOKEN", eTokenHintType::TokenHintType_ACCESS_TOKEN},
{"REFRESH_TOKEN", eTokenHintType::TokenHintType_REFRESH_TOKEN}};
};
}

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -30,6 +30,12 @@ namespace tribufu
{
public:
TokenType();
TokenType(utility::string_t str);
operator utility::string_t() const
{
return enumToStrMap.at(getValue());
}
virtual ~TokenType();
/////////////////////////////////////////////
@ -55,6 +61,8 @@ namespace tribufu
protected:
eTokenType m_value;
std::map<eTokenType, utility::string_t> enumToStrMap = {{eTokenType::TokenType_BEARER, "BEARER"}};
std::map<utility::string_t, eTokenType> strToEnumMap = {{"BEARER", eTokenType::TokenType_BEARER}};
};
}

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/

View File

@ -5,7 +5,7 @@
* 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.
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@ -30,6 +30,12 @@ namespace tribufu
{
public:
UserType();
UserType(utility::string_t str);
operator utility::string_t() const
{
return enumToStrMap.at(getValue());
}
virtual ~UserType();
/////////////////////////////////////////////
@ -56,6 +62,10 @@ namespace tribufu
protected:
eUserType m_value;
std::map<eUserType, utility::string_t> enumToStrMap = {{eUserType::UserType_USER, "USER"},
{eUserType::UserType_BOT, "BOT"}};
std::map<utility::string_t, eUserType> strToEnumMap = {{"USER", eUserType::UserType_USER},
{"BOT", eUserType::UserType_BOT}};
};
}