Package com.netflix.genie.common.dto
Class BaseDTO
java.lang.Object
com.netflix.genie.common.dto.BaseDTO
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CommonDTO
,JobExecution
,JobMetadata
Base fields for multiple DTOs.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
BaseDTO.Builder<T extends BaseDTO.Builder>
Builder pattern to save constructor arguments. -
Method Summary
-
Method Details
-
getId
Get the Id of this DTO.- Returns:
- The id as an Optional
-
getCreated
Get the creation time.- Returns:
- The creation time or null if not set.
-
getUpdated
Get the update time.- Returns:
- The update time or null if not set.
-
toString
Convert this object to a string representation.
-