models

package
v0.0.0-...-23ce5c3 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 License: Apache-2.0 Imports: 6 Imported by: 11

Documentation

Index

Constants

View Source
const (

	// NodeTypeCollection captures enum value "collection"
	NodeTypeCollection string = "collection"

	// NodeTypeLeaf captures enum value "leaf"
	NodeTypeLeaf string = "leaf"
)
View Source
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"
)
View Source
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
	Children []*AdminLoadShareListOKBodyChildrenItems `json:"children"`

	// node
	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

func (*AdminLoadShareListOKBody) Validate

func (m *AdminLoadShareListOKBody) Validate(formats strfmt.Registry) error

Validate validates this admin load share list o k body

type AdminLoadShareListOKBodyChildrenItems

type AdminLoadShareListOKBodyChildrenItems struct {

	// key
	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

func (*AdminLoadShareListOKBodyChildrenItems) Validate

Validate validates this admin load share list o k body children items

type AdminLoadShareListOKBodyNode

type AdminLoadShareListOKBodyNode struct {

	// label
	Label string `json:"label,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// type
	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

func (*AdminLoadShareListOKBodyNode) Validate

func (m *AdminLoadShareListOKBodyNode) Validate(formats strfmt.Registry) error

Validate validates this admin load share list o k body node

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

func (*AdminWorkspace) Validate

func (m *AdminWorkspace) Validate(formats strfmt.Registry) error

Validate validates this admin workspace

type AdminWorkspaceInfo

type AdminWorkspaceInfo struct {

	// number of children shared from this workspace
	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

func (*AdminWorkspaceInfo) Validate

func (m *AdminWorkspaceInfo) Validate(formats strfmt.Registry) error

Validate validates this admin workspace info

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

func (m *BgAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BgAction) UnmarshalBinary

func (m *BgAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BgAction) Validate

func (m *BgAction) Validate(formats strfmt.Registry) error

Validate validates this bg action

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

func (*ChangesOKBodyItems) Validate

func (m *ChangesOKBodyItems) Validate(formats strfmt.Registry) error

Validate validates this changes o k body items

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

func (*GetWorkspaceInfoOKBody) Validate

func (m *GetWorkspaceInfoOKBody) Validate(formats strfmt.Registry) error

Validate validates this get workspace info o k body

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

func (*InlineResponse200) Validate

func (m *InlineResponse200) Validate(formats strfmt.Registry) error

Validate validates this inline response 200

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

func (*InlineResponse2001) Validate

func (m *InlineResponse2001) Validate(formats strfmt.Registry) error

Validate validates this inline response 200 1

type InputStream

type InputStream string

InputStream InputStream

Simple binary stream swagger:model InputStream

func (InputStream) Validate

func (m InputStream) Validate(formats strfmt.Registry) error

Validate validates this input stream

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

func (m *Node) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Node) UnmarshalBinary

func (m *Node) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Node) Validate

func (m *Node) Validate(formats strfmt.Registry) error

Validate validates this node

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

func (m *NodeList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NodeList) UnmarshalBinary

func (m *NodeList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NodeList) Validate

func (m *NodeList) Validate(formats strfmt.Registry) error

Validate validates this node list

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

func (*NodeListData) Validate

func (m *NodeListData) Validate(formats strfmt.Registry) error

Validate validates this node list data

type NodeListDataChildren

type NodeListDataChildren map[string]Node

NodeListDataChildren node list data children swagger:model nodeListDataChildren

func (NodeListDataChildren) Validate

func (m NodeListDataChildren) Validate(formats strfmt.Registry) error

Validate validates this node list data children

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

func (m *NodesDiff) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NodesDiff) UnmarshalBinary

func (m *NodesDiff) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NodesDiff) Validate

func (m *NodesDiff) Validate(formats strfmt.Registry) error

Validate validates this nodes diff

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

func (*PaginationData) Validate

func (m *PaginationData) Validate(formats strfmt.Registry) error

Validate validates this pagination data

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

func (*PeoplePatch) Validate

func (m *PeoplePatch) Validate(formats strfmt.Registry) error

Validate validates this people patch

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

func (*PydioResponse) Validate

func (m *PydioResponse) Validate(formats strfmt.Registry) error

Validate validates this pydio response

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

func (m *Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Role) UnmarshalBinary

func (m *Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Role) Validate

func (m *Role) Validate(formats strfmt.Registry) error

Validate validates this role

type Share

type Share struct {

	// a j x p a p p l i c a t i o n b a s e
	AJXPAPPLICATIONBASE string `json:"AJXP_APPLICATION_BASE,omitempty"`

	// a j x p t e m p l a t e n a m e
	AJXPTEMPLATENAME string `json:"AJXP_TEMPLATE_NAME,omitempty"`

	// d o w n l o a d d i s a b l e d
	DOWNLOADDISABLED bool `json:"DOWNLOAD_DISABLED,omitempty"`

	// d o w n l o a d l i m i t
	DOWNLOADLIMIT int64 `json:"DOWNLOAD_LIMIT,omitempty"`

	// e x p i r e t i m e
	EXPIRETIME int64 `json:"EXPIRE_TIME,omitempty"`

	// g r o u p s c o u n t
	GROUPSCOUNT int64 `json:"GROUPS_COUNT,omitempty"`

	// o w n e r ID
	OWNERID string `json:"OWNER_ID,omitempty"`

	// p r e l o g u s e r
	PRELOGUSER string `json:"PRELOG_USER,omitempty"`

	// p r e s e t l o g i n
	PRESETLOGIN string `json:"PRESET_LOGIN,omitempty"`

	// r e p o s i t o r y
	REPOSITORY string `json:"REPOSITORY,omitempty"`

	// s h a r e t y p e
	SHARETYPE string `json:"SHARE_TYPE,omitempty"`

	// u s e r s c o u n t
	USERSCOUNT int64 `json:"USERS_COUNT,omitempty"`

	// metadata
	Metadata *ShareMetadata `json:"metadata,omitempty"`
}

Share share swagger:model Share

func (*Share) MarshalBinary

func (m *Share) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Share) UnmarshalBinary

func (m *Share) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Share) Validate

func (m *Share) Validate(formats strfmt.Registry) error

Validate validates this share

type ShareElement

type ShareElement struct {

	// content filter
	ContentFilter map[string]interface{} `json:"content_filter,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// element watch
	ElementWatch bool `json:"element_watch,omitempty"`

	// entries
	Entries []*ShareEntry `json:"entries"`

	// links
	Links interface{} `json:"links,omitempty"`

	// repository url
	RepositoryURL string `json:"repository_url,omitempty"`

	// repositoryid
	Repositoryid string `json:"repositoryid,omitempty"`

	// share owner
	ShareOwner string `json:"share_owner,omitempty"`

	// share scope
	ShareScope string `json:"share_scope,omitempty"`

	// users number
	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

func (*ShareElement) Validate

func (m *ShareElement) Validate(formats strfmt.Registry) error

Validate validates this share element

type ShareElementLinks map[string]ShareLink

ShareElementLinks share element links swagger:model shareElementLinks

func (ShareElementLinks) Validate

func (m ShareElementLinks) Validate(formats strfmt.Registry) error

Validate validates this share element links

type ShareElementLinks0

type ShareElementLinks0 map[string]ShareLink

ShareElementLinks0 share element links0 swagger:model shareElementLinks0

func (ShareElementLinks0) Validate

func (m ShareElementLinks0) Validate(formats strfmt.Registry) error

Validate validates this share element links0

type ShareEntry

type ShareEntry struct {

	// avatar
	Avatar string `json:"avatar,omitempty"`

	// hidden
	Hidden bool `json:"hidden,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// label
	Label string `json:"label,omitempty"`

	// right
	Right string `json:"right,omitempty"`

	// type
	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

func (*ShareEntry) Validate

func (m *ShareEntry) Validate(formats strfmt.Registry) error

Validate validates this share entry

type ShareLink struct {

	// disable download
	DisableDownload bool `json:"disable_download,omitempty"`

	// expire after
	ExpireAfter int64 `json:"expire_after,omitempty"`

	// hash
	Hash interface{} `json:"hash,omitempty"`

	// hash is shorten
	HashIsShorten bool `json:"hash_is_shorten,omitempty"`

	// internal user id
	InternalUserID string `json:"internal_user_id,omitempty"`

	// is expired
	IsExpired bool `json:"is_expired,omitempty"`

	// public
	Public interface{} `json:"public,omitempty"`

	// public link
	PublicLink string `json:"public_link,omitempty"`
}

ShareLink share link swagger:model ShareLink

func (*ShareLink) MarshalBinary

func (m *ShareLink) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ShareLink) UnmarshalBinary

func (m *ShareLink) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ShareLink) Validate

func (m *ShareLink) Validate(formats strfmt.Registry) error

Validate validates this share link

type ShareMetadata

type ShareMetadata struct {

	// ajxp mime
	AjxpMime string `json:"ajxp_mime,omitempty"`

	// ajxp shared
	AjxpShared bool `json:"ajxp_shared,omitempty"`

	// ajxp shared minisite
	AjxpSharedMinisite string `json:"ajxp_shared_minisite,omitempty"`

	// fonticon
	Fonticon string `json:"fonticon,omitempty"`

	// icon
	Icon string `json:"icon,omitempty"`

	// label
	Label string `json:"label,omitempty"`

	// openicon
	Openicon string `json:"openicon,omitempty"`

	// original path
	OriginalPath string `json:"original_path,omitempty"`

	// owner
	Owner string `json:"owner,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// share data
	ShareData string `json:"share_data,omitempty"`

	// share element parent repository label
	ShareElementParentRepositoryLabel string `json:"share_element_parent_repository_label,omitempty"`

	// share type
	ShareType string `json:"share_type,omitempty"`

	// share type readable
	ShareTypeReadable string `json:"share_type_readable,omitempty"`

	// shared element hash
	SharedElementHash interface{} `json:"shared_element_hash,omitempty"`

	// shared element parent repository
	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

func (*ShareMetadata) Validate

func (m *ShareMetadata) Validate(formats strfmt.Registry) error

Validate validates this share metadata

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

func (m *Task) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Task) UnmarshalBinary

func (m *Task) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Task) Validate

func (m *Task) Validate(formats strfmt.Registry) error

Validate validates this task

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

func (*TaskSchedule) Validate

func (m *TaskSchedule) Validate(formats strfmt.Registry) error

Validate validates this task schedule

Jump to

Keyboard shortcuts

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