connectors

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectorAuth

type ConnectorAuth struct {
	// contains filtered or unexported fields
}

ConnectorAuth builds Connector Management, Auth. Ref. https://fivetran.com/docs/rest-api/connectors

func (*ConnectorAuth) AccessToken

func (ca *ConnectorAuth) AccessToken(value string) *ConnectorAuth

func (*ConnectorAuth) AwsAccessKey added in v0.7.14

func (ca *ConnectorAuth) AwsAccessKey(value string) *ConnectorAuth

func (*ConnectorAuth) AwsSecretKey added in v0.7.14

func (ca *ConnectorAuth) AwsSecretKey(value string) *ConnectorAuth

func (*ConnectorAuth) ClientAccess

func (ca *ConnectorAuth) ClientAccess(value *ConnectorAuthClientAccess) *ConnectorAuth

func (*ConnectorAuth) ClientId added in v0.7.14

func (ca *ConnectorAuth) ClientId(value string) *ConnectorAuth

func (*ConnectorAuth) ClientSecret added in v0.7.14

func (ca *ConnectorAuth) ClientSecret(value string) *ConnectorAuth

func (*ConnectorAuth) ConsumerKey added in v0.7.14

func (ca *ConnectorAuth) ConsumerKey(value string) *ConnectorAuth

func (*ConnectorAuth) ConsumerSecret added in v0.7.14

func (ca *ConnectorAuth) ConsumerSecret(value string) *ConnectorAuth

func (*ConnectorAuth) KeyId added in v0.7.14

func (ca *ConnectorAuth) KeyId(value string) *ConnectorAuth

func (*ConnectorAuth) Merge

func (ca *ConnectorAuth) Merge(customAuth *map[string]interface{}) (*map[string]interface{}, error)

func (*ConnectorAuth) OauthToken added in v0.7.14

func (ca *ConnectorAuth) OauthToken(value string) *ConnectorAuth

func (*ConnectorAuth) OauthTokenSecret added in v0.7.14

func (ca *ConnectorAuth) OauthTokenSecret(value string) *ConnectorAuth

func (*ConnectorAuth) PreviousRefreshToken added in v0.7.14

func (ca *ConnectorAuth) PreviousRefreshToken(value string) *ConnectorAuth

func (*ConnectorAuth) RealmID

func (ca *ConnectorAuth) RealmID(value string) *ConnectorAuth

func (*ConnectorAuth) RefreshToken

func (ca *ConnectorAuth) RefreshToken(value string) *ConnectorAuth

func (*ConnectorAuth) Request

func (ca *ConnectorAuth) Request() *connectorAuthRequest

func (*ConnectorAuth) RoleArn added in v0.7.14

func (ca *ConnectorAuth) RoleArn(value string) *ConnectorAuth

func (*ConnectorAuth) TeamId added in v0.7.14

func (ca *ConnectorAuth) TeamId(value string) *ConnectorAuth

func (*ConnectorAuth) UserAccessToken added in v0.7.14

func (ca *ConnectorAuth) UserAccessToken(value string) *ConnectorAuth

type ConnectorAuthClientAccess

type ConnectorAuthClientAccess struct {
	// contains filtered or unexported fields
}

ConnectorAuthClientAccess builds Connector Management, Auth Client Access. Ref. https://fivetran.com/docs/rest-api/connectors

func (*ConnectorAuthClientAccess) ClientID

func (*ConnectorAuthClientAccess) ClientSecret

func (*ConnectorAuthClientAccess) DeveloperToken

func (ca *ConnectorAuthClientAccess) DeveloperToken(value string) *ConnectorAuthClientAccess

func (*ConnectorAuthClientAccess) UserAgent

type ConnectorColumnConfigListResponse added in v0.8.0

type ConnectorColumnConfigListResponse struct {
	common.CommonResponse
	Data struct {
		Columns map[string]*ConnectorSchemaConfigColumnResponse `json:"columns"`
	} `json:"data"`
}

type ConnectorColumnConfigListService added in v0.8.0

type ConnectorColumnConfigListService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorColumnConfigListService implements the Connector Management, Retrieve Source Table Columns Config Ref. https://fivetran.com/docs/rest-api/connectors#retrievesourcetablecolumnsconfig

func (*ConnectorColumnConfigListService) ConnectorId added in v0.8.0

func (*ConnectorColumnConfigListService) Do added in v0.8.0

func (*ConnectorColumnConfigListService) Schema added in v0.8.0

func (*ConnectorColumnConfigListService) Table added in v0.8.0

type ConnectorColumnConfigModifyService added in v0.8.0

type ConnectorColumnConfigModifyService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorColumnConfigModifyService implements the Connector Management, Modify a Connector Table Config Ref. https://fivetran.com/docs/rest-api/connectors#modifyaconnectorcolumnconfig

func (*ConnectorColumnConfigModifyService) Column added in v0.8.0

func (*ConnectorColumnConfigModifyService) ConnectorId added in v0.8.0

func (*ConnectorColumnConfigModifyService) Do added in v0.8.0

func (*ConnectorColumnConfigModifyService) Enabled added in v0.8.0

func (*ConnectorColumnConfigModifyService) Hashed added in v0.8.0

func (*ConnectorColumnConfigModifyService) Schema added in v0.8.0

func (*ConnectorColumnConfigModifyService) Table added in v0.8.0

type ConnectorConfig

type ConnectorConfig struct {
	// contains filtered or unexported fields
}

ConnectorConfig builds Connector Management, Connector Config. Ref. https://fivetran.com/docs/rest-api/connectors/config

func (*ConnectorConfig) ABSConnectionString

func (cc *ConnectorConfig) ABSConnectionString(value string) *ConnectorConfig

func (*ConnectorConfig) ABSContainerName

func (cc *ConnectorConfig) ABSContainerName(value string) *ConnectorConfig

func (*ConnectorConfig) APIAccessToken

func (cc *ConnectorConfig) APIAccessToken(value string) *ConnectorConfig

func (*ConnectorConfig) APIKey

func (cc *ConnectorConfig) APIKey(value string) *ConnectorConfig

func (*ConnectorConfig) APIKeys

func (cc *ConnectorConfig) APIKeys(value []string) *ConnectorConfig

func (*ConnectorConfig) APIQuota

func (cc *ConnectorConfig) APIQuota(value int) *ConnectorConfig

func (*ConnectorConfig) APISecret

func (cc *ConnectorConfig) APISecret(value string) *ConnectorConfig

func (*ConnectorConfig) APIToken

func (cc *ConnectorConfig) APIToken(value string) *ConnectorConfig

func (*ConnectorConfig) APIURL

func (cc *ConnectorConfig) APIURL(value string) *ConnectorConfig

func (*ConnectorConfig) APIVersion

func (cc *ConnectorConfig) APIVersion(value string) *ConnectorConfig

func (*ConnectorConfig) AWSRegionCode

func (cc *ConnectorConfig) AWSRegionCode(value string) *ConnectorConfig

func (*ConnectorConfig) AccessKeyID

func (cc *ConnectorConfig) AccessKeyID(value string) *ConnectorConfig

func (*ConnectorConfig) AccessToken

func (cc *ConnectorConfig) AccessToken(value string) *ConnectorConfig

func (*ConnectorConfig) Account

func (cc *ConnectorConfig) Account(value string) *ConnectorConfig

func (*ConnectorConfig) AccountID

func (cc *ConnectorConfig) AccountID(value string) *ConnectorConfig

func (*ConnectorConfig) AccountIDs

func (cc *ConnectorConfig) AccountIDs(value []string) *ConnectorConfig

func (*ConnectorConfig) Accounts

func (cc *ConnectorConfig) Accounts(value []string) *ConnectorConfig

func (*ConnectorConfig) ActionBreakdowns

func (cc *ConnectorConfig) ActionBreakdowns(value []string) *ConnectorConfig

func (*ConnectorConfig) ActionReportTime

func (cc *ConnectorConfig) ActionReportTime(value string) *ConnectorConfig

func (*ConnectorConfig) AdobeAnalyticsConfigurations

func (cc *ConnectorConfig) AdobeAnalyticsConfigurations(value []*ConnectorConfigAdobeAnalyticsConfiguration) *ConnectorConfig

func (*ConnectorConfig) Advertisables

func (cc *ConnectorConfig) Advertisables(value []string) *ConnectorConfig

func (*ConnectorConfig) Advertisers

func (cc *ConnectorConfig) Advertisers(value []string) *ConnectorConfig

func (*ConnectorConfig) AdvertisersID

func (cc *ConnectorConfig) AdvertisersID(value []string) *ConnectorConfig

func (*ConnectorConfig) Aggregation

func (cc *ConnectorConfig) Aggregation(value string) *ConnectorConfig

func (*ConnectorConfig) AlwaysEncrypted

func (cc *ConnectorConfig) AlwaysEncrypted(value bool) *ConnectorConfig

func (*ConnectorConfig) ApiType

func (cc *ConnectorConfig) ApiType(value string) *ConnectorConfig

func (*ConnectorConfig) AppSyncMode

func (cc *ConnectorConfig) AppSyncMode(value string) *ConnectorConfig

func (*ConnectorConfig) AppendFileOption

