mirror of
https://github.com/tribufu/sdk-cpp
synced 2025-06-15 11:14:20 +00:00
82 lines
1.8 KiB
C++
82 lines
1.8 KiB
C++
/**
|
|
* 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.12.0.
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
/*
|
|
* IntrospectRequest.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef TRIBUFU_MODELS_IntrospectRequest_H_
|
|
#define TRIBUFU_MODELS_IntrospectRequest_H_
|
|
|
|
#include <stdexcept>
|
|
|
|
#include "tribufu++/ModelBase.h"
|
|
|
|
#include <cpprest/details/basic_types.h>
|
|
#include "tribufu++/model/TokenHintType.h"
|
|
|
|
namespace tribufu {
|
|
namespace models {
|
|
|
|
|
|
|
|
class IntrospectRequest
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
IntrospectRequest();
|
|
virtual ~IntrospectRequest();
|
|
|
|
/////////////////////////////////////////////
|
|
/// 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;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// IntrospectRequest members
|
|
|
|
|
|
utility::string_t getToken() const;
|
|
bool tokenIsSet() const;
|
|
void unsetToken();
|
|
void setToken(const utility::string_t& value);
|
|
|
|
std::shared_ptr<TokenHintType> getTokenTypeHint() const;
|
|
bool tokenTypeHintIsSet() const;
|
|
void unsetToken_type_hint();
|
|
void setTokenTypeHint(const std::shared_ptr<TokenHintType>& value);
|
|
|
|
|
|
protected:
|
|
utility::string_t m_Token;
|
|
bool m_TokenIsSet;
|
|
|
|
std::shared_ptr<TokenHintType> m_Token_type_hint;
|
|
bool m_Token_type_hintIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* TRIBUFU_MODELS_IntrospectRequest_H_ */
|