Documentation ¶
Index ¶
- func Create(ctx context.Context, params files_sdk.PermissionCreateParams, ...) (permission files_sdk.Permission, err error)
- func Delete(ctx context.Context, params files_sdk.PermissionDeleteParams, ...) (err error)
- type Client
- func (c *Client) Create(ctx context.Context, params files_sdk.PermissionCreateParams, ...) (permission files_sdk.Permission, err error)
- func (c *Client) Delete(ctx context.Context, params files_sdk.PermissionDeleteParams, ...) (err error)
- func (c *Client) List(ctx context.Context, params files_sdk.PermissionListParams, ...) (*Iter, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, params files_sdk.PermissionCreateParams, opts ...files_sdk.RequestResponseOption) (permission files_sdk.Permission, err error)
func Delete ¶
func Delete(ctx context.Context, params files_sdk.PermissionDeleteParams, opts ...files_sdk.RequestResponseOption) (err error)
Types ¶
type Client ¶
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, params files_sdk.PermissionCreateParams, opts ...files_sdk.RequestResponseOption) (permission files_sdk.Permission, err error)
func (*Client) Delete ¶
func (c *Client) Delete(ctx context.Context, params files_sdk.PermissionDeleteParams, opts ...files_sdk.RequestResponseOption) (err error)
type Iter ¶
func List ¶
func List(ctx context.Context, params files_sdk.PermissionListParams, opts ...files_sdk.RequestResponseOption) (*Iter, error)
func (*Iter) Permission ¶
func (i *Iter) Permission() files_sdk.Permission
Click to show internal directories.
Click to hide internal directories.