10Duke Enterprise C++ Client
|
#include <FluentLicenseRenewBuilder.h>
Inheritable base class building renew request parameters fluently.
BUILDER | type of the concrete builder class |
Public Member Functions | |
BUILDER & | lease (const ::tenduke::ee::licensing::Lease &lease) |
Adds lease to renew to the request. | |
BUILDER & | leases (const std::vector<::tenduke::ee::licensing::Lease > &pLeases) |
Adds leases to renew to the request. | |
BUILDER & | leases (const std::map< std::string, ::tenduke::ee::licensing::Lease > &pLeases) |
Adds leases to renew to the request. | |
BUILDER & | duration (std::uint64_t pConsumeDuration) |
Sets "The requested duration of the license token (and the lease) in milliseconds.". | |
Protected Member Functions | |
virtual ::tenduke::ee::licensing::LicenseRenewParameters | buildParameters () |
Builds the parameters. | |
|
inlineprotected |
Builds the parameters.
|
inline |
Sets "The requested duration of the license token (and the lease) in milliseconds.".
pConsumeDuration | - |
|
inline |
Adds lease to renew to the request.
lease | the lease to renew |
|
inline |
Adds leases to renew to the request.
This is useful for renewing leases returned by tenduke::ee::licensing::LicenseCheckoutResponse
.
pLeases | the leases to renew |
|
inline |
Adds leases to renew to the request.
pLeases | the leases to renew |