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

170 lines
4.5 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.
*/
/*
* PopulatedFlow.h
*
*
*/
#ifndef HANZO_MODEL_PopulatedFlow_H_
#define HANZO_MODEL_PopulatedFlow_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include "hanzo/AnyType.h"
#include "hanzo/model/FlowVersion.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class FlowVersion;
class PopulatedFlow
: public ModelBase
{
public:
PopulatedFlow();
virtual ~PopulatedFlow();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// PopulatedFlow members
/// <summary>
/// Created and Updated are unix milliseconds.
/// </summary>
int64_t getCreated() const;
bool createdIsSet() const;
void unsetCreated();
void setCreated(int64_t value);
/// <summary>
/// ExternalID is the caller&#39;s own id for this flow, if it set one.
/// </summary>
utility::string_t getExternalId() const;
bool externalIdIsSet() const;
void unsetExternalId();
void setExternalId(const utility::string_t& value);
/// <summary>
/// FolderID groups the flow in the builder&#39;s tree.
/// </summary>
utility::string_t getFolderId() const;
bool folderIdIsSet() const;
void unsetFolderId();
void setFolderId(const utility::string_t& value);
/// <summary>
/// ID is the flow&#39;s id.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
std::shared_ptr<AnyType> getMetadata() const;
bool metadataIsSet() const;
void unsetMetadata();
void setMetadata(const std::shared_ptr<AnyType>& value);
/// <summary>
/// Org is the owning org, which this surface names projectId. Server-derived from the validated principal — never read from a request.
/// </summary>
utility::string_t getProjectId() const;
bool projectIdIsSet() const;
void unsetProjectId();
void setProjectId(const utility::string_t& value);
/// <summary>
/// PublishedVersionID is the version a run executes when set; empty means the latest version runs.
/// </summary>
utility::string_t getPublishedVersionId() const;
bool publishedVersionIdIsSet() const;
void unsetPublishedVersionId();
void setPublishedVersionId(const utility::string_t& value);
/// <summary>
/// Status is ENABLED or DISABLED — whether the flow&#39;s trigger is armed.
/// </summary>
utility::string_t getStatus() const;
bool statusIsSet() const;
void unsetStatus();
void setStatus(const utility::string_t& value);
int64_t getUpdated() const;
bool updatedIsSet() const;
void unsetUpdated();
void setUpdated(int64_t value);
/// <summary>
/// Version is the flow&#39;s latest version — its display name and step tree.
/// </summary>
std::shared_ptr<FlowVersion> getVersion() const;
bool versionIsSet() const;
void unsetVersion();
void setVersion(const std::shared_ptr<FlowVersion>& value);
protected:
int64_t m_Created;
bool m_CreatedIsSet;
utility::string_t m_ExternalId;
bool m_ExternalIdIsSet;
utility::string_t m_FolderId;
bool m_FolderIdIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
boost::optional<std::shared_ptr<AnyType>> m_Metadata;
utility::string_t m_ProjectId;
bool m_ProjectIdIsSet;
utility::string_t m_PublishedVersionId;
bool m_PublishedVersionIdIsSet;
utility::string_t m_Status;
bool m_StatusIsSet;
int64_t m_Updated;
bool m_UpdatedIsSet;
std::shared_ptr<FlowVersion> m_Version;
bool m_VersionIsSet;
};
}
}
#endif /* HANZO_MODEL_PopulatedFlow_H_ */