All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tenduke.events.api.model.data.LicenseConsumptionFields Maven / Gradle / Ivy

Go to download

Objects and interfaces describing data communicated in the 10Duke Event Data system API

There is a newer version: 1.9.0
Show newest version
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