License

Description

Type contains information about available product licenses.


struct License
{
    ftl::String name;
    ftl::String organization;
    ftl::Array<ftl::String> licenseTypes;
    LicenseStorage::Type storage;
    ftl::Optional<ftl::String> computerID;
    ftl::String version;
    ftl::Optional<ftl::int64> validUntil;
    ftl::Optional<int> projectID;

    License() noexcept
    {}

    const ftl::String& Name() const { return name; }
    const ftl::String& Organization() const { return organization; }
    const ftl::Array<ftl::String>& LicenseTypes() const { return licenseTypes; }
    LicenseStorage::Type Storage() const { return storage; }
    const ftl::Optional<ftl::String>& ComputerID() const { return computerID; }
    const ftl::String& Version() const { return version; }
    ftl::Optional<ftl::int64> ValidUntil() const { return validUntil; }
    ftl::Optional<int> ProjectID() const { return projectID; }

};