Interface ResponseBody

All Known Subinterfaces:
AsynchronouslyCreatedResource<T>
All Known Implementing Classes:
AggregatedMetricsResponseBody, AggregatedTaskDetailsInfo, AsynchronousOperationResult, CheckpointConfigInfo, CheckpointInfo, CheckpointingStatistics, CheckpointStatistics, CheckpointStatistics.CompletedCheckpointStatistics, CheckpointStatistics.FailedCheckpointStatistics, CheckpointStatistics.PendingCheckpointStatistics, ClientCoordinationResponseBody, ClusterDataSetListResponseBody, ClusterOverviewWithVersion, ConfigurationInfo, DashboardConfiguration, EmptyResponseBody, EnvironmentInfo, ErrorResponseBody, JobAccumulatorsInfo, JobConfigInfo, JobDetailsInfo, JobExceptionsInfoWithHistory, JobExecutionResultResponseBody, JobIdsWithStatusOverview, JobPlanInfo, JobResourceRequirementsBody, JobStatusInfo, JobSubmitResponseBody, JobVertexAccumulatorsInfo, JobVertexBackPressureInfo, JobVertexDetailsInfo, JobVertexTaskManagersInfo, LogListInfo, LogUrlResponse, MetricCollectionResponseBody, MultipleJobsDetails, ProfilingInfo, ProfilingInfoList, ResourceProfileInfo, SavepointInfo, SlotInfo, SubtaskExecutionAttemptAccumulatorsInfo, SubtaskExecutionAttemptDetailsInfo, SubtasksAllAccumulatorsInfo, SubtasksTimesInfo, TaskCheckpointStatistics, TaskCheckpointStatisticsWithSubtaskDetails, TaskManagerDetailsInfo, TaskManagerInfo, TaskManagersInfo, ThreadDumpInfo, TriggerResponse, VertexFlameGraph

public interface ResponseBody
Marker interface for all responses of the REST API. This class represents the http body of a response.

Subclass instances are converted to JSON using jackson-databind. Subclasses must have a constructor that accepts all fields of the JSON response, that should be annotated with @JsonCreator.

All fields that should part of the JSON response must be accessible either by being public or having a getter.

When adding methods that are prefixed with get/is make sure to annotate them with @JsonIgnore.