mirror of
https://github.com/hanzo-cpp/sdk.git
synced 2026-11-20 19:55:32 +00:00
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.
275 lines
7.6 KiB
C++
275 lines
7.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.
|
|
*/
|
|
|
|
/*
|
|
* O11y_BuilderQuery.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_O11y_BuilderQuery_H_
|
|
#define HANZO_MODEL_O11y_BuilderQuery_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include "hanzo/model/O11y_FilterSet.h"
|
|
#include "hanzo/model/O11y_Having.h"
|
|
#include <cpprest/details/basic_types.h>
|
|
#include "hanzo/model/O11y_OrderBy.h"
|
|
#include <vector>
|
|
#include "hanzo/model/O11y_AttributeKey.h"
|
|
#include "hanzo/model/O11y_Function.h"
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
class O11y_AttributeKey;
|
|
class O11y_FilterSet;
|
|
class O11y_Function;
|
|
class O11y_Having;
|
|
class O11y_OrderBy;
|
|
|
|
|
|
class O11y_BuilderQuery
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
O11y_BuilderQuery();
|
|
virtual ~O11y_BuilderQuery();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// O11y_BuilderQuery members
|
|
|
|
|
|
bool isIsAnomaly() const;
|
|
bool isAnomalyIsSet() const;
|
|
void unsetIsAnomaly();
|
|
void setIsAnomaly(bool value);
|
|
|
|
std::vector<utility::string_t> getQueriesUsedInFormula() const;
|
|
bool queriesUsedInFormulaIsSet() const;
|
|
void unsetQueriesUsedInFormula();
|
|
void setQueriesUsedInFormula(const std::vector<utility::string_t>& value);
|
|
|
|
int64_t getShiftBy() const;
|
|
bool shiftByIsSet() const;
|
|
void unsetShiftBy();
|
|
void setShiftBy(int64_t value);
|
|
|
|
std::shared_ptr<O11y_AttributeKey> getAggregateAttribute() const;
|
|
bool aggregateAttributeIsSet() const;
|
|
void unsetAggregateAttribute();
|
|
void setAggregateAttribute(const std::shared_ptr<O11y_AttributeKey>& value);
|
|
|
|
utility::string_t getAggregateOperator() const;
|
|
bool aggregateOperatorIsSet() const;
|
|
void unsetAggregateOperator();
|
|
void setAggregateOperator(const utility::string_t& value);
|
|
|
|
utility::string_t getDataSource() const;
|
|
bool dataSourceIsSet() const;
|
|
void unsetDataSource();
|
|
void setDataSource(const utility::string_t& value);
|
|
|
|
bool isDisabled() const;
|
|
bool disabledIsSet() const;
|
|
void unsetDisabled();
|
|
void setDisabled(bool value);
|
|
|
|
utility::string_t getExpression() const;
|
|
bool expressionIsSet() const;
|
|
void unsetExpression();
|
|
void setExpression(const utility::string_t& value);
|
|
|
|
std::shared_ptr<O11y_FilterSet> getFilters() const;
|
|
bool filtersIsSet() const;
|
|
void unsetFilters();
|
|
void setFilters(const std::shared_ptr<O11y_FilterSet>& value);
|
|
|
|
std::vector<std::shared_ptr<O11y_Function>> getFunctions() const;
|
|
bool functionsIsSet() const;
|
|
void unsetFunctions();
|
|
void setFunctions(const std::vector<std::shared_ptr<O11y_Function>>& value);
|
|
|
|
std::vector<std::shared_ptr<O11y_AttributeKey>> getGroupBy() const;
|
|
bool groupByIsSet() const;
|
|
void unsetGroupBy();
|
|
void setGroupBy(const std::vector<std::shared_ptr<O11y_AttributeKey>>& value);
|
|
|
|
std::vector<std::shared_ptr<O11y_Having>> getHaving() const;
|
|
bool havingIsSet() const;
|
|
void unsetHaving();
|
|
void setHaving(const std::vector<std::shared_ptr<O11y_Having>>& value);
|
|
|
|
utility::string_t getLegend() const;
|
|
bool legendIsSet() const;
|
|
void unsetLegend();
|
|
void setLegend(const utility::string_t& value);
|
|
|
|
int32_t getLimit() const;
|
|
bool limitIsSet() const;
|
|
void unsetLimit();
|
|
void setLimit(int32_t value);
|
|
|
|
int32_t getOffset() const;
|
|
bool offsetIsSet() const;
|
|
void unsetOffset();
|
|
void setOffset(int32_t value);
|
|
|
|
std::vector<std::shared_ptr<O11y_OrderBy>> getOrderBy() const;
|
|
bool orderByIsSet() const;
|
|
void unsetOrderBy();
|
|
void setOrderBy(const std::vector<std::shared_ptr<O11y_OrderBy>>& value);
|
|
|
|
int32_t getPageSize() const;
|
|
bool pageSizeIsSet() const;
|
|
void unsetPageSize();
|
|
void setPageSize(int32_t value);
|
|
|
|
utility::string_t getQueryName() const;
|
|
bool queryNameIsSet() const;
|
|
void unsetQueryName();
|
|
void setQueryName(const utility::string_t& value);
|
|
|
|
utility::string_t getReduceTo() const;
|
|
bool reduceToIsSet() const;
|
|
void unsetReduceTo();
|
|
void setReduceTo(const utility::string_t& value);
|
|
|
|
std::vector<std::shared_ptr<O11y_AttributeKey>> getSelectColumns() const;
|
|
bool selectColumnsIsSet() const;
|
|
void unsetSelectColumns();
|
|
void setSelectColumns(const std::vector<std::shared_ptr<O11y_AttributeKey>>& value);
|
|
|
|
utility::string_t getSeriesAggregation() const;
|
|
bool seriesAggregationIsSet() const;
|
|
void unsetSeriesAggregation();
|
|
void setSeriesAggregation(const utility::string_t& value);
|
|
|
|
utility::string_t getSpaceAggregation() const;
|
|
bool spaceAggregationIsSet() const;
|
|
void unsetSpaceAggregation();
|
|
void setSpaceAggregation(const utility::string_t& value);
|
|
|
|
int64_t getStepInterval() const;
|
|
bool stepIntervalIsSet() const;
|
|
void unsetStepInterval();
|
|
void setStepInterval(int64_t value);
|
|
|
|
utility::string_t getTemporality() const;
|
|
bool temporalityIsSet() const;
|
|
void unsetTemporality();
|
|
void setTemporality(const utility::string_t& value);
|
|
|
|
utility::string_t getTimeAggregation() const;
|
|
bool timeAggregationIsSet() const;
|
|
void unsetTimeAggregation();
|
|
void setTimeAggregation(const utility::string_t& value);
|
|
|
|
|
|
protected:
|
|
bool m_IsAnomaly;
|
|
bool m_IsAnomalyIsSet;
|
|
|
|
std::vector<utility::string_t> m_QueriesUsedInFormula;
|
|
bool m_QueriesUsedInFormulaIsSet;
|
|
|
|
int64_t m_ShiftBy;
|
|
bool m_ShiftByIsSet;
|
|
|
|
std::shared_ptr<O11y_AttributeKey> m_AggregateAttribute;
|
|
bool m_AggregateAttributeIsSet;
|
|
|
|
utility::string_t m_AggregateOperator;
|
|
bool m_AggregateOperatorIsSet;
|
|
|
|
utility::string_t m_DataSource;
|
|
bool m_DataSourceIsSet;
|
|
|
|
bool m_Disabled;
|
|
bool m_DisabledIsSet;
|
|
|
|
utility::string_t m_Expression;
|
|
bool m_ExpressionIsSet;
|
|
|
|
std::shared_ptr<O11y_FilterSet> m_Filters;
|
|
bool m_FiltersIsSet;
|
|
|
|
std::vector<std::shared_ptr<O11y_Function>> m_Functions;
|
|
bool m_FunctionsIsSet;
|
|
|
|
std::vector<std::shared_ptr<O11y_AttributeKey>> m_GroupBy;
|
|
bool m_GroupByIsSet;
|
|
|
|
std::vector<std::shared_ptr<O11y_Having>> m_Having;
|
|
bool m_HavingIsSet;
|
|
|
|
utility::string_t m_Legend;
|
|
bool m_LegendIsSet;
|
|
|
|
int32_t m_Limit;
|
|
bool m_LimitIsSet;
|
|
|
|
int32_t m_Offset;
|
|
bool m_OffsetIsSet;
|
|
|
|
std::vector<std::shared_ptr<O11y_OrderBy>> m_OrderBy;
|
|
bool m_OrderByIsSet;
|
|
|
|
int32_t m_PageSize;
|
|
bool m_PageSizeIsSet;
|
|
|
|
utility::string_t m_QueryName;
|
|
bool m_QueryNameIsSet;
|
|
|
|
utility::string_t m_ReduceTo;
|
|
bool m_ReduceToIsSet;
|
|
|
|
std::vector<std::shared_ptr<O11y_AttributeKey>> m_SelectColumns;
|
|
bool m_SelectColumnsIsSet;
|
|
|
|
utility::string_t m_SeriesAggregation;
|
|
bool m_SeriesAggregationIsSet;
|
|
|
|
utility::string_t m_SpaceAggregation;
|
|
bool m_SpaceAggregationIsSet;
|
|
|
|
int64_t m_StepInterval;
|
|
bool m_StepIntervalIsSet;
|
|
|
|
utility::string_t m_Temporality;
|
|
bool m_TemporalityIsSet;
|
|
|
|
utility::string_t m_TimeAggregation;
|
|
bool m_TimeAggregationIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_O11y_BuilderQuery_H_ */
|