|
10Duke Scale C++ Client
|
#include <LicenseCheckoutResponse.h>
Response from license checkout call.
Note that 0-n licenses can fail and 0-n licenses can succeed at the same time.
Public Member Functions | |
| LicenseCheckoutResponse (const std::vector<::tenduke::se::licensing::Lease > &leases, const std::vector<::tenduke::se::licensing::LicenseCheckoutError > &errors) | |
| Constructs new instance. | |
| bool | hasErrors () const |
| Checks if the any of the licenses failed to checkout. | |
Public Attributes | |
| const std::vector<::tenduke::se::licensing::LicenseCheckoutError > | errors |
| Errors. | |
| const std::vector<::tenduke::se::licensing::Lease > | leases |
| Leases of successfully checked out licenses. | |
|
inlineexplicit |
Constructs new instance.
| leases | - |
| errors | - |
|
inline |
Checks if the any of the licenses failed to checkout.