func (cc *ConnectorConfig) AppendFileOption(value string) *ConnectorConfig

func (*ConnectorConfig) Apps

func (cc *ConnectorConfig) Apps(value []string) *ConnectorConfig

func (*ConnectorConfig) ArchivePattern

func (cc *ConnectorConfig) ArchivePattern(value string) *ConnectorConfig

func (*ConnectorConfig) AuthMode

func (cc *ConnectorConfig) AuthMode(value string) *ConnectorConfig

func (*ConnectorConfig) AuthType

func (cc *ConnectorConfig) AuthType(value string) *ConnectorConfig

func (*ConnectorConfig) BaseUrl

func (cc *ConnectorConfig) BaseUrl(value string) *ConnectorConfig

func (*ConnectorConfig) Breakdowns

func (cc *ConnectorConfig) Breakdowns(value []string) *ConnectorConfig

func (*ConnectorConfig) Bucket

func (cc *ConnectorConfig) Bucket(value string) *ConnectorConfig

func (*ConnectorConfig) BucketName

func (cc *ConnectorConfig) BucketName(value string) *ConnectorConfig

func (*ConnectorConfig) BucketService

func (cc *ConnectorConfig) BucketService(value string) *ConnectorConfig

func (*ConnectorConfig) Certificate

func (cc *ConnectorConfig) Certificate(value string) *ConnectorConfig

func (*ConnectorConfig) ClickAttributionWindow

func (cc *ConnectorConfig) ClickAttributionWindow(value string) *ConnectorConfig

func (*ConnectorConfig) ClientID

func (cc *ConnectorConfig) ClientID(value string) *ConnectorConfig

func (*ConnectorConfig) ClientSecret

func (cc *ConnectorConfig) ClientSecret(value string) *ConnectorConfig

func (*ConnectorConfig) CloudStorageType

func (cc *ConnectorConfig) CloudStorageType(value string) *ConnectorConfig

func (*ConnectorConfig) Columns

func (cc *ConnectorConfig) Columns(value []string) *ConnectorConfig

func (*ConnectorConfig) Compression

func (cc *ConnectorConfig) Compression(value string) *ConnectorConfig

func (*ConnectorConfig) ConfigMethod

func (cc *ConnectorConfig) ConfigMethod(value string) *ConnectorConfig

func (*ConnectorConfig) ConfigType

func (cc *ConnectorConfig) ConfigType(value string) *ConnectorConfig

func (*ConnectorConfig) ConnectionString

func (cc *ConnectorConfig) ConnectionString(value string) *ConnectorConfig

func (*ConnectorConfig) ConnectionType

func (cc *ConnectorConfig) ConnectionType(value string) *ConnectorConfig

func (*ConnectorConfig) ConsumerGroup

func (cc *ConnectorConfig) ConsumerGroup(value string) *ConnectorConfig

func (*ConnectorConfig) ConsumerKey

func (cc *ConnectorConfig) ConsumerKey(value string) *ConnectorConfig

func (*ConnectorConfig) ConsumerSecret

func (cc *ConnectorConfig) ConsumerSecret(value string) *ConnectorConfig

func (*ConnectorConfig) ContainerName

func (cc *ConnectorConfig) ContainerName(value string) *ConnectorConfig

func (*ConnectorConfig) ConversionReportTime

func (cc *ConnectorConfig) ConversionReportTime(value string) *ConnectorConfig

func (*ConnectorConfig) ConversionWindowSize

func (cc *ConnectorConfig) ConversionWindowSize(value int) *ConnectorConfig

func (*ConnectorConfig) CustomTables

func (cc *ConnectorConfig) CustomTables(value []*ConnectorConfigCustomTables) *ConnectorConfig

func (*ConnectorConfig) CustomerID

func (cc *ConnectorConfig) CustomerID(value string) *ConnectorConfig

func (*ConnectorConfig) DailyAPICallLimit

func (cc *ConnectorConfig) DailyAPICallLimit(value int) *ConnectorConfig

func (*ConnectorConfig) DataCenter

func (cc *ConnectorConfig) DataCenter(value string) *ConnectorConfig

func (*ConnectorConfig) Database

func (cc *ConnectorConfig) Database(value string) *ConnectorConfig

func (*ConnectorConfig) DatasetID

func (cc *ConnectorConfig) DatasetID(value string) *ConnectorConfig

func (*ConnectorConfig) Datasource

func (cc *ConnectorConfig) Datasource(value string) *ConnectorConfig

func (*ConnectorConfig) DateGranularity

func (cc *ConnectorConfig) DateGranularity(value string) *ConnectorConfig

func (*ConnectorConfig) Delimiter

func (cc *ConnectorConfig) Delimiter(value string) *ConnectorConfig

func (*ConnectorConfig) DimensionAttributes

func (cc *ConnectorConfig) DimensionAttributes(value []string) *ConnectorConfig

func (*ConnectorConfig) Dimensions

func (cc *ConnectorConfig) Dimensions(value []string) *ConnectorConfig

func (*ConnectorConfig) Domain

func (cc *ConnectorConfig) Domain(value string) *ConnectorConfig

func (*ConnectorConfig) DomainName

func (cc *ConnectorConfig) DomainName(value string) *ConnectorConfig

func (*ConnectorConfig) Elements

func (cc *ConnectorConfig) Elements(value []string) *ConnectorConfig

func (*ConnectorConfig) Email

func (cc *ConnectorConfig) Email(value string) *ConnectorConfig

func (*ConnectorConfig) EnableAllDimensionCombinations

func (cc *ConnectorConfig) EnableAllDimensionCombinations(value bool) *ConnectorConfig

func (*ConnectorConfig) EncryptionKey

func (cc *ConnectorConfig) EncryptionKey(value string) *ConnectorConfig

func (*ConnectorConfig) Endpoint

func (cc *ConnectorConfig) Endpoint(value string) *ConnectorConfig

func (*ConnectorConfig) EngagementAttributionWindow

func (cc *ConnectorConfig) EngagementAttributionWindow(value string) *ConnectorConfig

func (*ConnectorConfig) EntityId

func (cc *ConnectorConfig) EntityId(value string) *ConnectorConfig

func (*ConnectorConfig) EscapeChar

func (cc *ConnectorConfig) EscapeChar(value string) *ConnectorConfig

func (*ConnectorConfig) EuRegion

func (cc *ConnectorConfig) EuRegion(value bool) *ConnectorConfig

func (*ConnectorConfig) ExternalID

func (cc *ConnectorConfig) ExternalID(value string) *ConnectorConfig

func (*ConnectorConfig) FTPHost

func (cc *ConnectorConfig) FTPHost(value string) *ConnectorConfig

func (*ConnectorConfig) FTPPassword

func (cc *ConnectorConfig) FTPPassword(value string) *ConnectorConfig

func (*ConnectorConfig) FTPPort

func (cc *ConnectorConfig) FTPPort(value int) *ConnectorConfig

func (*ConnectorConfig) FTPUser

func (cc *ConnectorConfig) FTPUser(value string) *ConnectorConfig

func (*ConnectorConfig) Fields

func (cc *ConnectorConfig) Fields(value []string) *ConnectorConfig

func (*ConnectorConfig) FileType

func (cc *ConnectorConfig) FileType(value string) *ConnectorConfig

func (*ConnectorConfig) FinanceAccountSyncMode

func (cc *ConnectorConfig) FinanceAccountSyncMode(value string) *ConnectorConfig

func (*ConnectorConfig) FinanceAccounts

func (cc *ConnectorConfig) FinanceAccounts(value []string) *ConnectorConfig

func (*ConnectorConfig) FolderId

func (cc *ConnectorConfig) FolderId(value string) *ConnectorConfig

func (*ConnectorConfig) Function

func (cc *ConnectorConfig) Function(value string) *ConnectorConfig

func (*ConnectorConfig) FunctionApp

func (cc *ConnectorConfig) FunctionApp(value string) *ConnectorConfig

func (*ConnectorConfig) FunctionKey

func (cc *ConnectorConfig) FunctionKey(value string) *ConnectorConfig

func (*ConnectorConfig) FunctionName

func (cc *ConnectorConfig) FunctionName(value string) *ConnectorConfig

func (*ConnectorConfig) FunctionTrigger

func (cc *ConnectorConfig) FunctionTrigger(value string) *ConnectorConfig

func (*ConnectorConfig) GCSBucket

func (cc *ConnectorConfig) GCSBucket(value string) *ConnectorConfig

func (*ConnectorConfig) GCSFolder

func (cc *ConnectorConfig) GCSFolder(value string) *ConnectorConfig

func (*ConnectorConfig) HomeFolder

func (cc *ConnectorConfig) HomeFolder(value string) *ConnectorConfig

func (*ConnectorConfig) Host

func (cc *ConnectorConfig) Host(value string) *ConnectorConfig

func (*ConnectorConfig) Hosts

func (cc *ConnectorConfig) Hosts(value []string) *ConnectorConfig

func (*ConnectorConfig) Identity

func (cc *ConnectorConfig) Identity(value string) *ConnectorConfig

func (*ConnectorConfig) Instance

func (cc *ConnectorConfig) Instance(value string) *ConnectorConfig

func (*ConnectorConfig) IntegrationKey

