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.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.
*/
/*
* EsignRecipient.h
*
*
*/
#ifndef HANZO_MODEL_EsignRecipient_H_
#define HANZO_MODEL_EsignRecipient_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class EsignRecipient
: public ModelBase
{
public:
EsignRecipient();
virtual ~EsignRecipient();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// EsignRecipient members
/// <summary>
/// Email is where this recipient&#39;s signing link is meant to go, lower-cased.
/// </summary>
utility::string_t getEmail() const;
bool emailIsSet() const;
void unsetEmail();
void setEmail(const utility::string_t& value);
/// <summary>
/// ID is the recipient id, which is what a field is placed against.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// Name is the recipient&#39;s display name, empty when none was given.
/// </summary>
utility::string_t getName() const;
bool nameIsSet() const;
void unsetName();
void setName(const utility::string_t& value);
/// <summary>
/// ReadStatus is NOT_OPENED until they first open their link, then OPENED.
/// </summary>
utility::string_t getReadStatus() const;
bool readStatusIsSet() const;
void unsetReadStatus();
void setReadStatus(const utility::string_t& value);
/// <summary>
/// RejectionReason is why they declined, null unless they did.
/// </summary>
utility::string_t getRejectionReason() const;
bool rejectionReasonIsSet() const;
void unsetRejectionReason();
void setRejectionReason(const utility::string_t& value);
/// <summary>
/// Role is SIGNER, CC, VIEWER, APPROVER or ASSISTANT. A document waits only for its SIGNERs and APPROVERs before it can seal.
/// </summary>
utility::string_t getRole() const;
bool roleIsSet() const;
void unsetRole();
void setRole(const utility::string_t& value);
/// <summary>
/// SendStatus is NOT_SENT until the document goes out, then SENT. A CC recipient is SENT from the moment they are added.
/// </summary>
utility::string_t getSendStatus() const;
bool sendStatusIsSet() const;
void unsetSendStatus();
void setSendStatus(const utility::string_t& value);
/// <summary>
/// SignedAt is when they finished or declined, in unix milliseconds; null while neither has happened.
/// </summary>
int64_t getSignedAt() const;
bool signedAtIsSet() const;
void unsetSignedAt();
void setSignedAt(int64_t value);
/// <summary>
/// SigningOrder is their position in a SEQUENTIAL document, null when they were added without one. A PARALLEL document ignores it.
/// </summary>
double getSigningOrder() const;
bool signingOrderIsSet() const;
void unsetSigningOrder();
void setSigningOrder(double value);
/// <summary>
/// SigningStatus is NOT_SIGNED, SIGNED or REJECTED. A CC recipient is SIGNED from the moment they are added, because they are never asked.
/// </summary>
utility::string_t getSigningStatus() const;
bool signingStatusIsSet() const;
void unsetSigningStatus();
void setSigningStatus(const utility::string_t& value);
protected:
utility::string_t m_Email;
bool m_EmailIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_Name;
bool m_NameIsSet;
utility::string_t m_ReadStatus;
bool m_ReadStatusIsSet;
utility::string_t m_RejectionReason;
bool m_RejectionReasonIsSet;
utility::string_t m_Role;
bool m_RoleIsSet;
utility::string_t m_SendStatus;
bool m_SendStatusIsSet;
int64_t m_SignedAt;
bool m_SignedAtIsSet;
double m_SigningOrder;
bool m_SigningOrderIsSet;
utility::string_t m_SigningStatus;
bool m_SigningStatusIsSet;
};
}
}
#endif /* HANZO_MODEL_EsignRecipient_H_ */