connectcard

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectCardConfig

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

func (*ConnectCardConfig) HideSetupGuide

func (s *ConnectCardConfig) HideSetupGuide(value bool) *ConnectCardConfig

func (*ConnectCardConfig) RedirectUri

func (s *ConnectCardConfig) RedirectUri(value string) *ConnectCardConfig

type ConnectCardConfigResponse

type ConnectCardConfigResponse struct {
	RedirectUri    string `json:"redirect_uri"`
	HideSetupGuide bool   `json:"hide_setup_guide"`
}

type ConnectCardResponse

type ConnectCardResponse struct {
	Code    string `json:"code"`
	Message string `json:"message"`
	Data    struct {
		ConnectorId string `json:"connector_id"`
		ConnectCard struct {
			Token string `json:"token"`
			Uri   string `json:"uri"`
		} `json:"connect_card"`
		ConnectCardConfig ConnectCardConfigResponse `json:"connect_card_config"`
	} `json:"data"`
}

type ConnectCardService

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

ConnectCardService implements the https://fivetran.com/docs/rest-api/getting-started/connect-card#connectcards Ref.https://fivetran.com/docs/rest-api/getting-started/connect-card

func (*ConnectCardService) Config

func (*ConnectCardService) ConnectorId

func (s *ConnectCardService) ConnectorId(value string) *ConnectCardService

func (*ConnectCardService) Do

Jump to

Keyboard shortcuts

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