10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
LicenseCheckoutItem.h
1#ifndef TENDUKE_EE_LICENSING_LICENSECHECKOUTITEM_H
2#define TENDUKE_EE_LICENSING_LICENSECHECKOUTITEM_H
3
4#include <string>
5
6namespace tenduke { namespace ee { namespace licensing {
7
12public:
14 static const std::string NO_VERSION;
16 static const std::string NO_LICENSE_ID;
17
26 explicit LicenseCheckoutItem(
27 std::string name,
28 std::string requestedVersion = NO_VERSION,
29 std::string licenseId = NO_LICENSE_ID
30 );
31
32public:
34 const std::string name;
35
37 const std::string requestedVersion;
38
40 const std::string licenseId;
41};
42
43}}}
44
45#endif //TENDUKE_EE_LICENSING_LICENSECHECKOUTITEM_H
Licensed item to be checked out.
Definition LicenseCheckoutItem.h:11
const std::string requestedVersion
Requested version.
Definition LicenseCheckoutItem.h:37
const std::string name
Name of the licensed item.
Definition LicenseCheckoutItem.h:34
const std::string licenseId
Checkout this license (note that item name must still be given).
Definition LicenseCheckoutItem.h:40
static const std::string NO_LICENSE_ID
Named constant to indicate that no license id is specified.
Definition LicenseCheckoutItem.h:16
static const std::string NO_VERSION
Named constant to indicate that no version is specified.
Definition LicenseCheckoutItem.h:14
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4