Class SourceAllowance
java.lang.Object
co.yellowdog.platform.model.Allowance
co.yellowdog.platform.model.SourceAllowance
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new SourceAllowance. -
Field Summary
Fields inherited from class co.yellowdog.platform.model.Allowance
DESCRIPTION_MAX_LENGTH
-
Constructor Summary
ConstructorsConstructorDescriptionSourceAllowance
(String description, Instant effectiveFrom, Instant effectiveUntil, int allowedHours, Integer boostHours, AllowanceResetType resetType, Integer resetInterval, AllowanceLimitEnforcement limitEnforcement, Integer hardLimitGraceMinutes, List<InstanceStatus> monitoredStatuses, String sourceId) -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceAllowance.Builder
builder()
protected boolean
boolean
int
hashCode()
void
setSourceId
(String sourceId) toString()
Methods inherited from class co.yellowdog.platform.model.Allowance
getAllowedHours, getBoostHours, getCreatedById, getDescription, getEffectiveFrom, getEffectiveUntil, getHardLimitGraceMinutes, getId, getLimitEnforcement, getMonitoredStatuses, getRemainingHours, getResetInterval, getResetType, setAllowedHours, setBoostHours, setCreatedById, setDescription, setEffectiveFrom, setEffectiveUntil, setHardLimitGraceMinutes, setId, setLimitEnforcement, setMonitoredStatuses, setRemainingHours, setResetInterval, setResetType
-
Constructor Details
-
SourceAllowance
public SourceAllowance(String description, Instant effectiveFrom, Instant effectiveUntil, int allowedHours, Integer boostHours, AllowanceResetType resetType, Integer resetInterval, AllowanceLimitEnforcement limitEnforcement, Integer hardLimitGraceMinutes, List<InstanceStatus> monitoredStatuses, String sourceId)
-
-
Method Details
-
builder
-
getSourceId
-
setSourceId
-
toString
-
equals
-
canEqual
-
hashCode
-