public class VersionResponse extends BaseResponse
Constructor and Description |
---|
VersionResponse()
Default constructor for VersionResponse.
|
VersionResponse(VersionDTO version)
Constructor for VersionResponse.
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the response data.
|
public VersionResponse(VersionDTO version)
version
- The version of Gravitino.public VersionResponse()
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
validate
in class BaseResponse
java.lang.IllegalArgumentException
- if name or audit information is not set.