func (cc *ConnectorConfig) IntegrationKey(value string) *ConnectorConfig

func (*ConnectorConfig) IsFTPS

func (cc *ConnectorConfig) IsFTPS(value bool) *ConnectorConfig

func (*ConnectorConfig) IsKeypair

func (cc *ConnectorConfig) IsKeypair(value bool) *ConnectorConfig

func (*ConnectorConfig) IsMultiEntityFeatureEnabled

func (cc *ConnectorConfig) IsMultiEntityFeatureEnabled(value bool) *ConnectorConfig

func (*ConnectorConfig) IsNewPackage

func (cc *ConnectorConfig) IsNewPackage(value bool) *ConnectorConfig

func (*ConnectorConfig) IsSecure

func (cc *ConnectorConfig) IsSecure(value bool) *ConnectorConfig

func (*ConnectorConfig) Key

func (cc *ConnectorConfig) Key(value string) *ConnectorConfig

func (*ConnectorConfig) ManagerAccounts

func (cc *ConnectorConfig) ManagerAccounts(value []string) *ConnectorConfig

func (*ConnectorConfig) MerchantID

func (cc *ConnectorConfig) MerchantID(value string) *ConnectorConfig

func (*ConnectorConfig) Merge

func (cc *ConnectorConfig) Merge(customConfig *map[string]interface{}) (*map[string]interface{}, error)

func (*ConnectorConfig) MessageType

func (cc *ConnectorConfig) MessageType(value string) *ConnectorConfig

func (*ConnectorConfig) Metrics

func (cc *ConnectorConfig) Metrics(value []string) *ConnectorConfig

func (*ConnectorConfig) NamedRange

func (cc *ConnectorConfig) NamedRange(value string) *ConnectorConfig

func (*ConnectorConfig) NetworkCode

func (cc *ConnectorConfig) NetworkCode(value string) *ConnectorConfig

func (*ConnectorConfig) NullSequence

func (cc *ConnectorConfig) NullSequence(value string) *ConnectorConfig

func (*ConnectorConfig) OauthToken

func (cc *ConnectorConfig) OauthToken(value string) *ConnectorConfig

func (*ConnectorConfig) OauthTokenSecret

func (cc *ConnectorConfig) OauthTokenSecret(value string) *ConnectorConfig

func (*ConnectorConfig) OnError

func (cc *ConnectorConfig) OnError(value string) *ConnectorConfig

func (*ConnectorConfig) OnPremise

func (cc *ConnectorConfig) OnPremise(value bool) *ConnectorConfig

func (*ConnectorConfig) OrganizationID

func (cc *ConnectorConfig) OrganizationID(value string) *ConnectorConfig

func (*ConnectorConfig) Organizations

func (cc *ConnectorConfig) Organizations(value []string) *ConnectorConfig

func (*ConnectorConfig) PAT

func (cc *ConnectorConfig) PAT(value string) *ConnectorConfig

func (*ConnectorConfig) PEMCertificate

func (cc *ConnectorConfig) PEMCertificate(value string) *ConnectorConfig

func (*ConnectorConfig) Pages

func (cc *ConnectorConfig) Pages(value []string) *ConnectorConfig

func (*ConnectorConfig) Password

func (cc *ConnectorConfig) Password(value string) *ConnectorConfig

func (*ConnectorConfig) Path

func (cc *ConnectorConfig) Path(value string) *ConnectorConfig

func (*ConnectorConfig) Pattern

func (cc *ConnectorConfig) Pattern(value string) *ConnectorConfig

func (*ConnectorConfig) Port

func (cc *ConnectorConfig) Port(value int) *ConnectorConfig

func (*ConnectorConfig) PostClickAttributionWindowSize

func (cc *ConnectorConfig) PostClickAttributionWindowSize(value string) *ConnectorConfig

func (*ConnectorConfig) PrebuiltReport

func (cc *ConnectorConfig) PrebuiltReport(value string) *ConnectorConfig

func (*ConnectorConfig) Prefix

func (cc *ConnectorConfig) Prefix(value string) *ConnectorConfig

func (*ConnectorConfig) PrivateKey

func (cc *ConnectorConfig) PrivateKey(value string) *ConnectorConfig

func (*ConnectorConfig) Profiles

func (cc *ConnectorConfig) Profiles(value []string) *ConnectorConfig

func (*ConnectorConfig) ProjectCredentials

func (cc *ConnectorConfig) ProjectCredentials(value []*ConnectorConfigProjectCredentials) *ConnectorConfig

func (*ConnectorConfig) ProjectID

func (cc *ConnectorConfig) ProjectID(value string) *ConnectorConfig

func (*ConnectorConfig) Projects

func (cc *ConnectorConfig) Projects(value []string) *ConnectorConfig

func (*ConnectorConfig) PublicKey

func (cc *ConnectorConfig) PublicKey(value string) *ConnectorConfig

func (*ConnectorConfig) PublicationName

func (cc *ConnectorConfig) PublicationName(value string) *ConnectorConfig

func (*ConnectorConfig) QueryID

func (cc *ConnectorConfig) QueryID(value string) *ConnectorConfig

func (*ConnectorConfig) Region

func (cc *ConnectorConfig) Region(value string) *ConnectorConfig

func (*ConnectorConfig) ReplicationSlot

func (cc *ConnectorConfig) ReplicationSlot(value string) *ConnectorConfig

func (*ConnectorConfig) ReportConfigurationIDs

func (cc *ConnectorConfig) ReportConfigurationIDs(value []string) *ConnectorConfig

func (*ConnectorConfig) ReportSuites

func (cc *ConnectorConfig) ReportSuites(value []string) *ConnectorConfig

func (*ConnectorConfig) ReportType

func (cc *ConnectorConfig) ReportType(value string) *ConnectorConfig

func (*ConnectorConfig) ReportURL

func (cc *ConnectorConfig) ReportURL(value string) *ConnectorConfig

func (*ConnectorConfig) Reports

func (*ConnectorConfig) Repositories

func (cc *ConnectorConfig) Repositories(value []string) *ConnectorConfig

func (*ConnectorConfig) Request

func (cc *ConnectorConfig) Request() *connectorConfigRequest

func (*ConnectorConfig) ResourceURL

func (cc *ConnectorConfig) ResourceURL(value string) *ConnectorConfig

func (*ConnectorConfig) Role

func (cc *ConnectorConfig) Role(value string) *ConnectorConfig

func (*ConnectorConfig) RoleArn

func (cc *ConnectorConfig) RoleArn(value string) *ConnectorConfig

func (*ConnectorConfig) S3Bucket

func (cc *ConnectorConfig) S3Bucket(value string) *ConnectorConfig

func (*ConnectorConfig) S3ExternalID

func (cc *ConnectorConfig) S3ExternalID(value string) *ConnectorConfig

func (*ConnectorConfig) S3Folder

func (cc *ConnectorConfig) S3Folder(value string) *ConnectorConfig

func (*ConnectorConfig) S3RoleArn

func (cc *ConnectorConfig) S3RoleArn(value string) *ConnectorConfig

func (*ConnectorConfig) SFTPHost

func (cc *ConnectorConfig) SFTPHost(value string) *ConnectorConfig

func (*ConnectorConfig) SFTPIsKeyPair

func (cc *ConnectorConfig) SFTPIsKeyPair(value bool) *ConnectorConfig

func (*ConnectorConfig) SFTPPassword

func (cc *ConnectorConfig) SFTPPassword(value string) *ConnectorConfig

func (*ConnectorConfig) SFTPPort

func (cc *ConnectorConfig) SFTPPort(value int) *ConnectorConfig

func (*ConnectorConfig) SFTPUser

func (cc *ConnectorConfig) SFTPUser(value string) *ConnectorConfig

func (*ConnectorConfig) SID

func (cc *ConnectorConfig) SID(value string) *ConnectorConfig

func (*ConnectorConfig) SalesAccountSyncMode

func (cc *ConnectorConfig) SalesAccountSyncMode(value string) *ConnectorConfig

func (*ConnectorConfig) SalesAccounts

func (cc *ConnectorConfig) SalesAccounts(value []string) *ConnectorConfig

func (*ConnectorConfig) Schema

func (cc *ConnectorConfig) Schema(value string) *ConnectorConfig

func (*ConnectorConfig) SchemaPrefix

func (cc *ConnectorConfig) SchemaPrefix(value string) *ConnectorConfig

func (*ConnectorConfig) Secret

func (cc *ConnectorConfig) Secret(value string) *ConnectorConfig

func (*ConnectorConfig) SecretKey

func (cc *ConnectorConfig) SecretKey(value string) *ConnectorConfig

func (*ConnectorConfig) Secrets

func (cc *ConnectorConfig) Secrets(value string) *ConnectorConfig

func (*ConnectorConfig) SecretsList

func (cc *ConnectorConfig) SecretsList(value []*FunctionSecret) *ConnectorConfig

func (*ConnectorConfig) SecurityProtocol

func (cc *ConnectorConfig) SecurityProtocol(value string) *ConnectorConfig

func (*ConnectorConfig) SelectedExports

func (cc *ConnectorConfig) SelectedExports(value []string) *ConnectorConfig

func (*ConnectorConfig) ServerURL

func (cc *ConnectorConfig) ServerURL(value string) *ConnectorConfig

func (*ConnectorConfig) Servers

func (cc *ConnectorConfig) Servers(value string) *ConnectorConfig

func (*ConnectorConfig) ShareURL

func (cc *ConnectorConfig) ShareURL(value string) *ConnectorConfig

func (*ConnectorConfig) SheetID

func (cc *ConnectorConfig) SheetID(value string) *ConnectorConfig

func (*ConnectorConfig) Shop

func (cc *ConnectorConfig) Shop(value string) *ConnectorConfig

func (*ConnectorConfig) SiteURLs

func (cc *ConnectorConfig) SiteURLs(value []string) *ConnectorConfig

func (*ConnectorConfig) SkipAfter

func (cc *ConnectorConfig) SkipAfter(value int) *ConnectorConfig

func (*ConnectorConfig) SkipBefore

func (cc *ConnectorConfig) SkipBefore(value int) *ConnectorConfig

func (*ConnectorConfig) SoapUri

func (cc *ConnectorConfig) SoapUri(value string) *ConnectorConfig

func (*ConnectorConfig) Source

func (cc *ConnectorConfig) Source(value string) *ConnectorConfig

func (*ConnectorConfig) SubDomain

func (cc *ConnectorConfig) SubDomain(value string) *ConnectorConfig

func (*ConnectorConfig) Subdomain

func (cc *ConnectorConfig) Subdomain(value string) *ConnectorConfig

func (*ConnectorConfig) SwipeAttributionWindow

func (cc *ConnectorConfig) SwipeAttributionWindow(value string) *ConnectorConfig

func (*ConnectorConfig) SyncDataLocker

func (cc *ConnectorConfig) SyncDataLocker(value bool) *ConnectorConfig

func (*ConnectorConfig) SyncFormat

func (cc *ConnectorConfig) SyncFormat(value string) *ConnectorConfig

func (*ConnectorConfig) SyncMode

func (cc *ConnectorConfig) SyncMode(value string) *ConnectorConfig

func (*ConnectorConfig) SyncType

func (cc *ConnectorConfig) SyncType(value string) *ConnectorConfig

func (*ConnectorConfig) Table

func (cc *ConnectorConfig) Table(value string) *ConnectorConfig

func (*ConnectorConfig) TechnicalAccountID

func (cc *ConnectorConfig) TechnicalAccountID(value string) *ConnectorConfig

func (*ConnectorConfig) TestTableName

func (cc *ConnectorConfig) TestTableName(value string) *ConnectorConfig

func (*ConnectorConfig) TimeZone

func (cc *ConnectorConfig) TimeZone(value string) *ConnectorConfig

func (*ConnectorConfig) TimeframeMonths

func (cc *ConnectorConfig) TimeframeMonths(value string) *ConnectorConfig

func (*ConnectorConfig) TokenKey

func (cc *ConnectorConfig) TokenKey(value string) *ConnectorConfig

func (*ConnectorConfig) TokenSecret

func (cc *ConnectorConfig) TokenSecret(value string) *ConnectorConfig

func (*ConnectorConfig) TunnelHost

func (cc *ConnectorConfig) TunnelHost(value string) *ConnectorConfig

func (*ConnectorConfig) TunnelPort

func (cc *ConnectorConfig) TunnelPort(value int) *ConnectorConfig

func (*ConnectorConfig) TunnelUser

func (cc *ConnectorConfig) TunnelUser(value string) *ConnectorConfig

func (*ConnectorConfig) UniqueID

func (cc *ConnectorConfig) UniqueID(value string) *ConnectorConfig

func (*ConnectorConfig) UpdateConfigOnEachSync

func (cc *ConnectorConfig) UpdateConfigOnEachSync(value bool) *ConnectorConfig

func (*ConnectorConfig) UpdateMethod

func (cc *ConnectorConfig) UpdateMethod(value string) *ConnectorConfig

func (*ConnectorConfig) UseAPIKeys

func (cc *ConnectorConfig) UseAPIKeys(value bool) *ConnectorConfig

func (*ConnectorConfig) UseWebhooks

func (cc *ConnectorConfig) UseWebhooks(value bool) *ConnectorConfig

func (*ConnectorConfig) User

func (cc *ConnectorConfig) User(value string) *ConnectorConfig

func (*ConnectorConfig) UserId

func (cc *ConnectorConfig) UserId(value string) *ConnectorConfig

func (*ConnectorConfig) UserKey

func (cc *ConnectorConfig) UserKey(value string) *ConnectorConfig

func (*ConnectorConfig) UserName

func (cc *ConnectorConfig) UserName(value string) *ConnectorConfig

func (*ConnectorConfig) UserProfiles

func (cc *ConnectorConfig) UserProfiles(value []string) *ConnectorConfig

func (*ConnectorConfig) Username

func (cc *ConnectorConfig) Username(value string) *ConnectorConfig

func (*ConnectorConfig) ViewAttributionWindow

func (cc *ConnectorConfig) ViewAttributionWindow(value string) *ConnectorConfig

func (*ConnectorConfig) ViewThroughAttributionWindowSize

func (cc *ConnectorConfig) ViewThroughAttributionWindowSize(value string) *ConnectorConfig

type ConnectorConfigAdobeAnalyticsConfiguration

type ConnectorConfigAdobeAnalyticsConfiguration struct {
	// contains filtered or unexported fields
}

func (*ConnectorConfigAdobeAnalyticsConfiguration) CalculatedMetrics

func (*ConnectorConfigAdobeAnalyticsConfiguration) Elements

func (*ConnectorConfigAdobeAnalyticsConfiguration) Metrics

func (*ConnectorConfigAdobeAnalyticsConfiguration) ReportSuites

func (*ConnectorConfigAdobeAnalyticsConfiguration) Segments

func (*ConnectorConfigAdobeAnalyticsConfiguration) SyncMode

type ConnectorConfigAdobeAnalyticsConfigurationResponse

type ConnectorConfigAdobeAnalyticsConfigurationResponse struct {
	SyncMode          string   `json:"sync_mode"`
	ReportSuites      []string `json:"report_suites"`
	Elements          []string `json:"elements"`
	Metrics           []string `json:"metrics"`
	CalculatedMetrics []string `json:"calculated_metrics"`
	Segments          []string `json:"segments"`
}

type ConnectorConfigCustomTables

type ConnectorConfigCustomTables struct {
	// contains filtered or unexported fields
}

ConnectorConfigCustomTables builds Connector Management, Connector Config Custom Tables. Ref. https://fivetran.com/docs/rest-api/connectors/config

func (*ConnectorConfigCustomTables) ActionBreakdowns

func (ct *ConnectorConfigCustomTables) ActionBreakdowns(value []string) *ConnectorConfigCustomTables

func (*ConnectorConfigCustomTables) ActionReportTime

func (ct *ConnectorConfigCustomTables) ActionReportTime(value string) *ConnectorConfigCustomTables

func (*ConnectorConfigCustomTables) Aggregation

func (*ConnectorConfigCustomTables) Breakdowns

func (*ConnectorConfigCustomTables) ClickAttributionWindow

func (ct *ConnectorConfigCustomTables) ClickAttributionWindow(value string) *ConnectorConfigCustomTables

func (*ConnectorConfigCustomTables) ConfigType

func (*ConnectorConfigCustomTables) Fields

func (*ConnectorConfigCustomTables) PrebuiltReportName

func (ct *ConnectorConfigCustomTables) PrebuiltReportName(value string) *ConnectorConfigCustomTables

func (*ConnectorConfigCustomTables) TableName

func (*ConnectorConfigCustomTables) ViewAttributionWindow

func (ct *ConnectorConfigCustomTables) ViewAttributionWindow(value string) *ConnectorConfigCustomTables

type ConnectorConfigCustomTablesResponse

type ConnectorConfigCustomTablesResponse struct {
	TableName              string   `json:"table_name"`
	ConfigType             string   `json:"config_type"`
	Fields                 []string `json:"fields"`
	Breakdowns             []string `json:"breakdowns"`
	ActionBreakdowns       []string `json:"action_breakdowns"`
	Aggregation            string   `json:"aggregation"`
	ActionReportTime       string   `json:"action_report_time"`
	ClickAttributionWindow string   `json:"click_attribution_window"`
	ViewAttributionWindow  string   `json:"view_attribution_window"`
	PrebuiltReportName     string   `json:"prebuilt_report_name"`
}

type ConnectorConfigProjectCredentials

type ConnectorConfigProjectCredentials struct {
	// contains filtered or unexported fields
}

ConnectorConfigProjectCredentials builds Connector Management, Connector Config Project Credentials. Ref. https://fivetran.com/docs/rest-api/connectors/config

func (*ConnectorConfigProjectCredentials) APIKey

func (*ConnectorConfigProjectCredentials) Project

func (*ConnectorConfigProjectCredentials) SecretKey

type ConnectorConfigProjectCredentialsResponse

type ConnectorConfigProjectCredentialsResponse struct {
	Project   string `json:"project"`
	APIKey    string `json:"api_key"`
	SecretKey string `json:"secret_key"`
}

type ConnectorConfigReports

type ConnectorConfigReports struct {
	// contains filtered or unexported fields
}

