Files
zeekay 2872fb75b8 Regenerate: the AI surface says what it answers
288 of hanzoai/ai's 294 operations now declare a response, against 1 before.
GET /v1/models, POST /v1/chat/completions, /v1/embeddings, /v1/messages —
every address a client actually calls — used to reach this client untyped,
because cloud's relay carried an operation's sentence and dropped the shapes
it named. It carries both now.

Fleet-wide the document goes from 69% to 81% of operations declaring what
comes back, which is where the ~208 new models here come from.
2026-08-28 15:54:28 -07:00

304 lines
7.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.
*/
/*
* FinetuneJob.h
*
*
*/
#ifndef HANZO_MODEL_FinetuneJob_H_
#define HANZO_MODEL_FinetuneJob_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class FinetuneJob
: public ModelBase
{
public:
FinetuneJob();
virtual ~FinetuneJob();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// FinetuneJob members
utility::string_t getBaseModel() const;
bool baseModelIsSet() const;
void unsetBaseModel();
void setBaseModel(const utility::string_t& value);
int32_t getCostCents() const;
bool costCentsIsSet() const;
void unsetCostCents();
void setCostCents(int32_t value);
utility::string_t getCrName() const;
bool crNameIsSet() const;
void unsetCrName();
void setCrName(const utility::string_t& value);
utility::string_t getCreatedBy() const;
bool createdByIsSet() const;
void unsetCreatedBy();
void setCreatedBy(const utility::string_t& value);
utility::string_t getCreatedTime() const;
bool createdTimeIsSet() const;
void unsetCreatedTime();
void setCreatedTime(const utility::string_t& value);
utility::string_t getDataset() const;
bool datasetIsSet() const;
void unsetDataset();
void setDataset(const utility::string_t& value);
utility::string_t getDeployUrl() const;
bool deployUrlIsSet() const;
void unsetDeployUrl();
void setDeployUrl(const utility::string_t& value);
utility::string_t getDeployedModel() const;
bool deployedModelIsSet() const;
void unsetDeployedModel();
void setDeployedModel(const utility::string_t& value);
utility::string_t getDisplayName() const;
bool displayNameIsSet() const;
void unsetDisplayName();
void setDisplayName(const utility::string_t& value);
utility::string_t getError() const;
bool errorIsSet() const;
void unsetError();
void setError(const utility::string_t& value);
utility::string_t getFinishedTime() const;
bool finishedTimeIsSet() const;
void unsetFinishedTime();
void setFinishedTime(const utility::string_t& value);
int32_t getGpuCount() const;
bool gpuCountIsSet() const;
void unsetGpuCount();
void setGpuCount(int32_t value);
int32_t getGpuSeconds() const;
bool gpuSecondsIsSet() const;
void unsetGpuSeconds();
void setGpuSeconds(int32_t value);
utility::string_t getGpuType() const;
bool gpuTypeIsSet() const;
void unsetGpuType();
void setGpuType(const utility::string_t& value);
utility::string_t getHyperparams() const;
bool hyperparamsIsSet() const;
void unsetHyperparams();
void setHyperparams(const utility::string_t& value);
utility::string_t getMessage() const;
bool messageIsSet() const;
void unsetMessage();
void setMessage(const utility::string_t& value);
bool isMetered() const;
bool meteredIsSet() const;
void unsetMetered();
void setMetered(bool value);
utility::string_t getMethod() const;
bool methodIsSet() const;
void unsetMethod();
void setMethod(const utility::string_t& value);
utility::string_t getName() const;
bool nameIsSet() const;
void unsetName();
void setName(const utility::string_t& value);
utility::string_t getRNamespace() const;
bool rNamespaceIsSet() const;
void unsetr_namespace();
void setRNamespace(const utility::string_t& value);
int32_t getNumNodes() const;
bool numNodesIsSet() const;
void unsetNumNodes();
void setNumNodes(int32_t value);
utility::string_t getOutputUri() const;
bool outputUriIsSet() const;
void unsetOutputUri();
void setOutputUri(const utility::string_t& value);
utility::string_t getOwner() const;
bool ownerIsSet() const;
void unsetOwner();
void setOwner(const utility::string_t& value);
utility::string_t getPreset() const;
bool presetIsSet() const;
void unsetPreset();
void setPreset(const utility::string_t& value);
int32_t getProgress() const;
bool progressIsSet() const;
void unsetProgress();
void setProgress(int32_t value);
utility::string_t getRuntime() const;
bool runtimeIsSet() const;
void unsetRuntime();
void setRuntime(const utility::string_t& value);
utility::string_t getStartedTime() const;
bool startedTimeIsSet() const;
void unsetStartedTime();
void setStartedTime(const utility::string_t& value);
utility::string_t getStatus() const;
bool statusIsSet() const;
void unsetStatus();
void setStatus(const utility::string_t& value);
utility::string_t getTask() const;
bool taskIsSet() const;
void unsetTask();
void setTask(const utility::string_t& value);
utility::string_t getUpdatedTime() const;
bool updatedTimeIsSet() const;
void unsetUpdatedTime();
void setUpdatedTime(const utility::string_t& value);
protected:
utility::string_t m_BaseModel;
bool m_BaseModelIsSet;
int32_t m_CostCents;
bool m_CostCentsIsSet;
utility::string_t m_CrName;
bool m_CrNameIsSet;
utility::string_t m_CreatedBy;
bool m_CreatedByIsSet;
utility::string_t m_CreatedTime;
bool m_CreatedTimeIsSet;
utility::string_t m_Dataset;
bool m_DatasetIsSet;
utility::string_t m_DeployUrl;
bool m_DeployUrlIsSet;
utility::string_t m_DeployedModel;
bool m_DeployedModelIsSet;
utility::string_t m_DisplayName;
bool m_DisplayNameIsSet;
utility::string_t m_Error;
bool m_ErrorIsSet;
utility::string_t m_FinishedTime;
bool m_FinishedTimeIsSet;
int32_t m_GpuCount;
bool m_GpuCountIsSet;
int32_t m_GpuSeconds;
bool m_GpuSecondsIsSet;
utility::string_t m_GpuType;
bool m_GpuTypeIsSet;
utility::string_t m_Hyperparams;
bool m_HyperparamsIsSet;
utility::string_t m_Message;
bool m_MessageIsSet;
bool m_Metered;
bool m_MeteredIsSet;
utility::string_t m_Method;
bool m_MethodIsSet;
utility::string_t m_Name;
bool m_NameIsSet;
utility::string_t m_r_namespace;
bool m_r_namespaceIsSet;
int32_t m_NumNodes;
bool m_NumNodesIsSet;
utility::string_t m_OutputUri;
bool m_OutputUriIsSet;
utility::string_t m_Owner;
bool m_OwnerIsSet;
utility::string_t m_Preset;
bool m_PresetIsSet;
int32_t m_Progress;
bool m_ProgressIsSet;
utility::string_t m_Runtime;
bool m_RuntimeIsSet;
utility::string_t m_StartedTime;
bool m_StartedTimeIsSet;
utility::string_t m_Status;
bool m_StatusIsSet;
utility::string_t m_Task;
bool m_TaskIsSet;
utility::string_t m_UpdatedTime;
bool m_UpdatedTimeIsSet;
};
}
}
#endif /* HANZO_MODEL_FinetuneJob_H_ */