resourcevo

package
v0.0.0-...-57ed434 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddFsResourceBatchReq

type AddFsResourceBatchReq struct {
	OrgId     int64                          `json:"orgId"`
	UserId    int64                          `json:"userId"`
	ProjectId int64                          `json:"projectId"`
	IssueId   int64                          `json:"issueId"`
	FolderId  int64                          `json:"folderId"`
	Input     []*vo.AddIssueAttachmentFsData `json:"input"`
}

type AddFsResourceBatchResp

type AddFsResourceBatchResp struct {
	vo.Err
	Ids []int64 `json:"ids"`
}

type AddResourceRelationData

type AddResourceRelationData struct {
	ProjectId   int64   `json:"projectId"`
	IssueId     int64   `json:"issueId"`
	SourceType  int     `json:"sourceType"`
	ResourceIds []int64 `json:"resourceIds"`
	ColumnId    string  `json:"columnId"`
}

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 CacheResourceSizeResp struct {
	vo.Err
	Size int64 `json:"size"`
}

type CompleteDeleteFolderReq

type CompleteDeleteFolderReq struct {
	OrgId     int64 `json:"orgId"`
	UserId    int64 `json:"userId"`
	ProjectId int64 `json:"projectId"`
	FolderId  int64 `json:"folderId"`
	RecycleId int64 `json:"recycleId"`
}

type CompleteDeleteResourceReq

type CompleteDeleteResourceReq struct {
	OrgId      int64 `json:"orgId"`
	UserId     int64 `json:"userId"`
	ResourceId int64 `json:"resourceId"`
}

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 CreateResourceRelationData

type CreateResourceRelationData struct {
	ProjectId   int64   `json:"projectId"`
	IssueId     int64   `json:"issueId"`
	ResourceIds []int64 `json:"resourceIds"`
}

type CreateResourceRelationReqVo

type CreateResourceRelationReqVo struct {
	Input  CreateResourceRelationData `json:"input"`
	UserId int64                      `json:"userId"`
	OrgId  int64                      `json:"orgId"`
}

type CreateResourceRelationRespVo

type CreateResourceRelationRespVo struct {
	ResourceIds []int64 `json:"data"`
	vo.Err
}

type CreateResourceReqVo

type CreateResourceReqVo struct {
	CreateResourceBo bo.CreateResourceBo `json:"createResourceBo"`
}

type CreateResourceRespVo

type CreateResourceRespVo struct {
	ResourceId int64 `json:"data"`

	vo.Err
}

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 DeleteFolderData struct {
	FolderIds   []int64
	FolderNames []string
}

type DeleteFolderReqVo

type DeleteFolderReqVo struct {
	Input bo.DeleteFolderBo `json:"deleteFolder"`
}

type DeleteFolderRespVo

type DeleteFolderRespVo struct {
	*DeleteFolderData
	vo.Err
}

type DeleteResourceRelationData

type DeleteResourceRelationData struct {
	ProjectId        int64   `json:"projectId"`
	IssueIds         []int64 `json:"issueIds"`
	SourceTypes      []int   `json:"sourceTypes"`
	RecycleVersionId int64   `json:"recycleVersionId"`
}

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 DingDocumentData struct {
	DocId   string `json:"docId"`
	DocName string `json:"docName"`
	DocUrl  string `json:"docUrl"`
}

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 DingFileListReqData struct {
	//Code      string `json:"code"`      // 免登授权码
	//DingUserId string `json:"dingUserId"` // 用户userid
	SpaceType string `json:"spaceType"` // 空间类型  personal:私人空间, org:企业空间
	SpaceName string `json:"spaceName"` // 空间名称
}

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 DingSpaceFileReq struct {
	SpaceId string `json:"spaceId"`
	DirId   string `json:"dirId"`
	Size    int    `json:"size"`
}

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 DingSpaceListResp struct {
	vo.Err
	Data []*SpaceInfo `json:"data"`
}

type DingSpaceReq

type DingSpaceReq struct {
	SpaceType  string `json:"spaceType"`  // 企业空间 org
	NextToken  string `json:"nextToken"`  // 分页游标
	MaxResults int    `json:"maxResults"` // 分页大小
}

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 GetFolderInfoBasicReqVo struct {
	OrgId     int64   `json:"orgId"`
	FolderIds []int64 `json:"folderIds"`
}

type GetFolderInfoBasicRespVo

type GetFolderInfoBasicRespVo struct {
	vo.Err
	Data []vo.Folder `json:"data"`
}

type GetFolderReqVo

type GetFolderReqVo struct {
	Input bo.GetFolderBo `json:"getFolderBo"`
}

type GetFolderVoListRespVo

type GetFolderVoListRespVo struct {
	*vo.FolderList `json:"data"`

	vo.Err
}

type GetIdByPathReqVo

