api_key

package
v2.0.102-beta Latest Latest
Warning

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

Go to latest
Published: Sep 23, 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.ApiKeyCreateParams) (apiKey files_sdk.ApiKey, err error)

func Delete

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

func DeleteCurrent

func DeleteCurrent(ctx context.Context) (err error)

func Find

func Find(ctx context.Context, params files_sdk.ApiKeyFindParams) (apiKey files_sdk.ApiKey, err error)

func FindCurrent

func FindCurrent(ctx context.Context) (apiKey files_sdk.ApiKey, err error)

func Update

func Update(ctx context.Context, params files_sdk.ApiKeyUpdateParams) (apiKey files_sdk.ApiKey, err error)

func UpdateCurrent

func UpdateCurrent(ctx context.Context, params files_sdk.ApiKeyUpdateCurrentParams) (apiKey files_sdk.ApiKey, err error)

Types

type Client

type Client struct {
	files_sdk.Config
}

func (*Client) Create

func (c *Client) Create(ctx context.Context, params files_sdk.ApiKeyCreateParams) (apiKey files_sdk.ApiKey, err error)

func (*Client) Delete

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

func (*Client) DeleteCurrent

func (c *Client) DeleteCurrent(ctx context.Context) (err error)

func (*Client) Find

func (c *Client) Find(ctx context.Context, params files_sdk.ApiKeyFindParams) (apiKey files_sdk.ApiKey, err error)

func (*Client) FindCurrent

func (c *Client) FindCurrent(ctx context.Context) (apiKey files_sdk.ApiKey, err error)

func (*Client) List

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

func (*Client) Update

func (c *Client) Update(ctx context.Context, params files_sdk.ApiKeyUpdateParams) (apiKey files_sdk.ApiKey, err error)

func (*Client) UpdateCurrent

func (c *Client) UpdateCurrent(ctx context.Context, params files_sdk.ApiKeyUpdateCurrentParams) (apiKey files_sdk.ApiKey, err error)

type Iter

type Iter struct {
	*lib.Iter
}

func List

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

func (*Iter) ApiKey

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

Jump to

Keyboard shortcuts

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