Package com.testdroid.api.model
Class APIDuration
- java.lang.Object
-
- com.testdroid.api.model.APIDuration
-
- All Implemented Interfaces:
java.io.Serializable
public class APIDuration extends java.lang.Object implements java.io.Serializable
- Author:
- Damian Sniezek
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description APIDuration()
APIDuration(java.lang.Long value, java.time.temporal.ChronoUnit unit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.time.temporal.ChronoUnit
getUnit()
java.lang.Long
getValue()
int
hashCode()
void
setUnit(java.time.temporal.ChronoUnit unit)
void
setValue(java.lang.Long value)
-
-
-
Method Detail
-
getUnit
public java.time.temporal.ChronoUnit getUnit()
-
setUnit
public void setUnit(java.time.temporal.ChronoUnit unit)
-
getValue
public java.lang.Long getValue()
-
setValue
public void setValue(java.lang.Long value)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-