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

209 lines
5.6 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.
*/
/*
* AgentDetail.h
*
*
*/
#ifndef HANZO_MODEL_AgentDetail_H_
#define HANZO_MODEL_AgentDetail_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include "hanzo/model/AgentRunView.h"
#include <cpprest/details/basic_types.h>
#include <vector>
namespace hanzo {
namespace model {
class AgentRunView;
class AgentDetail
: public ModelBase
{
public:
AgentDetail();
virtual ~AgentDetail();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// AgentDetail members
utility::string_t getAvatar() const;
bool avatarIsSet() const;
void unsetAvatar();
void setAvatar(const utility::string_t& value);
utility::string_t getComputeRef() const;
bool computeRefIsSet() const;
void unsetComputeRef();
void setComputeRef(const utility::string_t& value);
utility::string_t getCreatedAt() const;
bool createdAtIsSet() const;
void unsetCreatedAt();
void setCreatedAt(const utility::string_t& value);
utility::string_t getDescription() const;
bool descriptionIsSet() const;
void unsetDescription();
void setDescription(const utility::string_t& value);
utility::string_t getEmoji() const;
bool emojiIsSet() const;
void unsetEmoji();
void setEmoji(const utility::string_t& value);
utility::string_t getExecutionMode() const;
bool executionModeIsSet() const;
void unsetExecutionMode();
void setExecutionMode(const utility::string_t& value);
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// Instructions is the agent&#39;s system prompt, verbatim, up to 32 KiB. It is the one field the list read withholds, because it is the agent&#39;s whole behaviour and a page of them would be a page of prompts.
/// </summary>
utility::string_t getInstructions() const;
bool instructionsIsSet() const;
void unsetInstructions();
void setInstructions(const utility::string_t& value);
utility::string_t getModel() const;
bool modelIsSet() const;
void unsetModel();
void setModel(const utility::string_t& value);
utility::string_t getName() const;
bool nameIsSet() const;
void unsetName();
void setName(const utility::string_t& value);
/// <summary>
/// RecentRuns is the agent&#39;s 20 most recent executions, newest first. It is a window on the history, not the history: the count beside it is &#x60;runs&#x60;.
/// </summary>
std::vector<std::shared_ptr<AgentRunView>> getRecentRuns() const;
bool recentRunsIsSet() const;
void unsetRecentRuns();
void setRecentRuns(const std::vector<std::shared_ptr<AgentRunView>>& value);
int64_t getRuns() const;
bool runsIsSet() const;
void unsetRuns();
void setRuns(int64_t value);
utility::string_t getSchedule() const;
bool scheduleIsSet() const;
void unsetSchedule();
void setSchedule(const utility::string_t& value);
utility::string_t getServiceAccountId() const;
bool serviceAccountIdIsSet() const;
void unsetServiceAccountId();
void setServiceAccountId(const utility::string_t& value);
utility::string_t getStatus() const;
bool statusIsSet() const;
void unsetStatus();
void setStatus(const utility::string_t& value);
std::vector<utility::string_t> getTools() const;
bool toolsIsSet() const;
void unsetTools();
void setTools(const std::vector<utility::string_t>& value);
utility::string_t getUpdatedAt() const;
bool updatedAtIsSet() const;
void unsetUpdatedAt();
void setUpdatedAt(const utility::string_t& value);
protected:
utility::string_t m_Avatar;
bool m_AvatarIsSet;
utility::string_t m_ComputeRef;
bool m_ComputeRefIsSet;
utility::string_t m_CreatedAt;
bool m_CreatedAtIsSet;
utility::string_t m_Description;
bool m_DescriptionIsSet;
utility::string_t m_Emoji;
bool m_EmojiIsSet;
utility::string_t m_ExecutionMode;
bool m_ExecutionModeIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_Instructions;
bool m_InstructionsIsSet;
utility::string_t m_Model;
bool m_ModelIsSet;
utility::string_t m_Name;
bool m_NameIsSet;
std::vector<std::shared_ptr<AgentRunView>> m_RecentRuns;
bool m_RecentRunsIsSet;
int64_t m_Runs;
bool m_RunsIsSet;
utility::string_t m_Schedule;
bool m_ScheduleIsSet;
utility::string_t m_ServiceAccountId;
bool m_ServiceAccountIdIsSet;
utility::string_t m_Status;
bool m_StatusIsSet;
std::vector<utility::string_t> m_Tools;
bool m_ToolsIsSet;
utility::string_t m_UpdatedAt;
bool m_UpdatedAtIsSet;
};
}
}
#endif /* HANZO_MODEL_AgentDetail_H_ */