Class StitchError
- java.lang.Object
-
- org.apache.camel.component.stitch.client.models.StitchError
-
- All Implemented Interfaces:
StitchModel
public class StitchError extends Object implements StitchModel
This represents the Error Object: https://www.stitchdata.com/docs/developers/import-api/api#error-object
-
-
Constructor Summary
Constructors Constructor Description StitchError(String error, List<Object> errors)
-
-
-
Field Detail
-
ERROR
public static final String ERROR
- See Also:
- Constant Field Values
-
ERRORS
public static final String ERRORS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getError
public String getError()
-
toMap
public Map<String,Object> toMap()
Description copied from interface:StitchModel
Create a map representation of the model which is essentially the JSON representation of the model.- Specified by:
toMap
in interfaceStitchModel
- Returns:
Map
-
-