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.5 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.
*/
/*
* DocRow.h
*
*
*/
#ifndef HANZO_MODEL_DocRow_H_
#define HANZO_MODEL_DocRow_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class DocRow
: public ModelBase
{
public:
DocRow();
virtual ~DocRow();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// DocRow members
/// <summary>
/// Attested reports whether somebody OUTSIDE this organization put their name to it. Those are the artifacts a reviewer asks for, and they are released through a grant rather than published — there is no field that can say otherwise.
/// </summary>
bool isAttested() const;
bool attestedIsSet() const;
void unsetAttested();
void setAttested(bool value);
/// <summary>
/// Href is where to read it, present only when this reader may.
/// </summary>
utility::string_t getHref() const;
bool hrefIsSet() const;
void unsetHref();
void setHref(const utility::string_t& value);
/// <summary>
/// ID is the document&#39;s id within this organization&#39;s centre.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// Kind is the artifact type — soc2, iso, pentest, letter, caiq, sig, vsa, questionnaire, policy or other.
/// </summary>
utility::string_t getKind() const;
bool kindIsSet() const;
void unsetKind();
void setKind(const utility::string_t& value);
/// <summary>
/// Label is the artifact type in words, for rendering.
/// </summary>
utility::string_t getLabel() const;
bool labelIsSet() const;
void unsetLabel();
void setLabel(const utility::string_t& value);
/// <summary>
/// Note is anything the organization says about this artifact.
/// </summary>
utility::string_t getNote() const;
bool noteIsSet() const;
void unsetNote();
void setNote(const utility::string_t& value);
/// <summary>
/// Released reports whether THIS reader may read it. False means the artifact exists and is available on request.
/// </summary>
bool isReleased() const;
bool releasedIsSet() const;
void unsetReleased();
void setReleased(bool value);
/// <summary>
/// Tier is \&quot;public\&quot; or \&quot;gated\&quot;. It defaults to gated, so a new artifact is closed until somebody opens it deliberately.
/// </summary>
utility::string_t getTier() const;
bool tierIsSet() const;
void unsetTier();
void setTier(const utility::string_t& value);
/// <summary>
/// Title is what the document is called.
/// </summary>
utility::string_t getTitle() const;
bool titleIsSet() const;
void unsetTitle();
void setTitle(const utility::string_t& value);
/// <summary>
/// Updated is when the record last changed, unix milliseconds.
/// </summary>
int64_t getUpdated() const;
bool updatedIsSet() const;
void unsetUpdated();
void setUpdated(int64_t value);
protected:
bool m_Attested;
bool m_AttestedIsSet;
utility::string_t m_Href;
bool m_HrefIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_Kind;
bool m_KindIsSet;
utility::string_t m_Label;
bool m_LabelIsSet;
utility::string_t m_Note;
bool m_NoteIsSet;
bool m_Released;
bool m_ReleasedIsSet;
utility::string_t m_Tier;
bool m_TierIsSet;
utility::string_t m_Title;
bool m_TitleIsSet;
int64_t m_Updated;
bool m_UpdatedIsSet;
};
}
}
#endif /* HANZO_MODEL_DocRow_H_ */