10Duke Enterprise C++ Client
|
#include <LicenseReleaseResponse.h>
Response from tenduke::ee::licensing::LicenseReleaseRequest
.
Like the checkout response, the result is not atomic: Some items may have failed, some succeeded. See `tenduke::ee::licensing::LicenseCheckoutResponse" for details.
Public Member Functions | |
LicenseReleaseResponse (const std::vector< std::string > &leaseIds, const std::map< std::string, tenduke::ee::licensing::LicensingError > &errors) | |
Constructs new instance. | |
bool | failed () override |
Checks it the entire request failed, i.e. | |
Public Member Functions inherited from tenduke::ee::licensing::LicensingResponse | |
LicensingResponse (const std::map< std::string, tenduke::ee::licensing::LicensingError > &errors) | |
Constructs new instance. | |
bool | hasErrors () const |
Checks if there are any errors. | |
Public Attributes | |
const std::vector< std::string > | leaseIds |
Id's of successfully released leases. | |
Public Attributes inherited from tenduke::ee::licensing::LicensingResponse | |
const std::map< std::string, tenduke::ee::licensing::LicensingError > | errors |
Errors of this response. | |
|
inline |
Constructs new instance.
leaseIds | ID's of released leases |
errors | the failed leases. Key is the lease id. |
|
inlineoverridevirtual |
Checks it the entire request failed, i.e.
there are errors but no successfully released leases.
Implements tenduke::ee::licensing::LicensingResponse.