Class MetalakeListResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.MetalakeListResponse
- All Implemented Interfaces:
RESTMessage
,RESTResponse
Represents a response containing a list of metalakes.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for MetalakeListResponse.MetalakeListResponse
(MetalakeDTO[] metalakes) Constructor for MetalakeListResponse. -
Method Summary
-
Constructor Details
-
MetalakeListResponse
Constructor for MetalakeListResponse.- Parameters:
metalakes
- The array of metalake DTOs.
-
MetalakeListResponse
public MetalakeListResponse()Default constructor for MetalakeListResponse. (Used for Jackson deserialization.)
-
-
Method Details
-
validate
Validates the response data.- Specified by:
validate
in interfaceRESTMessage
- Overrides:
validate
in classBaseResponse
- Throws:
IllegalArgumentException
- if name or audit information is not set.
-