Documentation ¶
Index ¶
- func GenReqDefForCreateProjectV4(request *model.CreateProjectV4Request) *def.HttpRequestDef
- func GenReqDefForListDomainNotAddedProjectsV4(request *model.ListDomainNotAddedProjectsV4Request) *def.HttpRequestDef
- func GenReqDefForListIssueCommentsV4(request *model.ListIssueCommentsV4Request) *def.HttpRequestDef
- func GenReqDefForListIssueRecordsV4(request *model.ListIssueRecordsV4Request) *def.HttpRequestDef
- func GenReqDefForListProjectMembersV4(request *model.ListProjectMembersV4Request) *def.HttpRequestDef
- func GenReqDefForListProjectVersionsV4(request *model.ListProjectVersionsV4Request) *def.HttpRequestDef
- func GenReqDefForListProjectWorkHours(request *model.ListProjectWorkHoursRequest) *def.HttpRequestDef
- func GenReqDefForListProjectsV4(request *model.ListProjectsV4Request) *def.HttpRequestDef
- func GenReqDefForRemoveProject(request *model.RemoveProjectRequest) *def.HttpRequestDef
- func GenReqDefForShowCurUserInfo(request *model.ShowCurUserInfoRequest) *def.HttpRequestDef
- func GenReqDefForShowCurUserRole(request *model.ShowCurUserRoleRequest) *def.HttpRequestDef
- func GenReqDefForShowProjectWorkHours(request *model.ShowProjectWorkHoursRequest) *def.HttpRequestDef
- func GenReqDefForShowtIssueCompletionRate(request *model.ShowtIssueCompletionRateRequest) *def.HttpRequestDef
- func GenReqDefForUpdateMembesRoleV4(request *model.UpdateMembesRoleV4Request) *def.HttpRequestDef
- func GenRespForCreateProjectV4() (*model.CreateProjectV4Response, *def.HttpResponseDef)
- func GenRespForListDomainNotAddedProjectsV4() (*model.ListDomainNotAddedProjectsV4Response, *def.HttpResponseDef)
- func GenRespForListIssueCommentsV4() (*model.ListIssueCommentsV4Response, *def.HttpResponseDef)
- func GenRespForListIssueRecordsV4() (*model.ListIssueRecordsV4Response, *def.HttpResponseDef)
- func GenRespForListProjectMembersV4() (*model.ListProjectMembersV4Response, *def.HttpResponseDef)
- func GenRespForListProjectVersionsV4() (*model.ListProjectVersionsV4Response, *def.HttpResponseDef)
- func GenRespForListProjectWorkHours() (*model.ListProjectWorkHoursResponse, *def.HttpResponseDef)
- func GenRespForListProjectsV4() (*model.ListProjectsV4Response, *def.HttpResponseDef)
- func GenRespForRemoveProject() (*model.RemoveProjectResponse, *def.HttpResponseDef)
- func GenRespForShowCurUserInfo() (*model.ShowCurUserInfoResponse, *def.HttpResponseDef)
- func GenRespForShowCurUserRole() (*model.ShowCurUserRoleResponse, *def.HttpResponseDef)
- func GenRespForShowProjectWorkHours() (*model.ShowProjectWorkHoursResponse, *def.HttpResponseDef)
- func GenRespForShowtIssueCompletionRate() (*model.ShowtIssueCompletionRateResponse, *def.HttpResponseDef)
- func GenRespForUpdateMembesRoleV4() (*model.UpdateMembesRoleV4Response, *def.HttpResponseDef)
- func ProjectManClientBuilder() *http_client.HcHttpClientBuilder
- type ProjectManClient
- func (c *ProjectManClient) CreateProjectV4(request *model.CreateProjectV4Request) (*model.CreateProjectV4Response, 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) ListProjectMembersV4(request *model.ListProjectMembersV4Request) (*model.ListProjectMembersV4Response, error)
- func (c *ProjectManClient) ListProjectVersionsV4(request *model.ListProjectVersionsV4Request) (*model.ListProjectVersionsV4Response, 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) ShowProjectWorkHours(request *model.ShowProjectWorkHoursRequest) (*model.ShowProjectWorkHoursResponse, error)
- func (c *ProjectManClient) ShowtIssueCompletionRate(request *model.ShowtIssueCompletionRateRequest) (*model.ShowtIssueCompletionRateResponse, error)
- func (c *ProjectManClient) UpdateMembesRoleV4(request *model.UpdateMembesRoleV4Request) (*model.UpdateMembesRoleV4Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForCreateProjectV4 ¶
func GenReqDefForCreateProjectV4(request *model.CreateProjectV4Request) *def.HttpRequestDef
func GenReqDefForListDomainNotAddedProjectsV4 ¶
func GenReqDefForListDomainNotAddedProjectsV4(request *model.ListDomainNotAddedProjectsV4Request) *def.HttpRequestDef
func GenReqDefForListIssueCommentsV4 ¶
func GenReqDefForListIssueCommentsV4(request *model.ListIssueCommentsV4Request) *def.HttpRequestDef
func GenReqDefForListIssueRecordsV4 ¶
func GenReqDefForListIssueRecordsV4(request *model.ListIssueRecordsV4Request) *def.HttpRequestDef
func GenReqDefForListProjectMembersV4 ¶
func GenReqDefForListProjectMembersV4(request *model.ListProjectMembersV4Request) *def.HttpRequestDef
func GenReqDefForListProjectVersionsV4 ¶
func GenReqDefForListProjectVersionsV4(request *model.ListProjectVersionsV4Request) *def.HttpRequestDef
func GenReqDefForListProjectWorkHours ¶
func GenReqDefForListProjectWorkHours(request *model.ListProjectWorkHoursRequest) *def.HttpRequestDef
func GenReqDefForListProjectsV4 ¶
func GenReqDefForListProjectsV4(request *model.ListProjectsV4Request) *def.HttpRequestDef
func GenReqDefForRemoveProject ¶
func GenReqDefForRemoveProject(request *model.RemoveProjectRequest) *def.HttpRequestDef
func GenReqDefForShowCurUserInfo ¶
func GenReqDefForShowCurUserInfo(request *model.ShowCurUserInfoRequest) *def.HttpRequestDef
func GenReqDefForShowCurUserRole ¶
func GenReqDefForShowCurUserRole(request *model.ShowCurUserRoleRequest) *def.HttpRequestDef
func GenReqDefForShowProjectWorkHours ¶
func GenReqDefForShowProjectWorkHours(request *model.ShowProjectWorkHoursRequest) *def.HttpRequestDef
func GenReqDefForShowtIssueCompletionRate ¶
func GenReqDefForShowtIssueCompletionRate(request *model.ShowtIssueCompletionRateRequest) *def.HttpRequestDef
func GenReqDefForUpdateMembesRoleV4 ¶
func GenReqDefForUpdateMembesRoleV4(request *model.UpdateMembesRoleV4Request) *def.HttpRequestDef
func GenRespForCreateProjectV4 ¶
func GenRespForCreateProjectV4() (*model.CreateProjectV4Response, *def.HttpResponseDef)
func GenRespForListDomainNotAddedProjectsV4 ¶
func GenRespForListDomainNotAddedProjectsV4() (*model.ListDomainNotAddedProjectsV4Response, *def.HttpResponseDef)
func GenRespForListIssueCommentsV4 ¶
func GenRespForListIssueCommentsV4() (*model.ListIssueCommentsV4Response, *def.HttpResponseDef)
func GenRespForListIssueRecordsV4 ¶
func GenRespForListIssueRecordsV4() (*model.ListIssueRecordsV4Response, *def.HttpResponseDef)
func GenRespForListProjectMembersV4 ¶
func GenRespForListProjectMembersV4() (*model.ListProjectMembersV4Response, *def.HttpResponseDef)
func GenRespForListProjectVersionsV4 ¶
func GenRespForListProjectVersionsV4() (*model.ListProjectVersionsV4Response, *def.HttpResponseDef)
func GenRespForListProjectWorkHours ¶
func GenRespForListProjectWorkHours() (*model.ListProjectWorkHoursResponse, *def.HttpResponseDef)
func GenRespForListProjectsV4 ¶
func GenRespForListProjectsV4() (*model.ListProjectsV4Response, *def.HttpResponseDef)
func GenRespForRemoveProject ¶
func GenRespForRemoveProject() (*model.RemoveProjectResponse, *def.HttpResponseDef)
func GenRespForShowCurUserInfo ¶
func GenRespForShowCurUserInfo() (*model.ShowCurUserInfoResponse, *def.HttpResponseDef)
func GenRespForShowCurUserRole ¶
func GenRespForShowCurUserRole() (*model.ShowCurUserRoleResponse, *def.HttpResponseDef)
func GenRespForShowProjectWorkHours ¶
func GenRespForShowProjectWorkHours() (*model.ShowProjectWorkHoursResponse, *def.HttpResponseDef)
func GenRespForShowtIssueCompletionRate ¶
func GenRespForShowtIssueCompletionRate() (*model.ShowtIssueCompletionRateResponse, *def.HttpResponseDef)
func GenRespForUpdateMembesRoleV4 ¶
func GenRespForUpdateMembesRoleV4() (*model.UpdateMembesRoleV4Response, *def.HttpResponseDef)
func ProjectManClientBuilder ¶
func ProjectManClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type ProjectManClient ¶
type ProjectManClient struct {
// contains filtered or unexported fields
}
func NewProjectManClient ¶
func NewProjectManClient(hcClient *http_client.HcHttpClient) *ProjectManClient
func (*ProjectManClient) CreateProjectV4 ¶
func (c *ProjectManClient) CreateProjectV4(request *model.CreateProjectV4Request) (*model.CreateProjectV4Response, 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) ListProjectMembersV4 ¶
func (c *ProjectManClient) ListProjectMembersV4(request *model.ListProjectMembersV4Request) (*model.ListProjectMembersV4Response, error)
获取项目成员列表
func (*ProjectManClient) ListProjectVersionsV4 ¶
func (c *ProjectManClient) ListProjectVersionsV4(request *model.ListProjectVersionsV4Request) (*model.ListProjectVersionsV4Response, 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) 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) UpdateMembesRoleV4 ¶
func (c *ProjectManClient) UpdateMembesRoleV4(request *model.UpdateMembesRoleV4Request) (*model.UpdateMembesRoleV4Response, error)
更新成员在项目中的角色
Click to show internal directories.
Click to hide internal directories.