sv_filerequest

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOpt

type CreateOpt func(opts *CreateOpts) *CreateOpts

func OptAllowLateUploads

func OptAllowLateUploads(tag string) CreateOpt

func OptDeadline

func OptDeadline(deadline string) CreateOpt

type CreateOpts

type CreateOpts struct {
	Open                     bool
	Deadline                 string
	DeadlineAllowLateUploads string
}

type Deadline

type Deadline struct {
	Deadline         string `json:"deadline,omitempty"`
	AllowLateUploads string `json:"allow_late_uploads,omitempty"`
}

type FileRequest

type FileRequest interface {
	List() (requests []*mo_filerequest.FileRequest, err error)
	Create(title string, destination mo_path.DropboxPath, opts ...CreateOpt) (req *mo_filerequest.FileRequest, err error)
	Delete(ids ...string) (requests []*mo_filerequest.FileRequest, err error)
	DeleteAllClosed() (requests []*mo_filerequest.FileRequest, err error)
	Update(fr *mo_filerequest.FileRequest) (req *mo_filerequest.FileRequest, err error)
}

func New

Jump to

Keyboard shortcuts

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