mirror of
https://github.com/hanzo-cpp/sdk.git
synced 2026-11-20 19:55:32 +00:00
The projection these were generated from was a month old and predated the compute migration, so every one of them described /v1/visor — which the API serves at zero paths now. That is why a hand-written console client and a generated one had drifted the same way at the same time. No /v1/visor path survives here. The word still appears as a source-plane value and inside gvisor and supervisor, which are not this rename.
559 lines
16 KiB
C++
559 lines
16 KiB
C++
/**
|
|
* Hanzo Cloud API
|
|
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
*
|
|
* The version of the OpenAPI document: v1
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0.
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
/*
|
|
* Iam_UpdateOrganizationInput.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_Iam_UpdateOrganizationInput_H_
|
|
#define HANZO_MODEL_Iam_UpdateOrganizationInput_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include "hanzo/model/Iam_MfaItem.h"
|
|
#include "hanzo/model/Iam_AccountItem.h"
|
|
#include <cpprest/details/basic_types.h>
|
|
#include "hanzo/model/Iam_ThemeData.h"
|
|
#include <vector>
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
class Iam_AccountItem;
|
|
class Iam_MfaItem;
|
|
class Iam_ThemeData;
|
|
|
|
|
|
class Iam_UpdateOrganizationInput
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
Iam_UpdateOrganizationInput();
|
|
virtual ~Iam_UpdateOrganizationInput();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// Iam_UpdateOrganizationInput members
|
|
|
|
|
|
std::vector<std::shared_ptr<Iam_AccountItem>> getAccountItems() const;
|
|
bool accountItemsIsSet() const;
|
|
void unsetAccountItems();
|
|
void setAccountItems(const std::vector<std::shared_ptr<Iam_AccountItem>>& value);
|
|
|
|
utility::string_t getAccountMenu() const;
|
|
bool accountMenuIsSet() const;
|
|
void unsetAccountMenu();
|
|
void setAccountMenu(const utility::string_t& value);
|
|
|
|
utility::string_t getAvatar() const;
|
|
bool avatarIsSet() const;
|
|
void unsetAvatar();
|
|
void setAvatar(const utility::string_t& value);
|
|
|
|
double getBalanceCredit() const;
|
|
bool balanceCreditIsSet() const;
|
|
void unsetBalanceCredit();
|
|
void setBalanceCredit(double value);
|
|
|
|
utility::string_t getBalanceCurrency() const;
|
|
bool balanceCurrencyIsSet() const;
|
|
void unsetBalanceCurrency();
|
|
void setBalanceCurrency(const utility::string_t& value);
|
|
|
|
std::vector<utility::string_t> getCountryCodes() const;
|
|
bool countryCodesIsSet() const;
|
|
void unsetCountryCodes();
|
|
void setCountryCodes(const std::vector<utility::string_t>& value);
|
|
|
|
utility::datetime getCreatedAt() const;
|
|
bool createdAtIsSet() const;
|
|
void unsetCreatedAt();
|
|
void setCreatedAt(const utility::datetime& value);
|
|
|
|
utility::string_t getCreatedTime() const;
|
|
bool createdTimeIsSet() const;
|
|
void unsetCreatedTime();
|
|
void setCreatedTime(const utility::string_t& value);
|
|
|
|
utility::string_t getDcrPolicy() const;
|
|
bool dcrPolicyIsSet() const;
|
|
void unsetDcrPolicy();
|
|
void setDcrPolicy(const utility::string_t& value);
|
|
|
|
utility::string_t getDefaultApplication() const;
|
|
bool defaultApplicationIsSet() const;
|
|
void unsetDefaultApplication();
|
|
void setDefaultApplication(const utility::string_t& value);
|
|
|
|
utility::string_t getDefaultAvatar() const;
|
|
bool defaultAvatarIsSet() const;
|
|
void unsetDefaultAvatar();
|
|
void setDefaultAvatar(const utility::string_t& value);
|
|
|
|
utility::string_t getDefaultPassword() const;
|
|
bool defaultPasswordIsSet() const;
|
|
void unsetDefaultPassword();
|
|
void setDefaultPassword(const utility::string_t& value);
|
|
|
|
bool isDeleted() const;
|
|
bool deletedIsSet() const;
|
|
void unsetDeleted();
|
|
void setDeleted(bool value);
|
|
|
|
bool isDisableSignin() const;
|
|
bool disableSigninIsSet() const;
|
|
void unsetDisableSignin();
|
|
void setDisableSignin(bool value);
|
|
|
|
utility::string_t getDisplayName() const;
|
|
bool displayNameIsSet() const;
|
|
void unsetDisplayName();
|
|
void setDisplayName(const utility::string_t& value);
|
|
|
|
utility::string_t getEmoji() const;
|
|
bool emojiIsSet() const;
|
|
void unsetEmoji();
|
|
void setEmoji(const utility::string_t& value);
|
|
|
|
bool isEnableSoftDeletion() const;
|
|
bool enableSoftDeletionIsSet() const;
|
|
void unsetEnableSoftDeletion();
|
|
void setEnableSoftDeletion(bool value);
|
|
|
|
bool isEnableTour() const;
|
|
bool enableTourIsSet() const;
|
|
void unsetEnableTour();
|
|
void setEnableTour(bool value);
|
|
|
|
int64_t getFailedSigninFrozenTime() const;
|
|
bool failedSigninFrozenTimeIsSet() const;
|
|
void unsetFailedSigninFrozenTime();
|
|
void setFailedSigninFrozenTime(int64_t value);
|
|
|
|
int64_t getFailedSigninLimit() const;
|
|
bool failedSigninLimitIsSet() const;
|
|
void unsetFailedSigninLimit();
|
|
void setFailedSigninLimit(int64_t value);
|
|
|
|
utility::string_t getFavicon() const;
|
|
bool faviconIsSet() const;
|
|
void unsetFavicon();
|
|
void setFavicon(const utility::string_t& value);
|
|
|
|
utility::string_t getFounder() const;
|
|
bool founderIsSet() const;
|
|
void unsetFounder();
|
|
void setFounder(const utility::string_t& value);
|
|
|
|
bool isHasPrivilegeConsent() const;
|
|
bool hasPrivilegeConsentIsSet() const;
|
|
void unsetHasPrivilegeConsent();
|
|
void setHasPrivilegeConsent(bool value);
|
|
|
|
utility::string_t getId() const;
|
|
bool idIsSet() const;
|
|
void unsetId();
|
|
void setId(const utility::string_t& value);
|
|
|
|
int64_t getInitScore() const;
|
|
bool initScoreIsSet() const;
|
|
void unsetInitScore();
|
|
void setInitScore(int64_t value);
|
|
|
|
utility::string_t getIpRestriction() const;
|
|
bool ipRestrictionIsSet() const;
|
|
void unsetIpRestriction();
|
|
void setIpRestriction(const utility::string_t& value);
|
|
|
|
utility::string_t getIpWhitelist() const;
|
|
bool ipWhitelistIsSet() const;
|
|
void unsetIpWhitelist();
|
|
void setIpWhitelist(const utility::string_t& value);
|
|
|
|
bool isIsPersonal() const;
|
|
bool isPersonalIsSet() const;
|
|
void unsetIsPersonal();
|
|
void setIsPersonal(bool value);
|
|
|
|
bool isIsProfilePublic() const;
|
|
bool isProfilePublicIsSet() const;
|
|
void unsetIsProfilePublic();
|
|
void setIsProfilePublic(bool value);
|
|
|
|
utility::string_t getKerberosKdcHost() const;
|
|
bool kerberosKdcHostIsSet() const;
|
|
void unsetKerberosKdcHost();
|
|
void setKerberosKdcHost(const utility::string_t& value);
|
|
|
|
utility::string_t getKerberosKeytab() const;
|
|
bool kerberosKeytabIsSet() const;
|
|
void unsetKerberosKeytab();
|
|
void setKerberosKeytab(const utility::string_t& value);
|
|
|
|
utility::string_t getKerberosRealm() const;
|
|
bool kerberosRealmIsSet() const;
|
|
void unsetKerberosRealm();
|
|
void setKerberosRealm(const utility::string_t& value);
|
|
|
|
utility::string_t getKerberosServiceName() const;
|
|
bool kerberosServiceNameIsSet() const;
|
|
void unsetKerberosServiceName();
|
|
void setKerberosServiceName(const utility::string_t& value);
|
|
|
|
std::vector<utility::string_t> getLanguages() const;
|
|
bool languagesIsSet() const;
|
|
void unsetLanguages();
|
|
void setLanguages(const std::vector<utility::string_t>& value);
|
|
|
|
std::vector<utility::string_t> getLdapAttributes() const;
|
|
bool ldapAttributesIsSet() const;
|
|
void unsetLdapAttributes();
|
|
void setLdapAttributes(const std::vector<utility::string_t>& value);
|
|
|
|
utility::string_t getLogo() const;
|
|
bool logoIsSet() const;
|
|
void unsetLogo();
|
|
void setLogo(const utility::string_t& value);
|
|
|
|
utility::string_t getLogoDark() const;
|
|
bool logoDarkIsSet() const;
|
|
void unsetLogoDark();
|
|
void setLogoDark(const utility::string_t& value);
|
|
|
|
utility::string_t getMasterPassword() const;
|
|
bool masterPasswordIsSet() const;
|
|
void unsetMasterPassword();
|
|
void setMasterPassword(const utility::string_t& value);
|
|
|
|
utility::string_t getMasterVerificationCode() const;
|
|
bool masterVerificationCodeIsSet() const;
|
|
void unsetMasterVerificationCode();
|
|
void setMasterVerificationCode(const utility::string_t& value);
|
|
|
|
std::vector<std::shared_ptr<Iam_MfaItem>> getMfaItems() const;
|
|
bool mfaItemsIsSet() const;
|
|
void unsetMfaItems();
|
|
void setMfaItems(const std::vector<std::shared_ptr<Iam_MfaItem>>& value);
|
|
|
|
int64_t getMfaRememberInHours() const;
|
|
bool mfaRememberInHoursIsSet() const;
|
|
void unsetMfaRememberInHours();
|
|
void setMfaRememberInHours(int64_t value);
|
|
|
|
utility::string_t getName() const;
|
|
bool nameIsSet() const;
|
|
void unsetName();
|
|
void setName(const utility::string_t& value);
|
|
|
|
std::vector<utility::string_t> getNavItems() const;
|
|
bool navItemsIsSet() const;
|
|
void unsetNavItems();
|
|
void setNavItems(const std::vector<utility::string_t>& value);
|
|
|
|
double getOrgBalance() const;
|
|
bool orgBalanceIsSet() const;
|
|
void unsetOrgBalance();
|
|
void setOrgBalance(double value);
|
|
|
|
utility::string_t getOwner() const;
|
|
bool ownerIsSet() const;
|
|
void unsetOwner();
|
|
void setOwner(const utility::string_t& value);
|
|
|
|
int64_t getPasswordExpireDays() const;
|
|
bool passwordExpireDaysIsSet() const;
|
|
void unsetPasswordExpireDays();
|
|
void setPasswordExpireDays(int64_t value);
|
|
|
|
utility::string_t getPasswordObfuscatorKey() const;
|
|
bool passwordObfuscatorKeyIsSet() const;
|
|
void unsetPasswordObfuscatorKey();
|
|
void setPasswordObfuscatorKey(const utility::string_t& value);
|
|
|
|
utility::string_t getPasswordObfuscatorType() const;
|
|
bool passwordObfuscatorTypeIsSet() const;
|
|
void unsetPasswordObfuscatorType();
|
|
void setPasswordObfuscatorType(const utility::string_t& value);
|
|
|
|
std::vector<utility::string_t> getPasswordOptions() const;
|
|
bool passwordOptionsIsSet() const;
|
|
void unsetPasswordOptions();
|
|
void setPasswordOptions(const std::vector<utility::string_t>& value);
|
|
|
|
utility::string_t getPasswordSalt() const;
|
|
bool passwordSaltIsSet() const;
|
|
void unsetPasswordSalt();
|
|
void setPasswordSalt(const utility::string_t& value);
|
|
|
|
utility::string_t getPasswordType() const;
|
|
bool passwordTypeIsSet() const;
|
|
void unsetPasswordType();
|
|
void setPasswordType(const utility::string_t& value);
|
|
|
|
std::vector<utility::string_t> getTags() const;
|
|
bool tagsIsSet() const;
|
|
void unsetTags();
|
|
void setTags(const std::vector<utility::string_t>& value);
|
|
|
|
std::shared_ptr<Iam_ThemeData> getThemeData() const;
|
|
bool themeDataIsSet() const;
|
|
void unsetThemeData();
|
|
void setThemeData(const std::shared_ptr<Iam_ThemeData>& value);
|
|
|
|
utility::datetime getUpdatedAt() const;
|
|
bool updatedAtIsSet() const;
|
|
void unsetUpdatedAt();
|
|
void setUpdatedAt(const utility::datetime& value);
|
|
|
|
bool isUseEmailAsUsername() const;
|
|
bool useEmailAsUsernameIsSet() const;
|
|
void unsetUseEmailAsUsername();
|
|
void setUseEmailAsUsername(bool value);
|
|
|
|
bool isUsePermanentAvatar() const;
|
|
bool usePermanentAvatarIsSet() const;
|
|
void unsetUsePermanentAvatar();
|
|
void setUsePermanentAvatar(bool value);
|
|
|
|
double getUserBalance() const;
|
|
bool userBalanceIsSet() const;
|
|
void unsetUserBalance();
|
|
void setUserBalance(double value);
|
|
|
|
std::vector<utility::string_t> getUserNavItems() const;
|
|
bool userNavItemsIsSet() const;
|
|
void unsetUserNavItems();
|
|
void setUserNavItems(const std::vector<utility::string_t>& value);
|
|
|
|
std::vector<utility::string_t> getUserTypes() const;
|
|
bool userTypesIsSet() const;
|
|
void unsetUserTypes();
|
|
void setUserTypes(const std::vector<utility::string_t>& value);
|
|
|
|
utility::string_t getWebsiteUrl() const;
|
|
bool websiteUrlIsSet() const;
|
|
void unsetWebsiteUrl();
|
|
void setWebsiteUrl(const utility::string_t& value);
|
|
|
|
std::vector<utility::string_t> getWidgetItems() const;
|
|
bool widgetItemsIsSet() const;
|
|
void unsetWidgetItems();
|
|
void setWidgetItems(const std::vector<utility::string_t>& value);
|
|
|
|
|
|
protected:
|
|
std::vector<std::shared_ptr<Iam_AccountItem>> m_AccountItems;
|
|
bool m_AccountItemsIsSet;
|
|
|
|
utility::string_t m_AccountMenu;
|
|
bool m_AccountMenuIsSet;
|
|
|
|
utility::string_t m_Avatar;
|
|
bool m_AvatarIsSet;
|
|
|
|
double m_BalanceCredit;
|
|
bool m_BalanceCreditIsSet;
|
|
|
|
utility::string_t m_BalanceCurrency;
|
|
bool m_BalanceCurrencyIsSet;
|
|
|
|
std::vector<utility::string_t> m_CountryCodes;
|
|
bool m_CountryCodesIsSet;
|
|
|
|
utility::datetime m_CreatedAt;
|
|
bool m_CreatedAtIsSet;
|
|
|
|
utility::string_t m_CreatedTime;
|
|
bool m_CreatedTimeIsSet;
|
|
|
|
utility::string_t m_DcrPolicy;
|
|
bool m_DcrPolicyIsSet;
|
|
|
|
utility::string_t m_DefaultApplication;
|
|
bool m_DefaultApplicationIsSet;
|
|
|
|
utility::string_t m_DefaultAvatar;
|
|
bool m_DefaultAvatarIsSet;
|
|
|
|
utility::string_t m_DefaultPassword;
|
|
bool m_DefaultPasswordIsSet;
|
|
|
|
bool m_Deleted;
|
|
bool m_DeletedIsSet;
|
|
|
|
bool m_DisableSignin;
|
|
bool m_DisableSigninIsSet;
|
|
|
|
utility::string_t m_DisplayName;
|
|
bool m_DisplayNameIsSet;
|
|
|
|
utility::string_t m_Emoji;
|
|
bool m_EmojiIsSet;
|
|
|
|
bool m_EnableSoftDeletion;
|
|
bool m_EnableSoftDeletionIsSet;
|
|
|
|
bool m_EnableTour;
|
|
bool m_EnableTourIsSet;
|
|
|
|
int64_t m_FailedSigninFrozenTime;
|
|
bool m_FailedSigninFrozenTimeIsSet;
|
|
|
|
int64_t m_FailedSigninLimit;
|
|
bool m_FailedSigninLimitIsSet;
|
|
|
|
utility::string_t m_Favicon;
|
|
bool m_FaviconIsSet;
|
|
|
|
utility::string_t m_Founder;
|
|
bool m_FounderIsSet;
|
|
|
|
bool m_HasPrivilegeConsent;
|
|
bool m_HasPrivilegeConsentIsSet;
|
|
|
|
utility::string_t m_Id;
|
|
bool m_IdIsSet;
|
|
|
|
int64_t m_InitScore;
|
|
bool m_InitScoreIsSet;
|
|
|
|
utility::string_t m_IpRestriction;
|
|
bool m_IpRestrictionIsSet;
|
|
|
|
utility::string_t m_IpWhitelist;
|
|
bool m_IpWhitelistIsSet;
|
|
|
|
bool m_IsPersonal;
|
|
bool m_IsPersonalIsSet;
|
|
|
|
bool m_IsProfilePublic;
|
|
bool m_IsProfilePublicIsSet;
|
|
|
|
utility::string_t m_KerberosKdcHost;
|
|
bool m_KerberosKdcHostIsSet;
|
|
|
|
utility::string_t m_KerberosKeytab;
|
|
bool m_KerberosKeytabIsSet;
|
|
|
|
utility::string_t m_KerberosRealm;
|
|
bool m_KerberosRealmIsSet;
|
|
|
|
utility::string_t m_KerberosServiceName;
|
|
bool m_KerberosServiceNameIsSet;
|
|
|
|
std::vector<utility::string_t> m_Languages;
|
|
bool m_LanguagesIsSet;
|
|
|
|
std::vector<utility::string_t> m_LdapAttributes;
|
|
bool m_LdapAttributesIsSet;
|
|
|
|
utility::string_t m_Logo;
|
|
bool m_LogoIsSet;
|
|
|
|
utility::string_t m_LogoDark;
|
|
bool m_LogoDarkIsSet;
|
|
|
|
utility::string_t m_MasterPassword;
|
|
bool m_MasterPasswordIsSet;
|
|
|
|
utility::string_t m_MasterVerificationCode;
|
|
bool m_MasterVerificationCodeIsSet;
|
|
|
|
std::vector<std::shared_ptr<Iam_MfaItem>> m_MfaItems;
|
|
bool m_MfaItemsIsSet;
|
|
|
|
int64_t m_MfaRememberInHours;
|
|
bool m_MfaRememberInHoursIsSet;
|
|
|
|
utility::string_t m_Name;
|
|
bool m_NameIsSet;
|
|
|
|
std::vector<utility::string_t> m_NavItems;
|
|
bool m_NavItemsIsSet;
|
|
|
|
double m_OrgBalance;
|
|
bool m_OrgBalanceIsSet;
|
|
|
|
utility::string_t m_Owner;
|
|
bool m_OwnerIsSet;
|
|
|
|
int64_t m_PasswordExpireDays;
|
|
bool m_PasswordExpireDaysIsSet;
|
|
|
|
utility::string_t m_PasswordObfuscatorKey;
|
|
bool m_PasswordObfuscatorKeyIsSet;
|
|
|
|
utility::string_t m_PasswordObfuscatorType;
|
|
bool m_PasswordObfuscatorTypeIsSet;
|
|
|
|
std::vector<utility::string_t> m_PasswordOptions;
|
|
bool m_PasswordOptionsIsSet;
|
|
|
|
utility::string_t m_PasswordSalt;
|
|
bool m_PasswordSaltIsSet;
|
|
|
|
utility::string_t m_PasswordType;
|
|
bool m_PasswordTypeIsSet;
|
|
|
|
std::vector<utility::string_t> m_Tags;
|
|
bool m_TagsIsSet;
|
|
|
|
std::shared_ptr<Iam_ThemeData> m_ThemeData;
|
|
bool m_ThemeDataIsSet;
|
|
|
|
utility::datetime m_UpdatedAt;
|
|
bool m_UpdatedAtIsSet;
|
|
|
|
bool m_UseEmailAsUsername;
|
|
bool m_UseEmailAsUsernameIsSet;
|
|
|
|
bool m_UsePermanentAvatar;
|
|
bool m_UsePermanentAvatarIsSet;
|
|
|
|
double m_UserBalance;
|
|
bool m_UserBalanceIsSet;
|
|
|
|
std::vector<utility::string_t> m_UserNavItems;
|
|
bool m_UserNavItemsIsSet;
|
|
|
|
std::vector<utility::string_t> m_UserTypes;
|
|
bool m_UserTypesIsSet;
|
|
|
|
utility::string_t m_WebsiteUrl;
|
|
bool m_WebsiteUrlIsSet;
|
|
|
|
std::vector<utility::string_t> m_WidgetItems;
|
|
bool m_WidgetItemsIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_Iam_UpdateOrganizationInput_H_ */
|