libkazv
Kazv::Api::GetVersionsJob::JobResponse Class Reference

#include <versions.hpp>

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

Public Member Functions

 JobResponse (Response r)
 
bool success () const
 
immer::array< std::string > versions () const
 The supported versions. More...
 
immer::map< std::string, bool > unstableFeatures () const
 Experimental features the server supports. 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::GetVersionsJob::JobResponse::JobResponse ( Response  r)

Member Function Documentation

◆ success()

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

◆ unstableFeatures()

immer::map< std::string, bool > Kazv::Api::GetVersionsResponse::unstableFeatures ( ) const

Experimental features the server supports.

Features not listed here, or the lack of this property all together, indicate that a feature is not supported.

◆ versions()

immer::array< std::string > Kazv::Api::GetVersionsResponse::versions ( ) const

The supported versions.


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