Package org.openapitools.client.model
Class DurationReportResultDto
- java.lang.Object
-
- org.openapitools.client.model.DurationReportResultDto
-
public class DurationReportResultDto extends Object
DurationReportResultDto
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDurationReportResultDto.PeriodUnitEnumThe unit of the given period.
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_AVERAGEstatic StringSERIALIZED_NAME_MAXIMUMstatic StringSERIALIZED_NAME_MINIMUMstatic StringSERIALIZED_NAME_PERIODstatic StringSERIALIZED_NAME_PERIOD_UNIT
-
Constructor Summary
Constructors Constructor Description DurationReportResultDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationReportResultDtoaverage(Long average)booleanequals(Object o)LonggetAverage()The average duration in milliseconds of all completed process instances which were started in the given period.LonggetMaximum()The greatest duration in milliseconds of all completed process instances which were started in the given period.LonggetMinimum()The smallest duration in milliseconds of all completed process instances which were started in the given period.IntegergetPeriod()Specifies a timespan within a year.DurationReportResultDto.PeriodUnitEnumgetPeriodUnit()The unit of the given period.inthashCode()DurationReportResultDtomaximum(Long maximum)DurationReportResultDtominimum(Long minimum)DurationReportResultDtoperiod(Integer period)DurationReportResultDtoperiodUnit(DurationReportResultDto.PeriodUnitEnum periodUnit)voidsetAverage(Long average)voidsetMaximum(Long maximum)voidsetMinimum(Long minimum)voidsetPeriod(Integer period)voidsetPeriodUnit(DurationReportResultDto.PeriodUnitEnum periodUnit)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_PERIOD
public static final String SERIALIZED_NAME_PERIOD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PERIOD_UNIT
public static final String SERIALIZED_NAME_PERIOD_UNIT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MINIMUM
public static final String SERIALIZED_NAME_MINIMUM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAXIMUM
public static final String SERIALIZED_NAME_MAXIMUM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AVERAGE
public static final String SERIALIZED_NAME_AVERAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
period
public DurationReportResultDto period(Integer period)
-
getPeriod
public Integer getPeriod()
Specifies a timespan within a year. **Note:** The period must be interpreted in conjunction with the returned `periodUnit`.- Returns:
- period
-
setPeriod
public void setPeriod(Integer period)
-
periodUnit
public DurationReportResultDto periodUnit(DurationReportResultDto.PeriodUnitEnum periodUnit)
-
getPeriodUnit
public DurationReportResultDto.PeriodUnitEnum getPeriodUnit()
The unit of the given period. Possible values are `MONTH` and `QUARTER`.- Returns:
- periodUnit
-
setPeriodUnit
public void setPeriodUnit(DurationReportResultDto.PeriodUnitEnum periodUnit)
-
minimum
public DurationReportResultDto minimum(Long minimum)
-
getMinimum
public Long getMinimum()
The smallest duration in milliseconds of all completed process instances which were started in the given period.- Returns:
- minimum
-
setMinimum
public void setMinimum(Long minimum)
-
maximum
public DurationReportResultDto maximum(Long maximum)
-
getMaximum
public Long getMaximum()
The greatest duration in milliseconds of all completed process instances which were started in the given period.- Returns:
- maximum
-
setMaximum
public void setMaximum(Long maximum)
-
average
public DurationReportResultDto average(Long average)
-
getAverage
public Long getAverage()
The average duration in milliseconds of all completed process instances which were started in the given period.- Returns:
- average
-
setAverage
public void setAverage(Long average)
-
-