request

package
v2.0.110-beta Latest Latest
Warning

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

Go to latest
Published: Nov 3, 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.RequestCreateParams) (request files_sdk.Request, err error)

func Delete

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

func GetFolder

func GetFolder(ctx context.Context, params files_sdk.RequestGetFolderParams) (requestCollection files_sdk.RequestCollection, err error)

Types

type Client

type Client struct {
	files_sdk.Config
}

func (*Client) Create

func (c *Client) Create(ctx context.Context, params files_sdk.RequestCreateParams) (request files_sdk.Request, err error)

func (*Client) Delete

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

func (*Client) GetFolder

func (c *Client) GetFolder(ctx context.Context, params files_sdk.RequestGetFolderParams) (requestCollection files_sdk.RequestCollection, err error)

func (*Client) List

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

type Iter

type Iter struct {
	*lib.Iter
}

func List

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

func (*Iter) Request

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

Jump to

Keyboard shortcuts

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