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

com.tenduke.events.api.model.object.LicenseConsumed 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.object;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.tenduke.events.api.model.data.ErrorInfoFields;
import com.tenduke.events.api.model.data.LicenseAssignmentFields;
import com.tenduke.events.api.model.data.LicenseConsumptionFields;
import com.tenduke.events.api.model.data.RequestFields;
import com.tenduke.events.api.model.data.TimeFields;
import com.tenduke.events.api.model.data.UserIdFields;

/**
 * Event occurring when the license is consumed. License consume failed is communicated through
 * error fields.
 * @author roope
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public interface LicenseConsumed extends
        LicenseAssignmentFields,
        LicenseConsumptionFields,
        UserIdFields,
        ErrorInfoFields,
        TimeFields,
        RequestFields {

    /**
     * Gets use count consumed.
     * @return use count consumed.
     */
    Long getConsumedUseCount();

    /**
     * Gets use time consumed.
     * @return use time consumed.
     */
    Long getConsumedUseTime();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy