/*
 * gRPC for our DBaaS dataflow service
 *
 * notably uses gRPC-Gateway with OpenAPI
 *
 * API version: 0.1
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
package models

type ClusterIdImportsBody struct {
	SourceUrl      string `json:"source_url,omitempty"`
	Region         string `json:"region"`
	DataFormat     int64  `json:"data_format"`
	DataSourceType int64  `json:"data_source_type"`
	// deprecated, use internal user instead
	TargetUsername string `json:"target_username,omitempty"`
	// deprecated, use internal password instead
	TargetPassword string `json:"target_password,omitempty"`
	// deprecated, use target_table_infos instead
	Filter     string                   `json:"filter,omitempty"`
	CsvFormat  *DataflowCustomCsvFormat `json:"csv_format,omitempty"`
	AwsRoleArn string                   `json:"aws_role_arn,omitempty"`
	// deprecated, use target_table_infos instead
	ObjectNamePattern string `json:"object_name_pattern,omitempty"`
	// deprecated, use target_table_infos instead
	TargetTablePattern string                          `json:"target_table_pattern,omitempty"`
	LocalImportCfg     *DataflowLocalImportCfg         `json:"local_import_cfg,omitempty"`
	Name               string                          `json:"name,omitempty"`
	DupHandlingForSql  *DataflowDupHandlingForSql      `json:"dup_handling_for_sql,omitempty"`
	AwsAccessKeyId     string                          `json:"aws_access_key_id,omitempty"`
	AwsSecretAccessKey string                          `json:"aws_secret_access_key,omitempty"`
	TargetTableInfos   []DataflowImportTargetTableInfo `json:"target_table_infos,omitempty"`
}
