Files
zeekay 645325a641 regenerate from cloud 939b09d4
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.
2026-08-24 23:32:53 -07:00

243 lines
6.7 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.
*/
/*
* StepView.h
*
*
*/
#ifndef HANZO_MODEL_StepView_H_
#define HANZO_MODEL_StepView_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include "hanzo/Object.h"
#include <cpprest/details/basic_types.h>
#include <map>
#include <vector>
namespace hanzo {
namespace model {
class StepView
: public ModelBase
{
public:
StepView();
virtual ~StepView();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// StepView members
/// <summary>
/// Args are the tool&#39;s default arguments, merged under whatever the caller passes at run time.
/// </summary>
std::map<utility::string_t, std::shared_ptr<Object>> getArgs() const;
bool argsIsSet() const;
void unsetArgs();
void setArgs(const std::map<utility::string_t, std::shared_ptr<Object>>& value);
/// <summary>
/// Automatable is true when the Business AI can run this step (it names a tool).
/// </summary>
bool isAutomatable() const;
bool automatableIsSet() const;
void unsetAutomatable();
void setAutomatable(bool value);
/// <summary>
/// Available is true when every dependency is done or skipped.
/// </summary>
bool isAvailable() const;
bool availableIsSet() const;
void unsetAvailable();
void setAvailable(bool value);
/// <summary>
/// BlockedBy lists the unfinished dependencies keeping the step unavailable.
/// </summary>
std::vector<utility::string_t> getBlockedBy() const;
bool blockedByIsSet() const;
void unsetBlockedBy();
void setBlockedBy(const std::vector<utility::string_t>& value);
/// <summary>
/// Dependencies are step ids that must be done/skipped before this step is available. The wire key is &#x60;deps&#x60; (the blueprint contract).
/// </summary>
std::vector<utility::string_t> getDeps() const;
bool depsIsSet() const;
void unsetDeps();
void setDeps(const std::vector<utility::string_t>& value);
/// <summary>
/// Detail is the prose/juncture — what the Guide asks or explains here.
/// </summary>
utility::string_t getDetail() const;
bool detailIsSet() const;
void unsetDetail();
void setDetail(const utility::string_t& value);
/// <summary>
/// Draft, when set, is the prompt the embedded AI answers first; its output is folded into one of Args before the tool runs.
/// </summary>
utility::string_t getDraft() const;
bool draftIsSet() const;
void unsetDraft();
void setDraft(const utility::string_t& value);
/// <summary>
/// DraftInto names the argument the drafted text lands in. Empty means \&quot;brief\&quot;.
/// </summary>
utility::string_t getDraftInto() const;
bool draftIntoIsSet() const;
void unsetDraftInto();
void setDraftInto(const utility::string_t& value);
/// <summary>
/// Enabled is the admin on/off lever; absent reads as enabled.
/// </summary>
bool isEnabled() const;
bool enabledIsSet() const;
void unsetEnabled();
void setEnabled(bool value);
/// <summary>
/// ID is the step&#39;s id, as it appears in the journey (e.g. \&quot;gsuite\&quot;).
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// Section is the phase (section id) this step groups under.
/// </summary>
utility::string_t getSection() const;
bool sectionIsSet() const;
void unsetSection();
void setSection(const utility::string_t& value);
/// <summary>
/// Signal names the machine detector that auto-marks this step done.
/// </summary>
utility::string_t getSignal() const;
bool signalIsSet() const;
void unsetSignal();
void setSignal(const utility::string_t& value);
/// <summary>
/// Source records what marked the state: manual, auto (detected) or agent.
/// </summary>
utility::string_t getSource() const;
bool sourceIsSet() const;
void unsetSource();
void setSource(const utility::string_t& value);
/// <summary>
/// State is the step&#39;s per-org lifecycle state: todo|in_progress|done|skipped.
/// </summary>
utility::string_t getState() const;
bool stateIsSet() const;
void unsetState();
void setState(const utility::string_t& value);
/// <summary>
/// Title is the one-line quest as a person reads it in the checklist.
/// </summary>
utility::string_t getTitle() const;
bool titleIsSet() const;
void unsetTitle();
void setTitle(const utility::string_t& value);
/// <summary>
/// Tool is the MCP tool the Business AI runs for \&quot;do it for me\&quot;. A step naming none can only be completed by a person.
/// </summary>
utility::string_t getTool() const;
bool toolIsSet() const;
void unsetTool();
void setTool(const utility::string_t& value);
protected:
std::map<utility::string_t, std::shared_ptr<Object>> m_Args;
bool m_ArgsIsSet;
bool m_Automatable;
bool m_AutomatableIsSet;
bool m_Available;
bool m_AvailableIsSet;
std::vector<utility::string_t> m_BlockedBy;
bool m_BlockedByIsSet;
std::vector<utility::string_t> m_Deps;
bool m_DepsIsSet;
utility::string_t m_Detail;
bool m_DetailIsSet;
utility::string_t m_Draft;
bool m_DraftIsSet;
utility::string_t m_DraftInto;
bool m_DraftIntoIsSet;
bool m_Enabled;
bool m_EnabledIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_Section;
bool m_SectionIsSet;
utility::string_t m_Signal;
bool m_SignalIsSet;
utility::string_t m_Source;
bool m_SourceIsSet;
utility::string_t m_State;
bool m_StateIsSet;
utility::string_t m_Title;
bool m_TitleIsSet;
utility::string_t m_Tool;
bool m_ToolIsSet;
};
}
}
#endif /* HANZO_MODEL_StepView_H_ */