ConnectorConfigReports builds Connector Management, Connector Config Reports. Ref. https://fivetran.com/docs/rest-api/connectors/config

func (*ConnectorConfigReports) ConfigType

func (*ConnectorConfigReports) Dimensions

func (r *ConnectorConfigReports) Dimensions(value []string) *ConnectorConfigReports

func (*ConnectorConfigReports) Fields

func (*ConnectorConfigReports) Filter

func (*ConnectorConfigReports) Metrics

func (*ConnectorConfigReports) PrebuiltReport

func (r *ConnectorConfigReports) PrebuiltReport(value string) *ConnectorConfigReports

func (*ConnectorConfigReports) ReportType

func (*ConnectorConfigReports) Segments

func (*ConnectorConfigReports) Table

type ConnectorConfigReportsResponse

type ConnectorConfigReportsResponse struct {
	Table          string   `json:"table"`
	ConfigType     string   `json:"config_type"`
	PrebuiltReport string   `json:"prebuilt_report"`
	ReportType     string   `json:"report_type"`
	Fields         []string `json:"fields"`
	Dimensions     []string `json:"dimensions"`
	Metrics        []string `json:"metrics"`
	Segments       []string `json:"segments"`
	Filter         string   `json:"filter"`
}

type ConnectorConfigResponse

type ConnectorConfigResponse struct {
	AdobeAnalyticsConfigurations     []ConnectorConfigAdobeAnalyticsConfigurationResponse `json:"adobe_analytics_configurations"`
	Schema                           string                                               `json:"schema"`
	Table                            string                                               `json:"table"`
	SheetID                          string                                               `json:"sheet_id"`
	NamedRange                       string                                               `json:"named_range"`
	ClientID                         string                                               `json:"client_id"`
	ClientSecret                     string                                               `json:"client_secret"`
	TechnicalAccountID               string                                               `json:"technical_account_id"`
	OrganizationID                   string                                               `json:"organization_id"`
	PrivateKey                       string                                               `json:"private_key"`
	SyncMode                         string                                               `json:"sync_mode"`
	ReportSuites                     []string                                             `json:"report_suites"`
	Elements                         []string                                             `json:"elements"`
	Metrics                          []string                                             `json:"metrics"`
	DateGranularity                  string                                               `json:"date_granularity"`
	TimeframeMonths                  string                                               `json:"timeframe_months"`
	Source                           string                                               `json:"source"`
	S3Bucket                         string                                               `json:"s3bucket"`
	S3RoleArn                        string                                               `json:"s3role_arn"`
	ABSConnectionString              string                                               `json:"abs_connection_string"`
	ABSContainerName                 string                                               `json:"abs_container_name"`
	FolderId                         string                                               `json:"folder_id"`
	FTPHost                          string                                               `json:"ftp_host"`
	FTPPort                          *int                                                 `json:"ftp_port"`
	FTPUser                          string                                               `json:"ftp_user"`
	FTPPassword                      string                                               `json:"ftp_password"`
	IsFTPS                           *bool                                                `json:"is_ftps"`
	SFTPHost                         string                                               `json:"sftp_host"`
	SFTPPort                         *int                                                 `json:"sftp_port"`
	SFTPUser                         string                                               `json:"sftp_user"`
	SFTPPassword                     string                                               `json:"sftp_password"`
	SFTPIsKeyPair                    *bool                                                `json:"sftp_is_key_pair"`
	IsKeypair                        *bool                                                `json:"is_keypair"`
	Advertisables                    []string                                             `json:"advertisables"`
	ReportType                       string                                               `json:"report_type"`
	Dimensions                       []string                                             `json:"dimensions"`
	SchemaPrefix                     string                                               `json:"schema_prefix"`
	APIKey                           string                                               `json:"api_key"`
	ExternalID                       string                                               `json:"external_id"`
	RoleArn                          string                                               `json:"role_arn"`
	Bucket                           string                                               `json:"bucket"`
	Prefix                           string                                               `json:"prefix"`
	Pattern                          string                                               `json:"pattern"`
	PAT                              string                                               `json:"pat"`
	FileType                         string                                               `json:"file_type"`
	Compression                      string                                               `json:"compression"`
	OnError                          string                                               `json:"on_error"`
	AppendFileOption                 string                                               `json:"append_file_option"`
	ArchivePattern                   string                                               `json:"archive_pattern"`
	NullSequence                     string                                               `json:"null_sequence"`
	Delimiter                        string                                               `json:"delimiter"`
	EscapeChar                       string                                               `json:"escape_char"`
	SkipBefore                       *int                                                 `json:"skip_before"`
	SkipAfter                        *int                                                 `json:"skip_after"`
	SecretsList                      []FunctionSecretResponse                             `json:"secrets_list"`
	ProjectCredentials               []ConnectorConfigProjectCredentialsResponse          `json:"project_credentials"`
	AuthMode                         string                                               `json:"auth_mode"`
	Username                         string                                               `json:"username"`
	Password                         string                                               `json:"password"`
	Certificate                      string                                               `json:"certificate"`
	SelectedExports                  []string                                             `json:"selected_exports"`
	ConsumerGroup                    string                                               `json:"consumer_group"`
	Servers                          string                                               `json:"servers"`
	MessageType                      string                                               `json:"message_type"`
	SyncType                         string                                               `json:"sync_type"`
	SecurityProtocol                 string                                               `json:"security_protocol"`
	Apps                             []string                                             `json:"apps"`
	SalesAccounts                    []string                                             `json:"sales_accounts"`
	FinanceAccounts                  []string                                             `json:"finance_accounts"`
	AppSyncMode                      string                                               `json:"app_sync_mode"`
	SalesAccountSyncMode             string                                               `json:"sales_account_sync_mode"`
	FinanceAccountSyncMode           string                                               `json:"finance_account_sync_mode"`
	PEMCertificate                   string                                               `json:"pem_certificate"`
	AccessKeyID                      string                                               `json:"access_key_id"`
	SecretKey                        string                                               `json:"secret_key"`
	HomeFolder                       string                                               `json:"home_folder"`
	SyncDataLocker                   *bool                                                `json:"sync_data_locker"`
	Projects                         []string                                             `json:"projects"`
	Function                         string                                               `json:"function"`
	Region                           string                                               `json:"region"`
	Secrets                          string                                               `json:"secrets"`
	ContainerName                    string                                               `json:"container_name"`
	ConnectionString                 string                                               `json:"connection_string"`
	FunctionApp                      string                                               `json:"function_app"`
	FunctionName                     string                                               `json:"function_name"`
	FunctionKey                      string                                               `json:"function_key"`
	PublicKey                        string                                               `json:"public_key"`
	MerchantID                       string                                               `json:"merchant_id"`
	APIURL                           string                                               `json:"api_url"`
	CloudStorageType                 string                                               `json:"cloud_storage_type"`
	S3ExternalID                     string                                               `json:"s3external_id"`
	S3Folder                         string                                               `json:"s3folder"`
	GCSBucket                        string                                               `json:"gcs_bucket"`
	GCSFolder                        string                                               `json:"gcs_folder"`
	UserProfiles                     []string                                             `json:"user_profiles"`
	ReportConfigurationIDs           []string                                             `json:"report_configuration_ids"`
	EnableAllDimensionCombinations   *bool                                                `json:"enable_all_dimension_combinations"`
	Instance                         string                                               `json:"instance"`
	AWSRegionCode                    string                                               `json:"aws_region_code"`
	Accounts                         []string                                             `json:"accounts"`
	Fields                           []string                                             `json:"fields"`
	Breakdowns                       []string                                             `json:"breakdowns"`
	ActionBreakdowns                 []string                                             `json:"action_breakdowns"`
	Aggregation                      string                                               `json:"aggregation"`
	ConfigType                       string                                               `json:"config_type"`
	PrebuiltReport                   string                                               `json:"prebuilt_report"`
	ActionReportTime                 string                                               `json:"action_report_time"`
	ClickAttributionWindow           string                                               `json:"click_attribution_window"`
	ViewAttributionWindow            string                                               `json:"view_attribution_window"`
	CustomTables                     []ConnectorConfigCustomTablesResponse                `json:"custom_tables"`
	Pages                            []string                                             `json:"pages"`
	Subdomain                        string                                               `json:"subdomain"`
	Host                             string                                               `json:"host"`
	Port                             *int                                                 `json:"port"`
	User                             string                                               `json:"user"`
	IsSecure                         *bool                                                `json:"is_secure"`
	Repositories                     []string                                             `json:"repositories"`
	UseWebhooks                      *bool                                                `json:"use_webhooks"`
	DimensionAttributes              []string                                             `json:"dimension_attributes"`
	Columns                          []string                                             `json:"columns"`
	NetworkCode                      string                                               `json:"network_code"`
	CustomerID                       string                                               `json:"customer_id"`
	ManagerAccounts                  []string                                             `json:"manager_accounts"`
	Reports                          []ConnectorConfigReportsResponse                     `json:"reports"`
	ConversionWindowSize             *int                                                 `json:"conversion_window_size"`
	Profiles                         []string                                             `json:"profiles"`
	ProjectID                        string                                               `json:"project_id"`
	DatasetID                        string                                               `json:"dataset_id"`
	BucketName                       string                                               `json:"bucket_name"`
	FunctionTrigger                  string                                               `json:"function_trigger"`
	ConfigMethod                     string                                               `json:"config_method"`
	QueryID                          string                                               `json:"query_id"`
	UpdateConfigOnEachSync           *bool                                                `json:"update_config_on_each_sync"`
	SiteURLs                         []string                                             `json:"site_urls"`
	Path                             string                                               `json:"path"`
	OnPremise                        *bool                                                `json:"on_premise"`
	AccessToken                      string                                               `json:"access_token"`
	ViewThroughAttributionWindowSize string                                               `json:"view_through_attribution_window_size"`
	PostClickAttributionWindowSize   string                                               `json:"post_click_attribution_window_size"`
	UseAPIKeys                       *bool                                                `json:"use_api_keys"`
	APIKeys                          []string                                             `json:"api_keys"`
	Endpoint                         string                                               `json:"endpoint"`
	Identity                         string                                               `json:"identity"`
	APIQuota                         *int                                                 `json:"api_quota"`
	DomainName                       string                                               `json:"domain_name"`
	ResourceURL                      string                                               `json:"resource_url"`
	APISecret                        string                                               `json:"api_secret"`
	Hosts                            []string                                             `json:"hosts"`
	TunnelHost                       string                                               `json:"tunnel_host"`
	TunnelPort                       *int                                                 `json:"tunnel_port"`
	TunnelUser                       string                                               `json:"tunnel_user"`
	Database                         string                                               `json:"database"`
	Datasource                       string                                               `json:"datasource"`
	Account                          string                                               `json:"account"`
	Role                             string                                               `json:"role"`
	Email                            string                                               `json:"email"`
	AccountID                        string                                               `json:"account_id"`
	ServerURL                        string                                               `json:"server_url"`
	UserKey                          string                                               `json:"user_key"`
	APIVersion                       string                                               `json:"api_version"`
	DailyAPICallLimit                *int                                                 `json:"daily_api_call_limit"`
	TimeZone                         string                                               `json:"time_zone"`
	IntegrationKey                   string                                               `json:"integration_key"`
	Advertisers                      []string                                             `json:"advertisers"`
	EngagementAttributionWindow      string                                               `json:"engagement_attribution_window"`
	ConversionReportTime             string                                               `json:"conversion_report_time"`
	Domain                           string                                               `json:"domain"`
	UpdateMethod                     string                                               `json:"update_method"`
	ReplicationSlot                  string                                               `json:"replication_slot"`
	PublicationName                  string                                               `json:"publication_name"`
	DataCenter                       string                                               `json:"data_center"`
	APIToken                         string                                               `json:"api_token"`
	SubDomain                        string                                               `json:"sub_domain"`
	TestTableName                    string                                               `json:"test_table_name"`
	Shop                             string                                               `json:"shop"`
	Organizations                    []string                                             `json:"organizations"`
	SwipeAttributionWindow           string                                               `json:"swipe_attribution_window"`
	APIAccessToken                   string                                               `json:"api_access_token"`
	AccountIDs                       []string                                             `json:"account_ids"`
	SID                              string                                               `json:"sid"`
	Secret                           string                                               `json:"secret"`
	OauthToken                       string                                               `json:"oauth_token"`
	OauthTokenSecret                 string                                               `json:"oauth_token_secret"`
	ConsumerKey                      string                                               `json:"consumer_key"`
	ConsumerSecret                   string                                               `json:"consumer_secret"`
	Key                              string                                               `json:"key"`
	AdvertisersID                    []string                                             `json:"advertisers_id"`
	SyncFormat                       string                                               `json:"sync_format"`
	BucketService                    string                                               `json:"bucket_service"`
	UserName                         string                                               `json:"user_name"`
	ReportURL                        string                                               `json:"report_url"`
	UniqueID                         string                                               `json:"unique_id"`
	AuthType                         string                                               `json:"auth_type"`
	LatestVersion                    string                                               `json:"latest_version"`
	AuthorizationMethod              string                                               `json:"authorization_method"`
	ServiceVersion                   string                                               `json:"service_version"`
	LastSyncedChangesUtc             string                                               `json:"last_synced_changes__utc_"`
	IsNewPackage                     *bool                                                `json:"is_new_package"`
	ConnectionType                   string                                               `json:"connection_type"`
	IsMultiEntityFeatureEnabled      *bool                                                `json:"is_multi_entity_feature_enabled"`
	AlwaysEncrypted                  *bool                                                `json:"always_encrypted"`
	ApiType                          string                                               `json:"api_type"`
	BaseUrl                          string                                               `json:"base_url"`
	EntityId                         string                                               `json:"entity_id"`
	SoapUri                          string                                               `json:"soap_uri"`
	UserId                           string                                               `json:"user_id"`
	EncryptionKey                    string                                               `json:"encryption_key"`
	EuRegion                         *bool                                                `json:"eu_region"`
	TokenKey                         string                                               `json:"token_key"`
	TokenSecret                      string                                               `json:"token_secret"`
	ShareURL                         string                                               `json:"share_url"`
}

