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

174 lines
4.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.
*/
/*
* CheckView.h
*
*
*/
#ifndef HANZO_MODEL_CheckView_H_
#define HANZO_MODEL_CheckView_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class CheckView
: public ModelBase
{
public:
CheckView();
virtual ~CheckView();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// CheckView members
/// <summary>
/// CreatedAt is the unix second the verification was started.
/// </summary>
int64_t getCreatedAt() const;
bool createdAtIsSet() const;
void unsetCreatedAt();
void setCreatedAt(int64_t value);
/// <summary>
/// DecidedAt is the unix second a terminal status was recorded.
/// </summary>
int64_t getDecidedAt() const;
bool decidedAtIsSet() const;
void unsetDecidedAt();
void setDecidedAt(int64_t value);
/// <summary>
/// DecidedBy records who settled a terminal status: the provider name, or a reviewer&#39;s user id for a recorded manual decision.
/// </summary>
utility::string_t getDecidedBy() const;
bool decidedByIsSet() const;
void unsetDecidedBy();
void setDecidedBy(const utility::string_t& value);
/// <summary>
/// ID is the verification&#39;s opaque id.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// Kind is the party type: \&quot;individual\&quot; (KYC) or \&quot;business\&quot; (KYB).
/// </summary>
utility::string_t getKind() const;
bool kindIsSet() const;
void unsetKind();
void setKind(const utility::string_t& value);
/// <summary>
/// Provider is the verification provider this check runs through.
/// </summary>
utility::string_t getProvider() const;
bool providerIsSet() const;
void unsetProvider();
void setProvider(const utility::string_t& value);
/// <summary>
/// Status is the check&#39;s state: pending, provider_verified, provider_rejected, manual_review, or expired (provider-reported), or reviewer_confirmed — the one value a privileged human reviewer records, never a provider.
/// </summary>
utility::string_t getStatus() const;
bool statusIsSet() const;
void unsetStatus();
void setStatus(const utility::string_t& value);
/// <summary>
/// SubjectID is the opaque id of the subject under verification.
/// </summary>
utility::string_t getSubjectId() const;
bool subjectIdIsSet() const;
void unsetSubjectId();
void setSubjectId(const utility::string_t& value);
/// <summary>
/// UpdatedAt is the unix second the verification last changed.
/// </summary>
int64_t getUpdatedAt() const;
bool updatedAtIsSet() const;
void unsetUpdatedAt();
void setUpdatedAt(int64_t value);
/// <summary>
/// VerifyURL is the provider&#39;s hosted verification flow for the subject, when one exists.
/// </summary>
utility::string_t getVerifyUrl() const;
bool verifyUrlIsSet() const;
void unsetVerifyUrl();
void setVerifyUrl(const utility::string_t& value);
protected:
int64_t m_CreatedAt;
bool m_CreatedAtIsSet;
int64_t m_DecidedAt;
bool m_DecidedAtIsSet;
utility::string_t m_DecidedBy;
bool m_DecidedByIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_Kind;
bool m_KindIsSet;
utility::string_t m_Provider;
bool m_ProviderIsSet;
utility::string_t m_Status;
bool m_StatusIsSet;
utility::string_t m_SubjectId;
bool m_SubjectIdIsSet;
int64_t m_UpdatedAt;
bool m_UpdatedAtIsSet;
utility::string_t m_VerifyUrl;
bool m_VerifyUrlIsSet;
};
}
}
#endif /* HANZO_MODEL_CheckView_H_ */