Package org.azd.utils
Class ModelBuilder
java.lang.Object
org.azd.utils.ModelBuilder
Deprecated.
Helper class to construct the request body dynamically by removing non-assigned values in a type.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ModelBuilder
public ModelBuilder()Deprecated.
-
-
Method Details
-
build
Deprecated.Build method to construct the request body based on given object.- Parameters:
model
- request body.valuesToRemove
- Specify the values to remove from request body if it was assigned by default.- Returns:
- a Map.
- Throws:
AzDException
- Default exception handler.
-