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