Class RemoveResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.RemoveResponse
- All Implemented Interfaces:
RESTMessage
,RESTResponse
Represents a response for a remove operation.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for RemoveResponse (used by Jackson deserializer).RemoveResponse
(boolean removed) Constructor for RemoveResponse. -
Method Summary
Modifier and TypeMethodDescriptionboolean
removed()
Returns whether the remove operation was successful.Methods inherited from class org.apache.gravitino.dto.responses.BaseResponse
validate
-
Constructor Details
-
RemoveResponse
public RemoveResponse(boolean removed) Constructor for RemoveResponse.- Parameters:
removed
- Whether the remove operation was successful.
-
RemoveResponse
public RemoveResponse()Default constructor for RemoveResponse (used by Jackson deserializer).
-
-
Method Details
-
removed
public boolean removed()Returns whether the remove operation was successful.- Returns:
- True if the remove operation was successful, otherwise false.
-