Documentation ¶
Index ¶
- type AddFsResourceBatchReq
- type AddFsResourceBatchResp
- type AddResourceRelationData
- type AddResourceRelationReq
- type CacheResourceSizeReq
- type CacheResourceSizeResp
- type CompleteDeleteFolderReq
- type CompleteDeleteResourceReq
- type CreateFolderReqVo
- type CreateIssueResourceReqVo
- type CreateResourceRelationData
- type CreateResourceRelationReqVo
- type CreateResourceRelationRespVo
- type CreateResourceReqVo
- type CreateResourceRespVo
- type DeleteAttachmentRelationData
- type DeleteAttachmentRelationReq
- type DeleteFolderData
- type DeleteFolderReqVo
- type DeleteFolderRespVo
- type DeleteResourceRelationData
- type DeleteResourceRelationReqVo
- type DeleteResourceReqVo
- type DingDocReq
- type DingDocReqData
- type DingDocumentData
- type DingDocumentResp
- type DingDocumentRespVo
- type DingFileListData
- type DingFileListReq
- type DingFileListReqData
- type DingFileListResp
- type DingFileListRespVo
- type DingSpaceFileReq
- type DingSpaceFileReqVo
- type DingSpaceFileResp
- type DingSpaceListResp
- type DingSpaceReq
- type DingSpaceReqVo
- type FsDocumentLisReqData
- type FsDocumentListReq
- type FsDocumentListResp
- type GetFolderInfoBasicReqVo
- type GetFolderInfoBasicRespVo
- type GetFolderReqVo
- type GetFolderVoListRespVo
- type GetIdByPathReqVo
- type GetIdByPathRespVo
- type GetIssueIdsByResourceIdsReq
- type GetIssueIdsByResourceIdsReqVo
- type GetIssueIdsByResourceIdsResp
- type GetIssueIdsByResourceIdsRespVo
- type GetOssPostPolicyReqVo
- type GetOssPostPolicyRespVo
- type GetOssSignURLRespVo
- type GetResourceBoListCond
- type GetResourceBoListReqVo
- type GetResourceBoListRespData
- type GetResourceBoListRespVo
- type GetResourceByIdReqBody
- type GetResourceByIdReqVo
- type GetResourceByIdRespVo
- type GetResourceInfoReqVo
- type GetResourceRelationList
- type GetResourceRelationListReq
- type GetResourceRelationListResp
- type GetResourceRelationsByProjectIdData
- type GetResourceRelationsByProjectIdReqVo
- type GetResourceRelationsByProjectIdRespVo
- type GetResourceReqVo
- type GetResourceVoInfoRespVo
- type GetResourceVoListRespVo
- type InsertResourceReqData
- type InsertResourceReqVo
- type InsertResourceRespVo
- type OssApplySignURLReqVo
- type RecoverFolderData
- type RecoverFolderReqVo
- type RecoverFolderRespVo
- type RecoverResourceData
- type RecoverResourceReqVo
- type RecoverResourceRespVo
- type ResourceRelationVo
- type SpaceInfo
- type UpdateFolderData
- type UpdateFolderReqVo
- type UpdateFolderRespVo
- type UpdateResourceData
- type UpdateResourceFolderReqVo
- type UpdateResourceInfoReqVo
- type UpdateResourceInfoResVo
- type UpdateResourceRelationProjectIdData
- type UpdateResourceRelationProjectIdReqVo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddFsResourceBatchReq ¶
type AddFsResourceBatchResp ¶
type AddResourceRelationData ¶
type AddResourceRelationReq ¶
type AddResourceRelationReq struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Input *AddResourceRelationData `json:"input"` }
type CacheResourceSizeReq ¶
type CacheResourceSizeReq struct {
OrgId int64 `json:"orgId"`
}
type CacheResourceSizeResp ¶
type CompleteDeleteFolderReq ¶
type CreateFolderReqVo ¶
type CreateFolderReqVo struct {
Input bo.CreateFolderBo `json:"createfolder"`
}
type CreateIssueResourceReqVo ¶
type CreateIssueResourceReqVo struct { Input vo.CreateProjectResourceReq `json:"input"` UserId int64 `json:"userId"` OrgId int64 `json:"orgId"` }
type CreateResourceRelationReqVo ¶
type CreateResourceRelationReqVo struct { Input CreateResourceRelationData `json:"input"` UserId int64 `json:"userId"` OrgId int64 `json:"orgId"` }
type CreateResourceReqVo ¶
type CreateResourceReqVo struct {
CreateResourceBo bo.CreateResourceBo `json:"createResourceBo"`
}
type CreateResourceRespVo ¶
type DeleteAttachmentRelationData ¶
type DeleteAttachmentRelationData struct { ProjectId int64 `json:"projectId"` IssueIds []int64 `json:"issueIds"` RecycleVersionId int64 `json:"recycleVersionId"` ColumnId string `json:"columnId"` ResourceIds []int64 `json:"resourceIds"` IsDeleteResource bool `json:"isDeleteResource"` // 是否删除资源本身(目前只在删除表、删除附件列的情况下使用) }
type DeleteAttachmentRelationReq ¶
type DeleteAttachmentRelationReq struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Input *DeleteAttachmentRelationData `json:"input"` }
type DeleteFolderData ¶
type DeleteFolderReqVo ¶
type DeleteFolderReqVo struct {
Input bo.DeleteFolderBo `json:"deleteFolder"`
}
type DeleteFolderRespVo ¶
type DeleteFolderRespVo struct { *DeleteFolderData vo.Err }
type DeleteResourceRelationReqVo ¶
type DeleteResourceRelationReqVo struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Input DeleteResourceRelationData `json:"input"` }
type DeleteResourceReqVo ¶
type DeleteResourceReqVo struct {
Input bo.DeleteResourceBo `json:"deleteResourceBo"`
}
type DingDocReq ¶
type DingDocReq struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Page int `json:"page"` Size int `json:"size"` Input *DingDocReqData `json:"input"` }
type DingDocReqData ¶
type DingDocReqData struct { }
type DingDocumentData ¶
type DingDocumentResp ¶
type DingDocumentResp struct { Total int64 `json:"total"` List []*DingDocumentData `json:"list"` }
type DingDocumentRespVo ¶
type DingDocumentRespVo struct { vo.Err Data *DingDocumentResp `json:"data"` }
type DingFileListData ¶
type DingFileListData struct { FileType string `json:"fileType"` // 文件类型, 文件、文件夹 ContentType string `json:"contentType"` // 文件内容类型, text、document、image等 ParentId string `json:"parentId"` // 父目录id FileId string `json:"fileId"` // 文件id FileName string `json:"fileName"` // 文件名称 FilePath string `json:"filePath"` // 文件路径 FileExtension string `json:"fileExtension"` // 文件后缀名 FileSize int64 `json:"fileSize"` // 文件大小 Creator string `json:"creator"` // 创建者id Modifier string `json:"modifier"` // 修改者id OwnerName string `json:"ownerName"` // 所有者名字 }
type DingFileListReq ¶
type DingFileListReq struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Page int `json:"page"` Size int `json:"size"` Input DingFileListReqData `json:"input"` }
type DingFileListReqData ¶
type DingFileListResp ¶
type DingFileListResp struct { Total int64 `json:"total"` List []*DingFileListData `json:"list"` }
type DingFileListRespVo ¶
type DingFileListRespVo struct { vo.Err Data *DingFileListResp `json:"data"` }
type DingSpaceFileReq ¶
type DingSpaceFileReqVo ¶
type DingSpaceFileReqVo struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Input *DingSpaceFileReq `json:"input"` }
type DingSpaceFileResp ¶
type DingSpaceFileResp struct { vo.Err Data []*DingFileListData `json:"data"` }
type DingSpaceListResp ¶
type DingSpaceReq ¶
type DingSpaceReqVo ¶
type DingSpaceReqVo struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Input *DingSpaceReq `json:"input"` }
type FsDocumentLisReqData ¶
type FsDocumentLisReqData struct {
SearchKey string `json:"searchKey"`
}
type FsDocumentListReq ¶
type FsDocumentListReq struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Page int `json:"page"` Size int `json:"size"` Params FsDocumentLisReqData `json:"params"` }
type FsDocumentListResp ¶
type FsDocumentListResp struct { vo.Err Data *vo.FsDocumentListResp `json:"data"` }
type GetFolderInfoBasicReqVo ¶
type GetFolderReqVo ¶
type GetFolderReqVo struct {
Input bo.GetFolderBo `json:"getFolderBo"`
}
type GetFolderVoListRespVo ¶
type GetFolderVoListRespVo struct { *vo.FolderList `json:"data"` vo.Err }
type GetIdByPathReqVo ¶
type GetIdByPathRespVo ¶
type GetIssueIdsByResourceIdsReqVo ¶
type GetIssueIdsByResourceIdsReqVo struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Input GetIssueIdsByResourceIdsReq `json:"input"` }
type GetIssueIdsByResourceIdsRespVo ¶
type GetIssueIdsByResourceIdsRespVo struct { vo.Err Data []GetIssueIdsByResourceIdsResp `json:"data"` }
type GetOssPostPolicyReqVo ¶
type GetOssPostPolicyReqVo struct { Input vo.OssPostPolicyReq `json:"input"` OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` }
type GetOssPostPolicyRespVo ¶
type GetOssPostPolicyRespVo struct { vo.Err GetOssPostPolicy *vo.OssPostPolicyResp `json:"data"` }
type GetOssSignURLRespVo ¶
type GetOssSignURLRespVo struct { vo.Err GetOssSignURL *vo.OssApplySignURLResp `json:"data"` }
type GetResourceBoListCond ¶
type GetResourceBoListReqVo ¶
type GetResourceBoListReqVo struct { Page uint `json:"page"` Size uint `json:"size"` Input GetResourceBoListCond `json:"cond"` }
type GetResourceBoListRespData ¶
type GetResourceBoListRespData struct { ResourceBos *[]bo.ResourceBo `json:"resourceBos"` Total int64 `json:"total"` }
type GetResourceBoListRespVo ¶
type GetResourceBoListRespVo struct { GetResourceBoListRespData `json:"data"` vo.Err }
type GetResourceByIdReqBody ¶
type GetResourceByIdReqBody struct {
ResourceIds []int64 `json:"resourceIds"`
}
type GetResourceByIdReqVo ¶
type GetResourceByIdReqVo struct {
GetResourceByIdReqBody GetResourceByIdReqBody `json:"getResourceByIdReqBody"`
}
type GetResourceByIdRespVo ¶
type GetResourceByIdRespVo struct { ResourceBos []bo.ResourceBo `json:"data"` vo.Err }
type GetResourceInfoReqVo ¶
type GetResourceInfoReqVo struct {
Input bo.GetResourceInfoBo `json:"getResourceInfoBo"`
}
type GetResourceRelationList ¶
type GetResourceRelationList struct { ProjectId int64 `json:"projectId"` SourceTypes []int32 `json:"sourceTypes"` // sourceType是 osspolicy的type类型 ResourceIds []int64 `json:"resourceIds"` IsDelete int `json:"isDelete"` VersionId int `json:"versionId"` IsNeedResourceType bool `json:"isNeedResourceType"` // 是否需要资源的type类型 }
type GetResourceRelationListReq ¶
type GetResourceRelationListReq struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Input *GetResourceRelationList `json:"input"` }
type GetResourceRelationListResp ¶
type GetResourceRelationListResp struct { vo.Err Data []ResourceRelationVo `json:"data"` }
type GetResourceRelationsByProjectIdReqVo ¶
type GetResourceRelationsByProjectIdReqVo struct { Input GetResourceRelationsByProjectIdData `json:"input"` UserId int64 `json:"userId"` OrgId int64 `json:"orgId"` }
type GetResourceRelationsByProjectIdRespVo ¶
type GetResourceRelationsByProjectIdRespVo struct { ResourceRelations []ResourceRelationVo `json:"data"` vo.Err }
type GetResourceReqVo ¶
type GetResourceReqVo struct {
Input bo.GetResourceBo `json:"getResourceBo"`
}
type GetResourceVoInfoRespVo ¶
type GetResourceVoListRespVo ¶
type GetResourceVoListRespVo struct { *vo.ResourceList `json:"data"` vo.Err }
type InsertResourceReqData ¶
type InsertResourceReqVo ¶
type InsertResourceReqVo struct {
Input InsertResourceReqData `json:"input"`
}
type InsertResourceRespVo ¶
type OssApplySignURLReqVo ¶
type OssApplySignURLReqVo struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Input vo.OssApplySignURLReq `json:"input"` }
type RecoverFolderData ¶
type RecoverFolderReqVo ¶
type RecoverFolderReqVo struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Input RecoverFolderData `json:"input"` }
type RecoverFolderRespVo ¶
type RecoverResourceData ¶
type RecoverResourceReqVo ¶
type RecoverResourceReqVo struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` SourceChannel string `json:"sourceChannel"` Input RecoverResourceData `json:"input"` }
type RecoverResourceRespVo ¶
type RecoverResourceRespVo struct { vo.Err Data *bo.ResourceBo `json:"data"` }
type ResourceRelationVo ¶
type SpaceInfo ¶
type SpaceInfo struct { SpaceId string // 空间Id SpaceName string // 空间名称 Quota int64 // 空间总额度 UsedQuota int64 // 空间已使用额度 PermissionMode string // 授权模式 }
钉钉团队空间信息
type UpdateFolderData ¶
type UpdateFolderReqVo ¶
type UpdateFolderReqVo struct {
Input bo.UpdateFolderBo `json:"updateFolderBo"`
}
type UpdateFolderRespVo ¶
type UpdateFolderRespVo struct { *UpdateFolderData vo.Err }
type UpdateResourceData ¶
type UpdateResourceData struct { OldBo []bo.ResourceBo NewBo []bo.ResourceBo CurrentFolderName *string TargetFolderName *string }
type UpdateResourceFolderReqVo ¶
type UpdateResourceFolderReqVo struct {
Input bo.UpdateResourceFolderBo `json:"updateResourceBo"`
}
type UpdateResourceInfoReqVo ¶
type UpdateResourceInfoReqVo struct {
Input bo.UpdateResourceInfoBo `json:"updateResourceBo"`
}
type UpdateResourceInfoResVo ¶
type UpdateResourceInfoResVo struct { *UpdateResourceData vo.Err }
type UpdateResourceRelationProjectIdReqVo ¶
type UpdateResourceRelationProjectIdReqVo struct { OrgId int64 `json:"orgId"` UserId int64 `json:"userId"` Input UpdateResourceRelationProjectIdData `json:"input"` }
Click to show internal directories.
Click to hide internal directories.