/** * Tribufu API * REST API to access Tribufu services. * * The version of the OpenAPI document: 1.1.0 * Contact: contact@tribufu.com * * NOTE: This class is auto generated by OpenAPI-Generator 7.14.0-SNAPSHOT. * https://openapi-generator.tech * Do not edit the class manually. */ /* * RevokeRequest.h * * */ #ifndef TRIBUFU_MODELS_RevokeRequest_H_ #define TRIBUFU_MODELS_RevokeRequest_H_ #include #include "tribufu++/ModelBase.h" #include "tribufu++/model/TokenHintType.h" #include namespace tribufu { namespace models { class RevokeRequest : public ModelBase { public: RevokeRequest(); virtual ~RevokeRequest(); ///////////////////////////////////////////// /// ModelBase overrides void validate() override; web::json::value toJson() const override; bool fromJson(const web::json::value &json) override; void toMultipart(std::shared_ptr multipart, const utility::string_t &namePrefix) const override; bool fromMultiPart(std::shared_ptr multipart, const utility::string_t &namePrefix) override; ///////////////////////////////////////////// /// RevokeRequest members utility::string_t getToken() const; bool tokenIsSet() const; void unsetToken(); void setToken(const utility::string_t &value); std::shared_ptr getTokenTypeHint() const; bool tokenTypeHintIsSet() const; void unsetToken_type_hint(); void setTokenTypeHint(const std::shared_ptr &value); protected: utility::string_t m_Token; bool m_TokenIsSet; std::shared_ptr m_Token_type_hint; bool m_Token_type_hintIsSet; }; } } #endif /* TRIBUFU_MODELS_RevokeRequest_H_ */