libkazv
Kazv::Api::DefineFilterJob::JobResponse Class Reference

#include <filter.hpp>

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

Public Member Functions

 JobResponse (Response r)
 
bool success () const
 
std::string filterId () const
 The ID of the filter that was created. 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::DefineFilterJob::JobResponse::JobResponse ( Response  r)

Member Function Documentation

◆ filterId()

std::string Kazv::Api::DefineFilterResponse::filterId ( ) const

The ID of the filter that was created.

Cannot start with a { as this character is used to determine if the filter provided is inline JSON or a previously declared filter by homeservers on some APIs.

◆ success()

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

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