libkazv
Kazv::Api::GetJoinedRoomsJob::JobResponse Class Reference

#include <list_joined_rooms.hpp>

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

Public Member Functions

 JobResponse (Response r)
 
bool success () const
 
immer::array< std::string > joinedRooms () const
 The ID of each room in which the user has joined membership. 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::GetJoinedRoomsJob::JobResponse::JobResponse ( Response  r)

Member Function Documentation

◆ joinedRooms()

immer::array< std::string > Kazv::Api::GetJoinedRoomsResponse::joinedRooms ( ) const

The ID of each room in which the user has joined membership.

◆ success()

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

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