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.
109 lines
2.8 KiB
C++
109 lines
2.8 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.
|
|
*/
|
|
|
|
/*
|
|
* GraphAssertOut.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_GraphAssertOut_H_
|
|
#define HANZO_MODEL_GraphAssertOut_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include <cpprest/details/basic_types.h>
|
|
#include <vector>
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
|
|
|
|
class GraphAssertOut
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
GraphAssertOut();
|
|
virtual ~GraphAssertOut();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// GraphAssertOut members
|
|
|
|
|
|
/// <summary>
|
|
/// Duplicate is how many members this plane already held. A redelivery collides on its content address and is counted here, not refused: it is the success a retrying caller depends on.
|
|
/// </summary>
|
|
int64_t getDuplicate() const;
|
|
bool duplicateIsSet() const;
|
|
void unsetDuplicate();
|
|
void setDuplicate(int64_t value);
|
|
|
|
/// <summary>
|
|
/// Reasons names why each refused member was refused, in the order sent.
|
|
/// </summary>
|
|
std::vector<utility::string_t> getReasons() const;
|
|
bool reasonsIsSet() const;
|
|
void unsetReasons();
|
|
void setReasons(const std::vector<utility::string_t>& value);
|
|
|
|
/// <summary>
|
|
/// Recorded is how many members became new rows.
|
|
/// </summary>
|
|
int64_t getRecorded() const;
|
|
bool recordedIsSet() const;
|
|
void unsetRecorded();
|
|
void setRecorded(int64_t value);
|
|
|
|
/// <summary>
|
|
/// Refused is how many members were turned away on arrival, before the store was touched — a missing entity, a timestamp that is not RFC 3339, a confidence outside [0,1]. The rest of the batch was still recorded.
|
|
/// </summary>
|
|
int64_t getRefused() const;
|
|
bool refusedIsSet() const;
|
|
void unsetRefused();
|
|
void setRefused(int64_t value);
|
|
|
|
|
|
protected:
|
|
int64_t m_Duplicate;
|
|
bool m_DuplicateIsSet;
|
|
|
|
std::vector<utility::string_t> m_Reasons;
|
|
bool m_ReasonsIsSet;
|
|
|
|
int64_t m_Recorded;
|
|
bool m_RecordedIsSet;
|
|
|
|
int64_t m_Refused;
|
|
bool m_RefusedIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_GraphAssertOut_H_ */
|