public static class ModelVersionUpdateRequest.SetModelVersionPropertyRequest extends java.lang.Object implements ModelVersionUpdateRequest
ModelVersionUpdateRequest.RemoveModelVersionPropertyRequest, ModelVersionUpdateRequest.SetModelVersionPropertyRequest, ModelVersionUpdateRequest.UpdateModelVersionComment, ModelVersionUpdateRequest.UpdateModelVersionUriRequest
Constructor and Description |
---|
SetModelVersionPropertyRequest() |
Modifier and Type | Method and Description |
---|---|
ModelVersionChange |
modelVersionChange()
Returns the model version change.
|
void |
validate()
Validates the request, i.e., checks if the property and value are not empty and not null.
|
public ModelVersionChange modelVersionChange()
modelVersionChange
in interface ModelVersionUpdateRequest
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
java.lang.IllegalArgumentException
- If the request is invalid, this exception is thrown.