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.
141 lines
3.8 KiB
C++
141 lines
3.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.
|
|
*/
|
|
|
|
/*
|
|
* IssueEdit.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_IssueEdit_H_
|
|
#define HANZO_MODEL_IssueEdit_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include <cpprest/details/basic_types.h>
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
|
|
|
|
class IssueEdit
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
IssueEdit();
|
|
virtual ~IssueEdit();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// IssueEdit members
|
|
|
|
|
|
/// <summary>
|
|
/// Assignee hands the work to somebody — a person or an agent, by the name they are known by on the forge. \"\" TAKES IT OFF whoever holds it, which is why this is a pointer: absent leaves the holder alone. It is the other half of `claim`, which that handler already named: a claim takes work for the CALLER and refuses to name anyone else, because giving work away is a different act with different authority. This is that act, and until it existed a board could only be worked by whoever clicked first — an agent could never be given anything.
|
|
/// </summary>
|
|
utility::string_t getAssignee() const;
|
|
bool assigneeIsSet() const;
|
|
void unsetAssignee();
|
|
void setAssignee(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// Description rewrites the body.
|
|
/// </summary>
|
|
utility::string_t getDescription() const;
|
|
bool descriptionIsSet() const;
|
|
void unsetDescription();
|
|
void setDescription(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// Key is the board — the repository name, from the path.
|
|
/// </summary>
|
|
utility::string_t getKey() const;
|
|
bool keyIsSet() const;
|
|
void unsetKey();
|
|
void setKey(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// Num is the issue number on that repository, from the path.
|
|
/// </summary>
|
|
int64_t getNum() const;
|
|
bool numIsSet() const;
|
|
void unsetNum();
|
|
void setNum(int64_t value);
|
|
|
|
/// <summary>
|
|
/// Priority re-prioritises it.
|
|
/// </summary>
|
|
utility::string_t getPriority() const;
|
|
bool priorityIsSet() const;
|
|
void unsetPriority();
|
|
void setPriority(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// Status moves the card to another column.
|
|
/// </summary>
|
|
utility::string_t getStatus() const;
|
|
bool statusIsSet() const;
|
|
void unsetStatus();
|
|
void setStatus(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// Title renames the work item.
|
|
/// </summary>
|
|
utility::string_t getTitle() const;
|
|
bool titleIsSet() const;
|
|
void unsetTitle();
|
|
void setTitle(const utility::string_t& value);
|
|
|
|
|
|
protected:
|
|
utility::string_t m_Assignee;
|
|
bool m_AssigneeIsSet;
|
|
|
|
utility::string_t m_Description;
|
|
bool m_DescriptionIsSet;
|
|
|
|
utility::string_t m_Key;
|
|
bool m_KeyIsSet;
|
|
|
|
int64_t m_Num;
|
|
bool m_NumIsSet;
|
|
|
|
utility::string_t m_Priority;
|
|
bool m_PriorityIsSet;
|
|
|
|
utility::string_t m_Status;
|
|
bool m_StatusIsSet;
|
|
|
|
utility::string_t m_Title;
|
|
bool m_TitleIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_IssueEdit_H_ */
|