com.tenduke.events.api.model.data.LicenseConsumptionFields Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of events-api Show documentation
Show all versions of events-api Show documentation
Objects and interfaces describing data communicated in the 10Duke Event Data system API
package com.tenduke.events.api.model.data;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* Event data fields for license operations that contain consumption data.
* @author roope
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public interface LicenseConsumptionFields extends LicenseLeaseFields {
/**
* Gets consumption id.
* @return consumption id.
*/
String getConsumptionId();
/**
* Gets license consumption mode that indicates how the license consumer consumes the assigned license.
* @return Consumption mode
*/
String getConsumptionMode();
/**
* Feature version consumed by this consumption.
* @return version consumed.
*/
String getConsumedVersion();
/**
* Gets the licensed item name.
* @return the licensed item name.
*/
String getLicensedItemName();
/**
* Gets latest time when the granted lease can be used by the client.
* @return Lease expiration in milliseconds since the Epoch (1970-01-01T00:00:00Z).
*/
Long getGrantedUntil();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy