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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classBaseDTO.Builder<T extends BaseDTO.Builder>Builder pattern to save constructor arguments.
- 
Method Summary
- 
Method Details- 
getIdGet the Id of this DTO.- Returns:
- The id as an Optional
 
- 
getCreatedGet the creation time.- Returns:
- The creation time or null if not set.
 
- 
getUpdatedGet the update time.- Returns:
- The update time or null if not set.
 
- 
toStringConvert this object to a string representation.
 
-