mirror of
https://github.com/hanzo-cpp/sdk.git
synced 2026-11-20 19:55:32 +00:00
The lock sat at 574d1f1d while the product moved on. The team surface stopped at rooms — no messages path, no way to open one — so anything built on this client had to reach past it with its own HTTP calls, which is the duplication a generated client exists to prevent.
196 lines
4.8 KiB
C++
196 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.
|
|
*/
|
|
|
|
/*
|
|
* GenerateInput.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_GenerateInput_H_
|
|
#define HANZO_MODEL_GenerateInput_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include <cpprest/details/basic_types.h>
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
|
|
|
|
class GenerateInput
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
GenerateInput();
|
|
virtual ~GenerateInput();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// GenerateInput members
|
|
|
|
|
|
/// <summary>
|
|
/// the brief/goal driving copy generation
|
|
/// </summary>
|
|
utility::string_t getBrief() const;
|
|
bool briefIsSet() const;
|
|
void unsetBrief();
|
|
void setBrief(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// target channels (SocialPost)
|
|
/// </summary>
|
|
utility::string_t getChannels() const;
|
|
bool channelsIsSet() const;
|
|
void unsetChannels();
|
|
void setChannels(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// studio design slug (asset source)
|
|
/// </summary>
|
|
utility::string_t getDesign() const;
|
|
bool designIsSet() const;
|
|
void unsetDesign();
|
|
void setDesign(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// marketing.Campaign | marketing.SocialPost | marketing.Asset
|
|
/// </summary>
|
|
utility::string_t getDoctype() const;
|
|
bool doctypeIsSet() const;
|
|
void unsetDoctype();
|
|
void setDoctype(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// asset kind: ecom|product|lifestyle|hover|hero
|
|
/// </summary>
|
|
utility::string_t getKind() const;
|
|
bool kindIsSet() const;
|
|
void unsetKind();
|
|
void setKind(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// optional zen model override (copy)
|
|
/// </summary>
|
|
utility::string_t getModel() const;
|
|
bool modelIsSet() const;
|
|
void unsetModel();
|
|
void setModel(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// commerce product handle (copy context)
|
|
/// </summary>
|
|
utility::string_t getProduct() const;
|
|
bool productIsSet() const;
|
|
void unsetProduct();
|
|
void setProduct(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// brand/site sub-scope (billing + tenancy axis)
|
|
/// </summary>
|
|
utility::string_t getProject() const;
|
|
bool projectIsSet() const;
|
|
void unsetProject();
|
|
void setProject(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// asset source image (design CAD/photo)
|
|
/// </summary>
|
|
utility::string_t getSourceMedia() const;
|
|
bool sourceMediaIsSet() const;
|
|
void unsetSource_media();
|
|
void setSourceMedia(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// optional explicit title
|
|
/// </summary>
|
|
utility::string_t getTitle() const;
|
|
bool titleIsSet() const;
|
|
void unsetTitle();
|
|
void setTitle(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// tone override for a single draft
|
|
/// </summary>
|
|
utility::string_t getTone() const;
|
|
bool toneIsSet() const;
|
|
void unsetTone();
|
|
void setTone(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// brand-voice guidance for the copy director
|
|
/// </summary>
|
|
utility::string_t getVoice() const;
|
|
bool voiceIsSet() const;
|
|
void unsetVoice();
|
|
void setVoice(const utility::string_t& value);
|
|
|
|
|
|
protected:
|
|
utility::string_t m_Brief;
|
|
bool m_BriefIsSet;
|
|
|
|
utility::string_t m_Channels;
|
|
bool m_ChannelsIsSet;
|
|
|
|
utility::string_t m_Design;
|
|
bool m_DesignIsSet;
|
|
|
|
utility::string_t m_Doctype;
|
|
bool m_DoctypeIsSet;
|
|
|
|
utility::string_t m_Kind;
|
|
bool m_KindIsSet;
|
|
|
|
utility::string_t m_Model;
|
|
bool m_ModelIsSet;
|
|
|
|
utility::string_t m_Product;
|
|
bool m_ProductIsSet;
|
|
|
|
utility::string_t m_Project;
|
|
bool m_ProjectIsSet;
|
|
|
|
utility::string_t m_Source_media;
|
|
bool m_Source_mediaIsSet;
|
|
|
|
utility::string_t m_Title;
|
|
bool m_TitleIsSet;
|
|
|
|
utility::string_t m_Tone;
|
|
bool m_ToneIsSet;
|
|
|
|
utility::string_t m_Voice;
|
|
bool m_VoiceIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_GenerateInput_H_ */
|