Package com.xero.models.assets
Class FieldValidationErrorsElement
- java.lang.Object
-
- com.xero.models.assets.FieldValidationErrorsElement
-
public class FieldValidationErrorsElement extends Object
FieldValidationErrorsElement
-
-
Constructor Summary
Constructors Constructor Description FieldValidationErrorsElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldValidationErrorsElementdetail(String detail)Detail of the field validation errorbooleanequals(Object o)FieldValidationErrorsElementfieldName(String fieldName)The field name of the erroneous fieldStringgetDetail()Detail of the field validation errorStringgetFieldName()The field name of the erroneous fieldStringgetLocalisedMessage()Explanation of the field validation errorStringgetTitle()Title of the field validation errorStringgetType()Internal type of the field validation error messageStringgetValueProvided()The provided valueinthashCode()FieldValidationErrorsElementlocalisedMessage(String localisedMessage)Explanation of the field validation errorvoidsetDetail(String detail)Detail of the field validation errorvoidsetFieldName(String fieldName)The field name of the erroneous fieldvoidsetLocalisedMessage(String localisedMessage)Explanation of the field validation errorvoidsetTitle(String title)Title of the field validation errorvoidsetType(String type)Internal type of the field validation error messagevoidsetValueProvided(String valueProvided)The provided valueFieldValidationErrorsElementtitle(String title)Title of the field validation errorStringtoString()FieldValidationErrorsElementtype(String type)Internal type of the field validation error messageFieldValidationErrorsElementvalueProvided(String valueProvided)The provided value
-
-
-
Method Detail
-
fieldName
public FieldValidationErrorsElement fieldName(String fieldName)
The field name of the erroneous field- Parameters:
fieldName- String- Returns:
- FieldValidationErrorsElement
-
getFieldName
public String getFieldName()
The field name of the erroneous field- Returns:
- fieldName
-
setFieldName
public void setFieldName(String fieldName)
The field name of the erroneous field- Parameters:
fieldName- String
-
valueProvided
public FieldValidationErrorsElement valueProvided(String valueProvided)
The provided value- Parameters:
valueProvided- String- Returns:
- FieldValidationErrorsElement
-
getValueProvided
public String getValueProvided()
The provided value- Returns:
- valueProvided
-
setValueProvided
public void setValueProvided(String valueProvided)
The provided value- Parameters:
valueProvided- String
-
localisedMessage
public FieldValidationErrorsElement localisedMessage(String localisedMessage)
Explanation of the field validation error- Parameters:
localisedMessage- String- Returns:
- FieldValidationErrorsElement
-
getLocalisedMessage
public String getLocalisedMessage()
Explanation of the field validation error- Returns:
- localisedMessage
-
setLocalisedMessage
public void setLocalisedMessage(String localisedMessage)
Explanation of the field validation error- Parameters:
localisedMessage- String
-
type
public FieldValidationErrorsElement type(String type)
Internal type of the field validation error message- Parameters:
type- String- Returns:
- FieldValidationErrorsElement
-
getType
public String getType()
Internal type of the field validation error message- Returns:
- type
-
setType
public void setType(String type)
Internal type of the field validation error message- Parameters:
type- String
-
title
public FieldValidationErrorsElement title(String title)
Title of the field validation error- Parameters:
title- String- Returns:
- FieldValidationErrorsElement
-
getTitle
public String getTitle()
Title of the field validation error- Returns:
- title
-
setTitle
public void setTitle(String title)
Title of the field validation error- Parameters:
title- String
-
detail
public FieldValidationErrorsElement detail(String detail)
Detail of the field validation error- Parameters:
detail- String- Returns:
- FieldValidationErrorsElement
-
getDetail
public String getDetail()
Detail of the field validation error- Returns:
- detail
-
setDetail
public void setDetail(String detail)
Detail of the field validation error- Parameters:
detail- String
-
-