Package model
Class ErrorGeneric
- java.lang.Object
-
- model.ErrorGeneric
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ErrorGeneric extends Object
ErrorGeneric
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classErrorGeneric.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 ErrorGeneric()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorGenericembedded(Error403ForbiddenListEmbedded embedded)booleanequals(Object o)static ErrorGenericfromJson(String jsonString)Create an instance of ErrorGeneric given an JSON stringError403ForbiddenListEmbeddedgetEmbedded()Get embeddedLonggetTotal()Get totalinthashCode()voidsetEmbedded(Error403ForbiddenListEmbedded embedded)voidsetTotal(Long total)StringtoJson()Convert an instance of ErrorGeneric to an JSON stringStringtoString()ErrorGenerictotal(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 ErrorGeneric total(Long total)
-
setTotal
public void setTotal(Long total)
-
embedded
public ErrorGeneric embedded(Error403ForbiddenListEmbedded embedded)
-
getEmbedded
@Nullable public Error403ForbiddenListEmbedded getEmbedded()
Get embedded- Returns:
- embedded
-
setEmbedded
public void setEmbedded(Error403ForbiddenListEmbedded 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 ErrorGeneric
-
fromJson
public static ErrorGeneric fromJson(String jsonString) throws IOException
Create an instance of ErrorGeneric given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ErrorGeneric
- Throws:
IOException- if the JSON string is invalid with respect to ErrorGeneric
-
toJson
public String toJson()
Convert an instance of ErrorGeneric to an JSON string- Returns:
- JSON string
-
-