Files

119 lines
3.0 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.
*/
/*
* EsignPDF.h
*
*
*/
#ifndef HANZO_MODEL_EsignPDF_H_
#define HANZO_MODEL_EsignPDF_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class EsignPDF
: public ModelBase
{
public:
EsignPDF();
virtual ~EsignPDF();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// EsignPDF members
/// <summary>
/// Filename is the name to save it under, built from the title and marked _signed once it is sealed.
/// </summary>
utility::string_t getFilename() const;
bool filenameIsSet() const;
void unsetFilename();
void setFilename(const utility::string_t& value);
/// <summary>
/// ID is the document this PDF was rendered from.
/// </summary>
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
/// <summary>
/// PdfBase64 is the PDF itself, base64-encoded. There is one field either way, so Sealed is what tells you which artifact you are holding.
/// </summary>
utility::string_t getPdfBase64() const;
bool pdfBase64IsSet() const;
void unsetPdfBase64();
void setPdfBase64(const utility::string_t& value);
/// <summary>
/// Sealed is whether this is the SEALED artifact — the field values rendered onto the page and a real x509 PKCS#7 signature applied — rather than the original upload.
/// </summary>
bool isSealed() const;
bool sealedIsSet() const;
void unsetSealed();
void setSealed(bool value);
/// <summary>
/// Status is the document&#39;s state at the moment it was read.
/// </summary>
utility::string_t getStatus() const;
bool statusIsSet() const;
void unsetStatus();
void setStatus(const utility::string_t& value);
protected:
utility::string_t m_Filename;
bool m_FilenameIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
utility::string_t m_PdfBase64;
bool m_PdfBase64IsSet;
bool m_Sealed;
bool m_SealedIsSet;
utility::string_t m_Status;
bool m_StatusIsSet;
};
}
}
#endif /* HANZO_MODEL_EsignPDF_H_ */