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.
135 lines
3.9 KiB
C++
135 lines
3.9 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.
|
|
*/
|
|
|
|
/*
|
|
* O11y_GettableAgentCheckIn.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_O11y_GettableAgentCheckIn_H_
|
|
#define HANZO_MODEL_O11y_GettableAgentCheckIn_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include "hanzo/model/O11y_ProviderIntegrationConfig.h"
|
|
#include <cpprest/details/basic_types.h>
|
|
#include "hanzo/model/O11y_IntegrationConfig.h"
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
class O11y_ProviderIntegrationConfig;
|
|
class O11y_IntegrationConfig;
|
|
|
|
|
|
class O11y_GettableAgentCheckIn
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
O11y_GettableAgentCheckIn();
|
|
virtual ~O11y_GettableAgentCheckIn();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// O11y_GettableAgentCheckIn members
|
|
|
|
|
|
/// <summary>
|
|
/// Older fields for backward compatibility with existing AWS agents
|
|
/// </summary>
|
|
utility::string_t getAccountId() const;
|
|
bool accountIdIsSet() const;
|
|
void unsetAccount_id();
|
|
void setAccountId(const utility::string_t& value);
|
|
|
|
utility::string_t getCloudIntegrationId() const;
|
|
bool cloudIntegrationIdIsSet() const;
|
|
void unsetCloudIntegrationId();
|
|
void setCloudIntegrationId(const utility::string_t& value);
|
|
|
|
utility::string_t getCloudAccountId() const;
|
|
bool cloudAccountIdIsSet() const;
|
|
void unsetCloud_account_id();
|
|
void setCloudAccountId(const utility::string_t& value);
|
|
|
|
std::shared_ptr<O11y_ProviderIntegrationConfig> getIntegrationConfig() const;
|
|
bool integrationConfigIsSet() const;
|
|
void unsetIntegrationConfig();
|
|
void setIntegrationConfig(const std::shared_ptr<O11y_ProviderIntegrationConfig>& value);
|
|
|
|
std::shared_ptr<O11y_IntegrationConfig> getIntegrationConfigLegacy() const;
|
|
bool integrationConfigLegacyIsSet() const;
|
|
void unsetintegration_config_legacy();
|
|
void setIntegrationConfigLegacy(const std::shared_ptr<O11y_IntegrationConfig>& value);
|
|
|
|
utility::string_t getProviderAccountId() const;
|
|
bool providerAccountIdIsSet() const;
|
|
void unsetProviderAccountId();
|
|
void setProviderAccountId(const utility::string_t& value);
|
|
|
|
utility::datetime getRemovedAt() const;
|
|
bool removedAtIsSet() const;
|
|
void unsetRemovedAt();
|
|
void setRemovedAt(const utility::datetime& value);
|
|
|
|
utility::datetime getRemovedAtLegacy() const;
|
|
bool removedAtLegacyIsSet() const;
|
|
void unsetremoved_at_legacy();
|
|
void setRemovedAtLegacy(const utility::datetime& value);
|
|
|
|
|
|
protected:
|
|
utility::string_t m_Account_id;
|
|
bool m_Account_idIsSet;
|
|
|
|
utility::string_t m_CloudIntegrationId;
|
|
bool m_CloudIntegrationIdIsSet;
|
|
|
|
utility::string_t m_Cloud_account_id;
|
|
bool m_Cloud_account_idIsSet;
|
|
|
|
std::shared_ptr<O11y_ProviderIntegrationConfig> m_IntegrationConfig;
|
|
bool m_IntegrationConfigIsSet;
|
|
|
|
std::shared_ptr<O11y_IntegrationConfig> m_integration_config_legacy;
|
|
bool m_integration_config_legacyIsSet;
|
|
|
|
utility::string_t m_ProviderAccountId;
|
|
bool m_ProviderAccountIdIsSet;
|
|
|
|
utility::datetime m_RemovedAt;
|
|
bool m_RemovedAtIsSet;
|
|
|
|
utility::datetime m_removed_at_legacy;
|
|
bool m_removed_at_legacyIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_O11y_GettableAgentCheckIn_H_ */
|