Files
zeekay 189ce08e51 Regenerate against the document the deployment answers for
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.
2026-09-05 18:07:13 -07:00

449 lines
12 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_Provider.h
*
*
*/
#ifndef HANZO_MODEL_Iam_Provider_H_
#define HANZO_MODEL_Iam_Provider_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
#include <map>
namespace hanzo {
namespace model {
class Iam_Provider
: public ModelBase
{
public:
Iam_Provider();
virtual ~Iam_Provider();
/////////////////////////////////////////////
/// 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_Provider members
utility::string_t getAppId() const;
bool appIdIsSet() const;
void unsetAppId();
void setAppId(const utility::string_t& value);
utility::string_t getBucket() const;
bool bucketIsSet() const;
void unsetBucket();
void setBucket(const utility::string_t& value);
utility::string_t getCategory() const;
bool categoryIsSet() const;
void unsetCategory();
void setCategory(const utility::string_t& value);
utility::string_t getCert() const;
bool certIsSet() const;
void unsetCert();
void setCert(const utility::string_t& value);
utility::string_t getClientId() const;
bool clientIdIsSet() const;
void unsetClientId();
void setClientId(const utility::string_t& value);
utility::string_t getClientId2() const;
bool clientId2IsSet() const;
void unsetClientId2();
void setClientId2(const utility::string_t& value);
utility::string_t getClientSecret() const;
bool clientSecretIsSet() const;
void unsetClientSecret();
void setClientSecret(const utility::string_t& value);
utility::string_t getClientSecret2() const;
bool clientSecret2IsSet() const;
void unsetClientSecret2();
void setClientSecret2(const utility::string_t& value);
utility::string_t getContent() const;
bool contentIsSet() const;
void unsetContent();
void setContent(const 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 getCustomAuthUrl() const;
bool customAuthUrlIsSet() const;
void unsetCustomAuthUrl();
void setCustomAuthUrl(const utility::string_t& value);
utility::string_t getCustomLogo() const;
bool customLogoIsSet() const;
void unsetCustomLogo();
void setCustomLogo(const utility::string_t& value);
utility::string_t getCustomTokenUrl() const;
bool customTokenUrlIsSet() const;
void unsetCustomTokenUrl();
void setCustomTokenUrl(const utility::string_t& value);
utility::string_t getCustomUserInfoUrl() const;
bool customUserInfoUrlIsSet() const;
void unsetCustomUserInfoUrl();
void setCustomUserInfoUrl(const utility::string_t& value);
bool isDeleted() const;
bool deletedIsSet() const;
void unsetDeleted();
void setDeleted(bool value);
bool isDisableSsl() const;
bool disableSslIsSet() const;
void unsetDisableSsl();
void setDisableSsl(bool value);
utility::string_t getDisplayName() const;
bool displayNameIsSet() const;
void unsetDisplayName();
void setDisplayName(const utility::string_t& value);
utility::string_t getDomain() const;
bool domainIsSet() const;
void unsetDomain();
void setDomain(const utility::string_t& value);
utility::string_t getEmailRegex() const;
bool emailRegexIsSet() const;
void unsetEmailRegex();
void setEmailRegex(const utility::string_t& value);
bool isEnablePkce() const;
bool enablePkceIsSet() const;
void unsetEnablePkce();
void setEnablePkce(bool value);
bool isEnableProxy() const;
bool enableProxyIsSet() const;
void unsetEnableProxy();
void setEnableProxy(bool value);
bool isEnableSignAuthnRequest() const;
bool enableSignAuthnRequestIsSet() const;
void unsetEnableSignAuthnRequest();
void setEnableSignAuthnRequest(bool value);
utility::string_t getEndpoint() const;
bool endpointIsSet() const;
void unsetEndpoint();
void setEndpoint(const utility::string_t& value);
utility::string_t getHost() const;
bool hostIsSet() const;
void unsetHost();
void setHost(const utility::string_t& value);
std::map<utility::string_t, utility::string_t> getHttpHeaders() const;
bool httpHeadersIsSet() const;
void unsetHttpHeaders();
void setHttpHeaders(const std::map<utility::string_t, utility::string_t>& value);
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
utility::string_t getIdP() const;
bool idPIsSet() const;
void unsetIdP();
void setIdP(const utility::string_t& value);
utility::string_t getIntranetEndpoint() const;
bool intranetEndpointIsSet() const;
void unsetIntranetEndpoint();
void setIntranetEndpoint(const utility::string_t& value);
utility::string_t getIssuerUrl() const;
bool issuerUrlIsSet() const;
void unsetIssuerUrl();
void setIssuerUrl(const utility::string_t& value);
utility::string_t getMetadata() const;
bool metadataIsSet() const;
void unsetMetadata();
void setMetadata(const utility::string_t& value);
utility::string_t getMethod() const;
bool methodIsSet() const;
void unsetMethod();
void setMethod(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 getOwner() const;
bool ownerIsSet() const;
void unsetOwner();
void setOwner(const utility::string_t& value);
utility::string_t getPathPrefix() const;
bool pathPrefixIsSet() const;
void unsetPathPrefix();
void setPathPrefix(const utility::string_t& value);
int64_t getPort() const;
bool portIsSet() const;
void unsetPort();
void setPort(int64_t value);
utility::string_t getProviderUrl() const;
bool providerUrlIsSet() const;
void unsetProviderUrl();
void setProviderUrl(const utility::string_t& value);
utility::string_t getReceiver() const;
bool receiverIsSet() const;
void unsetReceiver();
void setReceiver(const utility::string_t& value);
utility::string_t getRegionId() const;
bool regionIdIsSet() const;
void unsetRegionId();
void setRegionId(const utility::string_t& value);
utility::string_t getScopes() const;
bool scopesIsSet() const;
void unsetScopes();
void setScopes(const utility::string_t& value);
utility::string_t getSignName() const;
bool signNameIsSet() const;
void unsetSignName();
void setSignName(const utility::string_t& value);
utility::string_t getSslMode() const;
bool sslModeIsSet() const;
void unsetSslMode();
void setSslMode(const utility::string_t& value);
utility::string_t getSubType() const;
bool subTypeIsSet() const;
void unsetSubType();
void setSubType(const utility::string_t& value);
utility::string_t getTemplateCode() const;
bool templateCodeIsSet() const;
void unsetTemplateCode();
void setTemplateCode(const utility::string_t& value);
utility::string_t getTitle() const;
bool titleIsSet() const;
void unsetTitle();
void setTitle(const utility::string_t& value);
utility::string_t getType() const;
bool typeIsSet() const;
void unsetType();
void setType(const utility::string_t& value);
utility::datetime getUpdatedAt() const;
bool updatedAtIsSet() const;
void unsetUpdatedAt();
void setUpdatedAt(const utility::datetime& value);
std::map<utility::string_t, utility::string_t> getUserMapping() const;
bool userMappingIsSet() const;
void unsetUserMapping();
void setUserMapping(const std::map<utility::string_t, utility::string_t>& value);
protected:
utility::string_t m_AppId;
bool m_AppIdIsSet;
utility::string_t m_Bucket;
bool m_BucketIsSet;
utility::string_t m_Category;
bool m_CategoryIsSet;
utility::string_t m_Cert;
bool m_CertIsSet;
utility::string_t m_ClientId;
bool m_ClientIdIsSet;
utility::string_t m_ClientId2;
bool m_ClientId2IsSet;
utility::string_t m_ClientSecret;
bool m_ClientSecretIsSet;
utility::string_t m_ClientSecret2;
bool m_ClientSecret2IsSet;
utility::string_t m_Content;
bool m_ContentIsSet;
utility::datetime m_CreatedAt;
bool m_CreatedAtIsSet;
utility::string_t m_CreatedTime;
bool m_CreatedTimeIsSet;
utility::string_t m_CustomAuthUrl;
bool m_CustomAuthUrlIsSet;
utility::string_t m_CustomLogo;
bool m_CustomLogoIsSet;
utility::string_t m_CustomTokenUrl;
bool m_CustomTokenUrlIsSet;
utility::string_t m_CustomUserInfoUrl;
bool m_CustomUserInfoUrlIsSet;
bool m_Deleted;
bool m_DeletedIsSet;
bool m_DisableSsl;
bool m_DisableSslIsSet;
utility::string_t m_DisplayName;
bool m_DisplayNameIsSet;
utility::string_t m_Domain;
bool m_DomainIsSet;
utility::string_t m_EmailRegex;
bool m_EmailRegexIsSet;
bool m_EnablePkce;
bool m_EnablePkceIsSet;
bool m_EnableProxy;
bool m_EnableProxyIsSet;
bool m_EnableSignAuthnRequest;
bool m_EnableSignAuthnRequestIsSet;
utility::string_t m_Endpoint;
bool m_EndpointIsSet;
utility::string_t m_Host;
bool m_HostIsSet;
std::map<utility::string_t, utility::string_t> m_HttpHeaders;
bool m_HttpHeadersIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_IdP;
bool m_IdPIsSet;
utility::string_t m_IntranetEndpoint;
bool m_IntranetEndpointIsSet;
utility::string_t m_IssuerUrl;
bool m_IssuerUrlIsSet;
utility::string_t m_Metadata;
bool m_MetadataIsSet;
utility::string_t m_Method;
bool m_MethodIsSet;
utility::string_t m_Name;
bool m_NameIsSet;
utility::string_t m_Owner;
bool m_OwnerIsSet;
utility::string_t m_PathPrefix;
bool m_PathPrefixIsSet;
int64_t m_Port;
bool m_PortIsSet;
utility::string_t m_ProviderUrl;
bool m_ProviderUrlIsSet;
utility::string_t m_Receiver;
bool m_ReceiverIsSet;
utility::string_t m_RegionId;
bool m_RegionIdIsSet;
utility::string_t m_Scopes;
bool m_ScopesIsSet;
utility::string_t m_SignName;
bool m_SignNameIsSet;
utility::string_t m_SslMode;
bool m_SslModeIsSet;
utility::string_t m_SubType;
bool m_SubTypeIsSet;
utility::string_t m_TemplateCode;
bool m_TemplateCodeIsSet;
utility::string_t m_Title;
bool m_TitleIsSet;
utility::string_t m_Type;
bool m_TypeIsSet;
utility::datetime m_UpdatedAt;
bool m_UpdatedAtIsSet;
std::map<utility::string_t, utility::string_t> m_UserMapping;
bool m_UserMappingIsSet;
};
}
}
#endif /* HANZO_MODEL_Iam_Provider_H_ */