Package model
Class Error422InvalidFieldList
- java.lang.Object
-
- model.Error422InvalidFieldList
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Error422InvalidFieldList extends Object
Invalid field
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classError422InvalidFieldList.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EMBEDDEDstatic StringSERIALIZED_NAME_TOTAL
-
Constructor Summary
Constructors Constructor Description Error422InvalidFieldList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Error422InvalidFieldListembedded(Error422InvalidFieldListEmbedded embedded)booleanequals(Object o)static Error422InvalidFieldListfromJson(String jsonString)Create an instance of Error422InvalidFieldList given an JSON stringError422InvalidFieldListEmbeddedgetEmbedded()Get embeddedLonggetTotal()Get totalinthashCode()voidsetEmbedded(Error422InvalidFieldListEmbedded embedded)voidsetTotal(Long total)StringtoJson()Convert an instance of Error422InvalidFieldList to an JSON stringStringtoString()Error422InvalidFieldListtotal(Long total)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_TOTAL
public static final String SERIALIZED_NAME_TOTAL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMBEDDED
public static final String SERIALIZED_NAME_EMBEDDED
- See Also:
- Constant Field Values
-
-
Method Detail
-
total
public Error422InvalidFieldList total(Long total)
-
setTotal
public void setTotal(Long total)
-
embedded
public Error422InvalidFieldList embedded(Error422InvalidFieldListEmbedded embedded)
-
getEmbedded
@Nullable public Error422InvalidFieldListEmbedded getEmbedded()
Get embedded- Returns:
- embedded
-
setEmbedded
public void setEmbedded(Error422InvalidFieldListEmbedded embedded)
-
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 Error422InvalidFieldList
-
fromJson
public static Error422InvalidFieldList fromJson(String jsonString) throws IOException
Create an instance of Error422InvalidFieldList given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Error422InvalidFieldList
- Throws:
IOException- if the JSON string is invalid with respect to Error422InvalidFieldList
-
toJson
public String toJson()
Convert an instance of Error422InvalidFieldList to an JSON string- Returns:
- JSON string
-
-