filestation

package
v0.0.0-...-ad012dd Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateFolderRequest

type CreateFolderRequest struct {
	// contains filtered or unexported fields
}

func NewCreateFolderRequest

func NewCreateFolderRequest(version int) *CreateFolderRequest

func (*CreateFolderRequest) WithFolderPath

func (r *CreateFolderRequest) WithFolderPath(value string) *CreateFolderRequest

func (*CreateFolderRequest) WithForceParent

func (r *CreateFolderRequest) WithForceParent(value bool) *CreateFolderRequest

func (*CreateFolderRequest) WithName

func (r *CreateFolderRequest) WithName(value string) *CreateFolderRequest

type CreateFolderResponse

type CreateFolderResponse struct {
	Folders []struct {
		Path  string
		Name  string
		IsDir bool
	}
	// contains filtered or unexported fields
}

func (CreateFolderResponse) ErrorSummaries

func (r CreateFolderResponse) ErrorSummaries() []api.ErrorSummary

func (*CreateFolderResponse) GetError

func (b *CreateFolderResponse) GetError() api.SynologyError

func (*CreateFolderResponse) SetError

func (b *CreateFolderResponse) SetError(e api.SynologyError)

func (CreateFolderResponse) Success

func (b CreateFolderResponse) Success() bool

type File

type File struct {
	Path  string
	Name  string
	IsDir bool
}

type FileStationInfoRequest

type FileStationInfoRequest struct {
	// contains filtered or unexported fields
}

func NewFileStationInfoRequest

func NewFileStationInfoRequest(version int) *FileStationInfoRequest

type FileStationInfoResponse

type FileStationInfoResponse struct {
	IsManager              bool
	SupportVirtualProtocol string
	Supportsharing         bool
	Hostname               string
	// contains filtered or unexported fields
}

func (FileStationInfoResponse) ErrorSummaries

func (r FileStationInfoResponse) ErrorSummaries() []api.ErrorSummary

func (*FileStationInfoResponse) GetError

func (b *FileStationInfoResponse) GetError() api.SynologyError

func (*FileStationInfoResponse) SetError

func (b *FileStationInfoResponse) SetError(e api.SynologyError)

func (FileStationInfoResponse) Success

func (b FileStationInfoResponse) Success() bool

type FileStationRenameRequest

type FileStationRenameRequest struct {
	// contains filtered or unexported fields
}

func NewFileStationRenameRequest

func NewFileStationRenameRequest(version int) *FileStationRenameRequest

func (*FileStationRenameRequest) WithName

func (*FileStationRenameRequest) WithPath

type FileStationRenameResponse

type FileStationRenameResponse struct {
	Files []File
	// contains filtered or unexported fields
}

func (FileStationRenameResponse) ErrorSummaries

func (r FileStationRenameResponse) ErrorSummaries() []api.ErrorSummary

func (*FileStationRenameResponse) GetError

func (b *FileStationRenameResponse) GetError() api.SynologyError

func (*FileStationRenameResponse) SetError

func (b *FileStationRenameResponse) SetError(e api.SynologyError)

func (FileStationRenameResponse) Success

func (b FileStationRenameResponse) Success() bool

Jump to

Keyboard shortcuts

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