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

141 lines
4.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.
*/
/*
* TodoProject.h
*
*
*/
#ifndef HANZO_MODEL_TodoProject_H_
#define HANZO_MODEL_TodoProject_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class TodoProject
: public ModelBase
{
public:
TodoProject();
virtual ~TodoProject();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// TodoProject members
/// <summary>
/// CreatedAt is when the board was created, in unix seconds. 0 on a forge board for the same reason Description is absent.
/// </summary>
int64_t getCreatedAt() const;
bool createdAtIsSet() const;
void unsetCreatedAt();
void setCreatedAt(int64_t value);
/// <summary>
/// Description is whatever an index board was created with. Absent on a forge board: this projection takes the repository&#39;s name and nothing else about the repository.
/// </summary>
utility::string_t getDescription() const;
bool descriptionIsSet() const;
void unsetDescription();
void setDescription(const utility::string_t& value);
/// <summary>
/// ID is the board&#39;s opaque handle, and it is NOT how you address it — Key is. Its shape says which source answered: a forge board&#39;s is the repository&#39;s full name (\&quot;hanzoai/cloud\&quot;), an index board&#39;s a minted \&quot;prj_\&quot; id.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// Key addresses the board everywhere else — /v1/todo/projects/&lt;key&gt;/issues — and prefixes every issue identifier on it. An index board&#39;s key is 2-8 uppercase alphanumerics starting with a letter (\&quot;ENG\&quot;, \&quot;OPS2\&quot;) and is matched case-insensitively; a forge board&#39;s is the repository name as the forge spells it.
/// </summary>
utility::string_t getKey() const;
bool keyIsSet() const;
void unsetKey();
void setKey(const utility::string_t& value);
/// <summary>
/// Name is the board&#39;s display name. For a forge board it is the repository name, so it equals Key; an index board carries its own.
/// </summary>
utility::string_t getName() const;
bool nameIsSet() const;
void unsetName();
void setName(const utility::string_t& value);
/// <summary>
/// Org is the IAM org the board belongs to, taken from the validated principal and never from the request. Every board a caller can see is in it.
/// </summary>
utility::string_t getOrg() const;
bool orgIsSet() const;
void unsetOrg();
void setOrg(const utility::string_t& value);
/// <summary>
/// UpdatedAt is when the board record last changed, in unix seconds — the BOARD, not the work on it, so filing an issue does not move it. 0 on a forge board.
/// </summary>
int64_t getUpdatedAt() const;
bool updatedAtIsSet() const;
void unsetUpdatedAt();
void setUpdatedAt(int64_t value);
protected:
int64_t m_CreatedAt;
bool m_CreatedAtIsSet;
utility::string_t m_Description;
bool m_DescriptionIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_Key;
bool m_KeyIsSet;
utility::string_t m_Name;
bool m_NameIsSet;
utility::string_t m_Org;
bool m_OrgIsSet;
int64_t m_UpdatedAt;
bool m_UpdatedAtIsSet;
};
}
}
#endif /* HANZO_MODEL_TodoProject_H_ */