Class ModelUpdateRequest.UpdateModelCommentRequest
java.lang.Object
org.apache.gravitino.dto.requests.ModelUpdateRequest.UpdateModelCommentRequest
- All Implemented Interfaces:
ModelUpdateRequest
,RESTMessage
,RESTRequest
- Enclosing interface:
- ModelUpdateRequest
public static class ModelUpdateRequest.UpdateModelCommentRequest
extends Object
implements ModelUpdateRequest
The model update request for update comment of model.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.dto.requests.ModelUpdateRequest
ModelUpdateRequest.RemoveModelPropertyRequest, ModelUpdateRequest.RenameModelRequest, ModelUpdateRequest.SetModelPropertyRequest, ModelUpdateRequest.UpdateModelCommentRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the model change.void
validate()
Validates the fields of the request.
-
Constructor Details
-
UpdateModelCommentRequest
public UpdateModelCommentRequest()
-
-
Method Details
-
modelChange
Returns the model change.- Specified by:
modelChange
in interfaceModelUpdateRequest
- Returns:
- the model change.
-
validate
Validates the fields of the request. Always pass.- Specified by:
validate
in interfaceRESTMessage
- Throws:
IllegalArgumentException
-