type ConnectorCreateService added in v0.8.0

type ConnectorCreateService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

func (*ConnectorCreateService) Auth added in v0.8.0

func (*ConnectorCreateService) AuthCustom added in v0.8.0

func (s *ConnectorCreateService) AuthCustom(value *map[string]interface{}) *ConnectorCreateService

func (*ConnectorCreateService) Config added in v0.8.0

func (*ConnectorCreateService) ConfigCustom added in v0.8.0

func (s *ConnectorCreateService) ConfigCustom(value *map[string]interface{}) *ConnectorCreateService

func (*ConnectorCreateService) DailySyncTime added in v0.8.0

func (s *ConnectorCreateService) DailySyncTime(value string) *ConnectorCreateService

func (*ConnectorCreateService) DataDelaySensitivity added in v1.0.6

func (s *ConnectorCreateService) DataDelaySensitivity(value string) *ConnectorCreateService

func (*ConnectorCreateService) DataDelayThreshold added in v1.0.6

func (s *ConnectorCreateService) DataDelayThreshold(value *int) *ConnectorCreateService

func (*ConnectorCreateService) Do added in v0.8.0

func (*ConnectorCreateService) DoCustom added in v0.8.0

func (*ConnectorCreateService) DoCustomMerged added in v0.8.0

func (*ConnectorCreateService) GroupID added in v0.8.0

func (*ConnectorCreateService) HybridDeploymentAgentId added in v1.0.0

func (s *ConnectorCreateService) HybridDeploymentAgentId(value string) *ConnectorCreateService

func (*ConnectorCreateService) NetworkingMethod added in v0.8.6

func (s *ConnectorCreateService) NetworkingMethod(value string) *ConnectorCreateService

func (*ConnectorCreateService) PauseAfterTrial added in v0.8.0

func (s *ConnectorCreateService) PauseAfterTrial(value bool) *ConnectorCreateService

func (*ConnectorCreateService) Paused added in v0.8.0

func (*ConnectorCreateService) PrivateLinkId added in v0.8.6

func (s *ConnectorCreateService) PrivateLinkId(value string) *ConnectorCreateService

func (*ConnectorCreateService) ProxyAgentId added in v0.8.6

func (s *ConnectorCreateService) ProxyAgentId(value string) *ConnectorCreateService

func (*ConnectorCreateService) RunSetupTests added in v0.8.0

func (s *ConnectorCreateService) RunSetupTests(value bool) *ConnectorCreateService

func (*ConnectorCreateService) Service added in v0.8.0

func (*ConnectorCreateService) SyncFrequency added in v0.8.0

func (s *ConnectorCreateService) SyncFrequency(value *int) *ConnectorCreateService

func (*ConnectorCreateService) TrustCertificates added in v0.8.0

func (s *ConnectorCreateService) TrustCertificates(value bool) *ConnectorCreateService

func (*ConnectorCreateService) TrustFingerprints added in v0.8.0

func (s *ConnectorCreateService) TrustFingerprints(value bool) *ConnectorCreateService

type ConnectorDatabaseSchemaConfigModifyService added in v0.8.0

type ConnectorDatabaseSchemaConfigModifyService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorDatabaseSchemaConfigModifyService implements the Connector Management, Modify a Connector Database Schema Config Ref. https://fivetran.com/docs/rest-api/connectors#modifyaconnectordatabaseschemaconfig

func (*ConnectorDatabaseSchemaConfigModifyService) ConnectorId added in v0.8.0

func (*ConnectorDatabaseSchemaConfigModifyService) Do added in v0.8.0

func (*ConnectorDatabaseSchemaConfigModifyService) Enabled added in v0.8.0

func (*ConnectorDatabaseSchemaConfigModifyService) Schema added in v0.8.0

func (*ConnectorDatabaseSchemaConfigModifyService) Tables added in v0.8.0

type ConnectorDeleteService added in v0.8.0

type ConnectorDeleteService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorDeleteService implements the Connector Management, Delete a Connector API. Ref. https://fivetran.com/docs/rest-api/connectors#deleteaconnector

func (*ConnectorDeleteService) ConnectorID added in v0.8.0

func (s *ConnectorDeleteService) ConnectorID(connectorID string) *ConnectorDeleteService

func (*ConnectorDeleteService) Do added in v0.8.0

type ConnectorDetailsService added in v0.8.0

type ConnectorDetailsService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorDetailsService implements the Connector Management, Retrieve Connector Details API. Ref. https://fivetran.com/docs/rest-api/connectors#retrieveconnectordetails

func (*ConnectorDetailsService) ConnectorID added in v0.8.0

func (*ConnectorDetailsService) Do added in v0.8.0

func (*ConnectorDetailsService) DoCustom added in v0.8.0

func (*ConnectorDetailsService) DoCustomMerged added in v0.8.0

type ConnectorModifyService added in v0.8.0

type ConnectorModifyService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorModifyService implements the Connector Management, Modify a Connector API. Ref. https://fivetran.com/docs/rest-api/connectors#modifyaconnector

func (*ConnectorModifyService) Auth added in v0.8.0

func (*ConnectorModifyService) AuthCustom added in v0.8.0

func (s *ConnectorModifyService) AuthCustom(value *map[string]interface{}) *ConnectorModifyService

func (*ConnectorModifyService) Config added in v0.8.0

func (*ConnectorModifyService) ConfigCustom added in v0.8.0

func (s *ConnectorModifyService) ConfigCustom(value *map[string]interface{}) *ConnectorModifyService

func (*ConnectorModifyService) ConnectorID added in v0.8.0

func (s *ConnectorModifyService) ConnectorID(value string) *ConnectorModifyService

func (*ConnectorModifyService) DailySyncTime added in v0.8.0

func (s *ConnectorModifyService) DailySyncTime(value string) *ConnectorModifyService

func (*ConnectorModifyService) DataDelaySensitivity added in v1.0.6

func (s *ConnectorModifyService) DataDelaySensitivity(value string) *ConnectorModifyService

func (*ConnectorModifyService) DataDelayThreshold added in v1.0.6

func (s *ConnectorModifyService) DataDelayThreshold(value *int) *ConnectorModifyService

func (*ConnectorModifyService) Do added in v0.8.0

func (*ConnectorModifyService) DoCustom added in v0.8.0

func (*ConnectorModifyService) DoCustomMerged added in v0.8.0

func (*ConnectorModifyService) HybridDeploymentAgentId added in v1.0.0

func (s *ConnectorModifyService) HybridDeploymentAgentId(value string) *ConnectorModifyService

func (*ConnectorModifyService) IsHistoricalSync added in v0.8.0

func (s *ConnectorModifyService) IsHistoricalSync(value bool) *ConnectorModifyService

func (*ConnectorModifyService) NetworkingMethod added in v0.8.6

func (s *ConnectorModifyService) NetworkingMethod(value string) *ConnectorModifyService

func (*ConnectorModifyService) PauseAfterTrial added in v0.8.0

func (s *ConnectorModifyService) PauseAfterTrial(value bool) *ConnectorModifyService

func (*ConnectorModifyService) Paused added in v0.8.0

func (*ConnectorModifyService) PrivateLinkId added in v0.8.6

func (s *ConnectorModifyService) PrivateLinkId(value string) *ConnectorModifyService

func (*ConnectorModifyService) ProxyAgentId added in v0.8.6

func (s *ConnectorModifyService) ProxyAgentId(value string) *ConnectorModifyService

func (*ConnectorModifyService) RunSetupTests added in v0.8.0

func (s *ConnectorModifyService) RunSetupTests(value bool) *ConnectorModifyService

func (*ConnectorModifyService) ScheduleType added in v0.8.0

func (s *ConnectorModifyService) ScheduleType(value string) *ConnectorModifyService

func (*ConnectorModifyService) SyncFrequency added in v0.8.0

func (s *ConnectorModifyService) SyncFrequency(value *int) *ConnectorModifyService

func (*ConnectorModifyService) TrustCertificates added in v0.8.0

func (s *ConnectorModifyService) TrustCertificates(value bool) *ConnectorModifyService

func (*ConnectorModifyService) TrustFingerprints added in v0.8.0

func (s *ConnectorModifyService) TrustFingerprints(value bool) *ConnectorModifyService

type ConnectorReSyncTableService added in v0.8.0

type ConnectorReSyncTableService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorReSyncTableService implements the Connector Management, Re-sync Connector Table Data API. Ref. https://fivetran.com/docs/rest-api/connectors#resyncconnectortabledata

func (*ConnectorReSyncTableService) ConnectorID added in v0.8.0

func (*ConnectorReSyncTableService) Do added in v0.8.0

func (*ConnectorReSyncTableService) Schema added in v0.8.0

func (*ConnectorReSyncTableService) Table added in v0.8.0

type ConnectorSchemaConfigColumn

type ConnectorSchemaConfigColumn struct {
	// contains filtered or unexported fields
}

func (*ConnectorSchemaConfigColumn) Enabled

func (*ConnectorSchemaConfigColumn) Hashed

func (*ConnectorSchemaConfigColumn) IsPrimaryKey added in v1.0.5

func (*ConnectorSchemaConfigColumn) Request

type ConnectorSchemaConfigColumnRequest

type ConnectorSchemaConfigColumnRequest struct {
	Enabled      *bool `json:"enabled,omitempty"`
	Hashed       *bool `json:"hashed,omitempty"`
	IsPrimaryKey *bool `json:"is_primary_key"`
}

type ConnectorSchemaConfigColumnResponse

type ConnectorSchemaConfigColumnResponse struct {
	NameInDestination    *string `json:"name_in_destination"`
	Enabled              *bool   `json:"enabled"`
	Hashed               *bool   `json:"hashed"`
	IsPrimaryKey         *bool   `json:"is_primary_key"`
	EnabledPatchSettings struct {
		Allowed    *bool   `json:"allowed"`
		ReasonCode *string `json:"reason_code"`
		Reason     *string `json:"reason"`
	} `json:"enabled_patch_settings"`
}

type ConnectorSchemaConfigCreateService added in v0.8.7

type ConnectorSchemaConfigCreateService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorSchemaConfigUpdateService implements the Connector Management, Create a Connector Schema Config API. Ref. https://fivetran.com/docs/rest-api/connectors#createaconnectorschemaconfig

func (*ConnectorSchemaConfigCreateService) ConnectorID added in v0.8.7

func (*ConnectorSchemaConfigCreateService) Do added in v0.8.7

func (*ConnectorSchemaConfigCreateService) Schema added in v0.8.7

func (*ConnectorSchemaConfigCreateService) SchemaChangeHandling added in v0.8.7

type ConnectorSchemaConfigSchema

type ConnectorSchemaConfigSchema struct {
	// contains filtered or unexported fields
}

func (*ConnectorSchemaConfigSchema) Enabled

func (*ConnectorSchemaConfigSchema) Request

func (*ConnectorSchemaConfigSchema) Table

type ConnectorSchemaConfigSchemaRequest

type ConnectorSchemaConfigSchemaRequest struct {
	Enabled *bool                                         `json:"enabled,omitempty"`
	Tables  map[string]*ConnectorSchemaConfigTableRequest `json:"tables,omitempty"`
}

type ConnectorSchemaConfigSchemaResponse

type ConnectorSchemaConfigSchemaResponse struct {
	NameInDestination *string                                        `json:"name_in_destination"`
	Enabled           *bool                                          `json:"enabled"`
	Tables            map[string]*ConnectorSchemaConfigTableResponse `json:"tables"`
}

type ConnectorSchemaConfigTable

type ConnectorSchemaConfigTable struct {
	// contains filtered or unexported fields
}

func (*ConnectorSchemaConfigTable) Column

func (*ConnectorSchemaConfigTable) Enabled

func (*ConnectorSchemaConfigTable) Request

func (*ConnectorSchemaConfigTable) SyncMode

type ConnectorSchemaConfigTableRequest

type ConnectorSchemaConfigTableRequest struct {
	Enabled  *bool                                          `json:"enabled,omitempty"`
	SyncMode *string                                        `json:"sync_mode,omitempty"`
	Columns  map[string]*ConnectorSchemaConfigColumnRequest `json:"columns,omitempty"`
}

type ConnectorSchemaConfigTableResponse

type ConnectorSchemaConfigTableResponse struct {
	NameInDestination     *string                                         `json:"name_in_destination"`
	Enabled               *bool                                           `json:"enabled"`
	SyncMode              *string                                         `json:"sync_mode"`
	Columns               map[string]*ConnectorSchemaConfigColumnResponse `json:"columns"`
	SupportsColumnsConfig *bool                                           `json:"supports_columns_config"`
	EnabledPatchSettings  struct {
		Allowed    *bool   `json:"allowed"`
		ReasonCode *string `json:"reason_code"`
		Reason     *string `json:"reason"`
	} `json:"enabled_patch_settings"`
}

type ConnectorSchemaConfigUpdateService added in v0.8.0

type ConnectorSchemaConfigUpdateService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorSchemaConfigUpdateService implements the Connector Management, Modify a Connector Schema Config API. Ref. https://fivetran.com/docs/rest-api/connectors#modifyaconnectorschemaconfig

func (*ConnectorSchemaConfigUpdateService) ConnectorID added in v0.8.0

func (*ConnectorSchemaConfigUpdateService) Do added in v0.8.0

func (*ConnectorSchemaConfigUpdateService) Schema added in v0.8.0

