libkazv
Kazv::Api::UploadCrossSigningSignaturesJob::JobResponse Class Reference

#include <cross_signing.hpp>

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

Public Member Functions

 JobResponse (Response r)
 
bool success () const
 
immer::map< std::string, immer::map< std::string, JsonWrap > > failures () const
 A map from user ID to key ID to an error for any signatures that failed. 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::UploadCrossSigningSignaturesJob::JobResponse::JobResponse ( Response  r)

Member Function Documentation

◆ failures()

immer::map< std::string, immer::map< std::string, JsonWrap > > Kazv::Api::UploadCrossSigningSignaturesResponse::failures ( ) const

A map from user ID to key ID to an error for any signatures that failed.

If a signature was invalid, the errcode will be set to M_INVALID_SIGNATURE.

◆ success()

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

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