model

package
v0.0.27-beta Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

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

type AddApplyJoinProjectForAgcResponse

type AddApplyJoinProjectForAgcResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (AddApplyJoinProjectForAgcResponse) String

type AddMemberRequestV4

type AddMemberRequestV4 struct {
	// 租户id
	DomainId string `json:"domain_id"`
	// 用户在项目中的角色ID 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 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

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

type BatchDeleteIssuesV4Request

type BatchDeleteIssuesV4Request struct {
	ProjectId string                       `json:"project_id"`
	Body      *BatchDelelteIssuesRequestV4 `json:"body,omitempty"`
}

Request Object

func (BatchDeleteIssuesV4Request) String

type BatchDeleteIssuesV4Response

type BatchDeleteIssuesV4Response struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchDeleteIssuesV4Response) String

type BatchDeleteIterationsV4Request

type BatchDeleteIterationsV4Request struct {
	ProjectId string                              `json:"project_id"`
	Body      *BatchDeleteIterationsV4RequestBody `json:"body,omitempty"`
}

Request Object

func (BatchDeleteIterationsV4Request) String

type BatchDeleteIterationsV4RequestBody

type BatchDeleteIterationsV4RequestBody struct {
	// 迭代的id
	IterationIds []int32 `json:"iteration_ids"`
}

func (BatchDeleteIterationsV4RequestBody) String

type BatchDeleteIterationsV4Response

type BatchDeleteIterationsV4Response struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchDeleteIterationsV4Response) String

type BatchDeleteMembersV4Request

type BatchDeleteMembersV4Request struct {
	ProjectId string                           `json:"project_id"`
	Body      *BatchDeleteMembersV4RequestBody `json:"body,omitempty"`
}

Request Object

func (BatchDeleteMembersV4Request) String

type BatchDeleteMembersV4RequestBody

type BatchDeleteMembersV4RequestBody struct {
	// 用户id
	UserIds []string `json:"user_ids"`
}

func (BatchDeleteMembersV4RequestBody) String

type BatchDeleteMembersV4Response

type BatchDeleteMembersV4Response struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchDeleteMembersV4Response) 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"`
}

func (Chart) String

func (o Chart) String() string

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

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 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 CreateIssueResponseV4ParentIssue

type CreateIssueResponseV4ParentIssue struct {
	// 父工作项id
	Id *int32 `json:"id,omitempty"`
	// 父工作项
	Name *string `json:"name,omitempty"`
}

父工作项

func (CreateIssueResponseV4ParentIssue) 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       *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"`
	// 标题
	Name           *string                           `json:"name,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

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 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

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

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

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 *int32 `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"`
	Iteration *IssueItemSfv4Iteration `json:"iteration,omitempty"`
	Module    *IssueItemSfv4Module    `json:"module,omitempty"`
	// 标题
	Name        *string                           `json:"name,omitempty"`
	ParentIssue *CreateIssueResponseV4ParentIssue `json:"parent_issue,omitempty"`
	Priority    *IssueItemSfv4Priority            `json:"priority,omitempty"`
	Project     *IssueProjectResponseV4           `json:"project,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 IssueUser struct {
	// 用户id
	Id *int32 `json:"id,omitempty"`
	// 用户名
	Name *string `json:"name,omitempty"`
	// 昵称
	NickName *string `json:"nick_name,omitempty"`
}

func (IssueUser) String

func (o IssueUser) String() string

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

type ListDomainNotAddedProjectsV4Response

type ListDomainNotAddedProjectsV4Response struct {
	// 项目信息列表
	Projects *[]ListDomainNotAddedProjectsV4ResponseBodyProjects `json:"projects,omitempty"`
	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListDomainNotAddedProjectsV4Response) 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

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 *string `json:"created_time,omitempty"`
	// 项目更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`
	// 项目类型
	ProjectType *string                                          `json:"project_type,omitempty"`
	Creator     *ListDomainNotAddedProjectsV4ResponseBodyCreator `json:"creator,omitempty"`
}

func (ListDomainNotAddedProjectsV4ResponseBodyProjects) 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

type ListIssueCommentsV4Response

type ListIssueCommentsV4Response struct {
	// 评论总数
	Total *int32 `json:"total,omitempty"`
	// 品论列表
	Comments       *[]IssueCommentV4 `json:"comments,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListIssueCommentsV4Response) 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 *string          `json:"created_time,omitempty"`
	Records     *[]IssueRecordV4 `json:"records,omitempty"`
	// 操作记录总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListIssueRecordsV4Response) 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"`
	// 模块id
	ModuleIds *[]int32 `json:"module_ids,omitempty"`
	// 分页索引,偏移量
	Offset *int32 `json:"offset,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

type ListProjectBugStaticsV4Response

type ListProjectBugStaticsV4Response struct {
	// bug统计
	BugStatistics  *[]BugStatisticResponseV4 `json:"bug_statistics,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListProjectBugStaticsV4Response) String

type ListProjectDemandStaticV4Request

type ListProjectDemandStaticV4Request struct {
	ProjectId string `json:"project_id"`
}

Request Object

func (ListProjectDemandStaticV4Request) String

type ListProjectDemandStaticV4Response

type ListProjectDemandStaticV4Response struct {
	// 需求统计
	DemandStatistics *[]DemandStatisticResponseV4 `json:"demand_statistics,omitempty"`
	HttpStatusCode   int                          `json:"-"`
}

Response Object

func (ListProjectDemandStaticV4Response) String

type ListProjectIterationsV4Request

type ListProjectIterationsV4Request struct {
	ProjectId string `json:"project_id"`
}

Request Object

func (ListProjectIterationsV4Request) String

type ListProjectIterationsV4Response

type ListProjectIterationsV4Response struct {
	// 迭代总数
	Total *int32 `json:"total,omitempty"`
	// 迭代信息
	Iterations     *[]ListProjectVersionsV4ResponseBodyIterations `json:"iterations,omitempty"`
	HttpStatusCode int                                            `json:"-"`
}

Response Object

func (ListProjectIterationsV4Response) 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

type ListProjectMembersV4Response

type ListProjectMembersV4Response struct {
	// 项目成员列表
	Members *[]MemberListV4Members `json:"members,omitempty"`
	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListProjectMembersV4Response) 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

type ListProjectWorkHoursRequest

type ListProjectWorkHoursRequest struct {
	Body *ListProjectWorkHoursRequestBody `json:"body,omitempty"`
}

Request Object

func (ListProjectWorkHoursRequest) 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 int32 `json:"offset"`
	// 每页显示数量,每页最多显示100条
	Limit int32 `json:"limit"`
}

