Package com.netflix.genie.common.dto
Class CommonDTO
java.lang.Object
com.netflix.genie.common.dto.BaseDTO
com.netflix.genie.common.dto.CommonDTO
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExecutionEnvironmentDTO
,Job
Common fields for multiple DTOs.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
CommonDTO.Builder<T extends CommonDTO.Builder>
Builder pattern to save constructor arguments. -
Method Summary
Modifier and TypeMethodDescriptionGet the description.Optional<com.fasterxml.jackson.databind.JsonNode>
Get the metadata of this resource as a JSON Node.Methods inherited from class com.netflix.genie.common.dto.BaseDTO
getCreated, getId, getUpdated, toString
-
Method Details
-
getDescription
Get the description.- Returns:
- The description as an optional
-
getMetadata
Get the metadata of this resource as a JSON Node.- Returns:
- Optional of the metadata if it exists
-