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

130 lines
3.3 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.
*/
/*
* SeoMetric.h
*
*
*/
#ifndef HANZO_MODEL_SeoMetric_H_
#define HANZO_MODEL_SeoMetric_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class SeoMetric
: public ModelBase
{
public:
SeoMetric();
virtual ~SeoMetric();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// SeoMetric members
/// <summary>
/// Competition is how contested the advertising is, from 0 to 1. The upstream reports it as an index out of a hundred on one endpoint and as this fraction on another; it is the fraction here in both cases.
/// </summary>
double getCompetition() const;
bool competitionIsSet() const;
void unsetCompetition();
void setCompetition(double value);
/// <summary>
/// CPC is the average cost of one advertising click, in USD. It is a reported statistic about somebody else&#39;s auction, not an amount this API moves.
/// </summary>
double getCpc() const;
bool cpcIsSet() const;
void unsetCpc();
void setCpc(double value);
/// <summary>
/// Difficulty is how hard the first page is to reach organically, 0 to 100. Present on seoIdea, which measures it; absent on seoKeyword, which does not.
/// </summary>
int64_t getDifficulty() const;
bool difficultyIsSet() const;
void unsetDifficulty();
void setDifficulty(int64_t value);
/// <summary>
/// Keyword is the phrase.
/// </summary>
utility::string_t getKeyword() const;
bool keywordIsSet() const;
void unsetKeyword();
void setKeyword(const utility::string_t& value);
/// <summary>
/// Level is the same fact as a word: low, medium or high.
/// </summary>
utility::string_t getLevel() const;
bool levelIsSet() const;
void unsetLevel();
void setLevel(const utility::string_t& value);
/// <summary>
/// Volume is the average monthly searches.
/// </summary>
int64_t getVolume() const;
bool volumeIsSet() const;
void unsetVolume();
void setVolume(int64_t value);
protected:
double m_Competition;
bool m_CompetitionIsSet;
double m_Cpc;
bool m_CpcIsSet;
int64_t m_Difficulty;
bool m_DifficultyIsSet;
utility::string_t m_Keyword;
bool m_KeywordIsSet;
utility::string_t m_Level;
bool m_LevelIsSet;
int64_t m_Volume;
bool m_VolumeIsSet;
};
}
}
#endif /* HANZO_MODEL_SeoMetric_H_ */