libkazv
Kazv::Api::RequestTokenTo3PIDEmailJob::JobResponse Class Reference

#include <administrative_contact.hpp>

Inheritance diagram for Kazv::Api::RequestTokenTo3PIDEmailJob::JobResponse:
Collaboration diagram for Kazv::Api::RequestTokenTo3PIDEmailJob::JobResponse:

Public Member Functions

 JobResponse (Response r)
 
bool success () const
 
RequestTokenResponse data () const
 An email was sent to the given address. More...
 
- Public Member Functions inherited from Kazv::Response
std::string errorCode () const
 
std::string errorMessage () const
 
JsonWrap jsonBody () const
 
constexpr bool success () const
 
json dataJson (const std::string &key) const
 
std::string dataStr (const std::string &key) const
 
std::string jobId () const
 

Additional Inherited Members

- Public Types inherited from Kazv::Response
using StatusCode = int
 
- Public Attributes inherited from Kazv::Response
StatusCode statusCode
 
Body body
 
Header header
 
JsonWrap extraData
 

Constructor & Destructor Documentation

◆ JobResponse()

Kazv::Api::RequestTokenTo3PIDEmailJob::JobResponse::JobResponse ( Response  r)

Member Function Documentation

◆ data()

RequestTokenResponse Kazv::Api::RequestTokenTo3PIDEmailJob::JobResponse::data ( ) const
inline

An email was sent to the given address.

Note that this may be an email containing the validation token or it may be informing the user of an error.

◆ success()

bool Kazv::Api::RequestTokenTo3PIDEmailResponse::success ( ) const

The documentation for this class was generated from the following files: