Package com.xero.models.assets
Class Error
java.lang.Object
com.xero.models.assets.Error
public class Error extends Object
Error
-
Constructor Summary
Constructors Constructor Description Error() -
Method Summary
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
resourceValidationErrors
public Error resourceValidationErrors(List<ResourceValidationErrorsElement> resourceValidationErrors) -
addResourceValidationErrorsItem
public Error addResourceValidationErrorsItem(ResourceValidationErrorsElement resourceValidationErrorsItem) -
getResourceValidationErrors
Array of elements of resource validation errors- Returns:
- resourceValidationErrors
-
setResourceValidationErrors
public void setResourceValidationErrors(List<ResourceValidationErrorsElement> resourceValidationErrors) -
fieldValidationErrors
-
addFieldValidationErrorsItem
-
getFieldValidationErrors
Array of elements of field validation errors- Returns:
- fieldValidationErrors
-
setFieldValidationErrors
-
type
-
getType
The internal type of error, not accessible externally- Returns:
- type
-
setType
-
title
-
getTitle
Title of the error- Returns:
- title
-
setTitle
-
detail
-
getDetail
Detail of the error- Returns:
- detail
-
setDetail
-
equals
-
hashCode
public int hashCode() -
toString
-