Class ResultError
- java.lang.Object
-
- org.apache.camel.component.salesforce.api.dto.bulk.ResultError
-
public class ResultError extends Object
Java class for ResultError complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResultError"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="fields" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="statusCode" type="{http://www.force.com/2009/06/asyncapi/dataload}StatusCode"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
fields
protected String
message
protected StatusCode
statusCode
-
Constructor Summary
Constructors Constructor Description ResultError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getFields()
Gets the value of the fields property.String
getMessage()
Gets the value of the message property.StatusCode
getStatusCode()
Gets the value of the statusCode property.void
setMessage(String value)
Sets the value of the message property.void
setStatusCode(StatusCode value)
Sets the value of the statusCode property.
-
-
-
Field Detail
-
message
protected String message
-
statusCode
protected StatusCode statusCode
-
-
Method Detail
-
getFields
public List<String> getFields()
Gets the value of the fields property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not aset
method for the fields property. For example, to add a new item, do as follows:getFields().add(newItem);
Objects of the following type(s) are allowed in the listString
-
getMessage
public String getMessage()
Gets the value of the message property.- Returns:
- possible object is
String
-
setMessage
public void setMessage(String value)
Sets the value of the message property.- Parameters:
value
- allowed object isString
-
getStatusCode
public StatusCode getStatusCode()
Gets the value of the statusCode property.- Returns:
- possible object is
StatusCode
-
setStatusCode
public void setStatusCode(StatusCode value)
Sets the value of the statusCode property.- Parameters:
value
- allowed object isStatusCode
-
-