Package com.affinda.api.client.models
Class RequestError
- java.lang.Object
-
- com.affinda.api.client.models.RequestError
-
public final class RequestError extends Object
The RequestError model.
-
-
Constructor Summary
Constructors Constructor Description RequestError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RequestErrorErrorsItem>getErrors()Get the errors property: The errors property.StringgetType()Get the type property: The type property.RequestErrorsetErrors(List<RequestErrorErrorsItem> errors)Set the errors property: The errors property.RequestErrorsetType(String type)Set the type property: The type property.
-
-
-
Method Detail
-
getType
public String getType()
Get the type property: The type property.- Returns:
- the type value.
-
setType
public RequestError setType(String type)
Set the type property: The type property.- Parameters:
type- the type value to set.- Returns:
- the RequestError object itself.
-
getErrors
public List<RequestErrorErrorsItem> getErrors()
Get the errors property: The errors property.- Returns:
- the errors value.
-
setErrors
public RequestError setErrors(List<RequestErrorErrorsItem> errors)
Set the errors property: The errors property.- Parameters:
errors- the errors value to set.- Returns:
- the RequestError object itself.
-
-