10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::se::licensing::LicenseCheckoutResponse Class Reference

#include <LicenseCheckoutResponse.h>

Detailed Description

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::LicenseCheckoutErrorerrors
 Errors.
 
const std::vector<::tenduke::se::licensing::Leaseleases
 Leases of successfully checked out licenses.
 

Constructor & Destructor Documentation

◆ LicenseCheckoutResponse()

tenduke::se::licensing::LicenseCheckoutResponse::LicenseCheckoutResponse ( const std::vector<::tenduke::se::licensing::Lease > &  leases,
const std::vector<::tenduke::se::licensing::LicenseCheckoutError > &  errors 
)
inlineexplicit

Constructs new instance.

Parameters
leases-
errors-

Member Function Documentation

◆ hasErrors()

bool tenduke::se::licensing::LicenseCheckoutResponse::hasErrors ( ) const
inline

Checks if the any of the licenses failed to checkout.

Returns
-

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