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

224 lines
5.4 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.
*/
/*
* Iam_Invitation.h
*
*
*/
#ifndef HANZO_MODEL_Iam_Invitation_H_
#define HANZO_MODEL_Iam_Invitation_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
namespace hanzo {
namespace model {
class Iam_Invitation
: public ModelBase
{
public:
Iam_Invitation();
virtual ~Iam_Invitation();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// Iam_Invitation members
utility::string_t getApplication() const;
bool applicationIsSet() const;
void unsetApplication();
void setApplication(const utility::string_t& value);
utility::string_t getCode() const;
bool codeIsSet() const;
void unsetCode();
void setCode(const utility::string_t& value);
utility::datetime getCreatedAt() const;
bool createdAtIsSet() const;
void unsetCreatedAt();
void setCreatedAt(const utility::datetime& value);
utility::string_t getCreatedTime() const;
bool createdTimeIsSet() const;
void unsetCreatedTime();
void setCreatedTime(const utility::string_t& value);
utility::string_t getDefaultCode() const;
bool defaultCodeIsSet() const;
void unsetDefaultCode();
void setDefaultCode(const utility::string_t& value);
bool isDeleted() const;
bool deletedIsSet() const;
void unsetDeleted();
void setDeleted(bool value);
utility::string_t getDisplayName() const;
bool displayNameIsSet() const;
void unsetDisplayName();
void setDisplayName(const utility::string_t& value);
utility::string_t getEmail() const;
bool emailIsSet() const;
void unsetEmail();
void setEmail(const utility::string_t& value);
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
bool isIsRegexp() const;
bool isRegexpIsSet() const;
void unsetIsRegexp();
void setIsRegexp(bool value);
utility::string_t getName() const;
bool nameIsSet() const;
void unsetName();
void setName(const utility::string_t& value);
utility::string_t getOwner() const;
bool ownerIsSet() const;
void unsetOwner();
void setOwner(const utility::string_t& value);
utility::string_t getPhone() const;
bool phoneIsSet() const;
void unsetPhone();
void setPhone(const utility::string_t& value);
int64_t getQuota() const;
bool quotaIsSet() const;
void unsetQuota();
void setQuota(int64_t value);
utility::string_t getSignupGroup() const;
bool signupGroupIsSet() const;
void unsetSignupGroup();
void setSignupGroup(const utility::string_t& value);
utility::string_t getState() const;
bool stateIsSet() const;
void unsetState();
void setState(const utility::string_t& value);
utility::datetime getUpdatedAt() const;
bool updatedAtIsSet() const;
void unsetUpdatedAt();
void setUpdatedAt(const utility::datetime& value);
utility::string_t getUpdatedTime() const;
bool updatedTimeIsSet() const;
void unsetUpdatedTime();
void setUpdatedTime(const utility::string_t& value);
int64_t getUsedCount() const;
bool usedCountIsSet() const;
void unsetUsedCount();
void setUsedCount(int64_t value);
utility::string_t getUsername() const;
bool usernameIsSet() const;
void unsetUsername();
void setUsername(const utility::string_t& value);
protected:
utility::string_t m_Application;
bool m_ApplicationIsSet;
utility::string_t m_Code;
bool m_CodeIsSet;
utility::datetime m_CreatedAt;
bool m_CreatedAtIsSet;
utility::string_t m_CreatedTime;
bool m_CreatedTimeIsSet;
utility::string_t m_DefaultCode;
bool m_DefaultCodeIsSet;
bool m_Deleted;
bool m_DeletedIsSet;
utility::string_t m_DisplayName;
bool m_DisplayNameIsSet;
utility::string_t m_Email;
bool m_EmailIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
bool m_IsRegexp;
bool m_IsRegexpIsSet;
utility::string_t m_Name;
bool m_NameIsSet;
utility::string_t m_Owner;
bool m_OwnerIsSet;
utility::string_t m_Phone;
bool m_PhoneIsSet;
int64_t m_Quota;
bool m_QuotaIsSet;
utility::string_t m_SignupGroup;
bool m_SignupGroupIsSet;
utility::string_t m_State;
bool m_StateIsSet;
utility::datetime m_UpdatedAt;
bool m_UpdatedAtIsSet;
utility::string_t m_UpdatedTime;
bool m_UpdatedTimeIsSet;
int64_t m_UsedCount;
bool m_UsedCountIsSet;
utility::string_t m_Username;
bool m_UsernameIsSet;
};
}
}
#endif /* HANZO_MODEL_Iam_Invitation_H_ */