Package Avalara.SDK.model.A1099.V2
Class ValidationErrorApp
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.ValidationErrorApp
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class ValidationErrorApp extends Object
ValidationErrorApp
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValidationErrorApp.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ERRORSstatic StringSERIALIZED_NAME_FIELD
-
Constructor Summary
Constructors Constructor Description ValidationErrorApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationErrorAppaddErrorsItem(String errorsItem)booleanequals(Object o)ValidationErrorApperrors(List<String> errors)ValidationErrorAppfield(String field)static ValidationErrorAppfromJson(String jsonString)Create an instance of ValidationErrorApp given an JSON stringList<String>getErrors()Get errorsStringgetField()Get fieldinthashCode()voidsetErrors(List<String> errors)voidsetField(String field)StringtoJson()Convert an instance of ValidationErrorApp 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_FIELD
public static final String SERIALIZED_NAME_FIELD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERRORS
public static final String SERIALIZED_NAME_ERRORS
- See Also:
- Constant Field Values
-
-
Method Detail
-
field
public ValidationErrorApp field(String field)
-
setField
public void setField(String field)
-
errors
public ValidationErrorApp errors(List<String> errors)
-
addErrorsItem
public ValidationErrorApp addErrorsItem(String errorsItem)
-
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 ValidationErrorApp
-
fromJson
public static ValidationErrorApp fromJson(String jsonString) throws IOException
Create an instance of ValidationErrorApp given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ValidationErrorApp
- Throws:
IOException- if the JSON string is invalid with respect to ValidationErrorApp
-
toJson
public String toJson()
Convert an instance of ValidationErrorApp to an JSON string- Returns:
- JSON string
-
-