Class TimeToLiveDTO
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.serialization.model.TimeToLiveDTO
-
- All Implemented Interfaces:
DTO<TimeToLive>
public class TimeToLiveDTO extends ObjectWithReflectiveEqualsHashCodeToString implements DTO<TimeToLive>
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description TimeToLiveDTO()
TimeToLiveDTO(TimeToLive timeToLive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeToLive
buildObject()
Long
getTimeToLive()
TimeUnit
getTimeUnit()
boolean
isUnlimited()
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key, toString
-
-
-
-
Constructor Detail
-
TimeToLiveDTO
public TimeToLiveDTO(TimeToLive timeToLive)
-
TimeToLiveDTO
public TimeToLiveDTO()
-
-
Method Detail
-
buildObject
public TimeToLive buildObject()
- Specified by:
buildObject
in interfaceDTO<TimeToLive>
-
getTimeUnit
public TimeUnit getTimeUnit()
-
getTimeToLive
public Long getTimeToLive()
-
isUnlimited
public boolean isUnlimited()
-
-