Package model
Class Error401UnauthorizedEmbedded
- java.lang.Object
-
- model.Error401UnauthorizedEmbedded
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Error401UnauthorizedEmbedded extends Object
Error401UnauthorizedEmbedded
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classError401UnauthorizedEmbedded.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ERRORS
-
Constructor Summary
Constructors Constructor Description Error401UnauthorizedEmbedded()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Error401UnauthorizedEmbeddedaddErrorsItem(Error401UnauthorizedEmbeddedErrorsInner errorsItem)booleanequals(Object o)Error401UnauthorizedEmbeddederrors(List<Error401UnauthorizedEmbeddedErrorsInner> errors)static Error401UnauthorizedEmbeddedfromJson(String jsonString)Create an instance of Error401UnauthorizedEmbedded given an JSON stringList<Error401UnauthorizedEmbeddedErrorsInner>getErrors()Get errorsinthashCode()voidsetErrors(List<Error401UnauthorizedEmbeddedErrorsInner> errors)StringtoJson()Convert an instance of Error401UnauthorizedEmbedded 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 Error401UnauthorizedEmbedded errors(List<Error401UnauthorizedEmbeddedErrorsInner> errors)
-
addErrorsItem
public Error401UnauthorizedEmbedded addErrorsItem(Error401UnauthorizedEmbeddedErrorsInner errorsItem)
-
getErrors
@Nullable public List<Error401UnauthorizedEmbeddedErrorsInner> getErrors()
Get errors- Returns:
- errors
-
setErrors
public void setErrors(List<Error401UnauthorizedEmbeddedErrorsInner> 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 Error401UnauthorizedEmbedded
-
fromJson
public static Error401UnauthorizedEmbedded fromJson(String jsonString) throws IOException
Create an instance of Error401UnauthorizedEmbedded given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Error401UnauthorizedEmbedded
- Throws:
IOException- if the JSON string is invalid with respect to Error401UnauthorizedEmbedded
-
toJson
public String toJson()
Convert an instance of Error401UnauthorizedEmbedded to an JSON string- Returns:
- JSON string
-
-