Files
zeekay 83d7ffa4d7 Regenerate against the current cloud document
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.
2026-09-01 02:22:09 -07:00

177 lines
4.3 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_Role.h
*
*
*/
#ifndef HANZO_MODEL_Iam_Role_H_
#define HANZO_MODEL_Iam_Role_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include <cpprest/details/basic_types.h>
#include <vector>
namespace hanzo {
namespace model {
class Iam_Role
: public ModelBase
{
public:
Iam_Role();
virtual ~Iam_Role();
/////////////////////////////////////////////
/// 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_Role members
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);
bool isDeleted() const;
bool deletedIsSet() const;
void unsetDeleted();
void setDeleted(bool value);
utility::string_t getDescription() const;
bool descriptionIsSet() const;
void unsetDescription();
void setDescription(const utility::string_t& value);
utility::string_t getDisplayName() const;
bool displayNameIsSet() const;
void unsetDisplayName();
void setDisplayName(const utility::string_t& value);
std::vector<utility::string_t> getDomains() const;
bool domainsIsSet() const;
void unsetDomains();
void setDomains(const std::vector<utility::string_t>& value);
utility::string_t getId() const;
bool idIsSet() const;
void unsetId();
void setId(const utility::string_t& value);
bool isIsEnabled() const;
bool isEnabledIsSet() const;
void unsetIsEnabled();
void setIsEnabled(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);
std::vector<utility::string_t> getRoles() const;
bool rolesIsSet() const;
void unsetRoles();
void setRoles(const std::vector<utility::string_t>& value);
std::vector<utility::string_t> getTeams() const;
bool teamsIsSet() const;
void unsetTeams();
void setTeams(const std::vector<utility::string_t>& value);
utility::datetime getUpdatedAt() const;
bool updatedAtIsSet() const;
void unsetUpdatedAt();
void setUpdatedAt(const utility::datetime& value);
std::vector<utility::string_t> getUsers() const;
bool usersIsSet() const;
void unsetUsers();
void setUsers(const std::vector<utility::string_t>& value);
protected:
utility::datetime m_CreatedAt;
bool m_CreatedAtIsSet;
utility::string_t m_CreatedTime;
bool m_CreatedTimeIsSet;
bool m_Deleted;
bool m_DeletedIsSet;
utility::string_t m_Description;
bool m_DescriptionIsSet;
utility::string_t m_DisplayName;
bool m_DisplayNameIsSet;
std::vector<utility::string_t> m_Domains;
bool m_DomainsIsSet;
utility::string_t m_Id;
bool m_IdIsSet;
bool m_IsEnabled;
bool m_IsEnabledIsSet;
utility::string_t m_Name;
bool m_NameIsSet;
utility::string_t m_Owner;
bool m_OwnerIsSet;
std::vector<utility::string_t> m_Roles;
bool m_RolesIsSet;
std::vector<utility::string_t> m_Teams;
bool m_TeamsIsSet;
utility::datetime m_UpdatedAt;
bool m_UpdatedAtIsSet;
std::vector<utility::string_t> m_Users;
bool m_UsersIsSet;
};
}
}
#endif /* HANZO_MODEL_Iam_Role_H_ */