Class DelayDTO
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.serialization.model.DelayDTO
-
public class DelayDTO extends ObjectWithReflectiveEqualsHashCodeToString implements DTO<Delay>
- Author:
- jamesdbloom
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DelaybuildObject()DelayDistributionDTOgetDistribution()TimeUnitgetTimeUnit()longgetValue()DelayDTOsetDistribution(DelayDistributionDTO distribution)DelayDTOsetTimeUnit(TimeUnit timeUnit)DelayDTOsetValue(long value)-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString
-
-
-
-
Constructor Detail
-
DelayDTO
public DelayDTO(Delay delay)
-
DelayDTO
public DelayDTO()
-
-
Method Detail
-
buildObject
public Delay buildObject()
- Specified by:
buildObjectin interfaceDTO<Delay>
-
getTimeUnit
public TimeUnit getTimeUnit()
-
getValue
public long getValue()
-
setValue
public DelayDTO setValue(long value)
-
getDistribution
public DelayDistributionDTO getDistribution()
-
setDistribution
public DelayDTO setDistribution(DelayDistributionDTO distribution)
-
-