Documentation
¶
Index ¶
- type BigQueryConfig
- type Connection
- type ConnectionTypeEnum
- type CreateLinkTokenRequest
- type CreateLinkTokenResponse
- type Destination
- type DestinationInput
- type Field
- type FieldMapping
- type FieldTypeEnum
- type FrequencyUnitsEnum
- type MongoDbConfig
- type Namespaces
- type Object
- type ObjectField
- type ObjectInput
- type RedshiftConfig
- type Security
- type SnowflakeConfig
- type Source
- type SourceInput
- type Sync
- type SyncInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigQueryConfig ¶
type Connection ¶
type Connection struct { ConnectionType *ConnectionTypeEnum `json:"connection_type,omitempty"` ID *int64 `json:"id,omitempty"` }
type ConnectionTypeEnum ¶
type ConnectionTypeEnum string
const ( ConnectionTypeEnumSnowflake ConnectionTypeEnum = "snowflake" ConnectionTypeEnumBigquery ConnectionTypeEnum = "bigquery" ConnectionTypeEnumRedshift ConnectionTypeEnum = "redshift" ConnectionTypeEnumMongodb ConnectionTypeEnum = "mongodb" ConnectionTypeEnumWebhook ConnectionTypeEnum = "webhook" )
func (ConnectionTypeEnum) ToPointer ¶ added in v0.6.0
func (e ConnectionTypeEnum) ToPointer() *ConnectionTypeEnum
func (*ConnectionTypeEnum) UnmarshalJSON ¶ added in v0.6.0
func (e *ConnectionTypeEnum) UnmarshalJSON(data []byte) error
type CreateLinkTokenRequest ¶ added in v0.5.2
type CreateLinkTokenRequest struct {
EndCustomerID string `json:"end_customer_id"`
}
type CreateLinkTokenResponse ¶ added in v0.5.2
type CreateLinkTokenResponse struct {
LinkToken *string `json:"link_token,omitempty"`
}
CreateLinkTokenResponse - Successfully created link token
type Destination ¶
type Destination struct { Connection *Connection `json:"connection,omitempty"` DisplayName *string `json:"display_name,omitempty"` ID *int64 `json:"id,omitempty"` }
type DestinationInput ¶
type DestinationInput struct { BigqueryConfig *BigQueryConfig `json:"bigquery_config,omitempty"` ConnectionType ConnectionTypeEnum `json:"connection_type"` DisplayName string `json:"display_name"` MongodbConfig *MongoDbConfig `json:"mongodb_config,omitempty"` RedshiftConfig *RedshiftConfig `json:"redshift_config,omitempty"` SnowflakeConfig *SnowflakeConfig `json:"snowflake_config,omitempty"` }
type Field ¶ added in v0.6.0
type Field struct { Name *string `json:"name,omitempty"` Type *FieldTypeEnum `json:"type,omitempty"` }
type FieldMapping ¶
type FieldTypeEnum ¶
type FieldTypeEnum string
const ( FieldTypeEnumString FieldTypeEnum = "string" FieldTypeEnumInteger FieldTypeEnum = "integer" FieldTypeEnumTimestamp FieldTypeEnum = "timestamp" FieldTypeEnumJSON FieldTypeEnum = "json" FieldTypeEnumBoolean FieldTypeEnum = "boolean" )
func (FieldTypeEnum) ToPointer ¶ added in v0.6.0
func (e FieldTypeEnum) ToPointer() *FieldTypeEnum
func (*FieldTypeEnum) UnmarshalJSON ¶ added in v0.6.0
func (e *FieldTypeEnum) UnmarshalJSON(data []byte) error
type FrequencyUnitsEnum ¶
type FrequencyUnitsEnum string
const ( FrequencyUnitsEnumMinutes FrequencyUnitsEnum = "minutes" FrequencyUnitsEnumHours FrequencyUnitsEnum = "hours" FrequencyUnitsEnumDays FrequencyUnitsEnum = "days" FrequencyUnitsEnumWeeks FrequencyUnitsEnum = "weeks" )
func (FrequencyUnitsEnum) ToPointer ¶ added in v0.6.0
func (e FrequencyUnitsEnum) ToPointer() *FrequencyUnitsEnum
func (*FrequencyUnitsEnum) UnmarshalJSON ¶ added in v0.6.0
func (e *FrequencyUnitsEnum) UnmarshalJSON(data []byte) error
type MongoDbConfig ¶
type Namespaces ¶ added in v0.6.0
type Namespaces struct {
Namespaces []string `json:"namespaces,omitempty"`
}
Namespaces - Successfully fetched namespaces
type Object ¶
type Object struct { DestinationID *int64 `json:"destination_id,omitempty"` DisplayName *string `json:"display_name,omitempty"` // This is where Fabra will insert the End Customer ID specified in the sync configuration EndCustomerIDField *string `json:"end_customer_id_field,omitempty"` ID *int64 `json:"id,omitempty"` Namespace *string `json:"namespace,omitempty"` ObjectFields []ObjectField `json:"object_fields,omitempty"` TableName *string `json:"table_name,omitempty"` }
type ObjectField ¶
type ObjectField struct { Name *string `json:"name,omitempty"` Type *FieldTypeEnum `json:"type,omitempty"` }
type ObjectInput ¶
type ObjectInput struct { DestinationID int64 `json:"destination_id"` DisplayName string `json:"display_name"` // This is where Fabra will insert the End Customer ID specified when creating a source. EndCustomerIDField string `json:"end_customer_id_field"` Namespace string `json:"namespace"` ObjectFields []ObjectField `json:"object_fields,omitempty"` TableName string `json:"table_name"` }
type RedshiftConfig ¶
type Security ¶
type Security struct {
APIKeyAuth string `security:"scheme,type=apiKey,subtype=header,name=X-API-Key"`
}
type SnowflakeConfig ¶
type Source ¶
type Source struct { Connection *Connection `json:"connection,omitempty"` DisplayName *string `json:"display_name,omitempty"` EndCustomerID *int64 `json:"end_customer_id,omitempty"` ID *int64 `json:"id,omitempty"` }
type SourceInput ¶
type SourceInput struct { BigqueryConfig *BigQueryConfig `json:"bigquery_config,omitempty"` ConnectionType ConnectionTypeEnum `json:"connection_type"` DisplayName string `json:"display_name"` EndCustomerID int64 `json:"end_customer_id"` MongodbConfig *MongoDbConfig `json:"mongodb_config,omitempty"` RedshiftConfig *RedshiftConfig `json:"redshift_config,omitempty"` SnowflakeConfig *SnowflakeConfig `json:"snowflake_config,omitempty"` }
type Sync ¶
type Sync struct { CursorField *string `json:"cursor_field,omitempty"` CustomJoin *string `json:"custom_join,omitempty"` DestinationID *int64 `json:"destination_id,omitempty"` DisplayName *string `json:"display_name,omitempty"` FieldMappings []FieldMapping `json:"field_mappings,omitempty"` Frequency *int64 `json:"frequency,omitempty"` FrequencyUnits *FrequencyUnitsEnum `json:"frequency_units,omitempty"` ID *int64 `json:"id,omitempty"` Namespace *string `json:"namespace,omitempty"` ObjectID *int64 `json:"object_id,omitempty"` PrimaryKey *string `json:"primary_key,omitempty"` SourceID *int64 `json:"source_id,omitempty"` TableName *string `json:"table_name,omitempty"` }
type SyncInput ¶
type SyncInput struct { CursorField *string `json:"cursor_field,omitempty"` CustomJoin *string `json:"custom_join,omitempty"` DestinationID int64 `json:"destination_id"` DisplayName string `json:"display_name"` FieldMappings []FieldMapping `json:"field_mappings"` Frequency int64 `json:"frequency"` FrequencyUnits FrequencyUnitsEnum `json:"frequency_units"` Namespace *string `json:"namespace,omitempty"` ObjectID int64 `json:"object_id"` PrimaryKey *string `json:"primary_key,omitempty"` SourceID int64 `json:"source_id"` TableName *string `json:"table_name,omitempty"` }
Source Files
¶
- bigqueryconfig.go
- connection.go
- connectiontypeenum.go
- createlinktokenrequest.go
- createlinktokenresponse.go
- destination.go
- destinationinput.go
- field.go
- fieldmapping.go
- fieldtypeenum.go
- frequencyunitsenum.go
- mongodbconfig.go
- namespaces.go
- object.go
- objectfield.go
- objectinput.go
- redshiftconfig.go
- security.go
- snowflakeconfig.go
- source.go
- sourceinput.go
- sync.go
- syncinput.go
Click to show internal directories.
Click to hide internal directories.