Package com.boldsign.model
Class ModificationDetails
- java.lang.Object
-
- com.boldsign.model.ModificationDetails
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class ModificationDetails extends Object
ModificationDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModificationDetails.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDED_COUNTstatic StringSERIALIZED_NAME_REMOVED_COUNT
-
Constructor Summary
Constructors Constructor Description ModificationDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModificationDetailsaddedCount(Integer addedCount)Map<String,Object>createFormData()booleanequals(Object o)static ModificationDetailsfromJson(String jsonString)Create an instance of ModificationDetails given an JSON stringIntegergetAddedCount()Get addedCountIntegergetRemovedCount()Get removedCountinthashCode()ModificationDetailsremovedCount(Integer removedCount)voidsetAddedCount(Integer addedCount)voidsetRemovedCount(Integer removedCount)StringtoJson()Convert an instance of ModificationDetails to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_REMOVED_COUNT
public static final String SERIALIZED_NAME_REMOVED_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDED_COUNT
public static final String SERIALIZED_NAME_ADDED_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
removedCount
public ModificationDetails removedCount(Integer removedCount)
-
setRemovedCount
public void setRemovedCount(Integer removedCount)
-
addedCount
public ModificationDetails addedCount(Integer addedCount)
-
setAddedCount
public void setAddedCount(Integer addedCount)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ModificationDetails
-
fromJson
public static ModificationDetails fromJson(String jsonString) throws IOException
Create an instance of ModificationDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ModificationDetails
- Throws:
IOException- if the JSON string is invalid with respect to ModificationDetails
-
toJson
public String toJson()
Convert an instance of ModificationDetails to an JSON string- Returns:
- JSON string
-
-