10Duke Enterprise C++ Client
|
#include <LicenseRenewParameters.h>
Parameters for license renew request.
Public Member Functions | |
LicenseRenewParameters (const std::vector<::tenduke::ee::licensing::LicenseRenewItem > &leases, std::uint64_t consumeDuration=DEFAULT_CONSUME_DURATION) | |
Constructs new instance. | |
bool | hasConsumeDuration () const |
Checks if consumeDuration was provided. | |
Public Attributes | |
const std::uint64_t | consumeDuration |
(Optional) The requested duration of the license token (and the lease) in milliseconds. | |
const std::vector<::tenduke::ee::licensing::LicenseRenewItem > | leases |
Leases to renew. | |
Static Public Attributes | |
static const std::uint64_t | DEFAULT_CONSUME_DURATION = 0 |
Default consume duration. | |
|
explicit |
Constructs new instance.
leases | Leases to renew. |
consumeDuration | (Optional) The requested duration of the license token (and the lease) in milliseconds. |
bool tenduke::ee::licensing::LicenseRenewParameters::hasConsumeDuration | ( | ) | const |
Checks if consumeDuration was provided.