Documentation
¶
Index ¶
- Constants
- type AdminLoadShareListOKBody
- type AdminLoadShareListOKBodyChildrenItems
- type AdminLoadShareListOKBodyNode
- type AdminWorkspace
- type AdminWorkspaceInfo
- type BgAction
- type ChangesOKBodyItems
- type GetWorkspaceInfoOKBody
- type InlineResponse200
- type InlineResponse2001
- type InputStream
- type MetaSourceParameters
- type Node
- type NodeList
- type NodeListData
- type NodeListDataChildren
- type NodesDiff
- type PaginationData
- type PeoplePatch
- type PydioResponse
- type Role
- type Share
- type ShareElement
- type ShareElementLinks
- type ShareElementLinks0
- type ShareEntry
- type ShareLink
- type ShareMetadata
- type Task
- type TaskSchedule
Constants ¶
const ( // NodeTypeCollection captures enum value "collection" NodeTypeCollection string = "collection" // NodeTypeLeaf captures enum value "leaf" NodeTypeLeaf string = "leaf" )
const ( // PeoplePatchParameterNameGroupLabel captures enum value "groupLabel" PeoplePatchParameterNameGroupLabel string = "groupLabel" // PeoplePatchParameterNameUserPass captures enum value "userPass" PeoplePatchParameterNameUserPass string = "userPass" // PeoplePatchParameterNameUserProfile captures enum value "userProfile" PeoplePatchParameterNameUserProfile string = "userProfile" // PeoplePatchParameterNameUserLock captures enum value "userLock" PeoplePatchParameterNameUserLock string = "userLock" // PeoplePatchParameterNameUserRoles captures enum value "userRoles" PeoplePatchParameterNameUserRoles string = "userRoles" // PeoplePatchParameterNameUserAddRole captures enum value "userAddRole" PeoplePatchParameterNameUserAddRole string = "userAddRole" // PeoplePatchParameterNameUserRemoveRole captures enum value "userRemoveRole" PeoplePatchParameterNameUserRemoveRole string = "userRemoveRole" // PeoplePatchParameterNameUserPreferences captures enum value "userPreferences" PeoplePatchParameterNameUserPreferences string = "userPreferences" )
const ( // PeoplePatchResourceTypeUser captures enum value "user" PeoplePatchResourceTypeUser string = "user" // PeoplePatchResourceTypeGroup captures enum value "group" PeoplePatchResourceTypeGroup string = "group" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminLoadShareListOKBody ¶
type AdminLoadShareListOKBody struct {
Children []*AdminLoadShareListOKBodyChildrenItems `json:"children"`
Node *AdminLoadShareListOKBodyNode `json:"node,omitempty"`
}
AdminLoadShareListOKBody admin load share list o k body swagger:model adminLoadShareListOKBody
func (*AdminLoadShareListOKBody) MarshalBinary ¶
func (m *AdminLoadShareListOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminLoadShareListOKBody) UnmarshalBinary ¶
func (m *AdminLoadShareListOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminLoadShareListOKBodyChildrenItems ¶
type AdminLoadShareListOKBodyChildrenItems struct {
Key *Share `json:"key,omitempty"`
}
AdminLoadShareListOKBodyChildrenItems admin load share list o k body children items swagger:model adminLoadShareListOKBodyChildrenItems
func (*AdminLoadShareListOKBodyChildrenItems) MarshalBinary ¶
func (m *AdminLoadShareListOKBodyChildrenItems) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminLoadShareListOKBodyChildrenItems) UnmarshalBinary ¶
func (m *AdminLoadShareListOKBodyChildrenItems) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminLoadShareListOKBodyNode ¶
type AdminLoadShareListOKBodyNode struct {
Label string `json:"label,omitempty"`
Path string `json:"path,omitempty"`
Type string `json:"type,omitempty"`
}
AdminLoadShareListOKBodyNode admin load share list o k body node swagger:model adminLoadShareListOKBodyNode
func (*AdminLoadShareListOKBodyNode) MarshalBinary ¶
func (m *AdminLoadShareListOKBodyNode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminLoadShareListOKBodyNode) UnmarshalBinary ¶
func (m *AdminLoadShareListOKBodyNode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminWorkspace ¶
type AdminWorkspace struct {
// plugin name to be used as driver to access the storage. Resulting plugin id is "access.accessType".
// Required: true
AccessType *string `json:"accessType"`
// Label for this workspace
// Required: true
Display *string `json:"display"`
// an i18n identifier to adapt the label to the user language
DisplayStringID interface{} `json:"displayStringId,omitempty"`
// The additional features parameters.
Features interface{} `json:"features,omitempty"`
// If this repository has a groupPath
GroupPath string `json:"groupPath,omitempty"`
// Id of this workspace
ID interface{} `json:"id,omitempty"`
// info
Info *AdminWorkspaceInfo `json:"info,omitempty"`
// wether this is a template or a concrete workspace.
IsTemplate bool `json:"isTemplate,omitempty"`
// permission mask applied on workspace files and folders
Mask interface{} `json:"mask,omitempty"`
// a key/value object containing all driver parameters.
Parameters interface{} `json:"parameters,omitempty"`
// human readable identifier, computed from display
Slug string `json:"slug,omitempty"`
// wether this workspace/template is writeable or not (not writeable if defined in bootstrap php configs).
Writeable bool `json:"writeable,omitempty"`
}
AdminWorkspace Workspace Definition
Parameters of a workspace, as seen by administrator swagger:model AdminWorkspace
func (*AdminWorkspace) MarshalBinary ¶
func (m *AdminWorkspace) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminWorkspace) UnmarshalBinary ¶
func (m *AdminWorkspace) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminWorkspaceInfo ¶
type AdminWorkspaceInfo struct {
Shares int64 `json:"shares,omitempty"`
// computed number of users accessing this workspace
User int64 `json:"user,omitempty"`
}
AdminWorkspaceInfo additional informations provided by the server swagger:model AdminWorkspace_info
func (*AdminWorkspaceInfo) MarshalBinary ¶
func (m *AdminWorkspaceInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminWorkspaceInfo) UnmarshalBinary ¶
func (m *AdminWorkspaceInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BgAction ¶
type BgAction struct {
// action name
ActionName string `json:"actionName,omitempty"`
// delay
Delay int64 `json:"delay,omitempty"`
}
BgAction BgAction
triggers a background action on the client side swagger:model BgAction
func (*BgAction) MarshalBinary ¶
MarshalBinary interface implementation
func (*BgAction) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ChangesOKBodyItems ¶
type ChangesOKBodyItems struct {
// node
Node *Node `json:"node,omitempty"`
// seq id
SeqID int64 `json:"seq_id,omitempty"`
}
ChangesOKBodyItems changes o k body items swagger:model changesOKBodyItems
func (*ChangesOKBodyItems) MarshalBinary ¶
func (m *ChangesOKBodyItems) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangesOKBodyItems) UnmarshalBinary ¶
func (m *ChangesOKBodyItems) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetWorkspaceInfoOKBody ¶
type GetWorkspaceInfoOKBody struct {
// t o t a l
TOTAL int64 `json:"TOTAL,omitempty"`
// u s a g e
USAGE int64 `json:"USAGE,omitempty"`
}
GetWorkspaceInfoOKBody get workspace info o k body swagger:model getWorkspaceInfoOKBody
func (*GetWorkspaceInfoOKBody) MarshalBinary ¶
func (m *GetWorkspaceInfoOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetWorkspaceInfoOKBody) UnmarshalBinary ¶
func (m *GetWorkspaceInfoOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InlineResponse200 ¶
type InlineResponse200 struct {
// t o t a l
TOTAL int64 `json:"TOTAL,omitempty"`
// u s a g e
USAGE int64 `json:"USAGE,omitempty"`
}
InlineResponse200 inline response 200 swagger:model inline_response_200
func (*InlineResponse200) MarshalBinary ¶
func (m *InlineResponse200) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InlineResponse200) UnmarshalBinary ¶
func (m *InlineResponse200) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InlineResponse2001 ¶
type InlineResponse2001 struct {
// node
Node *Node `json:"node,omitempty"`
// seq id
SeqID int64 `json:"seq_id,omitempty"`
}
InlineResponse2001 inline response 200 1 swagger:model inline_response_200_1
func (*InlineResponse2001) MarshalBinary ¶
func (m *InlineResponse2001) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InlineResponse2001) UnmarshalBinary ¶
func (m *InlineResponse2001) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InputStream ¶
type InputStream string
InputStream InputStream
Simple binary stream swagger:model InputStream
type MetaSourceParameters ¶
type MetaSourceParameters interface{}
MetaSourceParameters MetaSource
A set of parameters for meta sources swagger:model MetaSourceParameters
type Node ¶
type Node struct {
// ajxp description
AjxpDescription string `json:"ajxp_description,omitempty"`
// ajxp modiftime
AjxpModiftime int64 `json:"ajxp_modiftime,omitempty"`
// ajxp readonly
AjxpReadonly bool `json:"ajxp_readonly,omitempty"`
// ajxp relativetime
AjxpRelativetime string `json:"ajxp_relativetime,omitempty"`
// ajxp roles
AjxpRoles interface{} `json:"ajxp_roles,omitempty"`
// bytesize
Bytesize int64 `json:"bytesize,omitempty"`
// children
Children *NodeList `json:"children,omitempty"`
// file perms
FilePerms string `json:"file_perms,omitempty"`
// filesize
Filesize string `json:"filesize,omitempty"`
// icon
Icon string `json:"icon,omitempty"`
// is leaf
IsLeaf bool `json:"is_leaf,omitempty"`
// json merged role
JSONMergedRole *Role `json:"json_merged_role,omitempty"`
// label
Label string `json:"label,omitempty"`
// mimestring id
MimestringID string `json:"mimestring_id,omitempty"`
// path
Path string `json:"path,omitempty"`
// repo has recycle
RepoHasRecycle bool `json:"repo_has_recycle,omitempty"`
// stat
Stat interface{} `json:"stat,omitempty"`
// type
// Enum: [collection leaf]
Type string `json:"type,omitempty"`
}
Node Node
A file or folder represented as a generic resource, including metadata and children. Properties before children are part of the "standard" metadat set, properties after are returned by the "extended" metadata set. swagger:model Node
func (*Node) MarshalBinary ¶
MarshalBinary interface implementation
func (*Node) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NodeList ¶
type NodeList struct {
// data
Data *NodeListData `json:"data,omitempty"`
// pagination
Pagination *PaginationData `json:"pagination,omitempty"`
}
NodeList NodeList
List of Node objects swagger:model NodeList
func (*NodeList) MarshalBinary ¶
MarshalBinary interface implementation
func (*NodeList) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NodeListData ¶
type NodeListData struct {
// children
Children NodeListDataChildren `json:"children,omitempty"`
// node
Node *Node `json:"node,omitempty"`
}
NodeListData node list data swagger:model NodeList_data
func (*NodeListData) MarshalBinary ¶
func (m *NodeListData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeListData) UnmarshalBinary ¶
func (m *NodeListData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeListDataChildren ¶
NodeListDataChildren node list data children swagger:model nodeListDataChildren
type NodesDiff ¶
type NodesDiff struct {
// add
Add []*Node `json:"add"`
// remove
Remove []string `json:"remove"`
// Nodes may have an additional attribute original_path
Update []*Node `json:"update"`
}
NodesDiff NodesDiff
Description of node removed / added / updated in the backend swagger:model NodesDiff
func (*NodesDiff) MarshalBinary ¶
MarshalBinary interface implementation
func (*NodesDiff) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PaginationData ¶
type PaginationData struct {
// total number of children
Count int64 `json:"count,omitempty"`
// current page
Current int64 `json:"current,omitempty"`
// total number of "collection" childrens
Dirs int64 `json:"dirs,omitempty"`
// additional attributes describing current server-side sorting
RemoteSort interface{} `json:"remoteSort,omitempty"`
// total number of pages
Total int64 `json:"total,omitempty"`
}
PaginationData PaginationData
Additional metadata attached to a NodeList for pagination. Could be sent through headers instead. swagger:model PaginationData
func (*PaginationData) MarshalBinary ¶
func (m *PaginationData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaginationData) UnmarshalBinary ¶
func (m *PaginationData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PeoplePatch ¶
type PeoplePatch struct {
// parameter name
// Enum: [groupLabel userPass userProfile userLock userRoles userAddRole userRemoveRole userPreferences]
ParameterName string `json:"parameterName,omitempty"`
// parameter value
ParameterValue string `json:"parameterValue,omitempty"`
// resource type
// Enum: [user group]
ResourceType string `json:"resourceType,omitempty"`
}
PeoplePatch PeoplePatch
a key / value tuple describing which parameter to patch swagger:model PeoplePatch
func (*PeoplePatch) MarshalBinary ¶
func (m *PeoplePatch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PeoplePatch) UnmarshalBinary ¶
func (m *PeoplePatch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PydioResponse ¶
type PydioResponse struct {
// bg action
BgAction *BgAction `json:"bgAction,omitempty"`
// error code
ErrorCode int64 `json:"errorCode,omitempty"`
// level
Level string `json:"level,omitempty"`
// message
Message string `json:"message,omitempty"`
// nodes diff
NodesDiff *NodesDiff `json:"nodesDiff,omitempty"`
// tasks
Tasks []*Task `json:"tasks"`
}
PydioResponse PydioResponse
Generic container for messages after successful operations or errors swagger:model PydioResponse
func (*PydioResponse) MarshalBinary ¶
func (m *PydioResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PydioResponse) UnmarshalBinary ¶
func (m *PydioResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Role ¶
type Role struct {
// Key/value associating workspace IDs and rights strings (r/w)
ACL interface{} `json:"ACL,omitempty"`
// Enabled/disabled actions of plugins
ACTIONS interface{} `json:"ACTIONS,omitempty"`
// Set of profiles on which this role automatically applies
APPLIES interface{} `json:"APPLIES,omitempty"`
// Folders permissions masks
MASKS interface{} `json:"MASKS,omitempty"`
// Refined values of plugins parameters
PARAMETERS interface{} `json:"PARAMETERS,omitempty"`
}
Role Role
Representation of a Role, central container of permissions, actions and parameters. swagger:model Role
func (*Role) MarshalBinary ¶
MarshalBinary interface implementation
func (*Role) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Share ¶
type Share struct {
AJXPAPPLICATIONBASE string `json:"AJXP_APPLICATION_BASE,omitempty"`
AJXPTEMPLATENAME string `json:"AJXP_TEMPLATE_NAME,omitempty"`
DOWNLOADDISABLED bool `json:"DOWNLOAD_DISABLED,omitempty"`
DOWNLOADLIMIT int64 `json:"DOWNLOAD_LIMIT,omitempty"`
EXPIRETIME int64 `json:"EXPIRE_TIME,omitempty"`
GROUPSCOUNT int64 `json:"GROUPS_COUNT,omitempty"`
OWNERID string `json:"OWNER_ID,omitempty"`
PRELOGUSER string `json:"PRELOG_USER,omitempty"`
PRESETLOGIN string `json:"PRESET_LOGIN,omitempty"`
REPOSITORY string `json:"REPOSITORY,omitempty"`
SHARETYPE string `json:"SHARE_TYPE,omitempty"`
USERSCOUNT int64 `json:"USERS_COUNT,omitempty"`
Metadata *ShareMetadata `json:"metadata,omitempty"`
}
Share share swagger:model Share
func (*Share) MarshalBinary ¶
MarshalBinary interface implementation
func (*Share) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ShareElement ¶
type ShareElement struct {
ContentFilter map[string]interface{} `json:"content_filter,omitempty"`
Description string `json:"description,omitempty"`
ElementWatch bool `json:"element_watch,omitempty"`
Entries []*ShareEntry `json:"entries"`
Links interface{} `json:"links,omitempty"`
RepositoryURL string `json:"repository_url,omitempty"`
Repositoryid string `json:"repositoryid,omitempty"`
ShareOwner string `json:"share_owner,omitempty"`
ShareScope string `json:"share_scope,omitempty"`
UsersNumber int64 `json:"users_number,omitempty"`
}
ShareElement share element swagger:model ShareElement
func (*ShareElement) MarshalBinary ¶
func (m *ShareElement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShareElement) UnmarshalBinary ¶
func (m *ShareElement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShareElementLinks ¶
ShareElementLinks share element links swagger:model shareElementLinks
type ShareElementLinks0 ¶
ShareElementLinks0 share element links0 swagger:model shareElementLinks0
type ShareEntry ¶
type ShareEntry struct {
Avatar string `json:"avatar,omitempty"`
Hidden bool `json:"hidden,omitempty"`
ID string `json:"id,omitempty"`
Label string `json:"label,omitempty"`
Right string `json:"right,omitempty"`
Type string `json:"type,omitempty"`
}
ShareEntry share entry swagger:model ShareEntry
func (*ShareEntry) MarshalBinary ¶
func (m *ShareEntry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShareEntry) UnmarshalBinary ¶
func (m *ShareEntry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShareLink ¶
type ShareLink struct {
DisableDownload bool `json:"disable_download,omitempty"`
ExpireAfter int64 `json:"expire_after,omitempty"`
Hash interface{} `json:"hash,omitempty"`
HashIsShorten bool `json:"hash_is_shorten,omitempty"`
InternalUserID string `json:"internal_user_id,omitempty"`
IsExpired bool `json:"is_expired,omitempty"`
Public interface{} `json:"public,omitempty"`
PublicLink string `json:"public_link,omitempty"`
}
ShareLink share link swagger:model ShareLink
func (*ShareLink) MarshalBinary ¶
MarshalBinary interface implementation
func (*ShareLink) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ShareMetadata ¶
type ShareMetadata struct {
AjxpMime string `json:"ajxp_mime,omitempty"`
AjxpShared bool `json:"ajxp_shared,omitempty"`
AjxpSharedMinisite string `json:"ajxp_shared_minisite,omitempty"`
Fonticon string `json:"fonticon,omitempty"`
Icon string `json:"icon,omitempty"`
Label string `json:"label,omitempty"`
Openicon string `json:"openicon,omitempty"`
OriginalPath string `json:"original_path,omitempty"`
Owner string `json:"owner,omitempty"`
Path string `json:"path,omitempty"`
ShareData string `json:"share_data,omitempty"`
ShareElementParentRepositoryLabel string `json:"share_element_parent_repository_label,omitempty"`
ShareType string `json:"share_type,omitempty"`
ShareTypeReadable string `json:"share_type_readable,omitempty"`
SharedElementHash interface{} `json:"shared_element_hash,omitempty"`
SharedElementParentRepository interface{} `json:"shared_element_parent_repository,omitempty"`
}
ShareMetadata share metadata swagger:model ShareMetadata
func (*ShareMetadata) MarshalBinary ¶
func (m *ShareMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShareMetadata) UnmarshalBinary ¶
func (m *ShareMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Task ¶
type Task struct {
// action name
ActionName string `json:"actionName,omitempty"`
// description
Description string `json:"description,omitempty"`
// id
ID string `json:"id,omitempty"`
// label
Label string `json:"label,omitempty"`
// parameters
Parameters interface{} `json:"parameters,omitempty"`
// schedule
Schedule *TaskSchedule `json:"schedule,omitempty"`
// status
Status int64 `json:"status,omitempty"`
// user Id
UserID string `json:"userId,omitempty"`
// ws Id
WsID string `json:"wsId,omitempty"`
}
Task Task
Background operation started on the server. It's the client mission to check it on a regular basis. swagger:model Task
func (*Task) MarshalBinary ¶
MarshalBinary interface implementation
func (*Task) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TaskSchedule ¶
type TaskSchedule struct {
// schedule type
ScheduleType string `json:"scheduleType,omitempty"`
// schedule value
ScheduleValue string `json:"scheduleValue,omitempty"`
}
TaskSchedule task schedule swagger:model Task_schedule
func (*TaskSchedule) MarshalBinary ¶
func (m *TaskSchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskSchedule) UnmarshalBinary ¶
func (m *TaskSchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- admin_load_share_list_o_k_body.go
- admin_load_share_list_o_k_body_children_items.go
- admin_load_share_list_o_k_body_node.go
- admin_workspace.go
- admin_workspace_info.go
- bg_action.go
- changes_o_k_body_items.go
- get_workspace_info_o_k_body.go
- inline_response200.go
- inline_response2001.go
- input_stream.go
- meta_source_parameters.go
- node.go
- node_list.go
- node_list_data.go
- node_list_data_children.go
- nodes_diff.go
- pagination_data.go
- people_patch.go
- pydio_response.go
- role.go
- share.go
- share_element.go
- share_element_links.go
- share_element_links0.go
- share_entry.go
- share_link.go
- share_metadata.go
- task.go
- task_schedule.go