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

112 lines
2.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.
*/
/*
* Ai_CostStats.h
*
*
*/
#ifndef HANZO_MODEL_Ai_CostStats_H_
#define HANZO_MODEL_Ai_CostStats_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class Ai_CostStats
: public ModelBase
{
public:
Ai_CostStats();
virtual ~Ai_CostStats();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// Ai_CostStats members
utility::string_t getBaselineModel() const;
bool baselineModelIsSet() const;
void unsetBaseline_model();
void setBaselineModel(const utility::string_t& value);
double getCounterfactualIndex() const;
bool counterfactualIndexIsSet() const;
void unsetCounterfactual_index();
void setCounterfactualIndex(double value);
double getCumulativeSavedIndex() const;
bool cumulativeSavedIndexIsSet() const;
void unsetCumulative_saved_index();
void setCumulativeSavedIndex(double value);
int32_t getPricedEvents() const;
bool pricedEventsIsSet() const;
void unsetPriced_events();
void setPricedEvents(int32_t value);
double getRoutedIndex() const;
bool routedIndexIsSet() const;
void unsetRouted_index();
void setRoutedIndex(double value);
double getSavedPct() const;
bool savedPctIsSet() const;
void unsetSaved_pct();
void setSavedPct(double value);
protected:
utility::string_t m_Baseline_model;
bool m_Baseline_modelIsSet;
double m_Counterfactual_index;
bool m_Counterfactual_indexIsSet;
double m_Cumulative_saved_index;
bool m_Cumulative_saved_indexIsSet;
int32_t m_Priced_events;
bool m_Priced_eventsIsSet;
double m_Routed_index;
bool m_Routed_indexIsSet;
double m_Saved_pct;
bool m_Saved_pctIsSet;
};
}
}
#endif /* HANZO_MODEL_Ai_CostStats_H_ */