Documentation ¶
Index ¶
- type AddApplyJoinProjectForAgcRequest
- type AddApplyJoinProjectForAgcResponse
- type AddMemberRequestV4
- type AddMemberV4Request
- type AddMemberV4Response
- type BatchAddMemberRequestV4
- type BatchAddMembersV4Request
- type BatchAddMembersV4RequestBody
- type BatchAddMembersV4Response
- type BatchDelelteIssuesRequestV4
- type BatchDeleteIssuesV4Request
- type BatchDeleteIssuesV4Response
- type BatchDeleteIterationsV4Request
- type BatchDeleteIterationsV4RequestBody
- type BatchDeleteIterationsV4Response
- type BatchDeleteMembersV4Request
- type BatchDeleteMembersV4RequestBody
- type BatchDeleteMembersV4Response
- type BugStatisticResponseV4
- type Chart
- type CheckProjectNameRequestV4
- type CheckProjectNameV4Request
- type CheckProjectNameV4Response
- type CommentUserV4
- type CreateCustomfieldV1Req
- type CreateCustomfieldsRequest
- type CreateCustomfieldsResponse
- type CreateIssueRequestV4
- type CreateIssueResponseV4Domain
- type CreateIssueResponseV4ParentIssue
- type CreateIssueV4Request
- type CreateIssueV4Response
- type CreateIterationRequestV4
- type CreateIterationV4Request
- type CreateIterationV4Response
- type CreateProjectV4Request
- type CreateProjectV4RequestBody
- type CreateProjectV4Response
- type CustomField
- type DeleteIssueV4Request
- type DeleteIssueV4Response
- type DeleteIterationV4Request
- type DeleteIterationV4Response
- type DeleteProjectV4Request
- type DeleteProjectV4Response
- type DemandStatisticResponseV4
- type GetProjectInfoV4ResultProject
- type GetProjectInfoV4ResultProjectCreator
- type IssueCommentV4
- type IssueCompletionRateResponseV4
- type IssueCompletionRateV4IssueCompletionRates
- type IssueCompletionRateV4IssueStatus
- type IssueItemSfV4Domain
- type IssueItemSfV4Iteration
- type IssueItemSfV4Module
- type IssueItemSfV4Priority
- type IssueItemSfV4Severity
- type IssueItemSfV4Status
- type IssueItemSfV4Tracker
- type IssueProjectResponseV4
- type IssueRecordV4
- type IssueRecordV4Details
- type IssueRecordV4User
- type IssueRequestV4
- type IssueResponseV4
- type IssueStatusResponseV4
- type IssueUser
- type ListChildIssuesV4Request
- type ListChildIssuesV4Response
- type ListDomainNotAddedProjectsV4Request
- type ListDomainNotAddedProjectsV4Response
- type ListDomainNotAddedProjectsV4ResponseBodyCreator
- type ListDomainNotAddedProjectsV4ResponseBodyProjects
- type ListIssueCommentsV4Request
- type ListIssueCommentsV4Response
- type ListIssueRecordsV4Request
- type ListIssueRecordsV4Response
- type ListIssueRequestV4
- type ListIssuesV4Request
- type ListIssuesV4Response
- type ListProjectBugStaticsV4Request
- type ListProjectBugStaticsV4Response
- type ListProjectDemandStaticV4Request
- type ListProjectDemandStaticV4Response
- type ListProjectIterationsV4Request
- type ListProjectIterationsV4Response
- type ListProjectMembersV4Request
- type ListProjectMembersV4Response
- type ListProjectVersionsV4ResponseBodyIterations
- type ListProjectWorkHoursRequest
- type ListProjectWorkHoursRequestBody
- type ListProjectWorkHoursResponse
- type ListProjectsV4Request
- type ListProjectsV4Response
- type ListProjectsV4ResponseBodyCreator
- type ListProjectsV4ResponseBodyProjects
- type MemberListV4Members
- type MetricRequest2
- type MetricRequest2Dividend
- type MetricRequest3
- type MetricRequest3Dividend
- type MetricRequestV2
- type MetricRequestV2Dividend
- type MetricRequestV2DividendCustomFields
- type RemoveProjectRequest
- type RemoveProjectResponse
- type ShowBugDensityV2Request
- type ShowBugDensityV2Response
- type ShowBugsPerDeveloperRequest
- type ShowBugsPerDeveloperResponse
- type ShowCompletionRateRequest
- type ShowCompletionRateResponse
- type ShowCurUserInfoRequest
- type ShowCurUserInfoResponse
- type ShowCurUserRoleRequest
- type ShowCurUserRoleResponse
- type ShowIssueCompletionRateRequest
- type ShowIssueCompletionRateResponse
- type ShowIssueV4Request
- type ShowIssueV4Response
- type ShowIterationV4Request
- type ShowIterationV4Response
- type ShowProjectInfoV4Request
- type ShowProjectInfoV4Response
- type ShowProjectSummaryV4Request
- type ShowProjectSummaryV4Response
- type ShowProjectWorkHoursRequest
- type ShowProjectWorkHoursRequestBody
- type ShowProjectWorkHoursResponse
- type ShowProjectWorkHoursResponseBodyWorkHours
- type UpdateIssueV4Request
- type UpdateIssueV4Response
- type UpdateIterationV4Request
- type UpdateIterationV4Response
- type UpdateMembesRoleV4Request
- type UpdateMembesRoleV4RequestBody
- type UpdateMembesRoleV4Response
- type UpdateNickNameV4Request
- type UpdateNickNameV4Response
- type UpdateProjectRequestV4
- type UpdateProjectV4Request
- type UpdateProjectV4Response
- type UpdateUserNickNameRequestV4
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddApplyJoinProjectForAgcRequest ¶
type AddApplyJoinProjectForAgcRequest struct { DomainId string `json:"Domain-Id"` UserId string `json:"User-Id"` ProjectId string `json:"project_id"` }
Request Object
func (AddApplyJoinProjectForAgcRequest) String ¶
func (o AddApplyJoinProjectForAgcRequest) String() string
type AddApplyJoinProjectForAgcResponse ¶
type AddApplyJoinProjectForAgcResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (AddApplyJoinProjectForAgcResponse) String ¶
func (o AddApplyJoinProjectForAgcResponse) String() string
type AddMemberRequestV4 ¶
type AddMemberRequestV4 struct { // 租户id DomainId string `json:"domain_id"` // 用户在项目中的角色ID -1, 3, 4, 5, 6, 7 , 8 RoleId *int32 `json:"role_id,omitempty"` // 用户32位uuid UserId string `json:"user_id"` }
func (AddMemberRequestV4) String ¶
func (o AddMemberRequestV4) String() string
type AddMemberV4Request ¶
type AddMemberV4Request struct { ProjectId string `json:"project_id"` Body *AddMemberRequestV4 `json:"body,omitempty"` }
Request Object
func (AddMemberV4Request) String ¶
func (o AddMemberV4Request) String() string
type AddMemberV4Response ¶
type AddMemberV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (AddMemberV4Response) String ¶
func (o AddMemberV4Response) String() string
type BatchAddMemberRequestV4 ¶
type BatchAddMemberRequestV4 struct { // 用户在项目中的角色ID -1, 3, 4, 5, 6, 7 , 8 RoleId *int32 `json:"role_id,omitempty"` // 用户32位uuid UserId string `json:"user_id"` }
func (BatchAddMemberRequestV4) String ¶
func (o BatchAddMemberRequestV4) String() string
type BatchAddMembersV4Request ¶
type BatchAddMembersV4Request struct { ProjectId string `json:"project_id"` Body *BatchAddMembersV4RequestBody `json:"body,omitempty"` }
Request Object
func (BatchAddMembersV4Request) String ¶
func (o BatchAddMembersV4Request) String() string
type BatchAddMembersV4RequestBody ¶
type BatchAddMembersV4RequestBody struct { // 添加的用户信息 Users []BatchAddMemberRequestV4 `json:"users"` }
func (BatchAddMembersV4RequestBody) String ¶
func (o BatchAddMembersV4RequestBody) String() string
type BatchAddMembersV4Response ¶
type BatchAddMembersV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchAddMembersV4Response) String ¶
func (o BatchAddMembersV4Response) String() string
type BatchDelelteIssuesRequestV4 ¶
type BatchDelelteIssuesRequestV4 struct { // 工作项的id IssueIds []int32 `json:"issue_ids"` }
func (BatchDelelteIssuesRequestV4) String ¶
func (o BatchDelelteIssuesRequestV4) String() string
type BatchDeleteIssuesV4Request ¶
type BatchDeleteIssuesV4Request struct { ProjectId string `json:"project_id"` Body *BatchDelelteIssuesRequestV4 `json:"body,omitempty"` }
Request Object
func (BatchDeleteIssuesV4Request) String ¶
func (o BatchDeleteIssuesV4Request) String() string
type BatchDeleteIssuesV4Response ¶
type BatchDeleteIssuesV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteIssuesV4Response) String ¶
func (o BatchDeleteIssuesV4Response) String() string
type BatchDeleteIterationsV4Request ¶
type BatchDeleteIterationsV4Request struct { ProjectId string `json:"project_id"` Body *BatchDeleteIterationsV4RequestBody `json:"body,omitempty"` }
Request Object
func (BatchDeleteIterationsV4Request) String ¶
func (o BatchDeleteIterationsV4Request) String() string
type BatchDeleteIterationsV4RequestBody ¶
type BatchDeleteIterationsV4RequestBody struct { // 迭代的id IterationIds []int32 `json:"iteration_ids"` }
func (BatchDeleteIterationsV4RequestBody) String ¶
func (o BatchDeleteIterationsV4RequestBody) String() string
type BatchDeleteIterationsV4Response ¶
type BatchDeleteIterationsV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteIterationsV4Response) String ¶
func (o BatchDeleteIterationsV4Response) String() string
type BatchDeleteMembersV4Request ¶
type BatchDeleteMembersV4Request struct { ProjectId string `json:"project_id"` Body *BatchDeleteMembersV4RequestBody `json:"body,omitempty"` }
Request Object
func (BatchDeleteMembersV4Request) String ¶
func (o BatchDeleteMembersV4Request) String() string
type BatchDeleteMembersV4RequestBody ¶
type BatchDeleteMembersV4RequestBody struct { // 用户id UserIds []string `json:"user_ids"` }
func (BatchDeleteMembersV4RequestBody) String ¶
func (o BatchDeleteMembersV4RequestBody) String() string
type BatchDeleteMembersV4Response ¶
type BatchDeleteMembersV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteMembersV4Response) String ¶
func (o BatchDeleteMembersV4Response) String() string
type BugStatisticResponseV4 ¶
type BugStatisticResponseV4 struct { // 重要程度为关键的缺陷数 CriticalNum *int32 `json:"critical_num,omitempty"` // DI DefectIndex *float64 `json:"defect_index,omitempty"` // 模块 Module *string `json:"module,omitempty"` // 重要程度为一般的缺陷数 NormalNum *int32 `json:"normal_num,omitempty"` // 重要程度为严重的缺陷数 SeriousNum *int32 `json:"serious_num,omitempty"` // 重要程度为提示的缺陷数 TipNum *int32 `json:"tip_num,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` }
Bug信息
func (BugStatisticResponseV4) String ¶
func (o BugStatisticResponseV4) String() string
type Chart ¶
type Chart struct { // 统计时间 Date *string `json:"date,omitempty"` // 完成story工单 FinishedNum *int32 `json:"finished_num,omitempty"` // 迭代id IterationId *int32 `json:"iteration_id,omitempty"` // 项目id ProjectNumId *int32 `json:"project_num_id,omitempty"` // 未完成story数 RemainingNum *int32 `json:"remaining_num,omitempty"` // 总story数 Total *int32 `json:"total,omitempty"` }
type CheckProjectNameRequestV4 ¶
type CheckProjectNameRequestV4 struct { // 项目名 ProjectName string `json:"project_name"` }
func (CheckProjectNameRequestV4) String ¶
func (o CheckProjectNameRequestV4) String() string
type CheckProjectNameV4Request ¶
type CheckProjectNameV4Request struct {
Body *CheckProjectNameRequestV4 `json:"body,omitempty"`
}
Request Object
func (CheckProjectNameV4Request) String ¶
func (o CheckProjectNameV4Request) String() string
type CheckProjectNameV4Response ¶
type CheckProjectNameV4Response struct { // 是否存在相同的项目名称 true 存在, false 不存在 Exist *bool `json:"exist,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckProjectNameV4Response) String ¶
func (o CheckProjectNameV4Response) String() string
type CommentUserV4 ¶
type CommentUserV4 struct { // 发表评论用户id UserNumId *int32 `json:"user_num_id,omitempty"` // 发表评论用户名称 UserName *string `json:"user_name,omitempty"` // 发表评论用户昵称 NickName *string `json:"nick_name,omitempty"` }
func (CommentUserV4) String ¶
func (o CommentUserV4) String() string
type CreateCustomfieldV1Req ¶
type CreateCustomfieldV1Req struct { // 字段名称 Name string `json:"name"` // 自定义字段类型 可选类型 textArea|select|radio|text|checkbox|date|time_date|number Type string `json:"type"` // 字段选项 Options string `json:"options"` // 描述 Memo string `json:"memo"` // 工作项类型 ScrumType string `json:"scrum_type"` }
func (CreateCustomfieldV1Req) String ¶
func (o CreateCustomfieldV1Req) String() string
type CreateCustomfieldsRequest ¶
type CreateCustomfieldsRequest struct { ProjectId string `json:"project_id"` Body *CreateCustomfieldV1Req `json:"body,omitempty"` }
Request Object
func (CreateCustomfieldsRequest) String ¶
func (o CreateCustomfieldsRequest) String() string
type CreateCustomfieldsResponse ¶
type CreateCustomfieldsResponse struct { // 字段选项 Options *string `json:"options,omitempty"` // 系统字段 Region *string `json:"region,omitempty"` // 字段ID Id *int32 `json:"id,omitempty"` // 字段ID Identifier *string `json:"identifier,omitempty"` // 项目ID ProjectId *int32 `json:"project_id,omitempty"` // 工作项类型id TrackerId *int32 `json:"tracker_id,omitempty"` // 系统字段名 CustomField *string `json:"custom_field,omitempty"` // 字段类型 Type *string `json:"type,omitempty"` // 字段名称 Name *string `json:"name,omitempty"` // 系统字段 Sort *int32 `json:"sort,omitempty"` // 字段描述 Memo *string `json:"memo,omitempty"` // 创建时间 Created *string `json:"created,omitempty"` // 修改时间 Modified *string `json:"modified,omitempty"` // 是否被删除 IsDelete *bool `json:"is_delete,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateCustomfieldsResponse) String ¶
func (o CreateCustomfieldsResponse) String() string
type CreateIssueRequestV4 ¶
type CreateIssueRequestV4 struct { // 实际工时 ActualWorkHours *float64 `json:"actual_work_hours,omitempty"` // 处理人id,对应用户信息的数字id AssignedId *int32 `json:"assigned_id,omitempty"` // 开始时间,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 开发者id,对应用户信息的数字id DeveloperId *int32 `json:"developer_id,omitempty"` // id 领域, 14 '性能', 15 '功能', 16 '可靠性' 17 '网络安全' 18 '可维护性' 19 '其他DFX' 20 '可用性' DomainId *int32 `json:"domain_id,omitempty"` // 工作项进度值 DoneRatio *int32 `json:"done_ratio,omitempty"` // 结束时间,年-月-日 EndTime *string `json:"end_time,omitempty"` // 预计工时 ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"` // 迭代id IterationId *int32 `json:"iteration_id,omitempty"` // 模块id ModuleId *int32 `json:"module_id,omitempty"` // 标题 Name string `json:"name"` // 父工作项的id,创建子工作项时必填,父工作项的类型tracker_id不能为2,3 ParentIssueId *int32 `json:"parent_issue_id,omitempty"` // 优先级, 1 低, 2 中, 3 高, PriorityId int32 `json:"priority_id"` // 重要程度, 10 关键, 11 重要, 12 一般, 13 提示, SeverityId *int32 `json:"severity_id,omitempty"` // 状态 id, 开始 1, 进行中 2, 已解决 3, 测试中 4, 已关闭 5, 已解决 6, StatusId *int32 `json:"status_id,omitempty"` // 工作项类型, 2任务/task,3缺陷/bug,5epic,6feature,7story; 5 只能为 6 的父工作项类型; 6 只能为 7 的父工作项类型; 7 只能为 2,3的父; TrackerId int32 `json:"tracker_id"` }
工作项属性
func (CreateIssueRequestV4) String ¶
func (o CreateIssueRequestV4) String() string
type CreateIssueResponseV4Domain ¶
type CreateIssueResponseV4Domain struct { // 领域id Id *int32 `json:"id,omitempty"` // 领域 Name *string `json:"name,omitempty"` }
id 领域, 14 '性能', 15 '功能', 16 '可靠性', 17 '网络安全', 18 '可维护性', 19 '其他DFX', 20 '可用性',
func (CreateIssueResponseV4Domain) String ¶
func (o CreateIssueResponseV4Domain) String() string
type CreateIssueResponseV4ParentIssue ¶
type CreateIssueResponseV4ParentIssue struct { // 父工作项id Id *int32 `json:"id,omitempty"` // 父工作项 Name *string `json:"name,omitempty"` }
父工作项
func (CreateIssueResponseV4ParentIssue) String ¶
func (o CreateIssueResponseV4ParentIssue) String() string
type CreateIssueV4Request ¶
type CreateIssueV4Request struct { ProjectId string `json:"project_id"` Body *CreateIssueRequestV4 `json:"body,omitempty"` }
Request Object
func (CreateIssueV4Request) String ¶
func (o CreateIssueV4Request) String() string
type CreateIssueV4Response ¶
type CreateIssueV4Response struct { // 实际工时 ActualWorkHours *float64 `json:"actual_work_hours,omitempty"` // 抄送人 AssignedCcUser *[]IssueUser `json:"assigned_cc_user,omitempty"` AssignedUser *IssueUser `json:"assigned_user,omitempty"` // 开始时间,年-月-日 BeginTime *string `json:"begin_time,omitempty"` Creator *IssueUser `json:"creator,omitempty"` // 自定义属性值 CustomFields *[]CustomField `json:"custom_fields,omitempty"` Developer *IssueUser `json:"developer,omitempty"` Domain *CreateIssueResponseV4Domain `json:"domain,omitempty"` // 工作项进度值 DoneRatio *int32 `json:"done_ratio,omitempty"` // 结束时间,年-月-日 EndTime *string `json:"end_time,omitempty"` // 预计工时 ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"` // 工作项项id Id *int32 `json:"id,omitempty"` Project *IssueProjectResponseV4 `json:"project,omitempty"` Iteration *IssueItemSfV4Iteration `json:"iteration,omitempty"` Module *IssueItemSfV4Module `json:"module,omitempty"` ParentIssue *CreateIssueResponseV4ParentIssue `json:"parent_issue,omitempty"` Priority *IssueItemSfV4Priority `json:"priority,omitempty"` Severity *IssueItemSfV4Severity `json:"severity,omitempty"` Status *IssueItemSfV4Status `json:"status,omitempty"` Tracker *IssueItemSfV4Tracker `json:"tracker,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateIssueV4Response) String ¶
func (o CreateIssueV4Response) String() string
type CreateIterationRequestV4 ¶
type CreateIterationRequestV4 struct { // 开始时间,年-月-日 BeginTime string `json:"begin_time"` // 描述 Description *string `json:"description,omitempty"` // 结束时间,年-月-日 EndTime string `json:"end_time"` // 标题 Name string `json:"name"` }
func (CreateIterationRequestV4) String ¶
func (o CreateIterationRequestV4) String() string
type CreateIterationV4Request ¶
type CreateIterationV4Request struct { ProjectId string `json:"project_id"` Body *CreateIterationRequestV4 `json:"body,omitempty"` }
Request Object
func (CreateIterationV4Request) String ¶
func (o CreateIterationV4Request) String() string
type CreateIterationV4Response ¶
type CreateIterationV4Response struct { // 迭代id Id *int32 `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateIterationV4Response) String ¶
func (o CreateIterationV4Response) String() string
type CreateProjectV4Request ¶
type CreateProjectV4Request struct {
Body *CreateProjectV4RequestBody `json:"body,omitempty"`
}
Request Object
func (CreateProjectV4Request) String ¶
func (o CreateProjectV4Request) String() string
type CreateProjectV4RequestBody ¶
type CreateProjectV4RequestBody struct { // 项目名称 ProjectName string `json:"project_name"` // 项目描述 Description *string `json:"description,omitempty"` // 项目来源 Source *string `json:"source,omitempty"` // 项目类型 scrum, xboard(看板项目), basic, phoenix(凤凰项目) ProjectType string `json:"project_type"` // 项目要绑定的企业项目ID EnterpriseId *string `json:"enterprise_id,omitempty"` // 用户创建的项目模板id TemplateId *int32 `json:"template_id,omitempty"` }
func (CreateProjectV4RequestBody) String ¶
func (o CreateProjectV4RequestBody) String() string
type CreateProjectV4Response ¶
type CreateProjectV4Response struct { // 项目数字id ProjectNumId *int32 `json:"project_num_id,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名 ProjectName *string `json:"project_name,omitempty"` // 项目描述 Description *string `json:"description,omitempty"` // 项目类型 ProjectType *string `json:"project_type,omitempty"` // 创建者的数字id UserNumId *int32 `json:"user_num_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateProjectV4Response) String ¶
func (o CreateProjectV4Response) String() string
type CustomField ¶
type CustomField struct { // 自定义属性名 Name *string `json:"name,omitempty"` // 自定义属性对应的值 Value *string `json:"value,omitempty"` }
自定义属性
func (CustomField) String ¶
func (o CustomField) String() string
type DeleteIssueV4Request ¶
type DeleteIssueV4Request struct { ProjectId string `json:"project_id"` IssueId int32 `json:"issue_id"` }
Request Object
func (DeleteIssueV4Request) String ¶
func (o DeleteIssueV4Request) String() string
type DeleteIssueV4Response ¶
type DeleteIssueV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteIssueV4Response) String ¶
func (o DeleteIssueV4Response) String() string
type DeleteIterationV4Request ¶
type DeleteIterationV4Request struct { ProjectId string `json:"project_id"` IterationId int32 `json:"iteration_id"` }
Request Object
func (DeleteIterationV4Request) String ¶
func (o DeleteIterationV4Request) String() string
type DeleteIterationV4Response ¶
type DeleteIterationV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteIterationV4Response) String ¶
func (o DeleteIterationV4Response) String() string
type DeleteProjectV4Request ¶
type DeleteProjectV4Request struct {
ProjectId string `json:"project_id"`
}
Request Object
func (DeleteProjectV4Request) String ¶
func (o DeleteProjectV4Request) String() string
type DeleteProjectV4Response ¶
type DeleteProjectV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteProjectV4Response) String ¶
func (o DeleteProjectV4Response) String() string
type DemandStatisticResponseV4 ¶
type DemandStatisticResponseV4 struct { // 已关闭数量 ClosedNum *int32 `json:"closed_num,omitempty"` // 模块 Module *string `json:"module,omitempty"` // 新建的数量 NewNum *int32 `json:"new_num,omitempty"` // 开发中的数量 ProcessNum *int32 `json:"process_num,omitempty"` // 已拒绝数量 RejectedNum *int32 `json:"rejected_num,omitempty"` // 已解决数量 SolvedNum *int32 `json:"solved_num,omitempty"` // 测试中的数量 TestNum *int32 `json:"test_num,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` }
需求概览信息
func (DemandStatisticResponseV4) String ¶
func (o DemandStatisticResponseV4) String() string
type GetProjectInfoV4ResultProject ¶
type GetProjectInfoV4ResultProject struct { // 项目numId ProjectNumId *int32 `json:"project_num_id,omitempty"` // 项目uuid ProjectId *string `json:"project_id,omitempty"` // 项目名称 Name *string `json:"name,omitempty"` // 项目创建时间 CreatedOn float32 `json:"created_on,omitempty"` // 项目更新时间 UpdatedOn float32 `json:"updated_on,omitempty"` // 项目类型 ProjectType *string `json:"project_type,omitempty"` // 是否归档 Archive *bool `json:"archive,omitempty"` // 企业项目id EnterpriseId *string `json:"enterprise_id,omitempty"` Creator *GetProjectInfoV4ResultProjectCreator `json:"creator,omitempty"` }
项目信息
func (GetProjectInfoV4ResultProject) String ¶
func (o GetProjectInfoV4ResultProject) String() string
type GetProjectInfoV4ResultProjectCreator ¶
type GetProjectInfoV4ResultProjectCreator struct { // 创建人num_id UserNumId *int32 `json:"user_num_id,omitempty"` // 创建人uuid UserId *string `json:"user_id,omitempty"` // 创建人姓名 UserName *string `json:"user_name,omitempty"` // 创建人租户id DomainId *string `json:"domain_id,omitempty"` // 创建人租户名称 DomainName *string `json:"domain_name,omitempty"` // 创建人昵称 NickName *string `json:"nick_name,omitempty"` }
创建者信息
func (GetProjectInfoV4ResultProjectCreator) String ¶
func (o GetProjectInfoV4ResultProjectCreator) String() string
type IssueCommentV4 ¶
type IssueCommentV4 struct { // 评论内容 Comment *string `json:"comment,omitempty"` // 评论id Id *int32 `json:"id,omitempty"` // 评论时间 CreatedTime *string `json:"created_time,omitempty"` User *CommentUserV4 `json:"user,omitempty"` }
func (IssueCommentV4) String ¶
func (o IssueCommentV4) String() string
type IssueCompletionRateResponseV4 ¶
type IssueCompletionRateResponseV4 struct { IssueStatus *IssueStatusResponseV4 `json:"issue_status,omitempty"` // 工作项类型,2任务/task,3缺陷/bug,5epic,6feature,7story TrackerId *int32 `json:"tracker_id,omitempty"` }
项目工作项概览信息
func (IssueCompletionRateResponseV4) String ¶
func (o IssueCompletionRateResponseV4) String() string
type IssueCompletionRateV4IssueCompletionRates ¶
type IssueCompletionRateV4IssueCompletionRates struct { IssueStatus *IssueCompletionRateV4IssueStatus `json:"issue_status,omitempty"` // 工作项类型id,1需求,2任务/task,3缺陷/bug,5epic,6feature,7story TrackerId *int32 `json:"tracker_id,omitempty"` }
func (IssueCompletionRateV4IssueCompletionRates) String ¶
func (o IssueCompletionRateV4IssueCompletionRates) String() string
type IssueCompletionRateV4IssueStatus ¶
type IssueCompletionRateV4IssueStatus struct { // 已关闭的工作项 ClosedNum *int32 `json:"closed_num,omitempty"` // 新建的工作项 NewNum *int32 `json:"new_num,omitempty"` // 进行中的工作项数目 ProcessNum *int32 `json:"process_num,omitempty"` // 已经拒绝的工作项 RejectedNum *int32 `json:"rejected_num,omitempty"` // 已经解决的工作项 SolvedNum *int32 `json:"solved_num,omitempty"` // 测试中的工作项 TestNum *int32 `json:"test_num,omitempty"` }
工作项不同状态下的数量
func (IssueCompletionRateV4IssueStatus) String ¶
func (o IssueCompletionRateV4IssueStatus) String() string
type IssueItemSfV4Domain ¶
type IssueItemSfV4Domain struct { // 领域id Id *int32 `json:"id,omitempty"` // 领域 Name *string `json:"name,omitempty"` }
id, 领域 14, '性能', 15, '功能', 16, '可靠性' 17, '网络安全' 18, '可维护性' 19, '其他DFX' 20, '可用性'
func (IssueItemSfV4Domain) String ¶
func (o IssueItemSfV4Domain) String() string
type IssueItemSfV4Iteration ¶
type IssueItemSfV4Iteration struct { // 迭代id Id *int32 `json:"id,omitempty"` // 迭代名 Name *string `json:"name,omitempty"` }
迭代
func (IssueItemSfV4Iteration) String ¶
func (o IssueItemSfV4Iteration) String() string
type IssueItemSfV4Module ¶
type IssueItemSfV4Module struct { // 模块id Id *int32 `json:"id,omitempty"` // 模块 Name *string `json:"name,omitempty"` }
模块
func (IssueItemSfV4Module) String ¶
func (o IssueItemSfV4Module) String() string
type IssueItemSfV4Priority ¶
type IssueItemSfV4Priority struct { // 优先级id Id *int32 `json:"id,omitempty"` // 优先级 Name *string `json:"name,omitempty"` }
工作项优先级
func (IssueItemSfV4Priority) String ¶
func (o IssueItemSfV4Priority) String() string
type IssueItemSfV4Severity ¶
type IssueItemSfV4Severity struct { // 重要程度id Id *int32 `json:"id,omitempty"` // 重要程度 Name *string `json:"name,omitempty"` }
工作项重要程度
func (IssueItemSfV4Severity) String ¶
func (o IssueItemSfV4Severity) String() string
type IssueItemSfV4Status ¶
type IssueItemSfV4Status struct { // 状态id Id *int32 `json:"id,omitempty"` // 状态名称 Name *string `json:"name,omitempty"` }
工作项状态
func (IssueItemSfV4Status) String ¶
func (o IssueItemSfV4Status) String() string
type IssueItemSfV4Tracker ¶
type IssueItemSfV4Tracker struct { // 类型id Id *int32 `json:"id,omitempty"` // 类型名称 Name *string `json:"name,omitempty"` }
工作项类型
func (IssueItemSfV4Tracker) String ¶
func (o IssueItemSfV4Tracker) String() string
type IssueProjectResponseV4 ¶
type IssueProjectResponseV4 struct { // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 项目数字id ProjectNumId *int32 `json:"project_num_id,omitempty"` }
项目信息
func (IssueProjectResponseV4) String ¶
func (o IssueProjectResponseV4) String() string
type IssueRecordV4 ¶
type IssueRecordV4 struct { User *IssueRecordV4User `json:"user,omitempty"` // 操作的记录 Details *[]IssueRecordV4Details `json:"details,omitempty"` }
历史记录
func (IssueRecordV4) String ¶
func (o IssueRecordV4) String() string
type IssueRecordV4Details ¶
type IssueRecordV4Details struct { // 操作属性 Property *string `json:"property,omitempty"` // 上次的记录 OldValue *string `json:"old_value,omitempty"` // 当前值 NewValue *string `json:"new_value,omitempty"` // 操作 Operation *string `json:"operation,omitempty"` }
func (IssueRecordV4Details) String ¶
func (o IssueRecordV4Details) String() string
type IssueRecordV4User ¶
type IssueRecordV4User struct { // 用户数字id UserNumId *int32 `json:"user_num_id,omitempty"` // 登录名 UserName *string `json:"user_name,omitempty"` // 昵称 NickName *string `json:"nick_name,omitempty"` // 用户32位的uuid UserId *string `json:"user_id,omitempty"` }
工作项操作的用户
func (IssueRecordV4User) String ¶
func (o IssueRecordV4User) String() string
type IssueRequestV4 ¶
type IssueRequestV4 struct { // 实际工时 ActualWorkHours *float64 `json:"actual_work_hours,omitempty"` // 处理人id,对应用户信息的数字id AssignedId *int32 `json:"assigned_id,omitempty"` // 开始时间,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 开发者id,对应用户信息的数字id DeveloperId *int32 `json:"developer_id,omitempty"` // 领域id DomainId *int32 `json:"domain_id,omitempty"` // 工作项进度值 DoneRatio *int32 `json:"done_ratio,omitempty"` // 结束时间,年-月-日 EndTime *string `json:"end_time,omitempty"` // 预计工时 ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"` // 迭代id IterationId *int32 `json:"iteration_id,omitempty"` // 模块id ModuleId *int32 `json:"module_id,omitempty"` // 标题 Name *string `json:"name,omitempty"` // 父工作项的id ParentIssueId *int32 `json:"parent_issue_id,omitempty"` // 优先级, 1 低, 2 中, 3 高, PriorityId *int32 `json:"priority_id,omitempty"` // 重要程度, 10 关键, 11 重要, 12 一般, 13 提示, SeverityId *int32 `json:"severity_id,omitempty"` // 状态 id, 开始 1, 进行中 2, 已解决 3, 测试中 4, 已关闭 5, 已解决 6, StatusId *int32 `json:"status_id,omitempty"` // 工作项类型,2任务/task,3缺陷/bug,5epic,6feature,7story TrackerId *int32 `json:"tracker_id,omitempty"` }
工作项属性
func (IssueRequestV4) String ¶
func (o IssueRequestV4) String() string
type IssueResponseV4 ¶
type IssueResponseV4 struct { // 实际工时 ActualWorkHours *float64 `json:"actual_work_hours,omitempty"` // 抄送人 AssignedCcUser *[]IssueUser `json:"assigned_cc_user,omitempty"` AssignedUser *IssueUser `json:"assigned_user,omitempty"` // 预计开始时间,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 创建时间 年-月-日 时:分:秒 CreatedTime *string `json:"created_time,omitempty"` Creator *IssueUser `json:"creator,omitempty"` // 自定义属性值 CustomFields *[]CustomField `json:"custom_fields,omitempty"` Developer *IssueUser `json:"developer,omitempty"` Domain *IssueItemSfV4Domain `json:"domain,omitempty"` // 工作项进度值 DoneRatio *int32 `json:"done_ratio,omitempty"` // 预计结束时间,年-月-日 EndTime *string `json:"end_time,omitempty"` // 预计工时 ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"` // 工作项项id Id *int32 `json:"id,omitempty"` Project *IssueProjectResponseV4 `json:"project,omitempty"` Iteration *IssueItemSfV4Iteration `json:"iteration,omitempty"` Module *IssueItemSfV4Module `json:"module,omitempty"` ParentIssue *CreateIssueResponseV4ParentIssue `json:"parent_issue,omitempty"` Priority *IssueItemSfV4Priority `json:"priority,omitempty"` Severity *IssueItemSfV4Severity `json:"severity,omitempty"` Status *IssueItemSfV4Status `json:"status,omitempty"` Tracker *IssueItemSfV4Tracker `json:"tracker,omitempty"` // 更新时间 年-月-日 时:分:秒 UpdatedTime *string `json:"updated_time,omitempty"` }
工作项属性
func (IssueResponseV4) String ¶
func (o IssueResponseV4) String() string
type IssueStatusResponseV4 ¶
type IssueStatusResponseV4 struct { // 已关闭数量 ClosedNum *int32 `json:"closed_num,omitempty"` // 新建的数量 NewNum *int32 `json:"new_num,omitempty"` // 开发中的数量 ProcessNum *int32 `json:"process_num,omitempty"` // 已拒绝数量 RejectedNum *int32 `json:"rejected_num,omitempty"` // 已解决数量 SolvedNum *int32 `json:"solved_num,omitempty"` // 测试中的数量 TestNum *int32 `json:"test_num,omitempty"` }
工作项的统计信息
func (IssueStatusResponseV4) String ¶
func (o IssueStatusResponseV4) String() string
type IssueUser ¶
type ListChildIssuesV4Request ¶
type ListChildIssuesV4Request struct { ProjectId string `json:"project_id"` IssueId int32 `json:"issue_id"` }
Request Object
func (ListChildIssuesV4Request) String ¶
func (o ListChildIssuesV4Request) String() string
type ListChildIssuesV4Response ¶
type ListChildIssuesV4Response struct { // 工作项列表 Issues *[]IssueResponseV4 `json:"issues,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListChildIssuesV4Response) String ¶
func (o ListChildIssuesV4Response) String() string
type ListDomainNotAddedProjectsV4Request ¶
type ListDomainNotAddedProjectsV4Request struct { Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListDomainNotAddedProjectsV4Request) String ¶
func (o ListDomainNotAddedProjectsV4Request) String() string
type ListDomainNotAddedProjectsV4Response ¶
type ListDomainNotAddedProjectsV4Response struct { // 项目信息列表 Projects *[]ListDomainNotAddedProjectsV4ResponseBodyProjects `json:"projects,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDomainNotAddedProjectsV4Response) String ¶
func (o ListDomainNotAddedProjectsV4Response) String() string
type ListDomainNotAddedProjectsV4ResponseBodyCreator ¶
type ListDomainNotAddedProjectsV4ResponseBodyCreator struct { // 创建人numId UserNumId *int32 `json:"user_num_id,omitempty"` // 创建人id UserId *string `json:"user_id,omitempty"` // 创建人姓名 UserName *string `json:"user_name,omitempty"` // 创建人租户id DomainId *string `json:"domain_id,omitempty"` // 创建人租户名称 DomainName *string `json:"domain_name,omitempty"` // 创建人租户昵称 NickName *string `json:"nick_name,omitempty"` }
创建者信息
func (ListDomainNotAddedProjectsV4ResponseBodyCreator) String ¶
func (o ListDomainNotAddedProjectsV4ResponseBodyCreator) String() string
type ListDomainNotAddedProjectsV4ResponseBodyProjects ¶
type ListDomainNotAddedProjectsV4ResponseBodyProjects struct { // 项目数字id ProjectNumId *int32 `json:"project_num_id,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名 ProjectName *string `json:"project_name,omitempty"` // 项目描述 Description *string `json:"description,omitempty"` // 项目创建时间 CreatedTime *int64 `json:"created_time,omitempty"` // 项目更新时间 UpdatedTime *int64 `json:"updated_time,omitempty"` // 项目类型 ProjectType *string `json:"project_type,omitempty"` Creator *ListDomainNotAddedProjectsV4ResponseBodyCreator `json:"creator,omitempty"` }
func (ListDomainNotAddedProjectsV4ResponseBodyProjects) String ¶
func (o ListDomainNotAddedProjectsV4ResponseBodyProjects) String() string
type ListIssueCommentsV4Request ¶
type ListIssueCommentsV4Request struct { ProjectId string `json:"project_id"` IssueId int32 `json:"issue_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListIssueCommentsV4Request) String ¶
func (o ListIssueCommentsV4Request) String() string
type ListIssueCommentsV4Response ¶
type ListIssueCommentsV4Response struct { // 评论总数 Total *int32 `json:"total,omitempty"` // 品论列表 Comments *[]IssueCommentV4 `json:"comments,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListIssueCommentsV4Response) String ¶
func (o ListIssueCommentsV4Response) String() string
type ListIssueRecordsV4Request ¶
type ListIssueRecordsV4Request struct { ProjectId string `json:"project_id"` IssueId int32 `json:"issue_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListIssueRecordsV4Request) String ¶
func (o ListIssueRecordsV4Request) String() string
type ListIssueRecordsV4Response ¶
type ListIssueRecordsV4Response struct { // 操作记录id Id *int32 `json:"id,omitempty"` // 创建时间 CreatedTime *int64 `json:"created_time,omitempty"` Records *[]IssueRecordV4 `json:"records,omitempty"` // 操作记录总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListIssueRecordsV4Response) String ¶
func (o ListIssueRecordsV4Response) String() string
type ListIssueRequestV4 ¶
type ListIssueRequestV4 struct { // 处理人id AssignedIds *[]int32 `json:"assigned_ids,omitempty"` // 创建者id CreatorIds *[]int32 `json:"creator_ids,omitempty"` // 开发人id,对应用户信息的数字id DeveloperIds *[]int32 `json:"developer_ids,omitempty"` // id, 领域, 14 '性能', 15 '功能', 16 '可靠性', 17 '网络安全', 18 '可维护性', 19 '其他DFX', 20 '可用性', DomainIds *[]int32 `json:"domain_ids,omitempty"` // 完成度 DoneRatios *[]int32 `json:"done_ratios,omitempty"` // 迭代id IterationIds *[]int32 `json:"iteration_ids,omitempty"` // 每页显示数量 Limit *int32 `json:"limit,omitempty"` // 分页索引,偏移量,offset是limit的整数倍数,limit=10,offset=0,10,20... Offset *int32 `json:"offset,omitempty"` // 模块id ModuleIds *[]int32 `json:"module_ids,omitempty"` // 优先级 PriorityIds *[]int32 `json:"priority_ids,omitempty"` // 查询类型 backlog feature epic QueryType *string `json:"query_type,omitempty"` // 查询类型 SeverityIds *[]int32 `json:"severity_ids,omitempty"` // 状态 id, 开始 1, 进行中 2, 已解决 3, 测试中 4, 已关闭 5, 已解决 6, StatusIds *[]int32 `json:"status_ids,omitempty"` // 故事点id StoryPointIds *[]int32 `json:"story_point_ids,omitempty"` // 工作项类型,2任务/task,3缺陷/bug,5epic,6feature,7story TrackerIds *[]int32 `json:"tracker_ids,omitempty"` }
func (ListIssueRequestV4) String ¶
func (o ListIssueRequestV4) String() string
type ListIssuesV4Request ¶
type ListIssuesV4Request struct { ProjectId string `json:"project_id"` Body *ListIssueRequestV4 `json:"body,omitempty"` }
Request Object
func (ListIssuesV4Request) String ¶
func (o ListIssuesV4Request) String() string
type ListIssuesV4Response ¶
type ListIssuesV4Response struct { // 工作项列表 Issues *[]IssueResponseV4 `json:"issues,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListIssuesV4Response) String ¶
func (o ListIssuesV4Response) String() string
type ListProjectBugStaticsV4Request ¶
type ListProjectBugStaticsV4Request struct {
ProjectId string `json:"project_id"`
}
Request Object
func (ListProjectBugStaticsV4Request) String ¶
func (o ListProjectBugStaticsV4Request) String() string
type ListProjectBugStaticsV4Response ¶
type ListProjectBugStaticsV4Response struct { // bug统计 BugStatistics *[]BugStatisticResponseV4 `json:"bug_statistics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectBugStaticsV4Response) String ¶
func (o ListProjectBugStaticsV4Response) String() string
type ListProjectDemandStaticV4Request ¶
type ListProjectDemandStaticV4Request struct {
ProjectId string `json:"project_id"`
}
Request Object
func (ListProjectDemandStaticV4Request) String ¶
func (o ListProjectDemandStaticV4Request) String() string
type ListProjectDemandStaticV4Response ¶
type ListProjectDemandStaticV4Response struct { // 需求统计 DemandStatistics *[]DemandStatisticResponseV4 `json:"demand_statistics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectDemandStaticV4Response) String ¶
func (o ListProjectDemandStaticV4Response) String() string
type ListProjectIterationsV4Request ¶
type ListProjectIterationsV4Request struct {
ProjectId string `json:"project_id"`
}
Request Object
func (ListProjectIterationsV4Request) String ¶
func (o ListProjectIterationsV4Request) String() string
type ListProjectIterationsV4Response ¶
type ListProjectIterationsV4Response struct { // 迭代总数 Total *int32 `json:"total,omitempty"` // 迭代信息 Iterations *[]ListProjectVersionsV4ResponseBodyIterations `json:"iterations,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectIterationsV4Response) String ¶
func (o ListProjectIterationsV4Response) String() string
type ListProjectMembersV4Request ¶
type ListProjectMembersV4Request struct { ProjectId string `json:"project_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListProjectMembersV4Request) String ¶
func (o ListProjectMembersV4Request) String() string
type ListProjectMembersV4Response ¶
type ListProjectMembersV4Response struct { // 项目成员列表 Members *[]MemberListV4Members `json:"members,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectMembersV4Response) String ¶
func (o ListProjectMembersV4Response) String() string
type ListProjectVersionsV4ResponseBodyIterations ¶
type ListProjectVersionsV4ResponseBodyIterations struct { // 迭代描述 Description *string `json:"description,omitempty"` // 迭代结束时间 EndTime *string `json:"end_time,omitempty"` // 迭代id Id *int32 `json:"id,omitempty"` // 迭代标题 Name *string `json:"name,omitempty"` // 迭代开始时间 BeginTime *string `json:"begin_time,omitempty"` }
func (ListProjectVersionsV4ResponseBodyIterations) String ¶
func (o ListProjectVersionsV4ResponseBodyIterations) String() string
type ListProjectWorkHoursRequest ¶
type ListProjectWorkHoursRequest struct {
Body *ListProjectWorkHoursRequestBody `json:"body,omitempty"`
}
Request Object
func (ListProjectWorkHoursRequest) String ¶
func (o ListProjectWorkHoursRequest) String() string
type ListProjectWorkHoursRequestBody ¶
type ListProjectWorkHoursRequestBody struct { // 查询的项目id列表 ProjectIds *[]string `json:"project_ids,omitempty"` // 查询的用户id列表 UserIds *[]string `json:"user_ids,omitempty"` // 工时类型,以逗号分隔,21:研发设计,22:后端开发,23:前端开发(Web),24:前端开发(小程序),25:前端开发(App),26:测试验证,27:缺陷修复,28:UI设计,29:会议,30:公共事务,31:培训,32:研究,33:其它,34:调休请假 WorkHoursTypes *string `json:"work_hours_types,omitempty"` // 工时日期,以逗号分隔,年-月-日 WorkHoursDates *string `json:"work_hours_dates,omitempty"` // 工时开始日期,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 工时结束日期,年-月-日 EndTime *string `json:"end_time,omitempty"` // 偏移量,offset是limit的整数倍,limit=10,offset=0,10,20... Offset int32 `json:"offset"` // 每页显示数量,每页最多显示100条 Limit int32 `json:"limit"` }
func (ListProjectWorkHoursRequestBody) String ¶
func (o ListProjectWorkHoursRequestBody) String() string
type ListProjectWorkHoursResponse ¶
type ListProjectWorkHoursResponse struct { // 工时列表 WorkHours *[]ShowProjectWorkHoursResponseBodyWorkHours `json:"work_hours,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectWorkHoursResponse) String ¶
func (o ListProjectWorkHoursResponse) String() string
type ListProjectsV4Request ¶
type ListProjectsV4Request struct { Offset int32 `json:"offset"` Limit int32 `json:"limit"` Search *string `json:"search,omitempty"` ProjectType *string `json:"project_type,omitempty"` Sort *string `json:"sort,omitempty"` Archive *string `json:"archive,omitempty"` QueryType *string `json:"query_type,omitempty"` }
Request Object
func (ListProjectsV4Request) String ¶
func (o ListProjectsV4Request) String() string
type ListProjectsV4Response ¶
type ListProjectsV4Response struct { // 项目信息列表 Projects *[]ListProjectsV4ResponseBodyProjects `json:"projects,omitempty"` // 项目总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectsV4Response) String ¶
func (o ListProjectsV4Response) String() string
type ListProjectsV4ResponseBodyCreator ¶
type ListProjectsV4ResponseBodyCreator struct { // 创建人numId UserNumId *int32 `json:"user_num_id,omitempty"` // 创建人id UserId *string `json:"user_id,omitempty"` // 创建人姓名 UserName *string `json:"user_name,omitempty"` // 创建人租户id DomainId *string `json:"domain_id,omitempty"` // 创建人租户名称 DomainName *string `json:"domain_name,omitempty"` // 创建人租户昵称 NickName *string `json:"nick_name,omitempty"` }
创建者信息
func (ListProjectsV4ResponseBodyCreator) String ¶
func (o ListProjectsV4ResponseBodyCreator) String() string
type ListProjectsV4ResponseBodyProjects ¶
type ListProjectsV4ResponseBodyProjects struct { // 项目numId ProjectNumId *int32 `json:"project_num_id,omitempty"` // 项目uuid ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 项目描述 Description *string `json:"description,omitempty"` // 项目创建时间 CreatedTime *int64 `json:"created_time,omitempty"` // 项目更新时间 UpdatedTime *int64 `json:"updated_time,omitempty"` // 项目类型 ProjectType *string `json:"project_type,omitempty"` Creator *ListProjectsV4ResponseBodyCreator `json:"creator,omitempty"` }
func (ListProjectsV4ResponseBodyProjects) String ¶
func (o ListProjectsV4ResponseBodyProjects) String() string
type MemberListV4Members ¶
type MemberListV4Members struct { // 租户id DomainId *string `json:"domain_id,omitempty"` // 租户名 DomainName *string `json:"domain_name,omitempty"` // 用户id UserId *string `json:"user_id,omitempty"` // 用户名 UserName *string `json:"user_name,omitempty"` // 创建人numId UserNumId *int32 `json:"user_num_id,omitempty"` // 成员角色, -1 项目创建者, 3 项目经理, 4 开发人员, 5 测试经理, 6 测试人员, 7 参与者, 8 浏览者, RoleId *int32 `json:"role_id,omitempty"` // 用户昵称 NickName *string `json:"nick_name,omitempty"` // 用户角色 RoleName *string `json:"role_name,omitempty"` // 用户类型, User iam用户, Federation 联邦账号, UserType *string `json:"user_type,omitempty"` // 是否是禁用账号,1 禁用账号, 0非禁用账号 Forbidden *int32 `json:"forbidden,omitempty"` }
func (MemberListV4Members) String ¶
func (o MemberListV4Members) String() string
type MetricRequest2 ¶
type MetricRequest2 struct { // 指标类型 MetricType *string `json:"metric_type,omitempty"` // 迭代ID SprintId *string `json:"sprint_id,omitempty"` Dividend *MetricRequest2Dividend `json:"dividend,omitempty"` // 指标分母过滤条件 Divisor *interface{} `json:"divisor,omitempty"` }
func (MetricRequest2) String ¶
func (o MetricRequest2) String() string
type MetricRequest2Dividend ¶
type MetricRequest2Dividend struct { // 自定义字段 CustomField16 *string `json:"custom_field16,omitempty"` // 自定义字段 CustomField17 *string `json:"custom_field17,omitempty"` // 自定义字段 CustomField18 *string `json:"custom_field18,omitempty"` // 自定义字段 CustomField19 *string `json:"custom_field19,omitempty"` // 自定义字段 CustomField20 *string `json:"custom_field20,omitempty"` // 自定义字段 CustomField21 *string `json:"custom_field21,omitempty"` // 自定义字段 CustomField22 *string `json:"custom_field22,omitempty"` // 自定义字段 CustomField23 *string `json:"custom_field23,omitempty"` // 自定义字段 CustomField24 *string `json:"custom_field24,omitempty"` // 自定义字段 CustomField25 *string `json:"custom_field25,omitempty"` // 自定义字段 CustomField26 *string `json:"custom_field26,omitempty"` // 自定义字段 CustomField27 *string `json:"custom_field27,omitempty"` // 自定义字段 CustomField28 *string `json:"custom_field28,omitempty"` // 自定义字段 CustomField29 *string `json:"custom_field29,omitempty"` // 自定义字段 CustomField30 *string `json:"custom_field30,omitempty"` // 自定义字段 CustomField31 *string `json:"custom_field31,omitempty"` // 自定义字段 CustomField32 *string `json:"custom_field32,omitempty"` // 自定义字段 CustomField33 *string `json:"custom_field33,omitempty"` // 自定义字段 CustomField34 *string `json:"custom_field34,omitempty"` // 自定义字段 CustomField35 *string `json:"custom_field35,omitempty"` // 自定义字段 CustomField36 *string `json:"custom_field36,omitempty"` // 自定义字段 CustomField37 *string `json:"custom_field37,omitempty"` // 自定义字段 CustomField38 *string `json:"custom_field38,omitempty"` // 自定义字段 CustomField39 *string `json:"custom_field39,omitempty"` // 自定义字段 CustomField40 *string `json:"custom_field40,omitempty"` }
指标分子过滤条件
func (MetricRequest2Dividend) String ¶
func (o MetricRequest2Dividend) String() string
type MetricRequest3 ¶
type MetricRequest3 struct { // 统计周期 DateRange *string `json:"date_range,omitempty"` // 指标类型 MetricType *string `json:"metric_type,omitempty"` // 迭代ID SprintId *string `json:"sprint_id,omitempty"` Dividend *MetricRequest3Dividend `json:"dividend,omitempty"` // 指标分母过滤条件 Divisor *interface{} `json:"divisor,omitempty"` }
func (MetricRequest3) String ¶
func (o MetricRequest3) String() string
type MetricRequest3Dividend ¶
type MetricRequest3Dividend struct { // 是否按时 OnTime *string `json:"on_time,omitempty"` // 自定义字段 CustomField16 *string `json:"custom_field16,omitempty"` // 自定义字段 CustomField17 *string `json:"custom_field17,omitempty"` // 自定义字段 CustomField18 *string `json:"custom_field18,omitempty"` // 自定义字段 CustomField19 *string `json:"custom_field19,omitempty"` // 自定义字段 CustomField20 *string `json:"custom_field20,omitempty"` // 自定义字段 CustomField21 *string `json:"custom_field21,omitempty"` // 自定义字段 CustomField22 *string `json:"custom_field22,omitempty"` // 自定义字段 CustomField23 *string `json:"custom_field23,omitempty"` // 自定义字段 CustomField24 *string `json:"custom_field24,omitempty"` // 自定义字段 CustomField25 *string `json:"custom_field25,omitempty"` // 自定义字段 CustomField26 *string `json:"custom_field26,omitempty"` // 自定义字段 CustomField27 *string `json:"custom_field27,omitempty"` // 自定义字段 CustomField28 *string `json:"custom_field28,omitempty"` // 自定义字段 CustomField29 *string `json:"custom_field29,omitempty"` // 自定义字段 CustomField30 *string `json:"custom_field30,omitempty"` // 自定义字段 CustomField31 *string `json:"custom_field31,omitempty"` // 自定义字段 CustomField32 *string `json:"custom_field32,omitempty"` // 自定义字段 CustomField33 *string `json:"custom_field33,omitempty"` // 自定义字段 CustomField34 *string `json:"custom_field34,omitempty"` // 自定义字段 CustomField35 *string `json:"custom_field35,omitempty"` // 自定义字段 CustomField36 *string `json:"custom_field36,omitempty"` // 自定义字段 CustomField37 *string `json:"custom_field37,omitempty"` // 自定义字段 CustomField38 *string `json:"custom_field38,omitempty"` // 自定义字段 CustomField39 *string `json:"custom_field39,omitempty"` // 自定义字段 CustomField40 *string `json:"custom_field40,omitempty"` }
指标分子过滤条件
func (MetricRequest3Dividend) String ¶
func (o MetricRequest3Dividend) String() string
type MetricRequestV2 ¶
type MetricRequestV2 struct { // 统计周期 DateRange *string `json:"date_range,omitempty"` // 指标类型 MetricType *string `json:"metric_type,omitempty"` Dividend *MetricRequestV2Dividend `json:"dividend,omitempty"` // 指标分母过滤条件 Divisor *interface{} `json:"divisor,omitempty"` }
func (MetricRequestV2) String ¶
func (o MetricRequestV2) String() string
type MetricRequestV2Dividend ¶
type MetricRequestV2Dividend struct { // 自定义类型过滤条件 CustomFields *[]MetricRequestV2DividendCustomFields `json:"custom_fields,omitempty"` }
指标分子过滤条件
func (MetricRequestV2Dividend) String ¶
func (o MetricRequestV2Dividend) String() string
type MetricRequestV2DividendCustomFields ¶
type MetricRequestV2DividendCustomFields struct { // 自定义字段名称 Name *string `json:"name,omitempty"` // 自定义字段取值,逗号分隔 Options *string `json:"options,omitempty"` }
func (MetricRequestV2DividendCustomFields) String ¶
func (o MetricRequestV2DividendCustomFields) String() string
type RemoveProjectRequest ¶
type RemoveProjectRequest struct {
ProjectId string `json:"project_id"`
}
Request Object
func (RemoveProjectRequest) String ¶
func (o RemoveProjectRequest) String() string
type RemoveProjectResponse ¶
type RemoveProjectResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RemoveProjectResponse) String ¶
func (o RemoveProjectResponse) String() string
type ShowBugDensityV2Request ¶
type ShowBugDensityV2Request struct { ProjectId string `json:"project_id"` Body *MetricRequestV2 `json:"body,omitempty"` }
Request Object
func (ShowBugDensityV2Request) String ¶
func (o ShowBugDensityV2Request) String() string
type ShowBugDensityV2Response ¶
type ShowBugDensityV2Response struct { // 指标分子数值 DividendValue *string `json:"dividend_value,omitempty"` // 指标分母数值 DivisorValue *string `json:"divisor_value,omitempty"` // 指标名称 MetricName *string `json:"metric_name,omitempty"` // 指标数值 MetricValue *string `json:"metric_value,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBugDensityV2Response) String ¶
func (o ShowBugDensityV2Response) String() string
type ShowBugsPerDeveloperRequest ¶
type ShowBugsPerDeveloperRequest struct { ProjectId string `json:"project_id"` Body *MetricRequest2 `json:"body,omitempty"` }
Request Object
func (ShowBugsPerDeveloperRequest) String ¶
func (o ShowBugsPerDeveloperRequest) String() string
type ShowBugsPerDeveloperResponse ¶
type ShowBugsPerDeveloperResponse struct { // 指标分子数值 DividendValue *string `json:"dividend_value,omitempty"` // 指标分母数值 DivisorValue *string `json:"divisor_value,omitempty"` // 指标名称 MetricName *string `json:"metric_name,omitempty"` // 指标数值 MetricValue *string `json:"metric_value,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBugsPerDeveloperResponse) String ¶
func (o ShowBugsPerDeveloperResponse) String() string
type ShowCompletionRateRequest ¶
type ShowCompletionRateRequest struct { ProjectId string `json:"project_id"` Body *MetricRequest3 `json:"body,omitempty"` }
Request Object
func (ShowCompletionRateRequest) String ¶
func (o ShowCompletionRateRequest) String() string
type ShowCompletionRateResponse ¶
type ShowCompletionRateResponse struct { // 指标分子数值 DividendValue *string `json:"dividend_value,omitempty"` // 指标分母数值 DivisorValue *string `json:"divisor_value,omitempty"` // 指标名称 MetricName *string `json:"metric_name,omitempty"` // 指标数值 MetricValue *string `json:"metric_value,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCompletionRateResponse) String ¶
func (o ShowCompletionRateResponse) String() string
type ShowCurUserInfoRequest ¶
type ShowCurUserInfoRequest struct { }
Request Object
func (ShowCurUserInfoRequest) String ¶
func (o ShowCurUserInfoRequest) String() string
type ShowCurUserInfoResponse ¶
type ShowCurUserInfoResponse struct { // 租户id DomainId *string `json:"domain_id,omitempty"` // 租户名 DomainName *string `json:"domain_name,omitempty"` // 用户数字id UserNumId *int32 `json:"user_num_id,omitempty"` // 用户id UserId *string `json:"user_id,omitempty"` // 用户名 UserName *string `json:"user_name,omitempty"` // 用户昵称 NickName *string `json:"nick_name,omitempty"` // 创建时间 CreatedTime *int64 `json:"created_time,omitempty"` // 更新时间 UpdatedTime *int64 `json:"updated_time,omitempty"` // 性别 Gender *string `json:"gender,omitempty"` // 用户类型, User 云用户, Federation 联邦账号, UserType *string `json:"user_type,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCurUserInfoResponse) String ¶
func (o ShowCurUserInfoResponse) String() string
type ShowCurUserRoleRequest ¶
type ShowCurUserRoleRequest struct {
ProjectId string `json:"project_id"`
}
Request Object
func (ShowCurUserRoleRequest) String ¶
func (o ShowCurUserRoleRequest) String() string
type ShowCurUserRoleResponse ¶
type ShowCurUserRoleResponse struct { // 用户角色id UserRole *int32 `json:"user_role,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCurUserRoleResponse) String ¶
func (o ShowCurUserRoleResponse) String() string
type ShowIssueCompletionRateRequest ¶
type ShowIssueCompletionRateRequest struct {
ProjectId string `json:"project_id"`
}
Request Object
func (ShowIssueCompletionRateRequest) String ¶
func (o ShowIssueCompletionRateRequest) String() string
type ShowIssueCompletionRateResponse ¶
type ShowIssueCompletionRateResponse struct { // 不同类型的工作项完成率 IssueCompletionRates *[]IssueCompletionRateV4IssueCompletionRates `json:"issue_completion_rates,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowIssueCompletionRateResponse) String ¶
func (o ShowIssueCompletionRateResponse) String() string
type ShowIssueV4Request ¶
type ShowIssueV4Request struct { ProjectId string `json:"project_id"` IssueId int32 `json:"issue_id"` }
Request Object
func (ShowIssueV4Request) String ¶
func (o ShowIssueV4Request) String() string
type ShowIssueV4Response ¶
type ShowIssueV4Response struct { // 实际工时 ActualWorkHours *float64 `json:"actual_work_hours,omitempty"` // 抄送人 AssignedCcUser *[]IssueUser `json:"assigned_cc_user,omitempty"` AssignedUser *IssueUser `json:"assigned_user,omitempty"` // 预计开始时间,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 创建时间 年-月-日 时:分:秒 CreatedTime *string `json:"created_time,omitempty"` Creator *IssueUser `json:"creator,omitempty"` // 自定义属性值 CustomFields *[]CustomField `json:"custom_fields,omitempty"` Developer *IssueUser `json:"developer,omitempty"` Domain *IssueItemSfV4Domain `json:"domain,omitempty"` // 工作项进度值 DoneRatio *int32 `json:"done_ratio,omitempty"` // 预计结束时间,年-月-日 EndTime *string `json:"end_time,omitempty"` // 预计工时 ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"` // 工作项项id Id *int32 `json:"id,omitempty"` Project *IssueProjectResponseV4 `json:"project,omitempty"` Iteration *IssueItemSfV4Iteration `json:"iteration,omitempty"` Module *IssueItemSfV4Module `json:"module,omitempty"` ParentIssue *CreateIssueResponseV4ParentIssue `json:"parent_issue,omitempty"` Priority *IssueItemSfV4Priority `json:"priority,omitempty"` Severity *IssueItemSfV4Severity `json:"severity,omitempty"` Status *IssueItemSfV4Status `json:"status,omitempty"` Tracker *IssueItemSfV4Tracker `json:"tracker,omitempty"` // 更新时间 年-月-日 时:分:秒 UpdatedTime *string `json:"updated_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowIssueV4Response) String ¶
func (o ShowIssueV4Response) String() string
type ShowIterationV4Request ¶
type ShowIterationV4Request struct {
IterationId int32 `json:"iteration_id"`
}
Request Object
func (ShowIterationV4Request) String ¶
func (o ShowIterationV4Request) String() string
type ShowIterationV4Response ¶
type ShowIterationV4Response struct { // 迭代结束时间,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 燃尽图 Charts *[]Chart `json:"charts,omitempty"` // 已关闭的工单数 ClosedTotal *int32 `json:"closed_total,omitempty"` // 迭代创建时间 CreatedTime *string `json:"created_time,omitempty"` // 迭代开始时间,年-月-日 EndTime *string `json:"end_time,omitempty"` // 是否有task HaveTask *bool `json:"have_task,omitempty"` // 迭代id IterationId *int32 `json:"iteration_id,omitempty"` // 迭代标题 Name *string `json:"name,omitempty"` // 开启的工单数 OpenedTotal *int32 `json:"opened_total,omitempty"` // 工作进展 Progress *string `json:"progress,omitempty"` // 工单总数 Total *int32 `json:"total,omitempty"` // 迭代更新时间 UpdatedTime *string `json:"updated_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowIterationV4Response) String ¶
func (o ShowIterationV4Response) String() string
type ShowProjectInfoV4Request ¶
type ShowProjectInfoV4Request struct {
ProjectId string `json:"project_id"`
}
Request Object
func (ShowProjectInfoV4Request) String ¶
func (o ShowProjectInfoV4Request) String() string
type ShowProjectInfoV4Response ¶
type ShowProjectInfoV4Response struct { Project *GetProjectInfoV4ResultProject `json:"project,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowProjectInfoV4Response) String ¶
func (o ShowProjectInfoV4Response) String() string
type ShowProjectSummaryV4Request ¶
type ShowProjectSummaryV4Request struct {
ProjectId string `json:"project_id"`
}
Request Object
func (ShowProjectSummaryV4Request) String ¶
func (o ShowProjectSummaryV4Request) String() string
type ShowProjectSummaryV4Response ¶
type ShowProjectSummaryV4Response struct { // bug统计列表 BugStatistics *[]BugStatisticResponseV4 `json:"bug_statistics,omitempty"` // 按模块统计列表 DemandStatistics *[]DemandStatisticResponseV4 `json:"demand_statistics,omitempty"` // 按工作项类型统计列表 IssueCompletionRates *[]IssueCompletionRateResponseV4 `json:"issue_completion_rates,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowProjectSummaryV4Response) String ¶
func (o ShowProjectSummaryV4Response) String() string
type ShowProjectWorkHoursRequest ¶
type ShowProjectWorkHoursRequest struct { ProjectId string `json:"project_id"` Body *ShowProjectWorkHoursRequestBody `json:"body,omitempty"` }
Request Object
func (ShowProjectWorkHoursRequest) String ¶
func (o ShowProjectWorkHoursRequest) String() string
type ShowProjectWorkHoursRequestBody ¶
type ShowProjectWorkHoursRequestBody struct { // 查询的用户id列表 UserIds *[]string `json:"user_ids,omitempty"` // 工时类型,以逗号分隔,21:研发设计,22:后端开发,23:前端开发(Web),24:前端开发(小程序),25:前端开发(App),26:测试验证,27:缺陷修复,28:UI设计,29:会议,30:公共事务,31:培训,32:研究,33:其它,34:调休请假 WorkHoursTypes *string `json:"work_hours_types,omitempty"` // 工时日期,以逗号分隔,年-月-日 WorkHoursDates *string `json:"work_hours_dates,omitempty"` // 工时开始日期,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 工时结束日期,年-月-日 EndTime *string `json:"end_time,omitempty"` // 偏移量,offset是limit的整数倍,limit=10,offset=0,10,20... Offset int32 `json:"offset"` // 每页显示数量,每页最多显示100条 Limit int32 `json:"limit"` }
func (ShowProjectWorkHoursRequestBody) String ¶
func (o ShowProjectWorkHoursRequestBody) String() string
type ShowProjectWorkHoursResponse ¶
type ShowProjectWorkHoursResponse struct { // 工时列表 WorkHours *[]ShowProjectWorkHoursResponseBodyWorkHours `json:"work_hours,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowProjectWorkHoursResponse) String ¶
func (o ShowProjectWorkHoursResponse) String() string
type ShowProjectWorkHoursResponseBodyWorkHours ¶
type ShowProjectWorkHoursResponseBodyWorkHours struct { // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 用户昵称 NickName *string `json:"nick_name,omitempty"` // 用户名 UserName *string `json:"user_name,omitempty"` // 工时日期 WorkTime *string `json:"work_time,omitempty"` // 工时花费 WorkHoursNum *string `json:"work_hours_num,omitempty"` // 工时内容 Summary *string `json:"summary,omitempty"` // 工时类型 WorkHoursTypeName *string `json:"work_hours_type_name,omitempty"` // 工作项id IssueId *int32 `json:"issue_id,omitempty"` // 工作项类型 IssueType *string `json:"issue_type,omitempty"` // 工作项标题 Subject *string `json:"subject,omitempty"` // 工作项创建时间 CreatedTime *string `json:"created_time,omitempty"` // 工作项结束时间 ClosedTime *string `json:"closed_time,omitempty"` }
func (ShowProjectWorkHoursResponseBodyWorkHours) String ¶
func (o ShowProjectWorkHoursResponseBodyWorkHours) String() string
type UpdateIssueV4Request ¶
type UpdateIssueV4Request struct { ProjectId string `json:"project_id"` IssueId int32 `json:"issue_id"` Body *IssueRequestV4 `json:"body,omitempty"` }
Request Object
func (UpdateIssueV4Request) String ¶
func (o UpdateIssueV4Request) String() string
type UpdateIssueV4Response ¶
type UpdateIssueV4Response struct { // 实际工时 ActualWorkHours *float64 `json:"actual_work_hours,omitempty"` // 抄送人 AssignedCcUser *[]IssueUser `json:"assigned_cc_user,omitempty"` AssignedUser *IssueUser `json:"assigned_user,omitempty"` // 预计开始时间,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 创建时间 年-月-日 时:分:秒 CreatedTime *string `json:"created_time,omitempty"` Creator *IssueUser `json:"creator,omitempty"` // 自定义属性值 CustomFields *[]CustomField `json:"custom_fields,omitempty"` Developer *IssueUser `json:"developer,omitempty"` Domain *IssueItemSfV4Domain `json:"domain,omitempty"` // 工作项进度值 DoneRatio *int32 `json:"done_ratio,omitempty"` // 预计结束时间,年-月-日 EndTime *string `json:"end_time,omitempty"` // 预计工时 ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"` // 工作项项id Id *int32 `json:"id,omitempty"` Project *IssueProjectResponseV4 `json:"project,omitempty"` Iteration *IssueItemSfV4Iteration `json:"iteration,omitempty"` Module *IssueItemSfV4Module `json:"module,omitempty"` ParentIssue *CreateIssueResponseV4ParentIssue `json:"parent_issue,omitempty"` Priority *IssueItemSfV4Priority `json:"priority,omitempty"` Severity *IssueItemSfV4Severity `json:"severity,omitempty"` Status *IssueItemSfV4Status `json:"status,omitempty"` Tracker *IssueItemSfV4Tracker `json:"tracker,omitempty"` // 更新时间 年-月-日 时:分:秒 UpdatedTime *string `json:"updated_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateIssueV4Response) String ¶
func (o UpdateIssueV4Response) String() string
type UpdateIterationV4Request ¶
type UpdateIterationV4Request struct { ProjectId string `json:"project_id"` IterationId int32 `json:"iteration_id"` Body *CreateIterationRequestV4 `json:"body,omitempty"` }
Request Object
func (UpdateIterationV4Request) String ¶
func (o UpdateIterationV4Request) String() string
type UpdateIterationV4Response ¶
type UpdateIterationV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateIterationV4Response) String ¶
func (o UpdateIterationV4Response) String() string
type UpdateMembesRoleV4Request ¶
type UpdateMembesRoleV4Request struct { ProjectId string `json:"project_id"` Body *UpdateMembesRoleV4RequestBody `json:"body,omitempty"` }
Request Object
func (UpdateMembesRoleV4Request) String ¶
func (o UpdateMembesRoleV4Request) String() string
type UpdateMembesRoleV4RequestBody ¶
type UpdateMembesRoleV4RequestBody struct { // 成员角色, -1 项目创建者, 3 项目经理, 4 开发人员, 5 测试经理, 6 测试人员, 7 参与者, 8 浏览者, RoleId int32 `json:"role_id"` // 用户id UserIds []string `json:"user_ids"` }
func (UpdateMembesRoleV4RequestBody) String ¶
func (o UpdateMembesRoleV4RequestBody) String() string
type UpdateMembesRoleV4Response ¶
type UpdateMembesRoleV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateMembesRoleV4Response) String ¶
func (o UpdateMembesRoleV4Response) String() string
type UpdateNickNameV4Request ¶
type UpdateNickNameV4Request struct {
Body *UpdateUserNickNameRequestV4 `json:"body,omitempty"`
}
Request Object
func (UpdateNickNameV4Request) String ¶
func (o UpdateNickNameV4Request) String() string
type UpdateNickNameV4Response ¶
type UpdateNickNameV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateNickNameV4Response) String ¶
func (o UpdateNickNameV4Response) String() string
type UpdateProjectRequestV4 ¶
type UpdateProjectRequestV4 struct { // 项目描述 Description *string `json:"description,omitempty"` // 项目名 ProjectName string `json:"project_name"` }
更新项目信息
func (UpdateProjectRequestV4) String ¶
func (o UpdateProjectRequestV4) String() string
type UpdateProjectV4Request ¶
type UpdateProjectV4Request struct { ProjectId string `json:"project_id"` Body *UpdateProjectRequestV4 `json:"body,omitempty"` }
Request Object
func (UpdateProjectV4Request) String ¶
func (o UpdateProjectV4Request) String() string
type UpdateProjectV4Response ¶
type UpdateProjectV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateProjectV4Response) String ¶
func (o UpdateProjectV4Response) String() string
type UpdateUserNickNameRequestV4 ¶
type UpdateUserNickNameRequestV4 struct { // 用户昵称 NickName string `json:"nick_name"` }
用户昵称
func (UpdateUserNickNameRequestV4) String ¶
func (o UpdateUserNickNameRequestV4) String() string
Source Files ¶
- model_add_apply_join_project_for_agc_request.go
- model_add_apply_join_project_for_agc_response.go
- model_add_member_request_v4.go
- model_add_member_v4_request.go
- model_add_member_v4_response.go
- model_batch_add_member_request_v4.go
- model_batch_add_members_v4_request.go
- model_batch_add_members_v4_request_body.go
- model_batch_add_members_v4_response.go
- model_batch_delelte_issues_request_v4.go
- model_batch_delete_issues_v4_request.go
- model_batch_delete_issues_v4_response.go
- model_batch_delete_iterations_v4_request.go
- model_batch_delete_iterations_v4_request_body.go
- model_batch_delete_iterations_v4_response.go
- model_batch_delete_members_v4_request.go
- model_batch_delete_members_v4_request_body.go
- model_batch_delete_members_v4_response.go
- model_bug_statistic_response_v4.go
- model_chart.go
- model_check_project_name_request_v4.go
- model_check_project_name_v4_request.go
- model_check_project_name_v4_response.go
- model_comment_user_v4.go
- model_create_customfield_v1_req.go
- model_create_customfields_request.go
- model_create_customfields_response.go
- model_create_issue_request_v4.go
- model_create_issue_response_v4_domain.go
- model_create_issue_response_v4_parent_issue.go
- model_create_issue_v4_request.go
- model_create_issue_v4_response.go
- model_create_iteration_request_v4.go
- model_create_iteration_v4_request.go
- model_create_iteration_v4_response.go
- model_create_project_v4_request.go
- model_create_project_v4_request_body.go
- model_create_project_v4_response.go
- model_custom_field.go
- model_delete_issue_v4_request.go
- model_delete_issue_v4_response.go
- model_delete_iteration_v4_request.go
- model_delete_iteration_v4_response.go
- model_delete_project_v4_request.go
- model_delete_project_v4_response.go
- model_demand_statistic_response_v4.go
- model_get_project_info_v4_result_project.go
- model_get_project_info_v4_result_project_creator.go
- model_issue_comment_v4.go
- model_issue_completion_rate_response_v4.go
- model_issue_completion_rate_v4_issue_completion_rates.go
- model_issue_completion_rate_v4_issue_status.go
- model_issue_item_sf_v4_domain.go
- model_issue_item_sf_v4_iteration.go
- model_issue_item_sf_v4_module.go
- model_issue_item_sf_v4_priority.go
- model_issue_item_sf_v4_severity.go
- model_issue_item_sf_v4_status.go
- model_issue_item_sf_v4_tracker.go
- model_issue_project_response_v4.go
- model_issue_record_v4.go
- model_issue_record_v4_details.go
- model_issue_record_v4_user.go
- model_issue_request_v4.go
- model_issue_response_v4.go
- model_issue_status_response_v4.go
- model_issue_user.go
- model_list_child_issues_v4_request.go
- model_list_child_issues_v4_response.go
- model_list_domain_not_added_projects_v4_request.go
- model_list_domain_not_added_projects_v4_response.go
- model_list_domain_not_added_projects_v4_response_body_creator.go
- model_list_domain_not_added_projects_v4_response_body_projects.go
- model_list_issue_comments_v4_request.go
- model_list_issue_comments_v4_response.go
- model_list_issue_records_v4_request.go
- model_list_issue_records_v4_response.go
- model_list_issue_request_v4.go
- model_list_issues_v4_request.go
- model_list_issues_v4_response.go
- model_list_project_bug_statics_v4_request.go
- model_list_project_bug_statics_v4_response.go
- model_list_project_demand_static_v4_request.go
- model_list_project_demand_static_v4_response.go
- model_list_project_iterations_v4_request.go
- model_list_project_iterations_v4_response.go
- model_list_project_members_v4_request.go
- model_list_project_members_v4_response.go
- model_list_project_versions_v4_response_body_iterations.go
- model_list_project_work_hours_request.go
- model_list_project_work_hours_request_body.go
- model_list_project_work_hours_response.go
- model_list_projects_v4_request.go
- model_list_projects_v4_response.go
- model_list_projects_v4_response_body_creator.go
- model_list_projects_v4_response_body_projects.go
- model_member_list_v4_members.go
- model_metric_request2.go
- model_metric_request2_dividend.go
- model_metric_request3.go
- model_metric_request3_dividend.go
- model_metric_request_v2.go
- model_metric_request_v2_dividend.go
- model_metric_request_v2_dividend_custom_fields.go
- model_remove_project_request.go
- model_remove_project_response.go
- model_show_bug_density_v2_request.go
- model_show_bug_density_v2_response.go
- model_show_bugs_per_developer_request.go
- model_show_bugs_per_developer_response.go
- model_show_completion_rate_request.go
- model_show_completion_rate_response.go
- model_show_cur_user_info_request.go
- model_show_cur_user_info_response.go
- model_show_cur_user_role_request.go
- model_show_cur_user_role_response.go
- model_show_issue_completion_rate_request.go
- model_show_issue_completion_rate_response.go
- model_show_issue_v4_request.go
- model_show_issue_v4_response.go
- model_show_iteration_v4_request.go
- model_show_iteration_v4_response.go
- model_show_project_info_v4_request.go
- model_show_project_info_v4_response.go
- model_show_project_summary_v4_request.go
- model_show_project_summary_v4_response.go
- model_show_project_work_hours_request.go
- model_show_project_work_hours_request_body.go
- model_show_project_work_hours_response.go
- model_show_project_work_hours_response_body_work_hours.go
- model_update_issue_v4_request.go
- model_update_issue_v4_response.go
- model_update_iteration_v4_request.go
- model_update_iteration_v4_response.go
- model_update_membes_role_v4_request.go
- model_update_membes_role_v4_request_body.go
- model_update_membes_role_v4_response.go
- model_update_nick_name_v4_request.go
- model_update_nick_name_v4_response.go
- model_update_project_request_v4.go
- model_update_project_v4_request.go
- model_update_project_v4_response.go
- model_update_user_nick_name_request_v4.go