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

public abstract class CommonDTO extends BaseDTO
Common fields for multiple DTOs.
Since:
3.0.0
See Also:
  • Method Details

    • getDescription

      public Optional<String> getDescription()
      Get the description.
      Returns:
      The description as an optional
    • getMetadata

      public Optional<com.fasterxml.jackson.databind.JsonNode> getMetadata()
      Get the metadata of this resource as a JSON Node.
      Returns:
      Optional of the metadata if it exists