Class ModelUpdatesRequest
java.lang.Object
org.apache.gravitino.dto.requests.ModelUpdatesRequest
- All Implemented Interfaces:
RESTMessage
,RESTRequest
Represents a request to update a model.
-
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializerModelUpdatesRequest
(List<ModelUpdateRequest> updates) Creates a newModelUpdatesRequest
instance. -
Method Summary
-
Constructor Details
-
ModelUpdatesRequest
Creates a newModelUpdatesRequest
instance.- Parameters:
updates
- The updates to apply to the model.
-
ModelUpdatesRequest
public ModelUpdatesRequest()This is the constructor that is used by Jackson deserializer
-
-
Method Details
-
validate
Validates the request.- Specified by:
validate
in interfaceRESTMessage
- Throws:
IllegalArgumentException
- If the request is invalid, this exception is thrown.
-