Files

76 lines
1.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.
*/
/*
* PolicyList.h
*
*
*/
#ifndef HANZO_MODEL_PolicyList_H_
#define HANZO_MODEL_PolicyList_H_
#include <boost/optional.hpp>
#include "hanzo/ModelBase.h"
#include "hanzo/AnyType.h"
#include <vector>
namespace hanzo {
namespace model {
class PolicyList
: public ModelBase
{
public:
PolicyList();
virtual ~PolicyList();
/////////////////////////////////////////////
/// 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;
/////////////////////////////////////////////
/// PolicyList members
/// <summary>
/// Policies is the organization&#39;s published policy documents, each as the centre holds it.
/// </summary>
std::vector<std::shared_ptr<AnyType>> getPolicies() const;
bool policiesIsSet() const;
void unsetPolicies();
void setPolicies(const std::vector<std::shared_ptr<AnyType>>& value);
protected:
std::vector<std::shared_ptr<AnyType>> m_Policies;
bool m_PoliciesIsSet;
};
}
}
#endif /* HANZO_MODEL_PolicyList_H_ */