func (*ConnectorSchemaConfigUpdateService) SchemaChangeHandling added in v0.8.0

type ConnectorSchemaDetailsResponse

type ConnectorSchemaDetailsResponse struct {
	common.CommonResponse
	Data struct {
		SchemaChangeHandling string                                          `json:"schema_change_handling"`
		Schemas              map[string]*ConnectorSchemaConfigSchemaResponse `json:"schemas"`
	} `json:"data"`
}

type ConnectorSchemaDetailsService added in v0.8.0

type ConnectorSchemaDetailsService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorSchemaDetailsService implements the Connector Management, Retrieve a Connector Schema Config API. Ref. https://fivetran.com/docs/rest-api/connectors#retrieveaconnectorschemaconfig

func (*ConnectorSchemaDetailsService) ConnectorID added in v0.8.0

func (*ConnectorSchemaDetailsService) Do added in v0.8.0

type ConnectorSchemaReloadService added in v0.8.0

type ConnectorSchemaReloadService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorSchemaReloadService implements the Connector Management, Reload a Connector Schema Config API. Ref. https://fivetran.com/docs/rest-api/connectors#reloadaconnectorschemaconfig

func (*ConnectorSchemaReloadService) ConnectorID added in v0.8.0

func (*ConnectorSchemaReloadService) Do added in v0.8.0

func (*ConnectorSchemaReloadService) ExcludeMode added in v0.8.0

type ConnectorSetupTestsService added in v0.8.0

type ConnectorSetupTestsService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorSetupTestsService implements the Connector Management, Run connector setup tests API. Ref. https://fivetran.com/docs/rest-api/connectors#runconnectorsetuptests

func (*ConnectorSetupTestsService) ConnectorID added in v0.8.0

func (*ConnectorSetupTestsService) Do added in v0.8.0

func (*ConnectorSetupTestsService) DoCustom added in v0.8.0

func (*ConnectorSetupTestsService) DoCustomMerged added in v0.8.0

func (*ConnectorSetupTestsService) TrustCertificates added in v0.8.0

func (s *ConnectorSetupTestsService) TrustCertificates(value bool) *ConnectorSetupTestsService

func (*ConnectorSetupTestsService) TrustFingerprints added in v0.8.0

func (s *ConnectorSetupTestsService) TrustFingerprints(value bool) *ConnectorSetupTestsService

type ConnectorSyncService added in v0.8.0

type ConnectorSyncService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorSyncService implements the Connector Management, Sync Connector Data API. Ref. https://fivetran.com/docs/rest-api/connectors#syncconnectordata

func (*ConnectorSyncService) ConnectorID added in v0.8.0

func (s *ConnectorSyncService) ConnectorID(connectorID string) *ConnectorSyncService

func (*ConnectorSyncService) Do added in v0.8.0

type ConnectorTableConfigModifyService added in v0.8.0

type ConnectorTableConfigModifyService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorTableConfigModifyService implements the Connector Management, Modify a Connector Table Config Ref. https://fivetran.com/docs/rest-api/connectors#modifyaconnectortableconfig

func (*ConnectorTableConfigModifyService) Columns added in v0.8.0

func (*ConnectorTableConfigModifyService) ConnectorId added in v0.8.0

func (*ConnectorTableConfigModifyService) Do added in v0.8.0

func (*ConnectorTableConfigModifyService) Enabled added in v0.8.0

func (*ConnectorTableConfigModifyService) Schema added in v0.8.0

func (*ConnectorTableConfigModifyService) SyncMode added in v0.8.0

func (*ConnectorTableConfigModifyService) Table added in v0.8.0

type ConnectorsListResponse added in v1.0.7

type ConnectorsListResponse struct {
	common.CommonResponse
	Data struct {
		Items      []DetailsResponseDataCommon `json:"items"`
		NextCursor string                      `json:"next_cursor"`
	} `json:"data"`
}

type ConnectorsListService added in v1.0.7

type ConnectorsListService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

func (*ConnectorsListService) Cursor added in v1.0.7

func (*ConnectorsListService) Do added in v1.0.7

func (*ConnectorsListService) Limit added in v1.0.7

type ConnectorsSourceMetadataResponse added in v0.8.1

type ConnectorsSourceMetadataResponse struct {
	common.CommonResponse
	Data struct {
		Items []struct {
			ID          string `json:"id"`
			Name        string `json:"name"`
			Type        string `json:"type"`
			Description string `json:"description"`
			IconURL     string `json:"icon_url"`
			LinkToDocs  string `json:"link_to_docs"`
			LinkToErd   string `json:"link_to_erd"`
		} `json:"items"`
		NextCursor string `json:"next_cursor"`
	} `json:"data"`
}

type ConnectorsSourceMetadataService added in v0.8.1

type ConnectorsSourceMetadataService struct {
	httputils.HttpService
	// contains filtered or unexported fields
}

ConnectorsSourceMetadataService implements the Connector Management, Retrieve source metadata API. Ref. https://fivetran.com/docs/rest-api/connectors#retrievesourcemetadata

func (*ConnectorsSourceMetadataService) Cursor added in v0.8.1

func (*ConnectorsSourceMetadataService) Do added in v0.8.1

func (*ConnectorsSourceMetadataService) Limit added in v0.8.1

type DetailsAndSetupTestsResponseDataCommon

type DetailsAndSetupTestsResponseDataCommon struct {
	DetailsResponseDataCommon
	SetupTests []common.SetupTestResponse `json:"setup_tests"`
}

type DetailsResponseDataCommon

type DetailsResponseDataCommon struct {
	ID                      string         `json:"id"`
	GroupID                 string         `json:"group_id"`
	Service                 string         `json:"service"`
	ServiceVersion          *int           `json:"service_version"`
	Schema                  string         `json:"schema"`
	ConnectedBy             string         `json:"connected_by"`
	CreatedAt               time.Time      `json:"created_at"`
	SucceededAt             time.Time      `json:"succeeded_at"`
	FailedAt                time.Time      `json:"failed_at"`
	SyncFrequency           *int           `json:"sync_frequency"`
	ScheduleType            string         `json:"schedule_type"`
	Paused                  *bool          `json:"paused"`
	PauseAfterTrial         *bool          `json:"pause_after_trial"`
	DailySyncTime           string         `json:"daily_sync_time"`
	PrivateLinkId           string         `json:"private_link_id"`
	HybridDeploymentAgentId string         `json:"hybrid_deployment_agent_id"`
	ProxyAgentId            string         `json:"proxy_agent_id"`
	NetworkingMethod        string         `json:"networking_method"`
	DataDelaySensitivity    string         `json:"data_delay_sensitivity"`
	DataDelayThreshold      *int           `json:"data_delay_threshold"`
	Status                  StatusResponse `json:"status"`
}

type DetailsWithConfigNoTestsResponse

type DetailsWithConfigNoTestsResponse struct {
	common.CommonResponse
	Data struct {
		DetailsResponseDataCommon
		Config ConnectorConfigResponse `json:"config"`
	} `json:"data"`
}

type DetailsWithConfigResponse

type DetailsWithConfigResponse struct {
	common.CommonResponse
	Data struct {
		DetailsAndSetupTestsResponseDataCommon
		Config ConnectorConfigResponse `json:"config"`
	} `json:"data"`
}

type DetailsWithCustomConfigNoTestsResponse

type DetailsWithCustomConfigNoTestsResponse struct {
	common.CommonResponse
	Data struct {
		DetailsResponseDataCommon
		Config map[string]interface{} `json:"config"`
	} `json:"data"`
}

type DetailsWithCustomConfigResponse

type DetailsWithCustomConfigResponse struct {
	common.CommonResponse
	Data struct {
		DetailsAndSetupTestsResponseDataCommon
		Config map[string]interface{} `json:"config"`
	} `json:"data"`
}

type DetailsWithCustomMergedConfigNoTestsResponse

type DetailsWithCustomMergedConfigNoTestsResponse struct {
	common.CommonResponse
	Data struct {
		DetailsResponseDataCommon
		CustomConfig map[string]interface{}  `json:"config"`
		Config       ConnectorConfigResponse // no mapping here
	} `json:"data"`
}

type DetailsWithCustomMergedConfigResponse

type DetailsWithCustomMergedConfigResponse struct {
	common.CommonResponse
	Data struct {
		DetailsAndSetupTestsResponseDataCommon
		CustomConfig map[string]interface{}  `json:"config"`
		Config       ConnectorConfigResponse // no mapping here
	} `json:"data"`
}

type FunctionSecret

type FunctionSecret struct {
	// contains filtered or unexported fields
}

func (*FunctionSecret) Key

func (fs *FunctionSecret) Key(value string) *FunctionSecret

func (*FunctionSecret) Value

func (fs *FunctionSecret) Value(value string) *FunctionSecret

type FunctionSecretResponse

type FunctionSecretResponse struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type StatusResponse

type StatusResponse struct {
	SetupState       string                  `json:"setup_state"`
	SyncState        string                  `json:"sync_state"`
	UpdateState      string                  `json:"update_state"`
	IsHistoricalSync *bool                   `json:"is_historical_sync"`
	Tasks            []common.CommonResponse `json:"tasks"`
	Warnings         []common.CommonResponse `json:"warnings"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL