Package model
Class Error402PaymentRequiredEmbeddedErrorsInner
- java.lang.Object
-
- model.Error402PaymentRequiredEmbeddedErrorsInner
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Error402PaymentRequiredEmbeddedErrorsInner extends Object
Error402PaymentRequiredEmbeddedErrorsInner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classError402PaymentRequiredEmbeddedErrorsInner.CodeEnumGets or Sets codestatic classError402PaymentRequiredEmbeddedErrorsInner.CustomTypeAdapterFactorystatic classError402PaymentRequiredEmbeddedErrorsInner.MessageEnumGets or Sets message
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CODEstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_LOGREFstatic StringSERIALIZED_NAME_MESSAGE
-
Constructor Summary
Constructors Constructor Description Error402PaymentRequiredEmbeddedErrorsInner()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_CODE
public static final String SERIALIZED_NAME_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOGREF
public static final String SERIALIZED_NAME_LOGREF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
code
public Error402PaymentRequiredEmbeddedErrorsInner code(Error402PaymentRequiredEmbeddedErrorsInner.CodeEnum code)
-
getCode
@Nullable public Error402PaymentRequiredEmbeddedErrorsInner.CodeEnum getCode()
Get code- Returns:
- code
-
setCode
public void setCode(Error402PaymentRequiredEmbeddedErrorsInner.CodeEnum code)
-
logref
public Error402PaymentRequiredEmbeddedErrorsInner logref(LogRef logref)
-
setLogref
public void setLogref(LogRef logref)
-
message
public Error402PaymentRequiredEmbeddedErrorsInner message(Error402PaymentRequiredEmbeddedErrorsInner.MessageEnum message)
-
getMessage
@Nullable public Error402PaymentRequiredEmbeddedErrorsInner.MessageEnum getMessage()
Get message- Returns:
- message
-
setMessage
public void setMessage(Error402PaymentRequiredEmbeddedErrorsInner.MessageEnum message)
-
links
public Error402PaymentRequiredEmbeddedErrorsInner links(Error402PaymentRequiredEmbeddedErrorsInnerLinks links)
-
getLinks
@Nullable public Error402PaymentRequiredEmbeddedErrorsInnerLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(Error402PaymentRequiredEmbeddedErrorsInnerLinks links)
-
putAdditionalProperty
public Error402PaymentRequiredEmbeddedErrorsInner putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
-
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 Error402PaymentRequiredEmbeddedErrorsInner
-
fromJson
public static Error402PaymentRequiredEmbeddedErrorsInner fromJson(String jsonString) throws IOException
Create an instance of Error402PaymentRequiredEmbeddedErrorsInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Error402PaymentRequiredEmbeddedErrorsInner
- Throws:
IOException- if the JSON string is invalid with respect to Error402PaymentRequiredEmbeddedErrorsInner
-
toJson
public String toJson()
Convert an instance of Error402PaymentRequiredEmbeddedErrorsInner to an JSON string- Returns:
- JSON string
-
-