10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
tenduke::ee::licensing::FluentLicenseReleaseBuilder< BUILDER > Class Template Reference

#include <FluentLicenseReleaseBuilder.h>

Detailed Description

template<typename BUILDER>
class tenduke::ee::licensing::FluentLicenseReleaseBuilder< BUILDER >

Utility for building tenduke::ee::licensing::LicenseReleaseRequest.

Public Member Functions

BUILDER & leaseId (const std::string &leaseId)
 Adds a lease-id to release.
 
BUILDER & leases (const std::map< std::string, tenduke::ee::licensing::Lease > &items)
 Adds multiple leases to release from a map.
 
BUILDER & leases (const std::vector< tenduke::ee::licensing::Lease > &items)
 Adds multiple leases to release from a vector.
 
BUILDER & lease (const tenduke::ee::licensing::Lease &license)
 Adds single lease to release from tenduke::ee::licensing::LicenseCheckoutItem.
 

Protected Member Functions

tenduke::ee::licensing::LicenseReleaseParameters buildParameters ()
 Builds tenduke::ee::licensing::LicenseReleaseParameters.
 

Member Function Documentation

◆ buildParameters()

template<typename BUILDER >
tenduke::ee::licensing::LicenseReleaseParameters tenduke::ee::licensing::FluentLicenseReleaseBuilder< BUILDER >::buildParameters ( )
inlineprotected

◆ lease()

template<typename BUILDER >
BUILDER & tenduke::ee::licensing::FluentLicenseReleaseBuilder< BUILDER >::lease ( const tenduke::ee::licensing::Lease license)
inline

Adds single lease to release from tenduke::ee::licensing::LicenseCheckoutItem.

Parameters
license-
Returns
this instance for method chaining

◆ leaseId()

template<typename BUILDER >
BUILDER & tenduke::ee::licensing::FluentLicenseReleaseBuilder< BUILDER >::leaseId ( const std::string &  leaseId)
inline

Adds a lease-id to release.

Parameters
leaseId-
Returns
this instance for method chaining

◆ leases() [1/2]

template<typename BUILDER >
BUILDER & tenduke::ee::licensing::FluentLicenseReleaseBuilder< BUILDER >::leases ( const std::map< std::string, tenduke::ee::licensing::Lease > &  items)
inline

Adds multiple leases to release from a map.

Useful to release items returned by tenduke::ee::licensing::LicenseCheckoutResponse.

Parameters
items-
Returns
this instance for method chaining

◆ leases() [2/2]

template<typename BUILDER >
BUILDER & tenduke::ee::licensing::FluentLicenseReleaseBuilder< BUILDER >::leases ( const std::vector< tenduke::ee::licensing::Lease > &  items)
inline

Adds multiple leases to release from a vector.

Parameters
items-
Returns
this instance for method chaining

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