10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
tenduke::ee::licensing::LicenseRenewParameters Class Reference

#include <LicenseRenewParameters.h>

Detailed Description

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::LicenseRenewItemleases
 Leases to renew.
 

Static Public Attributes

static const std::uint64_t DEFAULT_CONSUME_DURATION = 0
 Default consume duration.
 

Constructor & Destructor Documentation

◆ LicenseRenewParameters()

tenduke::ee::licensing::LicenseRenewParameters::LicenseRenewParameters ( const std::vector<::tenduke::ee::licensing::LicenseRenewItem > &  leases,
std::uint64_t  consumeDuration = DEFAULT_CONSUME_DURATION 
)
explicit

Constructs new instance.

Parameters
leasesLeases to renew.
consumeDuration(Optional) The requested duration of the license token (and the lease) in milliseconds.

Member Function Documentation

◆ hasConsumeDuration()

bool tenduke::ee::licensing::LicenseRenewParameters::hasConsumeDuration ( ) const

Checks if consumeDuration was provided.

Returns
-

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