libkazv
Kazv::Api::Unbind3pidFromAccountJob::JobResponse Class Reference

#include <administrative_contact.hpp>

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

Public Member Functions

 JobResponse (Response r)
 
bool success () const
 
std::string idServerUnbindResult () const
 An indicator as to whether or not the identity server was able to unbind the 3PID. 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::Unbind3pidFromAccountJob::JobResponse::JobResponse ( Response  r)

Member Function Documentation

◆ idServerUnbindResult()

std::string Kazv::Api::Unbind3pidFromAccountResponse::idServerUnbindResult ( ) const

An indicator as to whether or not the identity server was able to unbind the 3PID.

success indicates that the identity server has unbound the identifier whereas no-support indicates that the identity server refuses to support the request or the homeserver was not able to determine an identity server to unbind from.

◆ success()

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

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