public class ApiEndpointValidationResponseDTO extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_ERROR |
static String |
SERIALIZED_NAME_STATUS_CODE |
static String |
SERIALIZED_NAME_STATUS_MESSAGE |
| Constructor and Description |
|---|
ApiEndpointValidationResponseDTO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ApiEndpointValidationResponseDTO |
error(String error) |
String |
getError()
If an error occurs, the error message will be set to this property.
|
Integer |
getStatusCode()
HTTP status code
|
String |
getStatusMessage()
string
|
int |
hashCode() |
void |
setError(String error) |
void |
setStatusCode(Integer statusCode) |
void |
setStatusMessage(String statusMessage) |
ApiEndpointValidationResponseDTO |
statusCode(Integer statusCode) |
ApiEndpointValidationResponseDTO |
statusMessage(String statusMessage) |
String |
toString() |
public static final String SERIALIZED_NAME_STATUS_CODE
public static final String SERIALIZED_NAME_STATUS_MESSAGE
public static final String SERIALIZED_NAME_ERROR
public ApiEndpointValidationResponseDTO statusCode(Integer statusCode)
public Integer getStatusCode()
public void setStatusCode(Integer statusCode)
public ApiEndpointValidationResponseDTO statusMessage(String statusMessage)
public String getStatusMessage()
public void setStatusMessage(String statusMessage)
public ApiEndpointValidationResponseDTO error(String error)
@Nullable public String getError()
public void setError(String error)
Copyright © 2021 WSO2 Inc. All rights reserved.