Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppInstanceSettings ¶
type AppInstanceSettings struct { ReadViewPrivileges *ViewPrivileges `json:"readViewPrivileges,omitempty"` ReadWriteViewPrivileges *ViewPrivileges `json:"readWriteViewPrivileges,omitempty"` }
Represents privileges of an app.
type AppSettings ¶
type AppSettings struct {
AppInstanceSettings *AppInstanceSettings `json:"appInstanceSettings,omitempty"`
}
Represents settings of an app.
type DirEntry ¶
type DirEntry struct { // DirEntry Type is the type of entry i.e. file/folder/symlink. Type string ` json:"type,omitempty"` // Name is the name of the file or folder.Eg. for /test/file.txt, name will be // file.txt. Name string `json:"name,omitempty"` // FilePath is the path of the file/directory relative to the view. FilePath string `json:"filePath,omitempty"` // Size of the file or folder. Size int64 `json:"size,omitempty"` }
Represents a file, folder or symlink.
type ManagementTokenResponse ¶
type ManagementTokenResponse struct { ErrorCode int `json:"errorCode,omitempty"` ManagementToken string `json:"accessToken,omitempty"` TokenType string `json:"tokenType,omitempty"` ErrorMessage string `json:"message,omitempty"` }
Management token information obtained in response to the ManagementAccessToken API
type ReadDirResult ¶
type ReadDirResult struct { // Entries is the array of files and folders that are immediate children // of the parent directory specified in the request. Entries []*DirEntry `json:"entries"` }
ReadDirResult is the struct to return the result of read directory.
type ViewInfo ¶
type ViewInfo struct { ViewName string `json:"name,omitempty"` ViewId int `json:"viewId,omitempty"` }
View Identification information.
type ViewPrivileges ¶
type ViewPrivileges struct { Type *string `json:"privilegesType,omitempty"` ViewIds []*int `json:"viewIds,omitempty"` }
Represents privileges of a view.
type ViewsInformation ¶
type ViewsInformation struct {
ViewsInfo []*ViewInfo `json:"views,omitempty"`
}
Represents the information of views.
Click to show internal directories.
Click to hide internal directories.