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

185 lines
5.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.
*/
/*
* IssueHit.h
*
*
*/
#ifndef HANZO_MODEL_IssueHit_H_
#define HANZO_MODEL_IssueHit_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class IssueHit
: public ModelBase
{
public:
IssueHit();
virtual ~IssueHit();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// IssueHit members
/// <summary>
/// Assignee is who holds the work. EMPTY MEANS UNHELD, which is what makes the issue claimable: claiming one already held by someone else is refused with 409 rather than quietly taken.
/// </summary>
utility::string_t getAssignee() const;
bool assigneeIsSet() const;
void unsetAssignee();
void setAssignee(const utility::string_t& value);
/// <summary>
/// Kind is what the row IS: issue, pr or epic.
/// </summary>
utility::string_t getKind() const;
bool kindIsSet() const;
void unsetKind();
void setKind(const utility::string_t& value);
/// <summary>
/// Number is the issue&#39;s number on that board, from 1 and monotonic there. Unique per board, never across the org — so it addresses an issue only together with Project.
/// </summary>
int64_t getNumber() const;
bool numberIsSet() const;
void unsetnumber();
void setNumber(int64_t value);
/// <summary>
/// Priority is urgent, high, medium, low or none. Never empty — an unset priority is the value \&quot;none\&quot;.
/// </summary>
utility::string_t getPriority() const;
bool priorityIsSet() const;
void unsetPriority();
void setPriority(const utility::string_t& value);
/// <summary>
/// Project is the board key the issue is on. It and Number are the issue&#39;s address in every other route on this surface, which is why a hit carries it.
/// </summary>
utility::string_t getProject() const;
bool projectIsSet() const;
void unsetProject();
void setProject(const utility::string_t& value);
/// <summary>
/// Repo is the git repository the issue is bound to, empty when it is not repo-bound.
/// </summary>
utility::string_t getRepo() const;
bool repoIsSet() const;
void unsetRepo();
void setRepo(const utility::string_t& value);
/// <summary>
/// Room is the collaboration room the issue belongs to, spelled \&quot;&lt;space&gt;_&lt;room&gt;\&quot; — empty when it is not room-bound, which is most of them. It is here so an org-wide search says which channel each item came from without a second read.
/// </summary>
utility::string_t getRoom() const;
bool roomIsSet() const;
void unsetRoom();
void setRoom(const utility::string_t& value);
/// <summary>
/// Source is which surface opened it: team, git, crm, helpdesk, cms or agent. \&quot;git\&quot; is how the mirrored forge and GitHub rows are spelled.
/// </summary>
utility::string_t getSource() const;
bool sourceIsSet() const;
void unsetSource();
void setSource(const utility::string_t& value);
/// <summary>
/// Status is the board column: backlog, todo, in_progress, done or canceled. Claiming moves backlog and todo to in_progress and leaves the other three where they are.
/// </summary>
utility::string_t getStatus() const;
bool statusIsSet() const;
void unsetStatus();
void setStatus(const utility::string_t& value);
/// <summary>
/// Title is the issue&#39;s one-line summary — what the q filter matched, along with the description.
/// </summary>
utility::string_t getTitle() const;
bool titleIsSet() const;
void unsetTitle();
void setTitle(const utility::string_t& value);
/// <summary>
/// URL is the row&#39;s external anchor — its extRef — which is a link only when the feeder sent one. A mirrored GitHub issue carries \&quot;github:owner/repo#123\&quot; and an agent&#39;s PR row carries the pushed branch. Empty for a row opened here.
/// </summary>
utility::string_t getUrl() const;
bool urlIsSet() const;
void unsetUrl();
void setUrl(const utility::string_t& value);
protected:
utility::string_t m_Assignee;
bool m_AssigneeIsSet;
utility::string_t m_Kind;
bool m_KindIsSet;
int64_t m_number;
bool m_numberIsSet;
utility::string_t m_Priority;
bool m_PriorityIsSet;
utility::string_t m_Project;
bool m_ProjectIsSet;
utility::string_t m_Repo;
bool m_RepoIsSet;
utility::string_t m_Room;
bool m_RoomIsSet;
utility::string_t m_Source;
bool m_SourceIsSet;
utility::string_t m_Status;
bool m_StatusIsSet;
utility::string_t m_Title;
bool m_TitleIsSet;
utility::string_t m_Url;
bool m_UrlIsSet;
};
}
}
#endif /* HANZO_MODEL_IssueHit_H_ */