Package com.adobe.aco.model
Class Model403Response
- java.lang.Object
-
- com.adobe.aco.model.Model403Response
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class Model403Response extends ObjectModel403Response
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModel403Response.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ERROR_CODEstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_TITLE
-
Constructor Summary
Constructors Constructor Description Model403Response()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Model403ResponseerrorCode(String errorCode)static Model403ResponsefromJson(String jsonString)Create an instance of Model403Response given an JSON stringStringgetErrorCode()Error codeStringgetMessage()Error messageStringgetStatus()Error status codeStringgetTitle()Error titleinthashCode()Model403Responsemessage(String message)voidsetErrorCode(String errorCode)voidsetMessage(String message)voidsetStatus(String status)voidsetTitle(String title)Model403Responsestatus(String status)Model403Responsetitle(String title)StringtoJson()Convert an instance of Model403Response to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_TITLE
public static final String SERIALIZED_NAME_TITLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR_CODE
public static final String SERIALIZED_NAME_ERROR_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
title
public Model403Response title(String title)
-
getTitle
@Nullable public String getTitle()
Error title- Returns:
- title
-
setTitle
public void setTitle(String title)
-
status
public Model403Response status(String status)
-
getStatus
@Nullable public String getStatus()
Error status code- Returns:
- status
-
setStatus
public void setStatus(String status)
-
errorCode
public Model403Response errorCode(String errorCode)
-
getErrorCode
@Nullable public String getErrorCode()
Error code- Returns:
- errorCode
-
setErrorCode
public void setErrorCode(String errorCode)
-
message
public Model403Response message(String message)
-
getMessage
@Nullable public String getMessage()
Error message- Returns:
- message
-
setMessage
public void setMessage(String message)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to Model403Response
-
fromJson
public static Model403Response fromJson(String jsonString) throws IOException
Create an instance of Model403Response given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Model403Response
- Throws:
IOException- if the JSON string is invalid with respect to Model403Response
-
toJson
public String toJson()
Convert an instance of Model403Response to an JSON string- Returns:
- JSON string
-
-