Documentation ¶
Index ¶
- func NewConnector() (*sdk.ConnectorPlugin, error)
- type Base
- type DeleteRecordOperation
- type Field
- type FieldOptions
- type FindRecordOperation
- type RecordAirtable
- type RecordTrigger
- func (t *RecordTrigger) GetInfo() *sdk.TriggerInfo
- func (t *RecordTrigger) OnDisabled(ctx *sdk.RunContext) error
- func (t *RecordTrigger) OnEnabled(ctx *sdk.RunContext) error
- func (t *RecordTrigger) Run(ctx *sdk.RunContext) (sdk.JSON, error)
- func (t *RecordTrigger) Test(ctx *sdk.RunContext) (sdk.JSON, error)
- type Response
- type ResponseAirtable
- type Table
- type TableResponse
- type UpdateRecordOperation
- type View
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnector ¶
func NewConnector() (*sdk.ConnectorPlugin, error)
Types ¶
type DeleteRecordOperation ¶
type DeleteRecordOperation struct {
// contains filtered or unexported fields
}
func NewDeleteRecordOperation ¶
func NewDeleteRecordOperation() *DeleteRecordOperation
func (*DeleteRecordOperation) GetInfo ¶
func (c *DeleteRecordOperation) GetInfo() *sdk.OperationInfo
func (*DeleteRecordOperation) Run ¶
func (c *DeleteRecordOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*DeleteRecordOperation) Test ¶
func (c *DeleteRecordOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type Field ¶
type Field struct { Description string `json:"description,omitempty"` // Omits field if no description is provided ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` Options *FieldOptions `json:"options,omitempty"` // Omits if options are not available }
type FieldOptions ¶
type FindRecordOperation ¶
type FindRecordOperation struct {
// contains filtered or unexported fields
}
func NewFindRecordOperation ¶
func NewFindRecordOperation() *FindRecordOperation
func (*FindRecordOperation) GetInfo ¶
func (c *FindRecordOperation) GetInfo() *sdk.OperationInfo
func (*FindRecordOperation) Run ¶
func (c *FindRecordOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*FindRecordOperation) Test ¶
func (c *FindRecordOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type RecordAirtable ¶
type RecordTrigger ¶
type RecordTrigger struct {
// contains filtered or unexported fields
}
func NewRecordTrigger ¶
func NewRecordTrigger() *RecordTrigger
func (*RecordTrigger) GetInfo ¶
func (t *RecordTrigger) GetInfo() *sdk.TriggerInfo
func (*RecordTrigger) OnDisabled ¶
func (t *RecordTrigger) OnDisabled(ctx *sdk.RunContext) error
func (*RecordTrigger) OnEnabled ¶
func (t *RecordTrigger) OnEnabled(ctx *sdk.RunContext) error
func (*RecordTrigger) Run ¶
func (t *RecordTrigger) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*RecordTrigger) Test ¶
func (t *RecordTrigger) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type ResponseAirtable ¶
type ResponseAirtable struct {
Records []RecordAirtable `json:"records"`
}
type TableResponse ¶
type TableResponse struct {
Tables []Table `json:"tables"`
}
type UpdateRecordOperation ¶
type UpdateRecordOperation struct {
// contains filtered or unexported fields
}
func NewUpdateRecordOperation ¶
func NewUpdateRecordOperation() *UpdateRecordOperation
func (*UpdateRecordOperation) GetInfo ¶
func (c *UpdateRecordOperation) GetInfo() *sdk.OperationInfo
func (*UpdateRecordOperation) Run ¶
func (c *UpdateRecordOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*UpdateRecordOperation) Test ¶
func (c *UpdateRecordOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
Click to show internal directories.
Click to hide internal directories.