Class DurationReportResultDto

java.lang.Object
org.camunda.community.rest.client.dto.DurationReportResultDto

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-06-04T13:43:01.451833574Z[Etc/UTC]") public class DurationReportResultDto extends Object
DurationReportResultDto
  • Field Details

  • Constructor Details

    • DurationReportResultDto

      public DurationReportResultDto()
  • Method Details

    • period

      public DurationReportResultDto period(Integer period)
    • getPeriod

      @Nullable public Integer getPeriod()
      Specifies a timespan within a year. **Note:** The period must be interpreted in conjunction with the returned `periodUnit`.
      Returns:
      period
    • getPeriod_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Integer> getPeriod_JsonNullable()
    • setPeriod_JsonNullable

      public void setPeriod_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> period)
    • setPeriod

      public void setPeriod(Integer period)
    • periodUnit

    • getPeriodUnit

      The unit of the given period. Possible values are `MONTH` and `QUARTER`.
      Returns:
      periodUnit
    • getPeriodUnit_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<DurationReportResultDto.PeriodUnitEnum> getPeriodUnit_JsonNullable()
    • setPeriodUnit_JsonNullable

      public void setPeriodUnit_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<DurationReportResultDto.PeriodUnitEnum> periodUnit)
    • setPeriodUnit

      public void setPeriodUnit(DurationReportResultDto.PeriodUnitEnum periodUnit)
    • minimum

      public DurationReportResultDto minimum(Long minimum)
    • getMinimum

      @Nullable public Long getMinimum()
      The smallest duration in milliseconds of all completed process instances which were started in the given period.
      Returns:
      minimum
    • getMinimum_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getMinimum_JsonNullable()
    • setMinimum_JsonNullable

      public void setMinimum_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> minimum)
    • setMinimum

      public void setMinimum(Long minimum)
    • maximum

      public DurationReportResultDto maximum(Long maximum)
    • getMaximum

      @Nullable public Long getMaximum()
      The greatest duration in milliseconds of all completed process instances which were started in the given period.
      Returns:
      maximum
    • getMaximum_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getMaximum_JsonNullable()
    • setMaximum_JsonNullable

      public void setMaximum_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> maximum)
    • setMaximum

      public void setMaximum(Long maximum)
    • average

      public DurationReportResultDto average(Long average)
    • getAverage

      @Nullable public Long getAverage()
      The average duration in milliseconds of all completed process instances which were started in the given period.
      Returns:
      average
    • getAverage_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getAverage_JsonNullable()
    • setAverage_JsonNullable

      public void setAverage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> average)
    • setAverage

      public void setAverage(Long average)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string