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