Documentation ¶
Index ¶
- func GenReqDefForAddApplyJoinProjectForAgc() *def.HttpRequestDef
- func GenReqDefForAddMemberV4() *def.HttpRequestDef
- func GenReqDefForBatchAddMembersV4() *def.HttpRequestDef
- func GenReqDefForBatchDeleteIssuesV4() *def.HttpRequestDef
- func GenReqDefForBatchDeleteIterationsV4() *def.HttpRequestDef
- func GenReqDefForBatchDeleteMembersV4() *def.HttpRequestDef
- func GenReqDefForCheckProjectNameV4() *def.HttpRequestDef
- func GenReqDefForCreateIssueV4() *def.HttpRequestDef
- func GenReqDefForCreateIterationV4() *def.HttpRequestDef
- func GenReqDefForCreateProjectV4() *def.HttpRequestDef
- func GenReqDefForDeleteIssueV4() *def.HttpRequestDef
- func GenReqDefForDeleteIterationV4() *def.HttpRequestDef
- func GenReqDefForDeleteProjectV4() *def.HttpRequestDef
- func GenReqDefForListChildIssuesV4() *def.HttpRequestDef
- func GenReqDefForListDomainNotAddedProjectsV4() *def.HttpRequestDef
- func GenReqDefForListIssueCommentsV4() *def.HttpRequestDef
- func GenReqDefForListIssueRecordsV4() *def.HttpRequestDef
- func GenReqDefForListIssuesV4() *def.HttpRequestDef
- func GenReqDefForListProjectBugStaticsV4() *def.HttpRequestDef
- func GenReqDefForListProjectDemandStaticV4() *def.HttpRequestDef
- func GenReqDefForListProjectIterationsV4() *def.HttpRequestDef
- func GenReqDefForListProjectMembersV4() *def.HttpRequestDef
- func GenReqDefForListProjectWorkHours() *def.HttpRequestDef
- func GenReqDefForListProjectsV4() *def.HttpRequestDef
- func GenReqDefForRemoveProject() *def.HttpRequestDef
- func GenReqDefForShowCurUserInfo() *def.HttpRequestDef
- func GenReqDefForShowCurUserRole() *def.HttpRequestDef
- func GenReqDefForShowIssueV4() *def.HttpRequestDef
- func GenReqDefForShowIterationV4() *def.HttpRequestDef
- func GenReqDefForShowProjectSummaryV4() *def.HttpRequestDef
- func GenReqDefForShowProjectWorkHours() *def.HttpRequestDef
- func GenReqDefForShowtIssueCompletionRate() *def.HttpRequestDef
- func GenReqDefForUpdateIssueV4() *def.HttpRequestDef
- func GenReqDefForUpdateIterationV4() *def.HttpRequestDef
- func GenReqDefForUpdateMembesRoleV4() *def.HttpRequestDef
- func GenReqDefForUpdateNickNameV4() *def.HttpRequestDef
- func GenReqDefForUpdateProjectV4() *def.HttpRequestDef
- func ProjectManClientBuilder() *http_client.HcHttpClientBuilder
- type ProjectManClient
- func (c *ProjectManClient) AddApplyJoinProjectForAgc(request *model.AddApplyJoinProjectForAgcRequest) (*model.AddApplyJoinProjectForAgcResponse, error)
- func (c *ProjectManClient) AddMemberV4(request *model.AddMemberV4Request) (*model.AddMemberV4Response, error)
- func (c *ProjectManClient) BatchAddMembersV4(request *model.BatchAddMembersV4Request) (*model.BatchAddMembersV4Response, error)
- func (c *ProjectManClient) BatchDeleteIssuesV4(request *model.BatchDeleteIssuesV4Request) (*model.BatchDeleteIssuesV4Response, error)
- func (c *ProjectManClient) BatchDeleteIterationsV4(request *model.BatchDeleteIterationsV4Request) (*model.BatchDeleteIterationsV4Response, error)
- func (c *ProjectManClient) BatchDeleteMembersV4(request *model.BatchDeleteMembersV4Request) (*model.BatchDeleteMembersV4Response, error)
- func (c *ProjectManClient) CheckProjectNameV4(request *model.CheckProjectNameV4Request) (*model.CheckProjectNameV4Response, error)
- func (c *ProjectManClient) CreateIssueV4(request *model.CreateIssueV4Request) (*model.CreateIssueV4Response, error)
- func (c *ProjectManClient) CreateIterationV4(request *model.CreateIterationV4Request) (*model.CreateIterationV4Response, error)
- func (c *ProjectManClient) CreateProjectV4(request *model.CreateProjectV4Request) (*model.CreateProjectV4Response, error)
- func (c *ProjectManClient) DeleteIssueV4(request *model.DeleteIssueV4Request) (*model.DeleteIssueV4Response, error)
- func (c *ProjectManClient) DeleteIterationV4(request *model.DeleteIterationV4Request) (*model.DeleteIterationV4Response, error)
- func (c *ProjectManClient) DeleteProjectV4(request *model.DeleteProjectV4Request) (*model.DeleteProjectV4Response, error)
- func (c *ProjectManClient) ListChildIssuesV4(request *model.ListChildIssuesV4Request) (*model.ListChildIssuesV4Response, error)
- func (c *ProjectManClient) ListDomainNotAddedProjectsV4(request *model.ListDomainNotAddedProjectsV4Request) (*model.ListDomainNotAddedProjectsV4Response, error)
- func (c *ProjectManClient) ListIssueCommentsV4(request *model.ListIssueCommentsV4Request) (*model.ListIssueCommentsV4Response, error)
- func (c *ProjectManClient) ListIssueRecordsV4(request *model.ListIssueRecordsV4Request) (*model.ListIssueRecordsV4Response, error)
- func (c *ProjectManClient) ListIssuesV4(request *model.ListIssuesV4Request) (*model.ListIssuesV4Response, error)
- func (c *ProjectManClient) ListProjectBugStaticsV4(request *model.ListProjectBugStaticsV4Request) (*model.ListProjectBugStaticsV4Response, error)
- func (c *ProjectManClient) ListProjectDemandStaticV4(request *model.ListProjectDemandStaticV4Request) (*model.ListProjectDemandStaticV4Response, error)
- func (c *ProjectManClient) ListProjectIterationsV4(request *model.ListProjectIterationsV4Request) (*model.ListProjectIterationsV4Response, error)
- func (c *ProjectManClient) ListProjectMembersV4(request *model.ListProjectMembersV4Request) (*model.ListProjectMembersV4Response, error)
- func (c *ProjectManClient) ListProjectWorkHours(request *model.ListProjectWorkHoursRequest) (*model.ListProjectWorkHoursResponse, error)
- func (c *ProjectManClient) ListProjectsV4(request *model.ListProjectsV4Request) (*model.ListProjectsV4Response, error)
- func (c *ProjectManClient) RemoveProject(request *model.RemoveProjectRequest) (*model.RemoveProjectResponse, error)
- func (c *ProjectManClient) ShowCurUserInfo(request *model.ShowCurUserInfoRequest) (*model.ShowCurUserInfoResponse, error)
- func (c *ProjectManClient) ShowCurUserRole(request *model.ShowCurUserRoleRequest) (*model.ShowCurUserRoleResponse, error)
- func (c *ProjectManClient) ShowIssueV4(request *model.ShowIssueV4Request) (*model.ShowIssueV4Response, error)
- func (c *ProjectManClient) ShowIterationV4(request *model.ShowIterationV4Request) (*model.ShowIterationV4Response, error)
- func (c *ProjectManClient) ShowProjectSummaryV4(request *model.ShowProjectSummaryV4Request) (*model.ShowProjectSummaryV4Response, error)
- func (c *ProjectManClient) ShowProjectWorkHours(request *model.ShowProjectWorkHoursRequest) (*model.ShowProjectWorkHoursResponse, error)
- func (c *ProjectManClient) ShowtIssueCompletionRate(request *model.ShowtIssueCompletionRateRequest) (*model.ShowtIssueCompletionRateResponse, error)
- func (c *ProjectManClient) UpdateIssueV4(request *model.UpdateIssueV4Request) (*model.UpdateIssueV4Response, error)
- func (c *ProjectManClient) UpdateIterationV4(request *model.UpdateIterationV4Request) (*model.UpdateIterationV4Response, error)
- func (c *ProjectManClient) UpdateMembesRoleV4(request *model.UpdateMembesRoleV4Request) (*model.UpdateMembesRoleV4Response, error)
- func (c *ProjectManClient) UpdateNickNameV4(request *model.UpdateNickNameV4Request) (*model.UpdateNickNameV4Response, error)
- func (c *ProjectManClient) UpdateProjectV4(request *model.UpdateProjectV4Request) (*model.UpdateProjectV4Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForAddApplyJoinProjectForAgc ¶
func GenReqDefForAddApplyJoinProjectForAgc() *def.HttpRequestDef
func GenReqDefForAddMemberV4 ¶
func GenReqDefForAddMemberV4() *def.HttpRequestDef
func GenReqDefForBatchAddMembersV4 ¶
func GenReqDefForBatchAddMembersV4() *def.HttpRequestDef
func GenReqDefForBatchDeleteIssuesV4 ¶
func GenReqDefForBatchDeleteIssuesV4() *def.HttpRequestDef
func GenReqDefForBatchDeleteIterationsV4 ¶
func GenReqDefForBatchDeleteIterationsV4() *def.HttpRequestDef
func GenReqDefForBatchDeleteMembersV4 ¶
func GenReqDefForBatchDeleteMembersV4() *def.HttpRequestDef
func GenReqDefForCheckProjectNameV4 ¶
func GenReqDefForCheckProjectNameV4() *def.HttpRequestDef
func GenReqDefForCreateIssueV4 ¶
func GenReqDefForCreateIssueV4() *def.HttpRequestDef
func GenReqDefForCreateIterationV4 ¶
func GenReqDefForCreateIterationV4() *def.HttpRequestDef
func GenReqDefForCreateProjectV4 ¶
func GenReqDefForCreateProjectV4() *def.HttpRequestDef
func GenReqDefForDeleteIssueV4 ¶
func GenReqDefForDeleteIssueV4() *def.HttpRequestDef
func GenReqDefForDeleteIterationV4 ¶
func GenReqDefForDeleteIterationV4() *def.HttpRequestDef
func GenReqDefForDeleteProjectV4 ¶
func GenReqDefForDeleteProjectV4() *def.HttpRequestDef
func GenReqDefForListChildIssuesV4 ¶
func GenReqDefForListChildIssuesV4() *def.HttpRequestDef
func GenReqDefForListDomainNotAddedProjectsV4 ¶
func GenReqDefForListDomainNotAddedProjectsV4() *def.HttpRequestDef
func GenReqDefForListIssueCommentsV4 ¶
func GenReqDefForListIssueCommentsV4() *def.HttpRequestDef
func GenReqDefForListIssueRecordsV4 ¶
func GenReqDefForListIssueRecordsV4() *def.HttpRequestDef
func GenReqDefForListIssuesV4 ¶
func GenReqDefForListIssuesV4() *def.HttpRequestDef
func GenReqDefForListProjectBugStaticsV4 ¶
func GenReqDefForListProjectBugStaticsV4() *def.HttpRequestDef
func GenReqDefForListProjectDemandStaticV4 ¶
func GenReqDefForListProjectDemandStaticV4() *def.HttpRequestDef
func GenReqDefForListProjectIterationsV4 ¶
func GenReqDefForListProjectIterationsV4() *def.HttpRequestDef
func GenReqDefForListProjectMembersV4 ¶
func GenReqDefForListProjectMembersV4() *def.HttpRequestDef
func GenReqDefForListProjectWorkHours ¶
func GenReqDefForListProjectWorkHours() *def.HttpRequestDef
func GenReqDefForListProjectsV4 ¶
func GenReqDefForListProjectsV4() *def.HttpRequestDef
func GenReqDefForRemoveProject ¶
func GenReqDefForRemoveProject() *def.HttpRequestDef
func GenReqDefForShowCurUserInfo ¶
func GenReqDefForShowCurUserInfo() *def.HttpRequestDef
func GenReqDefForShowCurUserRole ¶
func GenReqDefForShowCurUserRole() *def.HttpRequestDef
func GenReqDefForShowIssueV4 ¶
func GenReqDefForShowIssueV4() *def.HttpRequestDef
func GenReqDefForShowIterationV4 ¶
func GenReqDefForShowIterationV4() *def.HttpRequestDef
func GenReqDefForShowProjectSummaryV4 ¶
func GenReqDefForShowProjectSummaryV4() *def.HttpRequestDef
func GenReqDefForShowProjectWorkHours ¶
func GenReqDefForShowProjectWorkHours() *def.HttpRequestDef
func GenReqDefForShowtIssueCompletionRate ¶
func GenReqDefForShowtIssueCompletionRate() *def.HttpRequestDef
func GenReqDefForUpdateIssueV4 ¶
func GenReqDefForUpdateIssueV4() *def.HttpRequestDef
func GenReqDefForUpdateIterationV4 ¶
func GenReqDefForUpdateIterationV4() *def.HttpRequestDef
func GenReqDefForUpdateMembesRoleV4 ¶
func GenReqDefForUpdateMembesRoleV4() *def.HttpRequestDef
func GenReqDefForUpdateNickNameV4 ¶
func GenReqDefForUpdateNickNameV4() *def.HttpRequestDef
func GenReqDefForUpdateProjectV4 ¶
func GenReqDefForUpdateProjectV4() *def.HttpRequestDef
func ProjectManClientBuilder ¶
func ProjectManClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type ProjectManClient ¶
type ProjectManClient struct {
HcClient *http_client.HcHttpClient
}
func NewProjectManClient ¶
func NewProjectManClient(hcClient *http_client.HcHttpClient) *ProjectManClient
func (*ProjectManClient) AddApplyJoinProjectForAgc ¶
func (c *ProjectManClient) AddApplyJoinProjectForAgc(request *model.AddApplyJoinProjectForAgcRequest) (*model.AddApplyJoinProjectForAgcResponse, error)
AGC调用 当前用户申请加入项目, 申请的用户id写在header中
func (*ProjectManClient) AddMemberV4 ¶
func (c *ProjectManClient) AddMemberV4(request *model.AddMemberV4Request) (*model.AddMemberV4Response, error)
添加项目成员,可以添加跨租户成员
func (*ProjectManClient) BatchAddMembersV4 ¶
func (c *ProjectManClient) BatchAddMembersV4(request *model.BatchAddMembersV4Request) (*model.BatchAddMembersV4Response, error)
批量添加项目成员,只能添加和项目创建者同一租户下的成员,不正确的用户id会略过,添加的用户超过权限的,默认角色设置为7
func (*ProjectManClient) BatchDeleteIssuesV4 ¶
func (c *ProjectManClient) BatchDeleteIssuesV4(request *model.BatchDeleteIssuesV4Request) (*model.BatchDeleteIssuesV4Response, error)
批量删除工作项
func (*ProjectManClient) BatchDeleteIterationsV4 ¶
func (c *ProjectManClient) BatchDeleteIterationsV4(request *model.BatchDeleteIterationsV4Request) (*model.BatchDeleteIterationsV4Response, error)
批量删除项目的迭代
func (*ProjectManClient) BatchDeleteMembersV4 ¶
func (c *ProjectManClient) BatchDeleteMembersV4(request *model.BatchDeleteMembersV4Request) (*model.BatchDeleteMembersV4Response, error)
批量删除项目成员
func (*ProjectManClient) CheckProjectNameV4 ¶
func (c *ProjectManClient) CheckProjectNameV4(request *model.CheckProjectNameV4Request) (*model.CheckProjectNameV4Response, error)
更新项目
func (*ProjectManClient) CreateIssueV4 ¶
func (c *ProjectManClient) CreateIssueV4(request *model.CreateIssueV4Request) (*model.CreateIssueV4Response, error)
创建工作项
func (*ProjectManClient) CreateIterationV4 ¶
func (c *ProjectManClient) CreateIterationV4(request *model.CreateIterationV4Request) (*model.CreateIterationV4Response, error)
创建Scrum项目迭代
func (*ProjectManClient) CreateProjectV4 ¶
func (c *ProjectManClient) CreateProjectV4(request *model.CreateProjectV4Request) (*model.CreateProjectV4Response, error)
创建项目
func (*ProjectManClient) DeleteIssueV4 ¶
func (c *ProjectManClient) DeleteIssueV4(request *model.DeleteIssueV4Request) (*model.DeleteIssueV4Response, error)
删除工作项
func (*ProjectManClient) DeleteIterationV4 ¶
func (c *ProjectManClient) DeleteIterationV4(request *model.DeleteIterationV4Request) (*model.DeleteIterationV4Response, error)
删除项目迭代
func (*ProjectManClient) DeleteProjectV4 ¶
func (c *ProjectManClient) DeleteProjectV4(request *model.DeleteProjectV4Request) (*model.DeleteProjectV4Response, error)
删除项目
func (*ProjectManClient) ListChildIssuesV4 ¶
func (c *ProjectManClient) ListChildIssuesV4(request *model.ListChildIssuesV4Request) (*model.ListChildIssuesV4Response, error)
获取子工作项
func (*ProjectManClient) ListDomainNotAddedProjectsV4 ¶
func (c *ProjectManClient) ListDomainNotAddedProjectsV4(request *model.ListDomainNotAddedProjectsV4Request) (*model.ListDomainNotAddedProjectsV4Response, error)
获取租户没有加入的项目
func (*ProjectManClient) ListIssueCommentsV4 ¶
func (c *ProjectManClient) ListIssueCommentsV4(request *model.ListIssueCommentsV4Request) (*model.ListIssueCommentsV4Response, error)
获取工作项的评论
func (*ProjectManClient) ListIssueRecordsV4 ¶
func (c *ProjectManClient) ListIssueRecordsV4(request *model.ListIssueRecordsV4Request) (*model.ListIssueRecordsV4Response, error)
获取项目成员列表
func (*ProjectManClient) ListIssuesV4 ¶
func (c *ProjectManClient) ListIssuesV4(request *model.ListIssuesV4Request) (*model.ListIssuesV4Response, error)
高级查询工作项,根据筛选条件查询工作中
func (*ProjectManClient) ListProjectBugStaticsV4 ¶
func (c *ProjectManClient) ListProjectBugStaticsV4(request *model.ListProjectBugStaticsV4Request) (*model.ListProjectBugStaticsV4Response, error)
获取bug统计信息,按模块统计
func (*ProjectManClient) ListProjectDemandStaticV4 ¶
func (c *ProjectManClient) ListProjectDemandStaticV4(request *model.ListProjectDemandStaticV4Request) (*model.ListProjectDemandStaticV4Response, error)
获取需求统计信息
func (*ProjectManClient) ListProjectIterationsV4 ¶
func (c *ProjectManClient) ListProjectIterationsV4(request *model.ListProjectIterationsV4Request) (*model.ListProjectIterationsV4Response, error)
获取项目迭代
func (*ProjectManClient) ListProjectMembersV4 ¶
func (c *ProjectManClient) ListProjectMembersV4(request *model.ListProjectMembersV4Request) (*model.ListProjectMembersV4Response, error)
获取项目成员列表
func (*ProjectManClient) ListProjectWorkHours ¶
func (c *ProjectManClient) ListProjectWorkHours(request *model.ListProjectWorkHoursRequest) (*model.ListProjectWorkHoursResponse, error)
按用户查询工时(多项目)
func (*ProjectManClient) ListProjectsV4 ¶
func (c *ProjectManClient) ListProjectsV4(request *model.ListProjectsV4Request) (*model.ListProjectsV4Response, error)
查询项目列表
func (*ProjectManClient) RemoveProject ¶
func (c *ProjectManClient) RemoveProject(request *model.RemoveProjectRequest) (*model.RemoveProjectResponse, error)
项目成员主动退出项目,项目创建者不能退出
func (*ProjectManClient) ShowCurUserInfo ¶
func (c *ProjectManClient) ShowCurUserInfo(request *model.ShowCurUserInfoRequest) (*model.ShowCurUserInfoResponse, error)
获取当前用户信息
func (*ProjectManClient) ShowCurUserRole ¶
func (c *ProjectManClient) ShowCurUserRole(request *model.ShowCurUserRoleRequest) (*model.ShowCurUserRoleResponse, error)
获取用户在项目中的角色
func (*ProjectManClient) ShowIssueV4 ¶
func (c *ProjectManClient) ShowIssueV4(request *model.ShowIssueV4Request) (*model.ShowIssueV4Response, error)
查询工作项详情
func (*ProjectManClient) ShowIterationV4 ¶
func (c *ProjectManClient) ShowIterationV4(request *model.ShowIterationV4Request) (*model.ShowIterationV4Response, error)
查看迭代详情
func (*ProjectManClient) ShowProjectSummaryV4 ¶
func (c *ProjectManClient) ShowProjectSummaryV4(request *model.ShowProjectSummaryV4Request) (*model.ShowProjectSummaryV4Response, error)
获取项目概览
func (*ProjectManClient) ShowProjectWorkHours ¶
func (c *ProjectManClient) ShowProjectWorkHours(request *model.ShowProjectWorkHoursRequest) (*model.ShowProjectWorkHoursResponse, error)
按用户查询工时(单项目)
func (*ProjectManClient) ShowtIssueCompletionRate ¶
func (c *ProjectManClient) ShowtIssueCompletionRate(request *model.ShowtIssueCompletionRateRequest) (*model.ShowtIssueCompletionRateResponse, error)
获取工作项的完成率
func (*ProjectManClient) UpdateIssueV4 ¶
func (c *ProjectManClient) UpdateIssueV4(request *model.UpdateIssueV4Request) (*model.UpdateIssueV4Response, error)
更新工作项
func (*ProjectManClient) UpdateIterationV4 ¶
func (c *ProjectManClient) UpdateIterationV4(request *model.UpdateIterationV4Request) (*model.UpdateIterationV4Response, error)
更新Scrum项目迭代
func (*ProjectManClient) UpdateMembesRoleV4 ¶
func (c *ProjectManClient) UpdateMembesRoleV4(request *model.UpdateMembesRoleV4Request) (*model.UpdateMembesRoleV4Response, error)
更新成员在项目中的角色
func (*ProjectManClient) UpdateNickNameV4 ¶
func (c *ProjectManClient) UpdateNickNameV4(request *model.UpdateNickNameV4Request) (*model.UpdateNickNameV4Response, error)
更新用户昵称
func (*ProjectManClient) UpdateProjectV4 ¶
func (c *ProjectManClient) UpdateProjectV4(request *model.UpdateProjectV4Request) (*model.UpdateProjectV4Response, error)
更新项目
Click to show internal directories.
Click to hide internal directories.