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

#include <LicenseReleaseResponse.h>

Detailed Description

Response from license release call.

Note that 0-n licenses can fail and 0-n licenses can succeed at the same time.

Public Member Functions

 LicenseReleaseResponse (const std::vector<::tenduke::se::licensing::LicenseReleaseResult > &results, const std::vector<::tenduke::se::licensing::LicenseReleaseError > &errors)
 Constructs new instance.
 
bool hasErrors () const
 Checks if any lease failed to release.
 

Public Attributes

const std::vector<::tenduke::se::licensing::LicenseReleaseErrorerrors
 Errors.
 
const std::vector<::tenduke::se::licensing::LicenseReleaseResultresults
 Sccessfully released leases.
 

Constructor & Destructor Documentation

◆ LicenseReleaseResponse()

tenduke::se::licensing::LicenseReleaseResponse::LicenseReleaseResponse ( const std::vector<::tenduke::se::licensing::LicenseReleaseResult > &  results,
const std::vector<::tenduke::se::licensing::LicenseReleaseError > &  errors 
)
inlineexplicit

Constructs new instance.

Parameters
resultssuccessfully released leases
errorsfailed leases

Member Function Documentation

◆ hasErrors()

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

Checks if any lease failed to release.

Returns
-

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