Documentation ¶
Index ¶
- type Client
- func (comp *Client) FileACLAdd(ctx context.Context, options *request.RequestWebDriveFileACLAdd) (*response2.ResponseWork, error)
- func (comp *Client) FileACLDel(ctx context.Context, options *request.RequestWebDriveFileACLDel) (*response2.ResponseWork, error)
- func (comp *Client) FileCreate(ctx context.Context, options *request.RequestWebDriveFileCreate) (*response.ResponseWebDriveFileCreate, error)
- func (comp *Client) FileDelete(ctx context.Context, options *request.RequestWebDriveFileDelete) (*response2.ResponseWork, error)
- func (comp *Client) FileDownload(ctx context.Context, options *request.RequestWebDriveFileDownload) (*response.ResponseWebDriveFileDownload, error)
- func (comp *Client) FileList(ctx context.Context, options *request.RequestWebDriveFileList) (*response.ResponseWebDriveFileList, error)
- func (comp *Client) FileMove(ctx context.Context, options *request.RequestWebDriveFileMove) (*response.ResponseWebDriveFileMove, error)
- func (comp *Client) FileRename(ctx context.Context, options *request.RequestWebDriveFileRename) (*response.ResponseWebDriveFileRename, error)
- func (comp *Client) FileSetting(ctx context.Context, options *request.RequestWebDriveFileSetting) (*response2.ResponseWork, error)
- func (comp *Client) FileShare(ctx context.Context, options *request.RequestWebDriveFileShare) (*response.ResponseWebDriveFileShare, error)
- func (comp *Client) FileUpload(ctx context.Context, options *request.RequestWebDriveFileUpload) (*response.ResponseWebDriveFileUpload, error)
- func (comp *Client) SpaceACLAdd(ctx context.Context, options *request.RequestWebDriveSpaceACLAdd) (*response2.ResponseWork, error)
- func (comp *Client) SpaceACLDel(ctx context.Context, options *request.RequestWebDriveSpaceACLDel) (*response2.ResponseWork, error)
- func (comp *Client) SpaceCreate(ctx context.Context, options *request.RequestWebDriveSpaceCreate) (*response.ResponseWebDriveSpaceCreate, error)
- func (comp *Client) SpaceDismiss(ctx context.Context, options *request.RequestWebDriveSpaceDismiss) (*response2.ResponseWork, error)
- func (comp *Client) SpaceInfo(ctx context.Context, options *request.RequestWebDriveSpaceInfo) (*response.ResponseWebDriveSpaceInfo, error)
- func (comp *Client) SpaceRename(ctx context.Context, options *request.RequestWebDriveSpaceRename) (*response2.ResponseWork, error)
- func (comp *Client) SpaceSetting(ctx context.Context, options *request.RequestWebDriveSpaceSetting) (*response2.ResponseWork, error)
- func (comp *Client) SpaceShare(ctx context.Context, options *request.RequestWebDriveSpaceShare) (*response.ResponseWebDriveSpaceShare, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseClient *kernel.BaseClient
}
func (*Client) FileACLAdd ¶
func (comp *Client) FileACLAdd(ctx context.Context, options *request.RequestWebDriveFileACLAdd) (*response2.ResponseWork, error)
新增成员 https://developer.work.weixin.qq.com/document/path/93658
func (*Client) FileACLDel ¶
func (comp *Client) FileACLDel(ctx context.Context, options *request.RequestWebDriveFileACLDel) (*response2.ResponseWork, error)
删除成员 https://developer.work.weixin.qq.com/document/path/93658#删除成员
func (*Client) FileCreate ¶
func (comp *Client) FileCreate(ctx context.Context, options *request.RequestWebDriveFileCreate) (*response.ResponseWebDriveFileCreate, error)
新建文件/微文档 https://developer.work.weixin.qq.com/document/path/93657#新建文件文档
func (*Client) FileDelete ¶
func (comp *Client) FileDelete(ctx context.Context, options *request.RequestWebDriveFileDelete) (*response2.ResponseWork, error)
删除文件 https://developer.work.weixin.qq.com/document/path/93657#删除文件
func (*Client) FileDownload ¶
func (comp *Client) FileDownload(ctx context.Context, options *request.RequestWebDriveFileDownload) (*response.ResponseWebDriveFileDownload, error)
下载文件 https://developer.work.weixin.qq.com/document/path/93657#下载文件
func (*Client) FileList ¶
func (comp *Client) FileList(ctx context.Context, options *request.RequestWebDriveFileList) (*response.ResponseWebDriveFileList, error)
获取文件列表 https://developer.work.weixin.qq.com/document/path/93657#获取文件列表
func (*Client) FileMove ¶
func (comp *Client) FileMove(ctx context.Context, options *request.RequestWebDriveFileMove) (*response.ResponseWebDriveFileMove, error)
移动文件 https://developer.work.weixin.qq.com/document/path/93657#移动文件
func (*Client) FileRename ¶
func (comp *Client) FileRename(ctx context.Context, options *request.RequestWebDriveFileRename) (*response.ResponseWebDriveFileRename, error)
重命名文件 https://developer.work.weixin.qq.com/document/path/93657#重命名文件
func (*Client) FileSetting ¶
func (comp *Client) FileSetting(ctx context.Context, options *request.RequestWebDriveFileSetting) (*response2.ResponseWork, error)
分享设置 https://developer.work.weixin.qq.com/document/path/93658#分享设置
func (*Client) FileShare ¶
func (comp *Client) FileShare(ctx context.Context, options *request.RequestWebDriveFileShare) (*response.ResponseWebDriveFileShare, error)
获取分享链接 https://developer.work.weixin.qq.com/document/path/95860#获取分享链接
func (*Client) FileUpload ¶
func (comp *Client) FileUpload(ctx context.Context, options *request.RequestWebDriveFileUpload) (*response.ResponseWebDriveFileUpload, error)
上传文件 https://developer.work.weixin.qq.com/document/path/93657#上传文件
func (*Client) SpaceACLAdd ¶
func (comp *Client) SpaceACLAdd(ctx context.Context, options *request.RequestWebDriveSpaceACLAdd) (*response2.ResponseWork, error)
添加成员/部门 https://developer.work.weixin.qq.com/document/path/93656#添加成员部门
func (*Client) SpaceACLDel ¶
func (comp *Client) SpaceACLDel(ctx context.Context, options *request.RequestWebDriveSpaceACLDel) (*response2.ResponseWork, error)
移除成员/部门 https://developer.work.weixin.qq.com/document/path/93656#移除成员部门
func (*Client) SpaceCreate ¶
func (comp *Client) SpaceCreate(ctx context.Context, options *request.RequestWebDriveSpaceCreate) (*response.ResponseWebDriveSpaceCreate, error)
新建空间 https://developer.work.weixin.qq.com/document/path/93655#新建空间
func (*Client) SpaceDismiss ¶
func (comp *Client) SpaceDismiss(ctx context.Context, options *request.RequestWebDriveSpaceDismiss) (*response2.ResponseWork, error)
解散空间 https://developer.work.weixin.qq.com/document/path/93655#解散空间
func (*Client) SpaceInfo ¶
func (comp *Client) SpaceInfo(ctx context.Context, options *request.RequestWebDriveSpaceInfo) (*response.ResponseWebDriveSpaceInfo, error)
获取空间信息 https://developer.work.weixin.qq.com/document/path/93655#获取空间相册信息
func (*Client) SpaceRename ¶
func (comp *Client) SpaceRename(ctx context.Context, options *request.RequestWebDriveSpaceRename) (*response2.ResponseWork, error)
重命名空间 https://developer.work.weixin.qq.com/document/path/93655#重命名空间
func (*Client) SpaceSetting ¶
func (comp *Client) SpaceSetting(ctx context.Context, options *request.RequestWebDriveSpaceSetting) (*response2.ResponseWork, error)
安全设置 https://developer.work.weixin.qq.com/document/path/93656#安全设置
func (*Client) SpaceShare ¶
func (comp *Client) SpaceShare(ctx context.Context, options *request.RequestWebDriveSpaceShare) (*response.ResponseWebDriveSpaceShare, error)
获取邀请链接 https://developer.work.weixin.qq.com/document/path/93656#获取邀请链接