behavior

package
v2.0.101-beta Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, params files_sdk.BehaviorCreateParams) (behavior files_sdk.Behavior, err error)

func Delete

func Delete(ctx context.Context, params files_sdk.BehaviorDeleteParams) (err error)

func Find

func Find(ctx context.Context, params files_sdk.BehaviorFindParams) (behavior files_sdk.Behavior, err error)

func Update

func Update(ctx context.Context, params files_sdk.BehaviorUpdateParams) (behavior files_sdk.Behavior, err error)

func WebhookTest

func WebhookTest(ctx context.Context, params files_sdk.BehaviorWebhookTestParams) (err error)

Types

type Client

type Client struct {
	files_sdk.Config
}

func (*Client) Create

func (c *Client) Create(ctx context.Context, params files_sdk.BehaviorCreateParams) (behavior files_sdk.Behavior, err error)

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, params files_sdk.BehaviorDeleteParams) (err error)

func (*Client) Find

func (c *Client) Find(ctx context.Context, params files_sdk.BehaviorFindParams) (behavior files_sdk.Behavior, err error)

func (*Client) List

func (c *Client) List(ctx context.Context, params files_sdk.BehaviorListParams) (*Iter, error)

func (*Client) ListFor

func (c *Client) ListFor(ctx context.Context, params files_sdk.BehaviorListForParams) (*Iter, error)

func (*Client) Update

func (c *Client) Update(ctx context.Context, params files_sdk.BehaviorUpdateParams) (behavior files_sdk.Behavior, err error)

func (*Client) WebhookTest

func (c *Client) WebhookTest(ctx context.Context, params files_sdk.BehaviorWebhookTestParams) (err error)

type Iter

type Iter struct {
	*lib.Iter
}

func List

func List(ctx context.Context, params files_sdk.BehaviorListParams) (*Iter, error)

func ListFor

func ListFor(ctx context.Context, params files_sdk.BehaviorListForParams) (*Iter, error)

func (*Iter) Behavior

func (i *Iter) Behavior() files_sdk.Behavior

Jump to

Keyboard shortcuts

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