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

163 lines
4.0 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.
*/
/*
* SeoBacklinkOut.h
*
*
*/
#ifndef HANZO_MODEL_SeoBacklinkOut_H_
#define HANZO_MODEL_SeoBacklinkOut_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class SeoBacklinkOut
: public ModelBase
{
public:
SeoBacklinkOut();
virtual ~SeoBacklinkOut();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// SeoBacklinkOut members
/// <summary>
/// Backlinks is how many links point at it.
/// </summary>
int64_t getBacklinks() const;
bool backlinksIsSet() const;
void unsetBacklinks();
void setBacklinks(int64_t value);
/// <summary>
/// Broken is how many of those links point at something that no longer answers.
/// </summary>
int64_t getBroken() const;
bool brokenIsSet() const;
void unsetBroken();
void setBroken(int64_t value);
/// <summary>
/// Cost is what this call cost, in USD, as an exact decimal string.
/// </summary>
utility::string_t getCost() const;
bool costIsSet() const;
void unsetCost();
void setCost(const utility::string_t& value);
/// <summary>
/// Domains is how many distinct sites those links come from — the number that matters, since a thousand links from one site is one site.
/// </summary>
int64_t getDomains() const;
bool domainsIsSet() const;
void unsetDomains();
void setDomains(int64_t value);
/// <summary>
/// FirstSeen is when the upstream first saw a link to this target, RFC 3339.
/// </summary>
utility::string_t getFirstSeen() const;
bool firstSeenIsSet() const;
void unsetFirstSeen();
void setFirstSeen(const utility::string_t& value);
/// <summary>
/// Pages is how many distinct pages link in.
/// </summary>
int64_t getPages() const;
bool pagesIsSet() const;
void unsetPages();
void setPages(int64_t value);
/// <summary>
/// Rank is the upstream&#39;s authority score for the target, 0 to 1000.
/// </summary>
int64_t getRank() const;
bool rankIsSet() const;
void unsetRank();
void setRank(int64_t value);
/// <summary>
/// Spam is the share of the profile judged spam, 0 to 100.
/// </summary>
int64_t getSpam() const;
bool spamIsSet() const;
void unsetSpam();
void setSpam(int64_t value);
/// <summary>
/// Target is the target as the upstream resolved it.
/// </summary>
utility::string_t getTarget() const;
bool targetIsSet() const;
void unsetTarget();
void setTarget(const utility::string_t& value);
protected:
int64_t m_Backlinks;
bool m_BacklinksIsSet;
int64_t m_Broken;
bool m_BrokenIsSet;
utility::string_t m_Cost;
bool m_CostIsSet;
int64_t m_Domains;
bool m_DomainsIsSet;
utility::string_t m_FirstSeen;
bool m_FirstSeenIsSet;
int64_t m_Pages;
bool m_PagesIsSet;
int64_t m_Rank;
bool m_RankIsSet;
int64_t m_Spam;
bool m_SpamIsSet;
utility::string_t m_Target;
bool m_TargetIsSet;
};
}
}
#endif /* HANZO_MODEL_SeoBacklinkOut_H_ */