Class ModelUpdateRequest.RemoveModelPropertyRequest
java.lang.Object
org.apache.gravitino.dto.requests.ModelUpdateRequest.RemoveModelPropertyRequest
- All Implemented Interfaces:
ModelUpdateRequest
,RESTMessage
,RESTRequest
- Enclosing interface:
- ModelUpdateRequest
public static class ModelUpdateRequest.RemoveModelPropertyRequest
extends Object
implements ModelUpdateRequest
The model update request for remove property from 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 request, i.e., checks if the property is not empty.
-
Constructor Details
-
RemoveModelPropertyRequest
public RemoveModelPropertyRequest()
-
-
Method Details
-
modelChange
Returns the model change.- Specified by:
modelChange
in interfaceModelUpdateRequest
- Returns:
- the model change.
-
validate
Validates the request, i.e., checks if the property is not empty.- Specified by:
validate
in interfaceRESTMessage
- Throws:
IllegalArgumentException
- If the request is invalid, this exception is thrown.
-