Class StitchRequestBody
- java.lang.Object
-
- org.apache.camel.component.stitch.client.models.StitchRequestBody
-
- All Implemented Interfaces:
StitchModel
public final class StitchRequestBody extends Object implements StitchModel
This represents the schema here: https://www.stitchdata.com/docs/developers/import-api/api#batch-data--arguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StitchRequestBody.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StitchRequestBody.Builder
builder()
static StitchRequestBody.Builder
fromMap(Map<String,Object> data)
static StitchRequestBody.Builder
fromStitchRequestBody(StitchRequestBody body)
Collection<String>
getKeyNames()
Collection<StitchMessage>
getMessages()
StitchSchema
getSchema()
String
getTableName()
Map<String,Object>
toMap()
Create a map representation of the model which is essentially the JSON representation of the model.
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
SCHEMA
public static final String SCHEMA
- See Also:
- Constant Field Values
-
MESSAGES
public static final String MESSAGES
- See Also:
- Constant Field Values
-
KEY_NAMES
public static final String KEY_NAMES
- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static StitchRequestBody.Builder builder()
-
fromStitchRequestBody
public static StitchRequestBody.Builder fromStitchRequestBody(StitchRequestBody body)
-
fromMap
public static StitchRequestBody.Builder fromMap(Map<String,Object> data)
-
getTableName
public String getTableName()
-
getSchema
public StitchSchema getSchema()
-
getMessages
public Collection<StitchMessage> getMessages()
-
getKeyNames
public Collection<String> getKeyNames()
-
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
-
-