Class StitchMessage
- java.lang.Object
-
- org.apache.camel.component.stitch.client.models.StitchMessage
-
- All Implemented Interfaces:
StitchModel
public final class StitchMessage extends Object implements StitchModel
This represents the schema here: https://www.stitchdata.com/docs/developers/import-api/api#message-object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StitchMessage.Action
static class
StitchMessage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StitchMessage.Builder
builder()
static StitchMessage.Builder
fromMap(Map<String,Object> data)
StitchMessage.Action
getAction()
Map<String,Object>
getData()
long
getSequence()
Map<String,Object>
toMap()
Create a map representation of the model which is essentially the JSON representation of the model.
-
-
-
Field Detail
-
ACTION
public static final String ACTION
- See Also:
- Constant Field Values
-
SEQUENCE
public static final String SEQUENCE
- See Also:
- Constant Field Values
-
DATA
public static final String DATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static StitchMessage.Builder builder()
-
fromMap
public static StitchMessage.Builder fromMap(Map<String,Object> data)
-
getAction
public StitchMessage.Action getAction()
-
getSequence
public long getSequence()
-
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
-
-