Package com.xero.models.assets
Class ResourceValidationErrorsElement
- java.lang.Object
-
- com.xero.models.assets.ResourceValidationErrorsElement
-
public class ResourceValidationErrorsElement extends Object
ResourceValidationErrorsElement
-
-
Constructor Summary
Constructors Constructor Description ResourceValidationErrorsElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceValidationErrorsElementdetail(String detail)Detail of the resource validation errorbooleanequals(Object o)StringgetDetail()Detail of the resource validation errorStringgetLocalisedMessage()Explanation of the resource validation errorStringgetResourceName()The field name of the erroneous fieldStringgetTitle()Title of the resource validation errorStringgetType()Internal type of the resource error messageinthashCode()ResourceValidationErrorsElementlocalisedMessage(String localisedMessage)Explanation of the resource validation errorResourceValidationErrorsElementresourceName(String resourceName)The field name of the erroneous fieldvoidsetDetail(String detail)Detail of the resource validation errorvoidsetLocalisedMessage(String localisedMessage)Explanation of the resource validation errorvoidsetResourceName(String resourceName)The field name of the erroneous fieldvoidsetTitle(String title)Title of the resource validation errorvoidsetType(String type)Internal type of the resource error messageResourceValidationErrorsElementtitle(String title)Title of the resource validation errorStringtoString()ResourceValidationErrorsElementtype(String type)Internal type of the resource error message
-
-
-
Method Detail
-
resourceName
public ResourceValidationErrorsElement resourceName(String resourceName)
The field name of the erroneous field- Parameters:
resourceName- String- Returns:
- ResourceValidationErrorsElement
-
getResourceName
public String getResourceName()
The field name of the erroneous field- Returns:
- resourceName
-
setResourceName
public void setResourceName(String resourceName)
The field name of the erroneous field- Parameters:
resourceName- String
-
localisedMessage
public ResourceValidationErrorsElement localisedMessage(String localisedMessage)
Explanation of the resource validation error- Parameters:
localisedMessage- String- Returns:
- ResourceValidationErrorsElement
-
getLocalisedMessage
public String getLocalisedMessage()
Explanation of the resource validation error- Returns:
- localisedMessage
-
setLocalisedMessage
public void setLocalisedMessage(String localisedMessage)
Explanation of the resource validation error- Parameters:
localisedMessage- String
-
type
public ResourceValidationErrorsElement type(String type)
Internal type of the resource error message- Parameters:
type- String- Returns:
- ResourceValidationErrorsElement
-
getType
public String getType()
Internal type of the resource error message- Returns:
- type
-
setType
public void setType(String type)
Internal type of the resource error message- Parameters:
type- String
-
title
public ResourceValidationErrorsElement title(String title)
Title of the resource validation error- Parameters:
title- String- Returns:
- ResourceValidationErrorsElement
-
getTitle
public String getTitle()
Title of the resource validation error- Returns:
- title
-
setTitle
public void setTitle(String title)
Title of the resource validation error- Parameters:
title- String
-
detail
public ResourceValidationErrorsElement detail(String detail)
Detail of the resource validation error- Parameters:
detail- String- Returns:
- ResourceValidationErrorsElement
-
getDetail
public String getDetail()
Detail of the resource validation error- Returns:
- detail
-
setDetail
public void setDetail(String detail)
Detail of the resource validation error- Parameters:
detail- String
-
-