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