Class SObjectBatchResponse
- java.lang.Object
-
- org.apache.camel.component.salesforce.api.dto.composite.SObjectBatchResponse
-
- All Implemented Interfaces:
Serializable
public final class SObjectBatchResponse extends Object implements Serializable
The response of the batch request it contains individual results of each request submitted in a batch at the same index. The flaghasErrors()
indicates if any of the requests in the batch has failed with status 400 or 500.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SObjectBatchResponse(boolean hasErrors, List<SObjectBatchResult> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SObjectBatchResult>
getResults()
boolean
hasErrors()
String
toString()
-
-
-
Constructor Detail
-
SObjectBatchResponse
public SObjectBatchResponse(boolean hasErrors, List<SObjectBatchResult> results)
-
-
Method Detail
-
getResults
public List<SObjectBatchResult> getResults()
-
hasErrors
public boolean hasErrors()
-
-