libkazv
Kazv::Api::GetNotificationsJob::JobResponse Class Reference

#include <notifications.hpp>

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

Public Member Functions

 JobResponse (Response r)
 
bool success () const
 
std::optional< std::string > nextToken () const
 The token to supply in the from param of the next /notifications request in order to request more events. More...
 
immer::array< Notificationnotifications () const
 The list of events that triggered notifications. 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::GetNotificationsJob::JobResponse::JobResponse ( Response  r)

Member Function Documentation

◆ nextToken()

std::optional< std::string > Kazv::Api::GetNotificationsResponse::nextToken ( ) const

The token to supply in the from param of the next /notifications request in order to request more events.

If this is absent, there are no more results.

◆ notifications()

immer::array< GetNotificationsJob::Notification > Kazv::Api::GetNotificationsResponse::notifications ( ) const

The list of events that triggered notifications.

◆ success()

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

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