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