Package model
Class Error422InvalidFieldListEmbedded
- java.lang.Object
-
- model.Error422InvalidFieldListEmbedded
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Error422InvalidFieldListEmbedded extends Object
Error422InvalidFieldListEmbedded
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classError422InvalidFieldListEmbedded.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ERRORS
-
Constructor Summary
Constructors Constructor Description Error422InvalidFieldListEmbedded()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Error422InvalidFieldListEmbeddedaddErrorsItem(Error422InvalidFieldListEmbeddedErrorsInner errorsItem)booleanequals(Object o)Error422InvalidFieldListEmbeddederrors(List<Error422InvalidFieldListEmbeddedErrorsInner> errors)static Error422InvalidFieldListEmbeddedfromJson(String jsonString)Create an instance of Error422InvalidFieldListEmbedded given an JSON stringList<Error422InvalidFieldListEmbeddedErrorsInner>getErrors()Get errorsinthashCode()voidsetErrors(List<Error422InvalidFieldListEmbeddedErrorsInner> errors)StringtoJson()Convert an instance of Error422InvalidFieldListEmbedded to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
errors
public Error422InvalidFieldListEmbedded errors(List<Error422InvalidFieldListEmbeddedErrorsInner> errors)
-
addErrorsItem
public Error422InvalidFieldListEmbedded addErrorsItem(Error422InvalidFieldListEmbeddedErrorsInner errorsItem)
-
getErrors
@Nullable public List<Error422InvalidFieldListEmbeddedErrorsInner> getErrors()
Get errors- Returns:
- errors
-
setErrors
public void setErrors(List<Error422InvalidFieldListEmbeddedErrorsInner> errors)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to Error422InvalidFieldListEmbedded
-
fromJson
public static Error422InvalidFieldListEmbedded fromJson(String jsonString) throws IOException
Create an instance of Error422InvalidFieldListEmbedded given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Error422InvalidFieldListEmbedded
- Throws:
IOException- if the JSON string is invalid with respect to Error422InvalidFieldListEmbedded
-
toJson
public String toJson()
Convert an instance of Error422InvalidFieldListEmbedded to an JSON string- Returns:
- JSON string
-
-