mirror of
https://github.com/hanzo-cpp/sdk.git
synced 2026-11-20 19:55:32 +00:00
The projection was 113 commits behind the document it claims to describe, and `generate.py --all --check` reported every one of the thirteen clients DRIFTED — the same +19 models in each, because they all fell behind the same emission. Regenerated in place from hanzo-inc/cloud openapi.yaml at 939b09d4 (sha256 087024f6…), which is the only description of this API that cannot name a route the binary does not serve. `--check` is clean across all thirteen after. .spec-lock moved with the code. The generator READS that file and never writes it — hanzoai/ci`s lane does — so a hand run leaves every lock naming the previous document. A lock that disagrees with the tree beside it is worse than no lock: the next `--check` without `--spec` fetches what production serves, compares it to a digest that was already wrong, and reports drift that is really staleness.
145 lines
3.8 KiB
C++
145 lines
3.8 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_config.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_Iam_config_H_
|
|
#define HANZO_MODEL_Iam_config_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include "hanzo/model/Iam_scheme.h"
|
|
#include "hanzo/model/Iam_toggle.h"
|
|
#include <cpprest/details/basic_types.h>
|
|
#include <vector>
|
|
#include "hanzo/model/Iam_bulk.h"
|
|
#include "hanzo/model/Iam_filter.h"
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
class Iam_scheme;
|
|
class Iam_bulk;
|
|
class Iam_toggle;
|
|
class Iam_filter;
|
|
|
|
|
|
class Iam_config
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
Iam_config();
|
|
virtual ~Iam_config();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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_config members
|
|
|
|
|
|
std::vector<std::shared_ptr<Iam_scheme>> getAuthenticationSchemes() const;
|
|
bool authenticationSchemesIsSet() const;
|
|
void unsetAuthenticationSchemes();
|
|
void setAuthenticationSchemes(const std::vector<std::shared_ptr<Iam_scheme>>& value);
|
|
|
|
std::shared_ptr<Iam_bulk> getBulk() const;
|
|
bool bulkIsSet() const;
|
|
void unsetBulk();
|
|
void setBulk(const std::shared_ptr<Iam_bulk>& value);
|
|
|
|
std::shared_ptr<Iam_toggle> getChangePassword() const;
|
|
bool changePasswordIsSet() const;
|
|
void unsetChangePassword();
|
|
void setChangePassword(const std::shared_ptr<Iam_toggle>& value);
|
|
|
|
utility::string_t getDocumentationUri() const;
|
|
bool documentationUriIsSet() const;
|
|
void unsetDocumentationUri();
|
|
void setDocumentationUri(const utility::string_t& value);
|
|
|
|
std::shared_ptr<Iam_toggle> getEtag() const;
|
|
bool etagIsSet() const;
|
|
void unsetEtag();
|
|
void setEtag(const std::shared_ptr<Iam_toggle>& value);
|
|
|
|
std::shared_ptr<Iam_filter> getFilter() const;
|
|
bool filterIsSet() const;
|
|
void unsetFilter();
|
|
void setFilter(const std::shared_ptr<Iam_filter>& value);
|
|
|
|
std::shared_ptr<Iam_toggle> getPatch() const;
|
|
bool patchIsSet() const;
|
|
void unsetPatch();
|
|
void setPatch(const std::shared_ptr<Iam_toggle>& value);
|
|
|
|
std::vector<utility::string_t> getSchemas() const;
|
|
bool schemasIsSet() const;
|
|
void unsetSchemas();
|
|
void setSchemas(const std::vector<utility::string_t>& value);
|
|
|
|
std::shared_ptr<Iam_toggle> getSort() const;
|
|
bool sortIsSet() const;
|
|
void unsetSort();
|
|
void setSort(const std::shared_ptr<Iam_toggle>& value);
|
|
|
|
|
|
protected:
|
|
std::vector<std::shared_ptr<Iam_scheme>> m_AuthenticationSchemes;
|
|
bool m_AuthenticationSchemesIsSet;
|
|
|
|
std::shared_ptr<Iam_bulk> m_Bulk;
|
|
bool m_BulkIsSet;
|
|
|
|
std::shared_ptr<Iam_toggle> m_ChangePassword;
|
|
bool m_ChangePasswordIsSet;
|
|
|
|
utility::string_t m_DocumentationUri;
|
|
bool m_DocumentationUriIsSet;
|
|
|
|
std::shared_ptr<Iam_toggle> m_Etag;
|
|
bool m_EtagIsSet;
|
|
|
|
std::shared_ptr<Iam_filter> m_Filter;
|
|
bool m_FilterIsSet;
|
|
|
|
std::shared_ptr<Iam_toggle> m_Patch;
|
|
bool m_PatchIsSet;
|
|
|
|
std::vector<utility::string_t> m_Schemas;
|
|
bool m_SchemasIsSet;
|
|
|
|
std::shared_ptr<Iam_toggle> m_Sort;
|
|
bool m_SortIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_Iam_config_H_ */
|