Package com.adobe.aco.model
Class Model401Response
- java.lang.Object
-
- com.adobe.aco.model.Model401Response
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class Model401Response extends ObjectModel401Response
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModel401Response.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 Model401Response()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Model401ResponseerrorCode(String errorCode)static Model401ResponsefromJson(String jsonString)Create an instance of Model401Response given an JSON stringStringgetErrorCode()Error codeStringgetMessage()Error messageStringgetStatus()Error status codeStringgetTitle()Error titleinthashCode()Model401Responsemessage(String message)voidsetErrorCode(String errorCode)voidsetMessage(String message)voidsetStatus(String status)voidsetTitle(String title)Model401Responsestatus(String status)Model401Responsetitle(String title)StringtoJson()Convert an instance of Model401Response 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 Model401Response title(String title)
-
getTitle
@Nullable public String getTitle()
Error title- Returns:
- title
-
setTitle
public void setTitle(String title)
-
status
public Model401Response status(String status)
-
getStatus
@Nullable public String getStatus()
Error status code- Returns:
- status
-
setStatus
public void setStatus(String status)
-
errorCode
public Model401Response errorCode(String errorCode)
-
getErrorCode
@Nullable public String getErrorCode()
Error code- Returns:
- errorCode
-
setErrorCode
public void setErrorCode(String errorCode)
-
message
public Model401Response 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 Model401Response
-
fromJson
public static Model401Response fromJson(String jsonString) throws IOException
Create an instance of Model401Response given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Model401Response
- Throws:
IOException- if the JSON string is invalid with respect to Model401Response
-
toJson
public String toJson()
Convert an instance of Model401Response to an JSON string- Returns:
- JSON string
-
-