type GetIdByPathReqVo struct {
	OrgId        int64  `json:"orgId"`
	ResourcePath string `json:"resourcePath"`
	ResourceType int    `json:"resourceType"`
}

type GetIdByPathRespVo

type GetIdByPathRespVo struct {
	ResourceId int64 `json:"data"`

	vo.Err
}

type GetIssueIdsByResourceIdsReq

type GetIssueIdsByResourceIdsReq struct {
	ProjectId   int64   `json:"projectId"`
	ResourceIds []int64 `json:"resourceIds"`
}

type GetIssueIdsByResourceIdsReqVo

type GetIssueIdsByResourceIdsReqVo struct {
	OrgId  int64                       `json:"orgId"`
	UserId int64                       `json:"userId"`
	Input  GetIssueIdsByResourceIdsReq `json:"input"`
}

type GetIssueIdsByResourceIdsResp

type GetIssueIdsByResourceIdsResp struct {
	ResourceId int64   `json:"resourceId"`
	IssueIds   []int64 `json:"issueIds"`
}

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 GetResourceBoListCond struct {
	OrgId       int64    `json:"orgId"`
	ResourceIds *[]int64 `json:"resourceIds"`
	IsDelete    *int     `json:"isDelete"`
}

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 GetResourceRelationsByProjectIdData

type GetResourceRelationsByProjectIdData struct {
	ProjectId   int64   `json:"projectId"`
	SourceTypes []int32 `json:"sourceTypes"`
}

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 GetResourceVoInfoRespVo struct {
	*vo.Resource `json:"data"`

	vo.Err
}

type GetResourceVoListRespVo

type GetResourceVoListRespVo struct {
	*vo.ResourceList `json:"data"`

	vo.Err
}

type InsertResourceReqData

type InsertResourceReqData struct {
	ResourcePath  string `json:"resourcePath"`
	OrgId         int64  `json:"orgId"`
	CurrentUserId int64  `json:"currentUserId"`
	ResourceType  int    `json:"resourceType"`
	FileName      string `json:"fileName"`
}

type InsertResourceReqVo

type InsertResourceReqVo struct {
	Input InsertResourceReqData `json:"input"`
}

type InsertResourceRespVo

type InsertResourceRespVo struct {
	ResourceId int64 `json:"data"`

	vo.Err
}

type OssApplySignURLReqVo

type OssApplySignURLReqVo struct {
	OrgId  int64                 `json:"orgId"`
	UserId int64                 `json:"userId"`
	Input  vo.OssApplySignURLReq `json:"input"`
}

type RecoverFolderData

type RecoverFolderData struct {
	ProjectId int64 `json:"projectId"`
	FolderId  int64 `json:"folderId"`
	RecycleId int64 `json:"recycleId"`
}

type RecoverFolderReqVo

type RecoverFolderReqVo struct {
	OrgId  int64             `json:"orgId"`
	UserId int64             `json:"userId"`
	Input  RecoverFolderData `json:"input"`
}

type RecoverFolderRespVo

type RecoverFolderRespVo struct {
	vo.Err
	Data *bo.FolderBo `json:"data"`
}

type RecoverResourceData

type RecoverResourceData struct {
	ProjectId        int64   `json:"projectId"`
	IssueIds         []int64 `json:"issueIds"`
	ResourceId       int64   `json:"resourceId"`
	RecycleVersionId int64   `json:"recycleVersionId"`
	AppId            int64   `json:"appId"`
}

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 ResourceRelationVo struct {
	Id           int64  `json:"id"`
	OrgId        int64  `json:"orgId"`
	ProjectId    int64  `json:"projectId"`
	IssueId      int64  `json:"issueId"`
	ResourceId   int64  `json:"resourceId"`
	SourceType   int    `json:"sourceType"`
	ColumnId     string `json:"columnId"`
	ResourceType int    `json:"resourceType"`
}

type SpaceInfo

type SpaceInfo struct {
	SpaceId        string // 空间Id
	SpaceName      string // 空间名称
	Quota          int64  // 空间总额度
	UsedQuota      int64  // 空间已使用额度
	PermissionMode string // 授权模式
}

钉钉团队空间信息

type UpdateFolderData

type UpdateFolderData struct {
	FolderId     int64
	FolderName   *string
	UpdateFields []string
	OldValue     *string
	NewValue     *string
}

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 UpdateResourceRelationProjectIdData

type UpdateResourceRelationProjectIdData struct {
	ProjectId int64   `json:"projectId"`
	IssueIds  []int64 `json:"issueIds"`
}

type UpdateResourceRelationProjectIdReqVo

type UpdateResourceRelationProjectIdReqVo struct {
	OrgId  int64                               `json:"orgId"`
	UserId int64                               `json:"userId"`
	Input  UpdateResourceRelationProjectIdData `json:"input"`
}

Jump to

Keyboard shortcuts

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