func (ListProjectWorkHoursRequestBody) 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

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

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 *string `json:"created_time,omitempty"`
	// 项目更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`
	// 项目类型
	ProjectType *string                            `json:"project_type,omitempty"`
	Creator     *ListProjectsV4ResponseBodyCreator `json:"creator,omitempty"`
}

func (ListProjectsV4ResponseBodyProjects) 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"`
	// 成员角色 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 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 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 *string `json:"created_time,omitempty"`
	// 更新时间
	UpdatedTime *string `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 {
	// 成员角色 -1 项目创建者 3 项目经理 4 开发人员 5 测试经理 6 测试人员 7 参与者 8 浏览
	UserRole       *int32 `json:"user_role,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowCurUserRoleResponse) String

func (o ShowCurUserRoleResponse) 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"`
	Iteration *IssueItemSfv4Iteration `json:"iteration,omitempty"`
	Module    *IssueItemSfv4Module    `json:"module,omitempty"`
	// 标题
	Name        *string                           `json:"name,omitempty"`
	ParentIssue *CreateIssueResponseV4ParentIssue `json:"parent_issue,omitempty"`
	Priority    *IssueItemSfv4Priority            `json:"priority,omitempty"`
	Project     *IssueProjectResponseV4           `json:"project,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 ShowProjectSummaryV4Request

type ShowProjectSummaryV4Request struct {
	ProjectId string `json:"project_id"`
}

Request Object

func (ShowProjectSummaryV4Request) 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

type ShowProjectWorkHoursRequest

type ShowProjectWorkHoursRequest struct {
	ProjectId string                           `json:"project_id"`
	Body      *ShowProjectWorkHoursRequestBody `json:"body,omitempty"`
}

Request Object

func (ShowProjectWorkHoursRequest) 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 string `json:"offset"`
	// 每页显示数量,每页最多显示100条
	Limit string `json:"limit"`
}

func (ShowProjectWorkHoursRequestBody) 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

type ShowProjectWorkHoursResponseBodyWorkHours

type ShowProjectWorkHoursResponseBodyWorkHours struct {
	// 项目名称
	ProjectName *string `json:"project_name,omitempty"`
	// 用户昵称
	NickName *string `json:"nick_name,omitempty"`
	// 用户名
	UserName *string `json:"user_name,omitempty"`
	// 工时日期
	WorkDate *string `json:"work_date,omitempty"`
	// 工时花费
	WorkHoursNum *string `json:"work_hours_num,omitempty"`
	// 工时内容
	Summary *string `json:"summary,omitempty"`
	// 工时类型
	WorkHoursTypeName *string `json:"work_hours_type_name,omitempty"`
	// 工作项编码
	IssueId *string `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

type ShowtIssueCompletionRateRequest

type ShowtIssueCompletionRateRequest struct {
	ProjectId string `json:"project_id"`
}

Request Object

func (ShowtIssueCompletionRateRequest) String

type ShowtIssueCompletionRateResponse

type ShowtIssueCompletionRateResponse struct {
	// 不同类型的工作项完成率
	IssueCompletionRates *[]IssueCompletionRateV4IssueCompletionRates `json:"issue_completion_rates,omitempty"`
	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowtIssueCompletionRateResponse) 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"`
	Iteration *IssueItemSfv4Iteration `json:"iteration,omitempty"`
	Module    *IssueItemSfv4Module    `json:"module,omitempty"`
	// 标题
	Name        *string                           `json:"name,omitempty"`
	ParentIssue *CreateIssueResponseV4ParentIssue `json:"parent_issue,omitempty"`
	Priority    *IssueItemSfv4Priority            `json:"priority,omitempty"`
	Project     *IssueProjectResponseV4           `json:"project,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 {
	// 成员角色 3 项目经理 4 开发人员 5 测试经理 6 测试人员 7 参与者 8 浏览者
	RoleId int32 `json:"role_id"`
	// 用户id
	UserIds []string `json:"user_ids"`
}

func (UpdateMembesRoleV4RequestBody) String

type UpdateMembesRoleV4Response

type UpdateMembesRoleV4Response struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateMembesRoleV4Response) 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,omitempty"`
}

更新项目信息

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

Source Files

Jump to

Keyboard shortcuts

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