model

package
v0.1.116 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 10 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 {

	// 租户id
	DomainId string `json:"Domain-Id"`

	// 用户id
	UserId string `json:"User-Id"`

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`
}

AddApplyJoinProjectForAgcRequest Request Object

func (AddApplyJoinProjectForAgcRequest) String

type AddApplyJoinProjectForAgcResponse

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

AddApplyJoinProjectForAgcResponse Response Object

func (AddApplyJoinProjectForAgcResponse) String

type AddIssueWorkHoursRequest added in v0.1.43

type AddIssueWorkHoursRequest struct {

	// 项目id
	ProjectId string `json:"project_id"`

	// 工作项id
	IssueId int32 `json:"issue_id"`

	Body *AddIssueWorkHoursRequestBody `json:"body,omitempty"`
}

AddIssueWorkHoursRequest Request Object

func (AddIssueWorkHoursRequest) String added in v0.1.43

func (o AddIssueWorkHoursRequest) String() string

type AddIssueWorkHoursRequestBody added in v0.1.43

type AddIssueWorkHoursRequestBody struct {

	// 工时开始日期,年-月-日
	StartDate string `json:"start_date"`

	// 工时结束日期,年-月-日
	DueDate string `json:"due_date"`

	// 工时总数(若工时日期范围包含多天,单日工时将设为“工时总数/天数”)
	WorkHours float64 `json:"work_hours"`

	// 工时类型id(项目预设工时类型id及名称对照:21:研发设计,22:后端开发,23:前端开发(Web),24:前端开发(小程序),25:前端开发(App), 26:测试验证,27:缺陷修复,28:UI设计,29:会议,30:公共事务,31:培训,32:研究,33:其它,34:调休请假)
	WorkHoursTypeId *int32 `json:"work_hours_type_id,omitempty"`
}

func (AddIssueWorkHoursRequestBody) String added in v0.1.43

type AddIssueWorkHoursResponse added in v0.1.43

type AddIssueWorkHoursResponse struct {

	// 已添加的工时列表
	AddedWorkHours *[]AddIssueWorkHoursResponseBodyAddedWorkHours `json:"added_work_hours,omitempty"`
	HttpStatusCode int                                            `json:"-"`
}

AddIssueWorkHoursResponse Response Object

func (AddIssueWorkHoursResponse) String added in v0.1.43

func (o AddIssueWorkHoursResponse) String() string

type AddIssueWorkHoursResponseBodyAddedWorkHours added in v0.1.43

type AddIssueWorkHoursResponseBodyAddedWorkHours struct {

	// 工时id
	WorkHoursId *string `json:"work_hours_id,omitempty"`

	// 工作项id
	IssueId *int32 `json:"issue_id,omitempty"`

	// 用户名
	UserName *string `json:"user_name,omitempty"`

	// 用户昵称
	UserNickName *string `json:"user_nick_name,omitempty"`

	// 工时日期
	WorkDate *string `json:"work_date,omitempty"`

	// 工时数
	WorkHours *string `json:"work_hours,omitempty"`

	// 工时类型名称
	WorkHoursTypeName *string `json:"work_hours_type_name,omitempty"`
}

func (AddIssueWorkHoursResponseBodyAddedWorkHours) String added in v0.1.43

type AddMemberRequestV4

type AddMemberRequestV4 struct {

	// 租户名称(跨租户添加用户时,填写正确的租户名称,可将未授权的租户主动授权,将用户添加为项目成员)
	DomainName *string `json:"domain_name,omitempty"`

	// 租户id
	DomainId string `json:"domain_id"`

	// '用户在项目中的角色ID' 成员角色, -1 项目创建者, 3 项目经理, 4 开发人员, 5 测试经理, 6 测试人员, 7 参与者, 8 浏览者, 9 运维经理
	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 {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *AddMemberRequestV4 `json:"body,omitempty"`
}

AddMemberV4Request Request Object

func (AddMemberV4Request) String

func (o AddMemberV4Request) String() string

type AddMemberV4Response

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

AddMemberV4Response Response Object

func (AddMemberV4Response) String

func (o AddMemberV4Response) String() string

type AssociateIssueDetail added in v0.0.91

type AssociateIssueDetail struct {

	// 工作项标题
	Subject *string `json:"subject,omitempty"`

	// 工作项ID
	IssueId *int32 `json:"issue_id,omitempty"`

	Project *SimpleProject `json:"project,omitempty"`

	User *SimpleUser `json:"user,omitempty"`

	Status *StatusVo `json:"status,omitempty"`
}

AssociateIssueDetail 关联工作项详情

func (AssociateIssueDetail) String added in v0.0.91

func (o AssociateIssueDetail) String() string

type AssociatedTestCase added in v0.0.91

type AssociatedTestCase struct {

	// 用例ID
	CaseId *string `json:"case_id,omitempty"`

	// 用例编号
	CaseNum *string `json:"case_num,omitempty"`

	// 用例名称
	CaseName *string `json:"case_name,omitempty"`

	// 用例等级
	CaseLevel *string `json:"case_level,omitempty"`

	Status *StatusVo `json:"status,omitempty"`

	Creator *SimpleUser `json:"creator,omitempty"`

	Owner *SimpleUser `json:"owner,omitempty"`

	Project *SimpleProject `json:"project,omitempty"`

	// 是否基线
	IsBaseLine *int32 `json:"is_base_line,omitempty"`

	// 用例类型
	Type *string `json:"type,omitempty"`

	// 创建时间
	CreatedTime *int64 `json:"created_time,omitempty"`
}

func (AssociatedTestCase) String added in v0.0.91

func (o AssociatedTestCase) String() string

type AttachWikiDetail added in v0.0.91

type AttachWikiDetail struct {

	// 工作项ID
	IssueId *int32 `json:"issue_id,omitempty"`

	// Wiki标题
	WikiTitle *string `json:"wiki_title,omitempty"`

	WikiAuthor *SimpleUser `json:"wiki_author,omitempty"`

	Project *SimpleProject `json:"project,omitempty"`

	// 创建时间
	CreatedDate *string `json:"created_date,omitempty"`

	// wiki ID
	WikiId *string `json:"wiki_id,omitempty"`

	// region值
	Region *string `json:"region,omitempty"`
}

AttachWikiDetail 关联Wiki详情

func (AttachWikiDetail) String added in v0.0.91

func (o AttachWikiDetail) String() string

type BatchAddMemberRequestV4

type BatchAddMemberRequestV4 struct {

	// 成员角色, -1 项目创建者, 3 项目经理, 4 开发人员, 5 测试经理, 6 测试人员, 7 参与者, 8 浏览者, 9 运维经理
	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 {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *BatchAddMembersV4RequestBody `json:"body,omitempty"`
}

BatchAddMembersV4Request 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:"-"`
}

BatchAddMembersV4Response Response Object

func (BatchAddMembersV4Response) String

func (o BatchAddMembersV4Response) String() string

type BatchAssociatedIssue added in v0.1.91

type BatchAssociatedIssue struct {

	// 关联工作项ID
	SourceIssueId *int32 `json:"source_issue_id,omitempty"`

	// 工作项标题
	Subject *string `json:"subject,omitempty"`

	// 工作项ID
	IssueId *int32 `json:"issue_id,omitempty"`

	Project *SimpleProject `json:"project,omitempty"`

	User *SimpleUser `json:"user,omitempty"`

	Status *StatusVo `json:"status,omitempty"`
}

BatchAssociatedIssue 关联工作项详情

func (BatchAssociatedIssue) String added in v0.1.91

func (o BatchAssociatedIssue) String() string

type BatchDelelteIssuesRequestV4

type BatchDelelteIssuesRequestV4 struct {

	// 工作项的id
	IssueIds []int32 `json:"issue_ids"`
}

func (BatchDelelteIssuesRequestV4) String

type BatchDeleteIssuesV4Request

type BatchDeleteIssuesV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *BatchDelelteIssuesRequestV4 `json:"body,omitempty"`
}

BatchDeleteIssuesV4Request Request Object

func (BatchDeleteIssuesV4Request) String

type BatchDeleteIssuesV4Response

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

BatchDeleteIssuesV4Response Response Object

func (BatchDeleteIssuesV4Response) String

type BatchDeleteIterationsV4Request

type BatchDeleteIterationsV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *BatchDeleteIterationsV4RequestBody `json:"body,omitempty"`
}

BatchDeleteIterationsV4Request 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:"-"`
}

BatchDeleteIterationsV4Response Response Object

func (BatchDeleteIterationsV4Response) String

type BatchDeleteMembersV4Request

type BatchDeleteMembersV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *BatchDeleteMembersV4RequestBody `json:"body,omitempty"`
}

BatchDeleteMembersV4Request 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:"-"`
}

BatchDeleteMembersV4Response Response Object

func (BatchDeleteMembersV4Response) String

type BatchListAssociatedIssuesRequest added in v0.1.91

type BatchListAssociatedIssuesRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 每页数量
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量
	Offset *int32 `json:"offset,omitempty"`
}

BatchListAssociatedIssuesRequest Request Object

func (BatchListAssociatedIssuesRequest) String added in v0.1.91

type BatchListAssociatedIssuesResponse added in v0.1.91

type BatchListAssociatedIssuesResponse struct {

	// 关联的工作项列表
	Issues *[]BatchAssociatedIssue `json:"issues,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

BatchListAssociatedIssuesResponse Response Object

func (BatchListAssociatedIssuesResponse) String added in v0.1.91

type BatchUpdateChildNickNamesRequest added in v0.0.78

type BatchUpdateChildNickNamesRequest struct {
	Body *BatchUpdateChildUserNickNamesRequestBody `json:"body,omitempty"`
}

BatchUpdateChildNickNamesRequest Request Object

func (BatchUpdateChildNickNamesRequest) String added in v0.0.78

type BatchUpdateChildNickNamesResponse added in v0.0.78

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

BatchUpdateChildNickNamesResponse Response Object

func (BatchUpdateChildNickNamesResponse) String added in v0.0.78

type BatchUpdateChildUserNickNamesRequestBody added in v0.0.78

type BatchUpdateChildUserNickNamesRequestBody struct {

	// 修改的用户列表
	Users []UpdateChildUserNickNameRequestBody `json:"users"`
}

func (BatchUpdateChildUserNickNamesRequestBody) String added in v0.0.78

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"`
}

BugStatisticResponseV4 Bug信息

func (BugStatisticResponseV4) String

func (o BugStatisticResponseV4) String() string

type CancelProjectDomainRequest added in v0.0.101

type CancelProjectDomainRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 领域id
	DomainId string `json:"domain_id"`
}

CancelProjectDomainRequest Request Object

func (CancelProjectDomainRequest) String added in v0.0.101

type CancelProjectDomainResponse added in v0.0.101

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

CancelProjectDomainResponse Response Object

func (CancelProjectDomainResponse) String added in v0.0.101

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"`
}

CheckProjectNameV4Request 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:"-"`
}

CheckProjectNameV4Response 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 CommitRecordDetail added in v0.0.91

type CommitRecordDetail struct {

	// 仓库ID
	RepositoryId *string `json:"repository_id,omitempty"`

	// 分支名称
	BranchName *string `json:"branch_name,omitempty"`

	// commit id
	CommitId *string `json:"commit_id,omitempty"`

	// commit short id
	CommitShortId *string `json:"commit_short_id,omitempty"`

	// commit 信息
	CommitMsg *string `json:"commit_msg,omitempty"`

	// commit URL
	CommitUrl *string `json:"commit_url,omitempty"`

	User *SimpleUser `json:"user,omitempty"`

	// 查询的类型
	Type *string `json:"type,omitempty"`

	// 创建时间
	CreateDate *string `json:"create_date,omitempty"`

	// 更新时间
	UpdateDate *string `json:"update_date,omitempty"`
}

CommitRecordDetail 代码提交记录 / 分支创建记录 详细信息

func (CommitRecordDetail) String added in v0.0.91

func (o CommitRecordDetail) 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 {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *CreateCustomfieldV1Req `json:"body,omitempty"`
}

CreateCustomfieldsRequest 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 2任务/Task,3缺陷/Bug,5Epic,6Feature,7Story
	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:"-"`
}

CreateCustomfieldsResponse Response Object

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

	// 用户自定义字段
	NewCustomFields *[]NewCustomField `json:"new_custom_fields,omitempty"`
}

CreateIssueRequestV4 工作项属性

func (CreateIssueRequestV4) String

func (o CreateIssueRequestV4) String() string

type CreateIssueResponseV4Domain

type CreateIssueResponseV4Domain struct {

	// 领域id
	Id *int32 `json:"id,omitempty"`

	// 领域
	Name *string `json:"name,omitempty"`
}

CreateIssueResponseV4Domain id 领域, 14 '性能', 15 '功能', 16 '可靠性', 17 '网络安全', 18 '可维护性', 19 '其他DFX', 20 '可用性',

func (CreateIssueResponseV4Domain) String

type CreateIssueResponseV4ParentIssue

type CreateIssueResponseV4ParentIssue struct {

	// 父工作项id
	Id *int32 `json:"id,omitempty"`

	// 父工作项
	Name *string `json:"name,omitempty"`
}

CreateIssueResponseV4ParentIssue 父工作项

func (CreateIssueResponseV4ParentIssue) String

type CreateIssueResponseV4Tracker added in v0.0.91

type CreateIssueResponseV4Tracker struct {

	// 类型id
	Id *int32 `json:"id,omitempty"`

	// 类型名称
	Name *string `json:"name,omitempty"`
}

CreateIssueResponseV4Tracker 工作项类型 2任务/Task,3缺陷/Bug,5Epic,6Feature,7Story

func (CreateIssueResponseV4Tracker) String added in v0.0.91

type CreateIssueV4Request

type CreateIssueV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *CreateIssueRequestV4 `json:"body,omitempty"`
}

CreateIssueV4Request 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"`

	// 自定义属性值,不建议使用,建议参考new_custom_fields字段
	CustomFields *[]CustomField `json:"custom_fields,omitempty"`

	// 自定义属性值
	NewCustomFields *[]NewCustomField `json:"new_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        *CreateIssueResponseV4Tracker `json:"tracker,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

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

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *CreateIterationRequestV4 `json:"body,omitempty"`
}

CreateIterationV4Request Request Object

func (CreateIterationV4Request) String

func (o CreateIterationV4Request) String() string

type CreateIterationV4Response

type CreateIterationV4Response struct {

	// 迭代id
	Id             *int32 `json:"id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CreateIterationV4Response Response Object

func (CreateIterationV4Response) String

func (o CreateIterationV4Response) String() string

type CreateProjectDomainRequest added in v0.0.101

type CreateProjectDomainRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *CreateProjectDomainRequestBody `json:"body,omitempty"`
}

CreateProjectDomainRequest Request Object

func (CreateProjectDomainRequest) String added in v0.0.101

type CreateProjectDomainRequestBody added in v0.0.101

type CreateProjectDomainRequestBody struct {

	// 领域名称
	DomainName string `json:"domain_name"`
}

func (CreateProjectDomainRequestBody) String added in v0.0.101

type CreateProjectDomainResponse added in v0.0.101

type CreateProjectDomainResponse struct {

	// 领域名称
	DomainName *string `json:"domain_name,omitempty"`

	// 领域id
	DomainId       *string `json:"domain_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateProjectDomainResponse Response Object

func (CreateProjectDomainResponse) String added in v0.0.101

type CreateProjectDomainResponseBody added in v0.0.101

type CreateProjectDomainResponseBody struct {

	// 领域名称
	DomainName *string `json:"domain_name,omitempty"`

	// 领域id
	DomainId *string `json:"domain_id,omitempty"`
}

func (CreateProjectDomainResponseBody) String added in v0.0.101

type CreateProjectModuleRequest added in v0.0.96

type CreateProjectModuleRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *CreateProjectModuleRequestBody `json:"body,omitempty"`
}

CreateProjectModuleRequest Request Object

func (CreateProjectModuleRequest) String added in v0.0.96

type CreateProjectModuleRequestBody added in v0.0.96

type CreateProjectModuleRequestBody struct {

	// 模块描述
	Description *string `json:"description,omitempty"`

	// 模块名称
	ModuleName string `json:"module_name"`

	// 父模块id
	ParentModuleId *int32 `json:"parent_module_id,omitempty"`

	Owner *UserRequest `json:"owner"`
}

func (CreateProjectModuleRequestBody) String added in v0.0.96

type CreateProjectModuleResponse added in v0.0.96

type CreateProjectModuleResponse struct {

	// 模块描述
	Description *string `json:"description,omitempty"`

	// 模块名称
	ModuleName *string `json:"module_name,omitempty"`

	// 模块id
	ModuleId *int32 `json:"module_id,omitempty"`

	Owner          *ModuleOwner `json:"owner,omitempty"`
	HttpStatusCode int          `json:"-"`
}

CreateProjectModuleResponse Response Object

func (CreateProjectModuleResponse) String added in v0.0.96

type CreateProjectV4Request

type CreateProjectV4Request struct {
	Body *CreateProjectV4RequestBody `json:"body,omitempty"`
}

CreateProjectV4Request 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:"-"`
}

CreateProjectV4Response Response Object

func (CreateProjectV4Response) String

func (o CreateProjectV4Response) String() string

type CreateSystemIssueRequestV4 added in v0.0.68

type CreateSystemIssueRequestV4 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"`

	// 用户自定义字段
	NewCustomFields *[]NewCustomField `json:"new_custom_fields,omitempty"`

	Creator *Creator `json:"creator"`

	// 用户自定义字段
	CustomFields *[]ScrumCustomField `json:"custom_fields,omitempty"`
}

func (CreateSystemIssueRequestV4) String added in v0.0.68

type CreateSystemIssueV4Request added in v0.0.68

type CreateSystemIssueV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *CreateSystemIssueRequestV4 `json:"body,omitempty"`
}

CreateSystemIssueV4Request Request Object

func (CreateSystemIssueV4Request) String added in v0.0.68

type CreateSystemIssueV4Response added in v0.0.68

type CreateSystemIssueV4Response 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"`

	// 自定义属性值,不建议使用,建议参考new_custom_fields字段
	CustomFields *[]CustomField `json:"custom_fields,omitempty"`

	// 自定义属性值
	NewCustomFields *[]NewCustomField `json:"new_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        *CreateIssueResponseV4Tracker `json:"tracker,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

CreateSystemIssueV4Response Response Object

func (CreateSystemIssueV4Response) String added in v0.0.68

type Creator added in v0.0.68

type Creator struct {

	// 指定工作项的创建者用户id
	UserId string `json:"user_id"`
}

func (Creator) String added in v0.0.68

func (o Creator) String() string

type CustomFeildRecord added in v0.0.91

type CustomFeildRecord struct {

	// 自定义工作项属性
	Key *string `json:"key,omitempty"`

	// 自定义工作项名称
	Name *string `json:"name,omitempty"`

	// 自定义工作项值
	Value *string `json:"value,omitempty"`
}

func (CustomFeildRecord) String added in v0.0.91

func (o CustomFeildRecord) String() string

type CustomField

type CustomField struct {

	// 自定义属性名
	Name *string `json:"name,omitempty"`

	// 自定义属性对应的值
	Value *string `json:"value,omitempty"`

	// 自定义属性名
	NewName *string `json:"new_name,omitempty"`
}

CustomField 自定义属性

func (CustomField) String

func (o CustomField) String() string

type DeleteAttachmentRequest added in v0.1.15

type DeleteAttachmentRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项id
	IssueId string `json:"issue_id"`

	// 附件id
	AttachmentId string `json:"attachment_id"`
}

DeleteAttachmentRequest Request Object

func (DeleteAttachmentRequest) String added in v0.1.15

func (o DeleteAttachmentRequest) String() string

type DeleteAttachmentResponse added in v0.1.15

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

DeleteAttachmentResponse Response Object

func (DeleteAttachmentResponse) String added in v0.1.15

func (o DeleteAttachmentResponse) String() string

type DeleteIssueV4Request

type DeleteIssueV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项id
	IssueId int32 `json:"issue_id"`
}

DeleteIssueV4Request Request Object

func (DeleteIssueV4Request) String

func (o DeleteIssueV4Request) String() string

type DeleteIssueV4Response

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

DeleteIssueV4Response Response Object

func (DeleteIssueV4Response) String

func (o DeleteIssueV4Response) String() string

type DeleteIterationV4Request

type DeleteIterationV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 迭代id
	IterationId int32 `json:"iteration_id"`
}

DeleteIterationV4Request Request Object

func (DeleteIterationV4Request) String

func (o DeleteIterationV4Request) String() string

type DeleteIterationV4Response

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

DeleteIterationV4Response Response Object

func (DeleteIterationV4Response) String

func (o DeleteIterationV4Response) String() string

type DeleteProjectModuleRequest added in v0.0.96

type DeleteProjectModuleRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 模块id
	ModuleId int32 `json:"module_id"`
}

DeleteProjectModuleRequest Request Object

func (DeleteProjectModuleRequest) String added in v0.0.96

type DeleteProjectModuleResponse added in v0.0.96

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

DeleteProjectModuleResponse Response Object

func (DeleteProjectModuleResponse) String added in v0.0.96

type DeleteProjectV4Request

type DeleteProjectV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`
}

DeleteProjectV4Request Request Object

func (DeleteProjectV4Request) String

func (o DeleteProjectV4Request) String() string

type DeleteProjectV4Response

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

DeleteProjectV4Response 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"`
}

DemandStatisticResponseV4 需求概览信息

func (DemandStatisticResponseV4) String

func (o DemandStatisticResponseV4) String() string

type DownloadAttachmentRequest added in v0.1.15

type DownloadAttachmentRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项id
	IssueId string `json:"issue_id"`

	// 附件id
	AttachmentId string `json:"attachment_id"`
}

DownloadAttachmentRequest Request Object

func (DownloadAttachmentRequest) String added in v0.1.15

func (o DownloadAttachmentRequest) String() string

type DownloadAttachmentResponse added in v0.1.15

type DownloadAttachmentResponse struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

DownloadAttachmentResponse Response Object

func (DownloadAttachmentResponse) Consume added in v0.1.15

func (o DownloadAttachmentResponse) Consume(writer io.Writer) (int64, error)

func (DownloadAttachmentResponse) String added in v0.1.15

type DownloadImageFileRequest added in v0.1.3

type DownloadImageFileRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 图片URI
	ImageUri string `json:"image_uri"`
}

DownloadImageFileRequest Request Object

func (DownloadImageFileRequest) String added in v0.1.3

func (o DownloadImageFileRequest) String() string

type DownloadImageFileResponse added in v0.1.3

type DownloadImageFileResponse struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

DownloadImageFileResponse Response Object

func (DownloadImageFileResponse) Consume added in v0.1.3

func (o DownloadImageFileResponse) Consume(writer io.Writer) (int64, error)

func (DownloadImageFileResponse) String added in v0.1.3

func (o DownloadImageFileResponse) 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 *int64 `json:"created_on,omitempty"`

	// 项目更新时间
	UpdatedOn *int64 `json:"updated_on,omitempty"`

	// 项目类型
	ProjectType *string `json:"project_type,omitempty"`

	// 是否归档
	Archive *int32 `json:"archive,omitempty"`

	// 企业项目id
	EnterpriseId *string `json:"enterprise_id,omitempty"`

	// 项目代号
	ProjectCode *string `json:"project_code,omitempty"`

	Creator *GetProjectInfoV4ResultProjectCreator `json:"creator,omitempty"`
}

GetProjectInfoV4ResultProject 项目信息

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

GetProjectInfoV4ResultProjectCreator 创建者信息

func (GetProjectInfoV4ResultProjectCreator) String

type IssueAccessory added in v0.0.78

type IssueAccessory struct {

	// 附件id
	AttachmentId *int32 `json:"attachment_id,omitempty"`

	// 工作鞋ID
	IssueId *int32 `json:"issue_id,omitempty"`

	// 创建者数字ID
	CreatorNumId *int32 `json:"creator_num_id,omitempty"`

	// 附件创建时间
	CreatedDate *string `json:"created_date,omitempty"`

	// 上传时文件名
	FileName *string `json:"file_name,omitempty"`

	// 附件id
	ContainerType *string `json:"container_type,omitempty"`

	// 附件名称
	DiskFileName *string `json:"disk_file_name,omitempty"`

	// 附件id
	Digest *string `json:"digest,omitempty"`

	// 附件路径
	DiskDirectory *string `json:"disk_directory,omitempty"`

	// 创建这用户uuid
	CreatorId *string `json:"creator_id,omitempty"`
}

func (IssueAccessory) String added in v0.0.78

func (o IssueAccessory) String() string

type IssueAttrHistoryRecord added in v0.0.91

type IssueAttrHistoryRecord struct {

	// 操作的字段
	FieldKey *string `json:"field_key,omitempty"`

	// 操作字段的含义
	FieldName *string `json:"field_name,omitempty"`

	// 历史记录id
	Id *int64 `json:"id,omitempty"`

	// 工作项id
	IssueId *int64 `json:"issue_id,omitempty"`

	// 变更后的值,json字符串
	NewValue *string `json:"new_value,omitempty"`

	// 变更前的值,json字符串
	OldValue *string `json:"old_value,omitempty"`

	// 变更的时间
	OperatedTime *int64 `json:"operated_time,omitempty"`

	// 操作类型,新建,修改,删除
	Operation *string `json:"operation,omitempty"`

	Operator *IssueUser `json:"operator,omitempty"`

	// 变更的属性
	Property *string `json:"property,omitempty"`
}

func (IssueAttrHistoryRecord) String added in v0.0.91

func (o IssueAttrHistoryRecord) String() string

type IssueCommentV4

type IssueCommentV4 struct {

	// 评论内容
	Comment *string `json:"comment,omitempty"`

	// 评论id
	Id *int32 `json:"id,omitempty"`

	// 评论时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 评论时间戳
	Timestamp *string `json:"timestamp,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"`
}

IssueCompletionRateResponseV4 项目工作项概览信息

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"`
}

IssueCompletionRateV4IssueStatus 工作项不同状态下的数量

func (IssueCompletionRateV4IssueStatus) String

type IssueCustomField added in v0.0.91

type IssueCustomField struct {

	// 自定义字段
	Name *string `json:"name,omitempty"`

	// 自定义字段
	CustomField *string `json:"custom_field,omitempty"`

	// 自定义字段的可选值,多个值以英文逗号区分
	Options *string `json:"options,omitempty"`

	// 自定义字段类型, textArea 多行文本,只能包含汉字、英文大小写字母、数字、下划线和连接符,不能超过500字符; text 单行文本, 只能包含汉字、英文大小写字母、数字、下划线和连接符,不能超过500字符; select 下拉框,只能包含汉字、英文大小写字母、数字、下划线和连接符,每个选项最大长度40个字符,最多可定义60个选项; number 数字,取值范围由用户创建自定义字段时设置; date 日期 精确到年月日, time_date 日期 精确到时分秒, 长整型时间戳; checkbox 多选框,只能包含汉字、英文大小写字母、数字、下划线和连接符,每个选项最大长度40个字符,最多可定义60个选项; radio 单选框,只能包含汉字、英文大小写字母、数字、下划线和连接符,每个选项最大长度40个字符,最多可定义60个选项;
	Type *string `json:"type,omitempty"`

	// 自定义字段支持的工作项类型 2任务/Task,3缺陷/Bug,5Epic,6Feature,7Story
	TrackerIds *[]int32 `json:"tracker_ids,omitempty"`

	// 自定义字段创建时间
	CreateTime *string `json:"create_time,omitempty"`
}

IssueCustomField 自定义字段

func (IssueCustomField) String added in v0.0.91

func (o IssueCustomField) String() string

type IssueDetailCustomField added in v0.0.96

type IssueDetailCustomField struct {

	// 自定义字段
	CustomField *string `json:"custom_field,omitempty"`

	// 自定义字段名称
	FieldName *string `json:"field_name,omitempty"`

	// 自定义属性对应的值,多个值以英文逗号区分开
	Value *string `json:"value,omitempty"`

	// 自定义字段类型, textArea 多行文本,text 单行文本,select 下拉框,number 数字,time_date 日期,checkbox 多选框,radio 单选框
	FieldType *string `json:"field_type,omitempty"`

	// 自定义字段描述
	Description *string `json:"description,omitempty"`
}

func (IssueDetailCustomField) String added in v0.0.96

func (o IssueDetailCustomField) String() string

type IssueDetailResponseV4Env added in v0.1.52

type IssueDetailResponseV4Env struct {

	// 缺陷发现环境id
	Id *int32 `json:"id,omitempty"`

	// 缺陷发现环境名称
	Name *string `json:"name,omitempty"`
}

IssueDetailResponseV4Env 缺陷发现环境(仅Bug类型工作项具备该字段)

func (IssueDetailResponseV4Env) String added in v0.1.52

func (o IssueDetailResponseV4Env) String() string

type IssueDetailResponseV4StoryPoint added in v0.1.42

type IssueDetailResponseV4StoryPoint struct {

	// 故事点id
	Id *int32 `json:"id,omitempty"`

	// 故事点名称
	Name *string `json:"name,omitempty"`
}

IssueDetailResponseV4StoryPoint 故事点

func (IssueDetailResponseV4StoryPoint) String added in v0.1.42

type IssueItemSfV4 added in v0.0.91

type IssueItemSfV4 struct {

	// 实际工时
	ActualWorkHours *float64 `json:"actual_work_hours,omitempty"`

	AssignedUser *IssueUser `json:"assigned_user,omitempty"`

	Author *IssueUser `json:"author,omitempty"`

	// 工作项开始时间
	BeginTime *int64 `json:"begin_time,omitempty"`

	// 关闭工作项的时间
	ClosedTime *int64 `json:"closed_time,omitempty"`

	// 创建时间
	CreatedTime *int64 `json:"created_time,omitempty"`

	// 自定义属性
	CustomFeilds *[]CustomFeildRecord `json:"custom_feilds,omitempty"`

	Developer *IssueUser `json:"developer,omitempty"`

	// 发现问题的版本
	DiscoverVersion *string `json:"discover_version,omitempty"`

	// 工作项结束时间
	EndTime *int64 `json:"end_time,omitempty"`

	// 工作项进度值
	DoneRatio *int32 `json:"done_ratio,omitempty"`

	// 预计工时
	ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"`

	// 顺序
	Order *int32 `json:"order,omitempty"`

	// 父工作项的id
	ParentIssueId *int32 `json:"parent_issue_id,omitempty"`

	// 发布的版本
	ReleaseVersion *string `json:"release_version,omitempty"`

	// 根工作项的id
	RootIssueId *int32 `json:"root_issue_id,omitempty"`

	StoryPoint *IssueItemSfV4StoryPoint `json:"story_point,omitempty"`

	Domain *IssueItemSfV4Domain `json:"domain,omitempty"`

	Iteration *IssueItemSfV4Iteration `json:"iteration,omitempty"`

	Module *IssueItemSfV4Module `json:"module,omitempty"`

	Priority *IssueItemSfV4Priority `json:"priority,omitempty"`

	Severity *IssueItemSfV4Severity `json:"severity,omitempty"`

	Status *IssueItemSfV4Status `json:"status,omitempty"`

	Tracker *IssueItemSfV4Tracker `json:"tracker,omitempty"`

	// 工作项标题
	Subject *string `json:"subject,omitempty"`

	// 工作项更新时间
	UpdatedTime *int64 `json:"updated_time,omitempty"`
}

func (IssueItemSfV4) String added in v0.0.91

func (o IssueItemSfV4) String() string

type IssueItemSfV4Domain

type IssueItemSfV4Domain struct {

	// 领域id
	Id *int32 `json:"id,omitempty"`

	// 领域
	Name *string `json:"name,omitempty"`
}

IssueItemSfV4Domain 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"`
}

IssueItemSfV4Iteration 迭代

func (IssueItemSfV4Iteration) String

func (o IssueItemSfV4Iteration) String() string

type IssueItemSfV4Module

type IssueItemSfV4Module struct {

	// 模块id
	Id *int32 `json:"id,omitempty"`

	// 模块
	Name *string `json:"name,omitempty"`
}

IssueItemSfV4Module 模块

func (IssueItemSfV4Module) String

func (o IssueItemSfV4Module) String() string

type IssueItemSfV4Priority

type IssueItemSfV4Priority struct {

	// 优先级id
	Id *int32 `json:"id,omitempty"`

	// 优先级
	Name *string `json:"name,omitempty"`
}

IssueItemSfV4Priority 工作项优先级

func (IssueItemSfV4Priority) String

func (o IssueItemSfV4Priority) String() string

type IssueItemSfV4Severity

type IssueItemSfV4Severity struct {

	// 重要程度id
	Id *int32 `json:"id,omitempty"`

	// 重要程度
	Name *string `json:"name,omitempty"`
}

IssueItemSfV4Severity 工作项重要程度

func (IssueItemSfV4Severity) String

func (o IssueItemSfV4Severity) String() string

type IssueItemSfV4Status

type IssueItemSfV4Status struct {

	// 状态id
	Id *int32 `json:"id,omitempty"`

	// 状态名称
	Name *string `json:"name,omitempty"`
}

IssueItemSfV4Status 工作项状态

func (IssueItemSfV4Status) String

func (o IssueItemSfV4Status) String() string

type IssueItemSfV4StoryPoint added in v0.0.91

type IssueItemSfV4StoryPoint struct {

	// 故事点id
	Id *int32 `json:"id,omitempty"`

	// 故事点
	Name *string `json:"name,omitempty"`
}

IssueItemSfV4StoryPoint id 值, 1 '0', 2 '1/2', 3 '1' , 4 '2' , 5 '3' , 6 '5' , 7 '8' , 8 '13' , 9 '21' , 10 '40' , 11 '80' , 12 '100' , 13 '∞' , 14 '?' ,

func (IssueItemSfV4StoryPoint) String added in v0.0.91

func (o IssueItemSfV4StoryPoint) String() string

type IssueItemSfV4Tracker

type IssueItemSfV4Tracker struct {

	// 类型id
	Id *int32 `json:"id,omitempty"`

	// 类型名称
	Name *string `json:"name,omitempty"`
}

IssueItemSfV4Tracker 工作项类型, 2任务/Task,3缺陷/Bug,5Epic,6Feature,7Story

func (IssueItemSfV4Tracker) String

func (o IssueItemSfV4Tracker) String() string

type IssueOrder added in v0.0.78

type IssueOrder struct {

	// 顺序id
	Id *int32 `json:"id,omitempty"`

	// 顺序值
	Name *string `json:"name,omitempty"`
}

func (IssueOrder) String added in v0.0.78

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

IssueProjectResponseV4 项目信息

func (IssueProjectResponseV4) String

func (o IssueProjectResponseV4) String() string

type IssueRecordV4

type IssueRecordV4 struct {

	// 操作记录id
	Id *int32 `json:"id,omitempty"`

	// 操作记录创建时间
	CreatedTime *int64 `json:"created_time,omitempty"`

	User *IssueRecordV4User `json:"user,omitempty"`

	// 操作的记录
	Details *[]IssueRecordV4Details `json:"details,omitempty"`
}

IssueRecordV4 历史记录

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

	// 操作记录的id
	Id *int32 `json:"id,omitempty"`

	// 操作的字段
	Name *string `json:"name,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"`
}

IssueRecordV4User 工作项操作的用户

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

	// 用户自定义字段
	NewCustomFields *[]NewCustomField `json:"new_custom_fields,omitempty"`
}

IssueRequestV4 工作项属性

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

	// 自定义属性值,不建议使用,建议参考new_custom_fields字段
	CustomFields *[]CustomField `json:"custom_fields,omitempty"`

	// 自定义属性值
	NewCustomFields *[]NewCustomField `json:"new_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"`

	// 标题
	Name *string `json:"name,omitempty"`

	ParentIssue *CreateIssueResponseV4ParentIssue `json:"parent_issue,omitempty"`

	Priority *IssueItemSfV4Priority `json:"priority,omitempty"`

	Order *IssueResponseV4Order `json:"order,omitempty"`

	Severity *IssueItemSfV4Severity `json:"severity,omitempty"`

	Status *IssueItemSfV4Status `json:"status,omitempty"`

	// 工作项发布版本号
	ReleaseDev *string `json:"release_dev,omitempty"`

	// 缺陷发现版本号(仅Bug类型工作项具备该字段)
	FindReleaseDev *string `json:"find_release_dev,omitempty"`

	Env *IssueDetailResponseV4Env `json:"env,omitempty"`

	Tracker *CreateIssueResponseV4Tracker `json:"tracker,omitempty"`

	// 更新时间 年-月-日 时:分:秒
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 关闭时间 年-月-日 时:分:秒
	ClosedTime *string `json:"closed_time,omitempty"`
}

IssueResponseV4 工作项属性

func (IssueResponseV4) String

func (o IssueResponseV4) String() string

type IssueResponseV4Order added in v0.1.51

type IssueResponseV4Order struct {

	// 优先级顺序id
	Id *int32 `json:"id,omitempty"`

	// 优先级顺序名称
	Name *string `json:"name,omitempty"`
}

IssueResponseV4Order 工作项优先级顺序

func (IssueResponseV4Order) String added in v0.1.51

func (o IssueResponseV4Order) String() string

type IssueStatus added in v0.1.3

type IssueStatus struct {

	// 状态uuid
	Id *string `json:"id,omitempty"`

	// 状态数字id
	StatusId *int32 `json:"status_id,omitempty"`

	// 状态名称
	Name *string `json:"name,omitempty"`

	// 关联的工作项类型列表
	TrackerIds *[]int32 `json:"tracker_ids,omitempty"`

	StatusAttribute *StatusAttribute `json:"status_attribute,omitempty"`
}

func (IssueStatus) String added in v0.1.3

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

IssueStatusResponseV4 工作项的统计信息

func (IssueStatusResponseV4) String

func (o IssueStatusResponseV4) String() string

type IssueUser

type IssueUser struct {

	// 用户uuid
	UserId *string `json:"user_id,omitempty"`

	// 用户数字id
	UserNumId *int32 `json:"user_num_id,omitempty"`

	// 用户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 IterationHistory added in v0.0.78

type IterationHistory struct {

	// 迭代ID
	IterationId *string `json:"iteration_id,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	Operator *IterationHistoryOperator `json:"operator,omitempty"`

	// 操作类型
	Operate *string `json:"operate,omitempty"`

	// 操作时间
	OperateTime *string `json:"operate_time,omitempty"`

	// 操作详情
	Details *[]IterationHistoryDetails `json:"details,omitempty"`
}

func (IterationHistory) String added in v0.0.78

func (o IterationHistory) String() string

type IterationHistoryDetails added in v0.0.78

type IterationHistoryDetails struct {

	// 变更的字段
	OperateFieldName *string `json:"operate_field_name,omitempty"`

	// 操作后的值
	NewValue *string `json:"new_value,omitempty"`

	// 操作前的值
	OldValue *string `json:"old_value,omitempty"`
}

IterationHistoryDetails 操作详情

func (IterationHistoryDetails) String added in v0.0.78

func (o IterationHistoryDetails) String() string

type IterationHistoryOperator added in v0.1.6

type IterationHistoryOperator struct {

	// 用户uuid
	UserId *string `json:"user_id,omitempty"`

	// 用户名
	UserName *string `json:"user_name,omitempty"`

	// 昵称
	NickName *string `json:"nick_name,omitempty"`

	// 租户uuid
	DomainId *string `json:"domain_id,omitempty"`

	// 租户名
	DomainName *string `json:"domain_name,omitempty"`
}

IterationHistoryOperator 变更操作人

func (IterationHistoryOperator) String added in v0.1.6

func (o IterationHistoryOperator) String() string

type ListAssociatedIssuesRequest added in v0.0.91

type ListAssociatedIssuesRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项ID
	IssueId int32 `json:"issue_id"`

	// 每页数量
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量
	Offset *int32 `json:"offset,omitempty"`
}

ListAssociatedIssuesRequest Request Object

func (ListAssociatedIssuesRequest) String added in v0.0.91

type ListAssociatedIssuesResponse added in v0.0.91

type ListAssociatedIssuesResponse struct {

	// 关联的工作项列表
	Issues *[]AssociateIssueDetail `json:"issues,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAssociatedIssuesResponse Response Object

func (ListAssociatedIssuesResponse) String added in v0.0.91

type ListAssociatedTestCasesRequest added in v0.0.91

type ListAssociatedTestCasesRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项ID
	IssueId int32 `json:"issue_id"`

	// 每页数量
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量
	Offset *int32 `json:"offset,omitempty"`
}

ListAssociatedTestCasesRequest Request Object

func (ListAssociatedTestCasesRequest) String added in v0.0.91

type ListAssociatedTestCasesResponse added in v0.0.91

type ListAssociatedTestCasesResponse struct {

	// 关联的测试用例列表
	TestCases *[]AssociatedTestCase `json:"test_cases,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAssociatedTestCasesResponse Response Object

func (ListAssociatedTestCasesResponse) String added in v0.0.91

type ListAssociatedWikisRequest added in v0.0.91

type ListAssociatedWikisRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项ID
	IssueId int32 `json:"issue_id"`

	// 每页数量
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量
	Offset *int32 `json:"offset,omitempty"`
}

ListAssociatedWikisRequest Request Object

func (ListAssociatedWikisRequest) String added in v0.0.91

type ListAssociatedWikisResponse added in v0.0.91

type ListAssociatedWikisResponse struct {

	// 关联的wiki列表
	Wikis *[]AttachWikiDetail `json:"wikis,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAssociatedWikisResponse Response Object

func (ListAssociatedWikisResponse) String added in v0.0.91

type ListChildIssuesV4Request

type ListChildIssuesV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项id
	IssueId int32 `json:"issue_id"`
}

ListChildIssuesV4Request 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:"-"`
}

ListChildIssuesV4Response Response Object

func (ListChildIssuesV4Response) String

func (o ListChildIssuesV4Response) String() string

type ListDomainNotAddedProjectsV4Request

type ListDomainNotAddedProjectsV4Request struct {

	// 分页索引,偏移量,offset是limit的整数倍,limit=10,offset=0,10,20...
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的数量,每页最多显示100条
	Limit *int32 `json:"limit,omitempty"`
}

ListDomainNotAddedProjectsV4Request Request Object

func (ListDomainNotAddedProjectsV4Request) String

type ListDomainNotAddedProjectsV4Response

type ListDomainNotAddedProjectsV4Response struct {

	// 项目信息列表
	Projects *[]ListDomainNotAddedProjectsV4ResponseBodyProjects `json:"projects,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListDomainNotAddedProjectsV4Response 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"`
}

ListDomainNotAddedProjectsV4ResponseBodyCreator 创建者信息

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

type ListIssueAssociatedCommitsRequest added in v0.0.91

type ListIssueAssociatedCommitsRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项ID
	IssueId int32 `json:"issue_id"`

	// 查询类型:commit(提交记录) || branch(分支记录)
	Type *string `json:"type,omitempty"`

	// 每页数量
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量
	Offset *int32 `json:"offset,omitempty"`
}

ListIssueAssociatedCommitsRequest Request Object

func (ListIssueAssociatedCommitsRequest) String added in v0.0.91

type ListIssueAssociatedCommitsResponse added in v0.0.91

type ListIssueAssociatedCommitsResponse struct {

	// 提交记录列表
	Commits *[]CommitRecordDetail `json:"commits,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListIssueAssociatedCommitsResponse Response Object

func (ListIssueAssociatedCommitsResponse) String added in v0.0.91

type ListIssueCommentsV4Request

type ListIssueCommentsV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项id
	IssueId int32 `json:"issue_id"`

	// 分页索引,偏移量
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条数,最大显示100条
	Limit *int32 `json:"limit,omitempty"`
}

ListIssueCommentsV4Request Request Object

func (ListIssueCommentsV4Request) String

type ListIssueCommentsV4Response

type ListIssueCommentsV4Response struct {

	// 评论总数
	Total *int32 `json:"total,omitempty"`

	// 品论列表
	Comments       *[]IssueCommentV4 `json:"comments,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListIssueCommentsV4Response Response Object

func (ListIssueCommentsV4Response) String

type ListIssueCustomFieldsRequest added in v0.0.91

type ListIssueCustomFieldsRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *ListIssueCustomFieldsRequestBody `json:"body,omitempty"`
}

ListIssueCustomFieldsRequest Request Object

func (ListIssueCustomFieldsRequest) String added in v0.0.91

type ListIssueCustomFieldsRequestBody added in v0.0.91

type ListIssueCustomFieldsRequestBody struct {

	// 自定义字段
	CustomFields *[]string `json:"custom_fields,omitempty"`

	// 自定义字段页面显示的含义
	Names *[]string `json:"names,omitempty"`

	// 查询结果是否包括未使用的自定义字段,默认仅查询使用中的自定义字段,设为true时查询项目中所有自定义字段
	IncludedNotInUse *bool `json:"included_not_in_use,omitempty"`
}

ListIssueCustomFieldsRequestBody 查询Scrum工作项的自定义字段,custom_fields和names的相关自定义字段都返回

func (ListIssueCustomFieldsRequestBody) String added in v0.0.91

type ListIssueCustomFieldsResponse added in v0.0.91

type ListIssueCustomFieldsResponse struct {

	// 自定义字段返回数据
	Datas          *[]IssueCustomField `json:"datas,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ListIssueCustomFieldsResponse Response Object

func (ListIssueCustomFieldsResponse) String added in v0.0.91

type ListIssueItemResponse added in v0.0.78

type ListIssueItemResponse 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"`

	// 自定义属性值,不建议使用,建议参考new_custom_fields字段
	CustomFields *[]CustomField `json:"custom_fields,omitempty"`

	// 自定义属性值
	NewCustomFields *[]NewCustomField `json:"new_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"`

	// 标题
	Name *string `json:"name,omitempty"`

	ParentIssue *CreateIssueResponseV4ParentIssue `json:"parent_issue,omitempty"`

	Priority *IssueItemSfV4Priority `json:"priority,omitempty"`

	Order *IssueResponseV4Order `json:"order,omitempty"`

	Severity *IssueItemSfV4Severity `json:"severity,omitempty"`

	Status *IssueItemSfV4Status `json:"status,omitempty"`

	// 工作项发布版本号
	ReleaseDev *string `json:"release_dev,omitempty"`

	// 缺陷发现版本号(仅Bug类型工作项具备该字段)
	FindReleaseDev *string `json:"find_release_dev,omitempty"`

	Env *IssueDetailResponseV4Env `json:"env,omitempty"`

	Tracker *CreateIssueResponseV4Tracker `json:"tracker,omitempty"`

	// 更新时间 年-月-日 时:分:秒
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 关闭时间 年-月-日 时:分:秒
	ClosedTime *string `json:"closed_time,omitempty"`

	// 是否已经删除,true 已经删除, false 未删除
	Deleted *bool `json:"deleted,omitempty"`
}

func (ListIssueItemResponse) String added in v0.0.78

func (o ListIssueItemResponse) String() string

type ListIssueRecordsV4Request

type ListIssueRecordsV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项id
	IssueId int32 `json:"issue_id"`

	// 分页索引,偏移量,offset是limit的整数倍,limit=10,offset=0,10,20...
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的数量,每页最多显示100条
	Limit *int32 `json:"limit,omitempty"`
}

ListIssueRecordsV4Request 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:"-"`
}

ListIssueRecordsV4Response 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"`

	// 分页索引,偏移量,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"`

	// true 查询的工作项包含已经逻辑删除的,false 查询的工作项不包含已经删除的
	IncludeDeleted *bool `json:"include_deleted,omitempty"`

	// 根据工作项的创建时间查询工作项,(查询的起始时间,查询的结束时间)
	CreatedTimeInterval *string `json:"created_time_interval,omitempty"`

	// 根据工作项的更新时间查询工作项,(查询的起始时间,查询的结束时间)
	UpdatedTimeInterval *string `json:"updated_time_interval,omitempty"`

	// 根据工作项的结束时间查询工作项,(查询的起始时间,查询的结束时间)
	ClosedTimeInterval *string `json:"closed_time_interval,omitempty"`

	// 自定义字段
	CustomFields *[]ListIssueRequestV4CustomFields `json:"custom_fields,omitempty"`
}

func (ListIssueRequestV4) String

func (o ListIssueRequestV4) String() string

type ListIssueRequestV4CustomFields added in v0.0.91

type ListIssueRequestV4CustomFields struct {

	// 自定义属性字段
	CustomField *string `json:"custom_field,omitempty"`

	// 自定义属性对应的值
	Value *string `json:"value,omitempty"`
}

func (ListIssueRequestV4CustomFields) String added in v0.0.91

type ListIssuesSfV4Request added in v0.0.91

type ListIssuesSfV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 偏移量 从0开始
	Offset *int32 `json:"offset,omitempty"`

	// 每页数量 最小1,最大100
	Limit *int32 `json:"limit,omitempty"`

	// 工作项类型
	TrackerId *ListIssuesSfV4RequestTrackerId `json:"tracker_id,omitempty"`

	// 创建工作项的时间(查询的起始时间,查询的结束时间)
	CreatedTimeInterval *string `json:"created_time_interval,omitempty"`

	// 更新工作项的时间(查询的起始时间,查询的结束时间)
	UpdatedTimeInterval *string `json:"updated_time_interval,omitempty"`
}

ListIssuesSfV4Request Request Object

func (ListIssuesSfV4Request) String added in v0.0.91

func (o ListIssuesSfV4Request) String() string

type ListIssuesSfV4RequestTrackerId added in v0.0.91

type ListIssuesSfV4RequestTrackerId struct {
	// contains filtered or unexported fields
}

func (ListIssuesSfV4RequestTrackerId) MarshalJSON added in v0.0.91

func (c ListIssuesSfV4RequestTrackerId) MarshalJSON() ([]byte, error)

func (*ListIssuesSfV4RequestTrackerId) UnmarshalJSON added in v0.0.91

func (c *ListIssuesSfV4RequestTrackerId) UnmarshalJSON(b []byte) error

func (ListIssuesSfV4RequestTrackerId) Value added in v0.0.91

type ListIssuesSfV4Response added in v0.0.91

type ListIssuesSfV4Response struct {

	// 工作项
	Issues *[]IssueItemSfV4 `json:"issues,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListIssuesSfV4Response Response Object

func (ListIssuesSfV4Response) String added in v0.0.91

func (o ListIssuesSfV4Response) String() string

type ListIssuesV4Request

type ListIssuesV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *ListIssueRequestV4 `json:"body,omitempty"`
}

ListIssuesV4Request Request Object

func (ListIssuesV4Request) String

func (o ListIssuesV4Request) String() string

type ListIssuesV4Response

type ListIssuesV4Response struct {

	// 工作项列表
	Issues *[]ListIssueItemResponse `json:"issues,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListIssuesV4Response Response Object

func (ListIssuesV4Response) String

func (o ListIssuesV4Response) String() string

type ListIterationHistoriesRequest added in v0.0.78

type ListIterationHistoriesRequest struct {

	// 迭代id
	IterationId int32 `json:"iteration_id"`

	// 偏移量
	Offset *int32 `json:"offset,omitempty"`

	// 每页数量,最大为100
	Limit *int32 `json:"limit,omitempty"`
}

ListIterationHistoriesRequest Request Object

func (ListIterationHistoriesRequest) String added in v0.0.78

type ListIterationHistoriesResponse added in v0.0.78

type ListIterationHistoriesResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 历史记录
	Histories      *[]IterationHistory `json:"histories,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ListIterationHistoriesResponse Response Object

func (ListIterationHistoriesResponse) String added in v0.0.78

type ListProjectBugStaticsV4Request

type ListProjectBugStaticsV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`
}

ListProjectBugStaticsV4Request Request Object

func (ListProjectBugStaticsV4Request) String

type ListProjectBugStaticsV4Response

type ListProjectBugStaticsV4Response struct {

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

ListProjectBugStaticsV4Response Response Object

func (ListProjectBugStaticsV4Response) String

type ListProjectDemandStaticV4Request

type ListProjectDemandStaticV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`
}

ListProjectDemandStaticV4Request Request Object

func (ListProjectDemandStaticV4Request) String

type ListProjectDemandStaticV4Response

type ListProjectDemandStaticV4Response struct {

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

ListProjectDemandStaticV4Response Response Object

func (ListProjectDemandStaticV4Response) String

type ListProjectDomainsRequest added in v0.0.101

type ListProjectDomainsRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 查询偏移量
	Offset *int32 `json:"offset,omitempty"`

	// 一次返回的数据,最小1,最大100
	Limit *int32 `json:"limit,omitempty"`
}

ListProjectDomainsRequest Request Object

func (ListProjectDomainsRequest) String added in v0.0.101

func (o ListProjectDomainsRequest) String() string

type ListProjectDomainsResponse added in v0.0.101

type ListProjectDomainsResponse struct {

	// 领域总数
	Total *int32 `json:"total,omitempty"`

	// 领域列表
	Domains        *[]CreateProjectDomainResponseBody `json:"domains,omitempty"`
	HttpStatusCode int                                `json:"-"`
}

ListProjectDomainsResponse Response Object

func (ListProjectDomainsResponse) String added in v0.0.101

type ListProjectIssuesRecordsV4Request added in v0.0.91

type ListProjectIssuesRecordsV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 偏移量 从0开始,offset是limit的整数倍,limit=10,offset=0,10,20...
	Offset *int32 `json:"offset,omitempty"`

	// 每页数量 最小1,最大100
	Limit *int32 `json:"limit,omitempty"`

	// 变更工作项的时间(查询的起始时间,查询的结束时间)
	OperatedTimeInterval *string `json:"operated_time_interval,omitempty"`
}

ListProjectIssuesRecordsV4Request Request Object

func (ListProjectIssuesRecordsV4Request) String added in v0.0.91

type ListProjectIssuesRecordsV4Response added in v0.0.91

type ListProjectIssuesRecordsV4Response struct {

	// 历史记录
	Records *[]IssueAttrHistoryRecord `json:"records,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListProjectIssuesRecordsV4Response Response Object

func (ListProjectIssuesRecordsV4Response) String added in v0.0.91

type ListProjectIterationsV4Request

type ListProjectIterationsV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 更新迭代的时间(查询的起始时间,查询的结束时间)
	UpdatedTimeInterval *string `json:"updated_time_interval,omitempty"`

	// 是否包含被删除的迭代,默认false不包含被删除的迭代
	IncludeDeleted *bool `json:"include_deleted,omitempty"`
}

ListProjectIterationsV4Request Request Object

func (ListProjectIterationsV4Request) String

type ListProjectIterationsV4Response

type ListProjectIterationsV4Response struct {

	// 迭代总数
	Total *int32 `json:"total,omitempty"`

	// 迭代信息
	Iterations     *[]ListProjectVersionsV4ResponseBodyIterations `json:"iterations,omitempty"`
	HttpStatusCode int                                            `json:"-"`
}

ListProjectIterationsV4Response Response Object

func (ListProjectIterationsV4Response) String

type ListProjectMembersV4Request

type ListProjectMembersV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 分页索引,偏移量,offset是limit的整数倍,limit=10,offset=0,10,20...
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的数量,每页最多显示100条
	Limit *int32 `json:"limit,omitempty"`
}

ListProjectMembersV4Request Request Object

func (ListProjectMembersV4Request) String

type ListProjectMembersV4Response

type ListProjectMembersV4Response struct {

	// 项目成员列表
	Members *[]MemberListV4Members `json:"members,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListProjectMembersV4Response Response Object

func (ListProjectMembersV4Response) String

type ListProjectModulesRequest added in v0.0.96

type ListProjectModulesRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 查询偏移量
	Offset *int32 `json:"offset,omitempty"`

	// 一次返回的数据,最小1,最大100
	Limit *int32 `json:"limit,omitempty"`
}

ListProjectModulesRequest Request Object

func (ListProjectModulesRequest) String added in v0.0.96

func (o ListProjectModulesRequest) String() string

type ListProjectModulesResponse added in v0.0.96

type ListProjectModulesResponse struct {

	// 模块总数
	Total *int32 `json:"total,omitempty"`

	// 模块列表
	Modules        *[]ProjectModule `json:"modules,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListProjectModulesResponse Response Object

func (ListProjectModulesResponse) String added in v0.0.96

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

	// 迭代状态
	Status *string `json:"status,omitempty"`

	// 迭代更新时间,长整型时间戳
	UpdatedTime *int64 `json:"updated_time,omitempty"`

	// 迭代是否已经删除,false, 未删除, true已经删除
	Deleted *bool `json:"deleted,omitempty"`
}

func (ListProjectVersionsV4ResponseBodyIterations) String

type ListProjectWorkHoursRequest

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

ListProjectWorkHoursRequest 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是limit的整数倍,limit=10,offset=0,10,20...
	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:"-"`
}

ListProjectWorkHoursResponse Response Object

func (ListProjectWorkHoursResponse) String

type ListProjectWorkHoursTypeRequest added in v0.1.43

type ListProjectWorkHoursTypeRequest struct {

	// 项目id
	ProjectId string `json:"project_id"`

	// 每页显示的数量,默认显示10条,最多显示100条
	Limit *int32 `json:"limit,omitempty"`

	// 分页索引,偏移量offset是limit的整数倍,limit=10,offset=0,10,20...
	Offset *int32 `json:"offset,omitempty"`

	// 工时类型状态,支持按状态筛选查询,置空时查询所有工时类型,1表示查询启用的工时类型,2表示查询未启用的工时类型
	Status *int32 `json:"status,omitempty"`
}

ListProjectWorkHoursTypeRequest Request Object

func (ListProjectWorkHoursTypeRequest) String added in v0.1.43

type ListProjectWorkHoursTypeResponse added in v0.1.43

type ListProjectWorkHoursTypeResponse struct {

	// 工时类型列表
	WorkHoursTypes *[]WorkHoursType `json:"work_hours_types,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListProjectWorkHoursTypeResponse Response Object

func (ListProjectWorkHoursTypeResponse) String added in v0.1.43

type ListProjectsV4Request

type ListProjectsV4Request struct {

	// 偏移量 从0开始
	Offset int32 `json:"offset"`

	// 条数 最小1条,最大1000
	Limit int32 `json:"limit"`

	// 模糊查询项目名称或描述,不支持通配符等高级查询
	Search *string `json:"search,omitempty"`

	// 项目类型 scrum|xboard
	ProjectType *string `json:"project_type,omitempty"`

	// 排序条件 默认创建时间降序(name|created_on)(asc|desc)
	Sort *string `json:"sort,omitempty"`

	// 是否归档 true已归档|false未归档
	Archive *string `json:"archive,omitempty"`

	// 默认返回当前用户参与的项目列表,domain_projects租户下的所有项目列表,absent返回当前用户未参与的租户项目列表
	QueryType *string `json:"query_type,omitempty"`
}

ListProjectsV4Request 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:"-"`
}

ListProjectsV4Response 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"`
}

ListProjectsV4ResponseBodyCreator 创建者信息

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

type ListScrumProjectStatusesRequest added in v0.1.3

type ListScrumProjectStatusesRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 查询偏移量
	Offset *int32 `json:"offset,omitempty"`

	// 一次返回的数据,最小1,最大100
	Limit *int32 `json:"limit,omitempty"`

	// 自定义字段支持的工作项类型 2任务/Task,3缺陷/Bug,5Epic,6Feature,7Story
	TrackerId *int32 `json:"tracker_id,omitempty"`
}

ListScrumProjectStatusesRequest Request Object

func (ListScrumProjectStatusesRequest) String added in v0.1.3

type ListScrumProjectStatusesResponse added in v0.1.3

type ListScrumProjectStatusesResponse struct {

	// 状态总数
	Total *int32 `json:"total,omitempty"`

	// 状态列表
	IssueStatuses  *[]IssueStatus `json:"issue_statuses,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListScrumProjectStatusesResponse Response Object

func (ListScrumProjectStatusesResponse) String added in v0.1.3

type ListSpecIssueStayTimesRequest added in v0.1.28

type ListSpecIssueStayTimesRequest struct {
	Body *ListSpecIssueStayTimesRequestBody `json:"body,omitempty"`
}

ListSpecIssueStayTimesRequest Request Object

func (ListSpecIssueStayTimesRequest) String added in v0.1.28

type ListSpecIssueStayTimesRequestBody added in v0.1.28

type ListSpecIssueStayTimesRequestBody struct {

	// 项目uuid
	ProjectId *string `json:"project_id,omitempty"`

	// 工作项id字符串列表
	IssueIds *[]string `json:"issue_ids,omitempty"`
}

func (ListSpecIssueStayTimesRequestBody) String added in v0.1.28

type ListSpecIssueStayTimesResponse added in v0.1.28

type ListSpecIssueStayTimesResponse struct {

	// 计算失败的工作项id,一般指未关闭的工作项
	Fails *[]string `json:"fails,omitempty"`

	// 工作项时间数据(创建时间-关闭时间)
	Data *[]ListSpecIssueStayTimesResponseBodyData `json:"data,omitempty"`

	// 停留时间求和(单位:秒)
	TotalStayTime *int64 `json:"total_stay_time,omitempty"`

	// 停留时间求和的工作项个数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListSpecIssueStayTimesResponse Response Object

func (ListSpecIssueStayTimesResponse) String added in v0.1.28

type ListSpecIssueStayTimesResponseBodyData added in v0.1.28

type ListSpecIssueStayTimesResponseBodyData struct {

	// 工作项id字符串
	Id *string `json:"id,omitempty"`

	// 停留时间(单位:秒)
	StayTime *int64 `json:"stay_time,omitempty"`
}

func (ListSpecIssueStayTimesResponseBodyData) String added in v0.1.28

type ListStatusStatisticRequest added in v0.1.15

type ListStatusStatisticRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 迭代数字id
	IterationId int32 `json:"iteration_id"`

	// 自定义字段支持的工作项类型 2任务/Task,3缺陷/Bug,7Story
	TrackerId int32 `json:"tracker_id"`

	// 工作项状态数字id
	StatusId int32 `json:"status_id"`
}

ListStatusStatisticRequest Request Object

func (ListStatusStatisticRequest) String added in v0.1.15

type ListStatusStatisticResponse added in v0.1.15

type ListStatusStatisticResponse struct {
	Body           *[]UserStatusStatistic `json:"body,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

ListStatusStatisticResponse Response Object

func (ListStatusStatisticResponse) String added in v0.1.15

type ListTemplatesRequest added in v0.1.40

type ListTemplatesRequest struct {

	// 项目id
	ProjectId string `json:"project_id"`

	// 工作项类型id
	TrackerId *string `json:"tracker_id,omitempty"`
}

ListTemplatesRequest Request Object

func (ListTemplatesRequest) String added in v0.1.40

func (o ListTemplatesRequest) String() string

type ListTemplatesResponse added in v0.1.40

type ListTemplatesResponse struct {

	// 模板信息列表
	Templates      *[]TemplateListV4ResponseBodyTemplates `json:"templates,omitempty"`
	HttpStatusCode int                                    `json:"-"`
}

ListTemplatesResponse Response Object

func (ListTemplatesResponse) String added in v0.1.40

func (o ListTemplatesResponse) String() string

type ListWorkTableIssueRequestV4RequestBody added in v0.1.40

type ListWorkTableIssueRequestV4RequestBody struct {

	// 偏移量,offset是limit的整数倍,limit=10,offset=0,10,20...
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示数量
	Limit *int32 `json:"limit,omitempty"`

	// 搜索关键词
	Subject *string `json:"subject,omitempty"`

	// 工作项创建时间区间
	CreatedOn *string `json:"created_on,omitempty"`

	// 工作项更新时间区间
	UpdatedOn *string `json:"updated_on,omitempty"`

	// 工作项结束时间区间
	ClosedOn *string `json:"closed_on,omitempty"`

	// 工作项预计开始日期区间
	StartDate *string `json:"start_date,omitempty"`

	// 工作项预计结束日期区间
	DueDate *string `json:"due_date,omitempty"`

	// 工作项类型
	TrackerId *string `json:"tracker_id,omitempty"`

	// 工作项状态
	StatusId *string `json:"status_id,omitempty"`

	// 工作项创建人id
	AuthorId *string `json:"author_id,omitempty"`

	// 工作项开发人员id
	DeveloperId *string `json:"developer_id,omitempty"`

	// 工作项优先级id
	PriorityId *string `json:"priority_id,omitempty"`
}

func (ListWorkTableIssueRequestV4RequestBody) String added in v0.1.40

type ListWorkitemStatusRecordsV4Request added in v0.0.91

type ListWorkitemStatusRecordsV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 偏移量 从0开始
	Offset *int32 `json:"offset,omitempty"`

	// 每页数量 最小1,最大100
	Limit *int32 `json:"limit,omitempty"`
}

ListWorkitemStatusRecordsV4Request Request Object

func (ListWorkitemStatusRecordsV4Request) String added in v0.0.91

type ListWorkitemStatusRecordsV4Response added in v0.0.91

type ListWorkitemStatusRecordsV4Response struct {

	// 操作历史
	Records *[]WorkitemStatusRecords `json:"records,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListWorkitemStatusRecordsV4Response Response Object

func (ListWorkitemStatusRecordsV4Response) String added in v0.0.91

type ListWorkitemsRequest added in v0.0.91

type ListWorkitemsRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 偏移量 从0开始
	Offset *int32 `json:"offset,omitempty"`

	// 每页数量 最小1,最大100
	Limit *int32 `json:"limit,omitempty"`

	// 创建工作项的时间(查询的起始时间,查询的结束时间)
	CreatedTimeInterval *string `json:"created_time_interval,omitempty"`
}

ListWorkitemsRequest Request Object

func (ListWorkitemsRequest) String added in v0.0.91

func (o ListWorkitemsRequest) String() string

type ListWorkitemsResponse added in v0.0.91

type ListWorkitemsResponse struct {

	// 工作项
	WorkItems *[]Workitems `json:"work_items,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListWorkitemsResponse Response Object

func (ListWorkitemsResponse) String added in v0.0.91

func (o ListWorkitemsResponse) 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 浏览者, 9 运维经理
	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"`
}

MetricRequest2Dividend 指标分子过滤条件

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"`
}

MetricRequest3Dividend 指标分子过滤条件

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"`
}

MetricRequestV2Dividend 指标分子过滤条件

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

type ModuleOwner added in v0.0.96

type ModuleOwner struct {

	// 用户32位字符串id
	UserId *string `json:"user_id,omitempty"`

	// 用户数字id
	UserNumId *int32 `json:"user_num_id,omitempty"`

	// 用户名称
	UserName *string `json:"user_name,omitempty"`

	// 用户昵称
	NickName *string `json:"nick_name,omitempty"`
}

func (ModuleOwner) String added in v0.0.96

func (o ModuleOwner) String() string

type NewCustomField added in v0.0.91

type NewCustomField struct {

	// 自定义字段
	CustomField *string `json:"custom_field,omitempty"`

	// 自定义字段名称
	FieldName *string `json:"field_name,omitempty"`

	// 自定义属性对应的值,多个值以英文逗号区分开
	Value *string `json:"value,omitempty"`
}

NewCustomField 自定义字段

func (NewCustomField) String added in v0.0.91

func (o NewCustomField) String() string

type ProjectChildModule added in v0.0.96

type ProjectChildModule struct {

	// 模块id
	ModuleId *int32 `json:"module_id,omitempty"`

	// 模块名称
	ModuleName *string `json:"module_name,omitempty"`

	Owner *ModuleOwner `json:"owner,omitempty"`

	// 模块层级
	Deepth *int32 `json:"deepth,omitempty"`

	// 是否是父级,true 父模块, false 非父模块
	IsParent *bool `json:"is_parent,omitempty"`

	// 父模块id
	ParentModuleId *int32 `json:"parent_module_id,omitempty"`
}

func (ProjectChildModule) String added in v0.0.96

func (o ProjectChildModule) String() string

type ProjectModule added in v0.0.96

type ProjectModule struct {

	// 模块id
	ModuleId *int32 `json:"module_id,omitempty"`

	// 模块名称
	ModuleName *string `json:"module_name,omitempty"`

	Owner *ModuleOwner `json:"owner,omitempty"`

	// 模块层级
	Deepth *int32 `json:"deepth,omitempty"`

	// 是否是父级,true 父模块, false 非父模块
	IsParent *bool `json:"is_parent,omitempty"`

	// 子模块信息
	Children *[]ProjectChildModule `json:"children,omitempty"`
}

func (ProjectModule) String added in v0.0.96

func (o ProjectModule) String() string

type RemoveProjectRequest

type RemoveProjectRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`
}

RemoveProjectRequest Request Object

func (RemoveProjectRequest) String

func (o RemoveProjectRequest) String() string

type RemoveProjectResponse

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

RemoveProjectResponse Response Object

func (RemoveProjectResponse) String

func (o RemoveProjectResponse) String() string

type ScrumCustomField added in v0.0.68

type ScrumCustomField struct {

	// 自定义字段
	Name *string `json:"name,omitempty"`

	// 自定义字段值
	Value *string `json:"value,omitempty"`
}

func (ScrumCustomField) String added in v0.0.68

func (o ScrumCustomField) String() string

type ScrumStatusFlowDirectToVo added in v0.0.91

type ScrumStatusFlowDirectToVo struct {

	// 流转数据的uuid
	Id *string `json:"id,omitempty"`

	// 状态id
	StatusId *int32 `json:"status_id,omitempty"`

	// 状态名
	Name *string `json:"name,omitempty"`

	// 是否开启流转
	Enabled *bool `json:"enabled,omitempty"`
}

func (ScrumStatusFlowDirectToVo) String added in v0.0.91

func (o ScrumStatusFlowDirectToVo) String() string

type ScrumStatusFlowVo added in v0.0.91

type ScrumStatusFlowVo struct {

	// 流转数据的uuid
	Id *string `json:"id,omitempty"`

	// 状态名称
	Name *string `json:"name,omitempty"`

	// 状态id
	StatusId *int32 `json:"status_id,omitempty"`

	// 流转到的数据
	DirectTo *[]ScrumStatusFlowDirectToVo `json:"direct_to,omitempty"`
}

func (ScrumStatusFlowVo) String added in v0.0.91

func (o ScrumStatusFlowVo) String() string

type SearchIssuesRequest added in v0.1.40

type SearchIssuesRequest struct {
	Body *ListWorkTableIssueRequestV4RequestBody `json:"body,omitempty"`
}

SearchIssuesRequest Request Object

func (SearchIssuesRequest) String added in v0.1.40

func (o SearchIssuesRequest) String() string

type SearchIssuesResponse added in v0.1.40

type SearchIssuesResponse struct {

	// 工作项信息列表
	IssueList *[]WorkTableIssuseListResponseBodyIssueList `json:"issue_list,omitempty"`

	// 工作项总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

SearchIssuesResponse Response Object

func (SearchIssuesResponse) String added in v0.1.40

func (o SearchIssuesResponse) String() string

type ShowBugDensityV2Request

type ShowBugDensityV2Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *MetricRequestV2 `json:"body,omitempty"`
}

ShowBugDensityV2Request 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:"-"`
}

ShowBugDensityV2Response Response Object

func (ShowBugDensityV2Response) String

func (o ShowBugDensityV2Response) String() string

type ShowBugsPerDeveloperRequest

type ShowBugsPerDeveloperRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *MetricRequest2 `json:"body,omitempty"`
}

ShowBugsPerDeveloperRequest Request Object

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

ShowBugsPerDeveloperResponse Response Object

func (ShowBugsPerDeveloperResponse) String

type ShowCompletionRateRequest

type ShowCompletionRateRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *MetricRequest3 `json:"body,omitempty"`
}

ShowCompletionRateRequest 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:"-"`
}

ShowCompletionRateResponse Response Object

func (ShowCompletionRateResponse) String

type ShowCurUserInfoRequest

type ShowCurUserInfoRequest struct {
}

ShowCurUserInfoRequest 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:"-"`
}

ShowCurUserInfoResponse Response Object

func (ShowCurUserInfoResponse) String

func (o ShowCurUserInfoResponse) String() string

type ShowCurUserRoleRequest

type ShowCurUserRoleRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`
}

ShowCurUserRoleRequest Request Object

func (ShowCurUserRoleRequest) String

func (o ShowCurUserRoleRequest) String() string

type ShowCurUserRoleResponse

type ShowCurUserRoleResponse struct {

	// 用户角色id 成员角色, -1 项目创建者, 3 项目经理, 4 开发人员, 5 测试经理, 6 测试人员, 7 参与者, 8 浏览者, 9 运维经理
	UserRole       *int32 `json:"user_role,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowCurUserRoleResponse Response Object

func (ShowCurUserRoleResponse) String

func (o ShowCurUserRoleResponse) String() string

type ShowIssueCompletionRateRequest

type ShowIssueCompletionRateRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`
}

ShowIssueCompletionRateRequest Request Object

func (ShowIssueCompletionRateRequest) String

type ShowIssueCompletionRateResponse

type ShowIssueCompletionRateResponse struct {

	// 不同类型的工作项完成率
	IssueCompletionRates *[]IssueCompletionRateV4IssueCompletionRates `json:"issue_completion_rates,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowIssueCompletionRateResponse Response Object

func (ShowIssueCompletionRateResponse) String

type ShowIssueV4Request

type ShowIssueV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项id
	IssueId int32 `json:"issue_id"`
}

ShowIssueV4Request 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"`

	// 自定义属性值,不建议使用,建议参考new_custom_fields字段
	CustomFields *[]CustomField `json:"custom_fields,omitempty"`

	// 自定义属性值
	NewCustomFields *[]IssueDetailCustomField `json:"new_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"`

	StoryPoint *IssueDetailResponseV4StoryPoint `json:"story_point,omitempty"`

	Module *IssueItemSfV4Module `json:"module,omitempty"`

	// 标题
	Name *string `json:"name,omitempty"`

	ParentIssue *CreateIssueResponseV4ParentIssue `json:"parent_issue,omitempty"`

	Priority *IssueItemSfV4Priority `json:"priority,omitempty"`

	Severity *IssueItemSfV4Severity `json:"severity,omitempty"`

	Status *IssueItemSfV4Status `json:"status,omitempty"`

	// 工作项发布版本号
	ReleaseDev *string `json:"release_dev,omitempty"`

	// 缺陷发现版本号(仅Bug类型工作项具备该字段)
	FindReleaseDev *string `json:"find_release_dev,omitempty"`

	Env *IssueDetailResponseV4Env `json:"env,omitempty"`

	Tracker *CreateIssueResponseV4Tracker `json:"tracker,omitempty"`

	// 更新时间 年-月-日 时:分:秒
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 关闭时间 年-月-日 时:分:秒
	ClosedTime *string `json:"closed_time,omitempty"`

	// 工作项描述
	Description *string `json:"description,omitempty"`

	Order *IssueOrder `json:"order,omitempty"`

	// 附近列表
	Accessories    *[]IssueAccessory `json:"accessories,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ShowIssueV4Response Response Object

func (ShowIssueV4Response) String

func (o ShowIssueV4Response) String() string

type ShowIssuesWrokFlowConfigRequest added in v0.0.91

type ShowIssuesWrokFlowConfigRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项类型id [2,3,4,5,6,7]
	TrackerId int32 `json:"tracker_id"`
}

ShowIssuesWrokFlowConfigRequest Request Object

func (ShowIssuesWrokFlowConfigRequest) String added in v0.0.91

type ShowIssuesWrokFlowConfigResponse added in v0.0.91

type ShowIssuesWrokFlowConfigResponse struct {

	// 流转数据
	Workflows      *[]ScrumStatusFlowVo `json:"workflows,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ShowIssuesWrokFlowConfigResponse Response Object

func (ShowIssuesWrokFlowConfigResponse) String added in v0.0.91

type ShowIterationV4Request

type ShowIterationV4Request struct {

	// 迭代id
	IterationId int32 `json:"iteration_id"`
}

ShowIterationV4Request 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"`

	// 迭代的状态,0 未开始,1 进行中,2 结束
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowIterationV4Response Response Object

func (ShowIterationV4Response) String

func (o ShowIterationV4Response) String() string

type ShowProjectInfoV4Request

type ShowProjectInfoV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`
}

ShowProjectInfoV4Request Request Object

func (ShowProjectInfoV4Request) String

func (o ShowProjectInfoV4Request) String() string

type ShowProjectInfoV4Response

type ShowProjectInfoV4Response struct {
	Project        *GetProjectInfoV4ResultProject `json:"project,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

ShowProjectInfoV4Response Response Object

func (ShowProjectInfoV4Response) String

func (o ShowProjectInfoV4Response) String() string

type ShowProjectSummaryV4Request

type ShowProjectSummaryV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`
}

ShowProjectSummaryV4Request 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:"-"`
}

ShowProjectSummaryV4Response Response Object

func (ShowProjectSummaryV4Response) String

type ShowProjectWorkHoursRequest

type ShowProjectWorkHoursRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *ShowProjectWorkHoursRequestBody `json:"body,omitempty"`
}

ShowProjectWorkHoursRequest 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是limit的整数倍,limit=10,offset=0,10,20...
	Offset int32 `json:"offset"`

	// 每页显示数量,每页最多显示100条
	Limit int32 `json:"limit"`
}

func (ShowProjectWorkHoursRequestBody) String

type ShowProjectWorkHoursResponse

type ShowProjectWorkHoursResponse struct {

	// 工时列表
	WorkHours *[]ShowProjectWorkHoursResponseBodyWorkHours `json:"work_hours,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowProjectWorkHoursResponse Response Object

func (ShowProjectWorkHoursResponse) String

type ShowProjectWorkHoursResponseBodyWorkHours

type ShowProjectWorkHoursResponseBodyWorkHours struct {

	// 项目名称
	ProjectName *string `json:"project_name,omitempty"`

	// 用户昵称
	NickName *string `json:"nick_name,omitempty"`

	// 用户id
	UserId *string `json:"user_id,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"`

	// 工作项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"`

	// 工时创建时间
	WorkHoursCreatedTime *string `json:"work_hours_created_time,omitempty"`

	// 工时更新时间
	WorkHoursUpdatedTime *string `json:"work_hours_updated_time,omitempty"`
}

func (ShowProjectWorkHoursResponseBodyWorkHours) String

type ShowWorkItemWrokflowConfigRequest added in v0.0.91

type ShowWorkItemWrokflowConfigRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 看板id
	BoardId string `json:"board_id"`
}

ShowWorkItemWrokflowConfigRequest Request Object

func (ShowWorkItemWrokflowConfigRequest) String added in v0.0.91

type ShowWorkItemWrokflowConfigResponse added in v0.0.91

type ShowWorkItemWrokflowConfigResponse struct {

	// 流转数据
	Workflows      *[]WorkItemStatusFlowVo `json:"workflows,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ShowWorkItemWrokflowConfigResponse Response Object

func (ShowWorkItemWrokflowConfigResponse) String added in v0.0.91

type SimpleProject added in v0.0.91

type SimpleProject struct {

	// 项目名称
	ProjectName *string `json:"project_name,omitempty"`

	// 项目id
	ProjectId *string `json:"project_id,omitempty"`
}

func (SimpleProject) String added in v0.0.91

func (o SimpleProject) String() string

type SimpleUser added in v0.0.91

type SimpleUser struct {

	// 用户数字id
	UserNumId *int32 `json:"user_num_id,omitempty"`

	// 用户uuid
	UserId *string `json:"user_id,omitempty"`

	// 账号名
	UserName *string `json:"user_name,omitempty"`

	// 用户昵称
	NickName *string `json:"nick_name,omitempty"`
}

func (SimpleUser) String added in v0.0.91

func (o SimpleUser) String() string

type SimpleUserIn added in v0.1.40

type SimpleUserIn struct {

	// 用户id
	Id *int32 `json:"id,omitempty"`

	// 用户uuid
	Identifier *string `json:"identifier,omitempty"`

	// 用户名称
	Name *string `json:"name,omitempty"`
}

func (SimpleUserIn) String added in v0.1.40

func (o SimpleUserIn) String() string

type StatusAttribute added in v0.1.3

type StatusAttribute struct {

	// 状态属性id
	Id *int32 `json:"id,omitempty"`

	// 状态属性名称
	Name *string `json:"name,omitempty"`
}

func (StatusAttribute) String added in v0.1.3

func (o StatusAttribute) String() string

type StatusFlowDirectToVo added in v0.0.91

type StatusFlowDirectToVo struct {

	//  父状态的名称
	ParentName *string `json:"parent_name,omitempty"`

	// 父状态的类型
	ParentType *string `json:"parent_type,omitempty"`

	// 状态id
	StatusId *string `json:"status_id,omitempty"`

	// 状态名称
	Name *string `json:"name,omitempty"`

	// 状态类型
	StatusType *string `json:"status_type,omitempty"`

	// 是否已开启状态流转, true: 开启, false 没开启
	Enabled *bool `json:"enabled,omitempty"`

	// 父状态的uuid
	ParentId *string `json:"parent_id,omitempty"`
}

StatusFlowDirectToVo

func (StatusFlowDirectToVo) String added in v0.0.91

func (o StatusFlowDirectToVo) String() string

type StatusVo added in v0.0.91

type StatusVo struct {

	// 状态id
	Id *string `json:"id,omitempty"`

	// 状态id对应的值
	Name *string `json:"name,omitempty"`
}

StatusVo 状态

func (StatusVo) String added in v0.0.91

func (o StatusVo) String() string

type TemplateListV4ResponseBodyTemplates added in v0.1.40

type TemplateListV4ResponseBodyTemplates struct {

	// 模板id
	Id *int32 `json:"id,omitempty"`

	// 项目id
	ProjectId *int32 `json:"project_id,omitempty"`

	// 工作项类型id
	TrackerId *int32 `json:"tracker_id,omitempty"`

	// 工作项详情模板描述内容
	Description *string `json:"description,omitempty"`

	// 模板配置
	IssueFieldConfig *string `json:"issue_field_config,omitempty"`
}

func (TemplateListV4ResponseBodyTemplates) String added in v0.1.40

type UpdateChildUserNickNameRequestBody added in v0.0.78

type UpdateChildUserNickNameRequestBody struct {

	// 用户昵称
	NickName string `json:"nick_name"`

	// 用户id
	UserId string `json:"user_id"`
}

func (UpdateChildUserNickNameRequestBody) String added in v0.0.78

type UpdateIssueV4Request

type UpdateIssueV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 工作项id
	IssueId int32 `json:"issue_id"`

	Body *IssueRequestV4 `json:"body,omitempty"`
}

UpdateIssueV4Request 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"`

	// 自定义属性值,不建议使用,建议参考new_custom_fields字段
	CustomFields *[]CustomField `json:"custom_fields,omitempty"`

	// 自定义属性值
	NewCustomFields *[]NewCustomField `json:"new_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"`

	// 标题
	Name *string `json:"name,omitempty"`

	ParentIssue *CreateIssueResponseV4ParentIssue `json:"parent_issue,omitempty"`

	Priority *IssueItemSfV4Priority `json:"priority,omitempty"`

	Order *IssueResponseV4Order `json:"order,omitempty"`

	Severity *IssueItemSfV4Severity `json:"severity,omitempty"`

	Status *IssueItemSfV4Status `json:"status,omitempty"`

	// 工作项发布版本号
	ReleaseDev *string `json:"release_dev,omitempty"`

	// 缺陷发现版本号(仅Bug类型工作项具备该字段)
	FindReleaseDev *string `json:"find_release_dev,omitempty"`

	Env *IssueDetailResponseV4Env `json:"env,omitempty"`

	Tracker *CreateIssueResponseV4Tracker `json:"tracker,omitempty"`

	// 更新时间 年-月-日 时:分:秒
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 关闭时间 年-月-日 时:分:秒
	ClosedTime     *string `json:"closed_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateIssueV4Response Response Object

func (UpdateIssueV4Response) String

func (o UpdateIssueV4Response) String() string

type UpdateIterationRequestV4 added in v0.0.60

type UpdateIterationRequestV4 struct {

	// 开始时间,年-月-日
	BeginTime string `json:"begin_time"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 结束时间,年-月-日
	EndTime string `json:"end_time"`

	// 标题
	Name string `json:"name"`

	// 迭代的状态,0 未开始 <--> 1 进行中<--> 2 结束 <--> 1<-->0, 状态不能跨状态更改
	Status *string `json:"status,omitempty"`

	// 迭代结束时,工作项的处理(close 所有的工作项关闭,empty 没有关闭的工作项 放在block里面),status更新为2时需要填写over_type
	OverType *string `json:"over_type,omitempty"`
}

func (UpdateIterationRequestV4) String added in v0.0.60

func (o UpdateIterationRequestV4) String() string

type UpdateIterationV4Request

type UpdateIterationV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 迭代id
	IterationId int32 `json:"iteration_id"`

	Body *UpdateIterationRequestV4 `json:"body,omitempty"`
}

UpdateIterationV4Request Request Object

func (UpdateIterationV4Request) String

func (o UpdateIterationV4Request) String() string

type UpdateIterationV4Response

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

UpdateIterationV4Response Response Object

func (UpdateIterationV4Response) String

func (o UpdateIterationV4Response) String() string

type UpdateMembesRoleV4Request

type UpdateMembesRoleV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *UpdateMembesRoleV4RequestBody `json:"body,omitempty"`
}

UpdateMembesRoleV4Request Request Object

func (UpdateMembesRoleV4Request) String

func (o UpdateMembesRoleV4Request) String() string

type UpdateMembesRoleV4RequestBody

type UpdateMembesRoleV4RequestBody struct {

	// 成员角色, -1 项目创建者, 3 项目经理, 4 开发人员, 5 测试经理, 6 测试人员, 7 参与者, 8 浏览者, 9 运维经理
	RoleId int32 `json:"role_id"`

	// 用户id
	UserIds []string `json:"user_ids"`
}

func (UpdateMembesRoleV4RequestBody) String

type UpdateMembesRoleV4Response

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

UpdateMembesRoleV4Response Response Object

func (UpdateMembesRoleV4Response) String

type UpdateNickNameV4Request

type UpdateNickNameV4Request struct {
	Body *UpdateUserNickNameRequestV4 `json:"body,omitempty"`
}

UpdateNickNameV4Request Request Object

func (UpdateNickNameV4Request) String

func (o UpdateNickNameV4Request) String() string

type UpdateNickNameV4Response

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

UpdateNickNameV4Response Response Object

func (UpdateNickNameV4Response) String

func (o UpdateNickNameV4Response) String() string

type UpdateProjectDomainRequest added in v0.0.101

type UpdateProjectDomainRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 领域id
	DomainId string `json:"domain_id"`

	Body *CreateProjectDomainRequestBody `json:"body,omitempty"`
}

UpdateProjectDomainRequest Request Object

func (UpdateProjectDomainRequest) String added in v0.0.101

type UpdateProjectDomainResponse added in v0.0.101

type UpdateProjectDomainResponse struct {

	// 领域名称
	DomainName *string `json:"domain_name,omitempty"`

	// 领域id
	DomainId       *string `json:"domain_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateProjectDomainResponse Response Object

func (UpdateProjectDomainResponse) String added in v0.0.101

type UpdateProjectModuleRequest added in v0.0.96

type UpdateProjectModuleRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	// 模块id
	ModuleId int32 `json:"module_id"`

	Body *UpdateProjectModuleRequestBody `json:"body,omitempty"`
}

UpdateProjectModuleRequest Request Object

func (UpdateProjectModuleRequest) String added in v0.0.96

type UpdateProjectModuleRequestBody added in v0.0.96

type UpdateProjectModuleRequestBody struct {

	// 模块描述
	Description *string `json:"description,omitempty"`

	// 模块名称
	ModuleName string `json:"module_name"`

	Owner *UserRequest `json:"owner"`
}

func (UpdateProjectModuleRequestBody) String added in v0.0.96

type UpdateProjectModuleResponse added in v0.0.96

type UpdateProjectModuleResponse struct {

	// 模块描述
	Description *string `json:"description,omitempty"`

	// 模块名称
	ModuleName *string `json:"module_name,omitempty"`

	// 模块id
	ModuleId *int32 `json:"module_id,omitempty"`

	Owner          *ModuleOwner `json:"owner,omitempty"`
	HttpStatusCode int          `json:"-"`
}

UpdateProjectModuleResponse Response Object

func (UpdateProjectModuleResponse) String added in v0.0.96

type UpdateProjectRequestV4

type UpdateProjectRequestV4 struct {

	// 项目描述
	Description *string `json:"description,omitempty"`

	// 项目名
	ProjectName string `json:"project_name"`
}

UpdateProjectRequestV4 更新项目信息

func (UpdateProjectRequestV4) String

func (o UpdateProjectRequestV4) String() string

type UpdateProjectV4Request

type UpdateProjectV4Request struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *UpdateProjectRequestV4 `json:"body,omitempty"`
}

UpdateProjectV4Request Request Object

func (UpdateProjectV4Request) String

func (o UpdateProjectV4Request) String() string

type UpdateProjectV4Response

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

UpdateProjectV4Response Response Object

func (UpdateProjectV4Response) String

func (o UpdateProjectV4Response) String() string

type UpdateUserNickNameRequestV4

type UpdateUserNickNameRequestV4 struct {

	// 用户昵称
	NickName string `json:"nick_name"`
}

UpdateUserNickNameRequestV4 用户昵称

func (UpdateUserNickNameRequestV4) String

type UploadAttachmentsRequest added in v0.1.3

type UploadAttachmentsRequest struct {

	// 项目id
	ProjectId string `json:"project_id"`

	// 工作项id
	IssueId string `json:"issue_id"`

	Body *UploadAttachmentsRequestBody `json:"body,omitempty" type:"multipart"`
}

UploadAttachmentsRequest Request Object

func (UploadAttachmentsRequest) String added in v0.1.3

func (o UploadAttachmentsRequest) String() string

type UploadAttachmentsRequestBody added in v0.1.3

type UploadAttachmentsRequestBody struct {

	// 附件文件, 最大上传大小为50M
	Attachment *def.FilePart `json:"attachment"`
}

func (UploadAttachmentsRequestBody) String added in v0.1.3

func (*UploadAttachmentsRequestBody) UnmarshalJSON added in v0.1.3

func (o *UploadAttachmentsRequestBody) UnmarshalJSON(b []byte) error

type UploadAttachmentsResponse added in v0.1.3

type UploadAttachmentsResponse struct {

	// 关联id
	Id *int32 `json:"id,omitempty"`

	// 工作项id
	IssueId *int32 `json:"issue_id,omitempty"`

	// 项目id
	ProjectId *string `json:"project_id,omitempty"`

	// 云盘存贮名
	DiskFilename *string `json:"disk_filename,omitempty"`

	// 文件名
	FileName *string `json:"file_name,omitempty"`

	// 文件大小
	Size           *string `json:"size,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UploadAttachmentsResponse Response Object

func (UploadAttachmentsResponse) String added in v0.1.3

func (o UploadAttachmentsResponse) String() string

type UploadIssueImgRequest added in v0.0.68

type UploadIssueImgRequest struct {

	// devcloud项目的32位id
	ProjectId string `json:"project_id"`

	Body *UploadIssueImgRequestBody `json:"body,omitempty" type:"multipart"`
}

UploadIssueImgRequest Request Object

func (UploadIssueImgRequest) String added in v0.0.68

func (o UploadIssueImgRequest) String() string

type UploadIssueImgRequestBody added in v0.0.68

type UploadIssueImgRequestBody struct {

	// 图片文件
	File *def.FilePart `json:"file"`
}

func (UploadIssueImgRequestBody) String added in v0.0.68

func (o UploadIssueImgRequestBody) String() string

func (*UploadIssueImgRequestBody) UnmarshalJSON added in v0.0.68

func (o *UploadIssueImgRequestBody) UnmarshalJSON(b []byte) error

type UploadIssueImgResponse added in v0.0.68

type UploadIssueImgResponse struct {

	// 图片id
	ImgId *string `json:"img_id,omitempty"`

	// 图片url v1改成v3作为下载图片请求
	ImgUrl         *string `json:"img_url,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UploadIssueImgResponse Response Object

func (UploadIssueImgResponse) String added in v0.0.68

func (o UploadIssueImgResponse) String() string

type UserRequest added in v0.0.96

type UserRequest struct {

	// 用户32位字符串id
	UserId string `json:"user_id"`
}

func (UserRequest) String added in v0.0.96

func (o UserRequest) String() string

type UserStatusStatistic added in v0.1.15

type UserStatusStatistic struct {
	User *IssueUser `json:"user,omitempty"`

	// 满足条件的工作项总数
	ItemCount *int32 `json:"item_count,omitempty"`

	// 工作项对应状态的统计计数
	Data map[string]int32 `json:"data,omitempty"`
}

func (UserStatusStatistic) String added in v0.1.15

func (o UserStatusStatistic) String() string

type WorkHoursType added in v0.1.43

type WorkHoursType struct {

	// 工时类型id
	Id *int32 `json:"id,omitempty"`

	// 工时类型名称
	Name *string `json:"name,omitempty"`

	// 工时类型状态,1表示启用中,2表示未启用
	Status *int32 `json:"status,omitempty"`
}

func (WorkHoursType) String added in v0.1.43

func (o WorkHoursType) String() string

type WorkItemStatusFlowVo added in v0.0.91

type WorkItemStatusFlowVo struct {

	//  父状态的名称
	ParentName *string `json:"parent_name,omitempty"`

	// 父状态的类型
	ParentType *string `json:"parent_type,omitempty"`

	// 状态id
	StatusId *string `json:"status_id,omitempty"`

	// 状态名称
	Name *string `json:"name,omitempty"`

	// 状态类型
	StatusType *string `json:"status_type,omitempty"`

	// 流转到的数据
	DirectTo *[]StatusFlowDirectToVo `json:"direct_to,omitempty"`

	// 处理人的uuid
	AssignTo *string `json:"assign_to,omitempty"`

	// 评论内容
	Comment *string `json:"comment,omitempty"`

	// 处理人是否必填
	RequiredAssign *bool `json:"required_assign,omitempty"`

	// 评论是否必填
	RequiredNotes *bool `json:"required_notes,omitempty"`

	// 是否是字段值,true 处理人的信息是字段值, false 处理人的值是用户的信息,固定值
	FieldType *bool `json:"field_type,omitempty"`

	// 父状态的uuid
	ParentId *string `json:"parent_id,omitempty"`
}

WorkItemStatusFlowVo 工作项流转数据对象

func (WorkItemStatusFlowVo) String added in v0.0.91

func (o WorkItemStatusFlowVo) String() string

type WorkTableIssuseListResponseBodyDomain added in v0.1.40

type WorkTableIssuseListResponseBodyDomain struct {

	// 领域id
	Id *int32 `json:"id,omitempty"`

	// 领域名称
	Name *string `json:"name,omitempty"`
}

WorkTableIssuseListResponseBodyDomain 领域信息

func (WorkTableIssuseListResponseBodyDomain) String added in v0.1.40

type WorkTableIssuseListResponseBodyIssueList added in v0.1.40

type WorkTableIssuseListResponseBodyIssueList struct {

	// 工作项id
	Id *int32 `json:"id,omitempty"`

	// 工作项标题
	Subject *string `json:"subject,omitempty"`

	// 父工作项id
	ParentIssueId *int32 `json:"parent_issue_id,omitempty"`

	ParentIssue *WorkTableIssuseListResponseBodyParentIssue `json:"parent_issue,omitempty"`

	Project *WorkTableIssuseListResponseBodyProject `json:"project,omitempty"`

	// 发布版本
	ReleaseDev *string `json:"release_dev,omitempty"`

	// 发现发布版本
	FindReleaseDev *string `json:"find_release_dev,omitempty"`

	// 工作项完成度
	DoneRatio *int32 `json:"done_ratio,omitempty"`

	// 预计工时
	ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"`

	// 实际工时
	ActualWorkHours *float64 `json:"actual_work_hours,omitempty"`

	Tracker *WorkTableIssuseListResponseBodyTracker `json:"tracker,omitempty"`

	Order *WorkTableIssuseListResponseBodyOrder `json:"order,omitempty"`

	Severity *WorkTableIssuseListResponseBodySeverity `json:"severity,omitempty"`

	Priority *WorkTableIssuseListResponseBodyPriority `json:"priority,omitempty"`

	Domain *WorkTableIssuseListResponseBodyDomain `json:"domain,omitempty"`

	// 排序数值
	Position *float64 `json:"position,omitempty"`

	Module *WorkTableIssuseListResponseBodyModule `json:"module,omitempty"`

	AssignedTo *SimpleUserIn `json:"assigned_to,omitempty"`

	Author *SimpleUserIn `json:"author,omitempty"`

	Developer *SimpleUserIn `json:"developer,omitempty"`

	Closeder *SimpleUserIn `json:"closeder,omitempty"`

	Status *WorkTableIssuseListResponseBodyStatus `json:"status,omitempty"`

	// 是否删除工作项
	Deleted *bool `json:"deleted,omitempty"`

	// 是否关注工作项
	IsWatcher *bool `json:"is_watcher,omitempty"`

	// 关闭标志
	ClosedFlag *int32 `json:"closed_flag,omitempty"`

	// 工作项新建时间戳
	CreatedOn *string `json:"created_on,omitempty"`

	// 工作项更新时间戳
	UpdatedOn *string `json:"updated_on,omitempty"`

	// 工作项预计结束时间戳
	DueDate *string `json:"due_date,omitempty"`
}

func (WorkTableIssuseListResponseBodyIssueList) String added in v0.1.40

type WorkTableIssuseListResponseBodyModule added in v0.1.40

type WorkTableIssuseListResponseBodyModule struct {

	// 模块id
	Id *int32 `json:"id,omitempty"`

	// 模块名称
	Name *string `json:"name,omitempty"`

	// 模块路径名称
	PathName *string `json:"path_name,omitempty"`
}

WorkTableIssuseListResponseBodyModule 模块信息

func (WorkTableIssuseListResponseBodyModule) String added in v0.1.40

type WorkTableIssuseListResponseBodyOrder added in v0.1.40

type WorkTableIssuseListResponseBodyOrder struct {

	// 优先级顺序id
	Id *int32 `json:"id,omitempty"`

	// 优先级顺序名称
	Name *string `json:"name,omitempty"`
}

WorkTableIssuseListResponseBodyOrder 优先级顺序信息

func (WorkTableIssuseListResponseBodyOrder) String added in v0.1.40

type WorkTableIssuseListResponseBodyParentIssue added in v0.1.40

type WorkTableIssuseListResponseBodyParentIssue struct {

	// 父工作项id
	Id *int32 `json:"id,omitempty"`

	// 父工作项标题
	Subject *string `json:"subject,omitempty"`
}

WorkTableIssuseListResponseBodyParentIssue 父工作项信息

func (WorkTableIssuseListResponseBodyParentIssue) String added in v0.1.40

type WorkTableIssuseListResponseBodyPriority added in v0.1.40

type WorkTableIssuseListResponseBodyPriority struct {

	// 工作项优先级id
	Id *int32 `json:"id,omitempty"`

	// 工作项优先级名称
	Name *string `json:"name,omitempty"`
}

WorkTableIssuseListResponseBodyPriority 工作项优先级信息

func (WorkTableIssuseListResponseBodyPriority) String added in v0.1.40

type WorkTableIssuseListResponseBodyProject added in v0.1.40

type WorkTableIssuseListResponseBodyProject struct {

	// 项目id
	Id *int32 `json:"id,omitempty"`

	// 项目uuid
	Identifier *string `json:"identifier,omitempty"`

	// 项目名称
	Name *string `json:"name,omitempty"`

	// 项目类型
	Type *string `json:"type,omitempty"`
}

WorkTableIssuseListResponseBodyProject 项目信息

func (WorkTableIssuseListResponseBodyProject) String added in v0.1.40

type WorkTableIssuseListResponseBodySeverity added in v0.1.40

type WorkTableIssuseListResponseBodySeverity struct {

	// 重要程度id
	Id *int32 `json:"id,omitempty"`

	// 重要程度名称
	Name *string `json:"name,omitempty"`
}

WorkTableIssuseListResponseBodySeverity 重要程度信息

func (WorkTableIssuseListResponseBodySeverity) String added in v0.1.40

type WorkTableIssuseListResponseBodyStatus added in v0.1.40

type WorkTableIssuseListResponseBodyStatus struct {

	// 工作项状态id
	Id *int32 `json:"id,omitempty"`

	// 工作项优先级名称
	Name *string `json:"name,omitempty"`
}

WorkTableIssuseListResponseBodyStatus 工作项状态信息

func (WorkTableIssuseListResponseBodyStatus) String added in v0.1.40

type WorkTableIssuseListResponseBodyTracker added in v0.1.40

type WorkTableIssuseListResponseBodyTracker struct {

	// 工作项类型id
	Id *int32 `json:"id,omitempty"`

	// 工作项类型名称
	Name *string `json:"name,omitempty"`
}

WorkTableIssuseListResponseBodyTracker 工作项类型信息

func (WorkTableIssuseListResponseBodyTracker) String added in v0.1.40

type WorkitemCustomField added in v0.0.91

type WorkitemCustomField struct {

	// 自定义字段id
	FieldId *string `json:"field_id,omitempty"`

	// 自定义字段名称
	FieldName *string `json:"field_name,omitempty"`

	// 自定义字段类型, \"Date\",\"Number\",\"DateTime\", \"MultiLineText\",\"SingleLineText\", \"Select\",  \"Checkbox\"
	FieldType *string `json:"field_type,omitempty"`

	// 自定义字段的选项源,CUSTOM,USER,DOMAIN,ITERATION,MODULE,TAG
	FieldOptionSource *string `json:"field_option_source,omitempty"`

	// 自定义字段值, (field_type为Date,Number,DateTime时,field_option_source为空,value值是数字的字符串), (field_type为MultiLineText,SingleLineText时,field_option_source为空,value值是文本字符串), (field_type为Select ,field_option_source为CUSTOM时,value值是文本字符串) (field_type为Select ,field_option_source为USER,DOMAIN,ITERATION,MODULE,TAG时,value值是Json格式{}), (field_type为Checkbox ,field_option_source为CUSTOM时,value值是字符串数组[\\\"aaa\\\"]), (field_type为\"Checkbox\" ,field_option_source为USER,DOMAIN,ITERATION,MODULE,TAG时,value值是Json的数组[{},{}])
	Value *string `json:"value,omitempty"`
}

WorkitemCustomField 用户自定义字段

func (WorkitemCustomField) String added in v0.0.91

func (o WorkitemCustomField) String() string

type WorkitemStatus added in v0.0.91

type WorkitemStatus struct {

	// 工作项状态变更记录的id,每次变更产生一条新的记录id
	Id *string `json:"id,omitempty"`

	Status *WorkitemStatusStatus `json:"status,omitempty"`
}

func (WorkitemStatus) String added in v0.0.91

func (o WorkitemStatus) String() string

type WorkitemStatusRecords added in v0.0.91

type WorkitemStatusRecords struct {

	// 工作项的记录id,一个工作项对应一条记录
	WorkItemRecordId *string `json:"work_item_record_id,omitempty"`

	// 工作项id
	WorkItemId *string `json:"work_item_id,omitempty"`

	// devcloud项目的32位id
	ProjectId *string `json:"project_id,omitempty"`

	// 操作历史
	WorkItemStatuses *[]WorkitemStatus `json:"work_item_statuses,omitempty"`
}

func (WorkitemStatusRecords) String added in v0.0.91

func (o WorkitemStatusRecords) String() string

type WorkitemStatusStatus added in v0.0.91

type WorkitemStatusStatus struct {

	// 工作项的状态id
	Id *string `json:"id,omitempty"`

	// 状态名称
	Name *string `json:"name,omitempty"`

	// 工作项状态的类型, BACKLOG( \"初始化\"), READY(\"待启动\"), IN_PROGRESS(\"进行中\"), COMPLETE(\"已完成\"), DONE(\"已结束\"),
	Type *string `json:"type,omitempty"`

	// 工作项状态的描述
	Description *string `json:"description,omitempty"`

	// 工作项状态的父状态id
	ParentStatusId *string `json:"parent_status_id,omitempty"`
}

WorkitemStatusStatus 工作项的状态

func (WorkitemStatusStatus) String added in v0.0.91

func (o WorkitemStatusStatus) String() string

type WorkitemUser added in v0.0.91

type WorkitemUser struct {

	// 用户32位uuid
	Id *string `json:"id,omitempty"`

	// 用户名
	Name *string `json:"name,omitempty"`

	// 昵称
	NickName *string `json:"nick_name,omitempty"`
}

func (WorkitemUser) String added in v0.0.91

func (o WorkitemUser) String() string

type Workitems added in v0.0.91

type Workitems struct {

	// 工作项id
	Id *string `json:"id,omitempty"`

	// 工作项描述
	Description *string `json:"description,omitempty"`

	// 实际工时
	ActualWorkHours *float64 `json:"actual_work_hours,omitempty"`

	AssignedUser *WorkitemUser `json:"assigned_user,omitempty"`

	Author *WorkitemUser `json:"author,omitempty"`

	// 工作项开始时间
	BeginTime *string `json:"begin_time,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 标签
	Tags *[]WorkitemsTags `json:"tags,omitempty"`

	Developer *WorkitemUser `json:"developer,omitempty"`

	// 抄送人
	AssignedCcUser *[]WorkitemUser `json:"assigned_cc_user,omitempty"`

	// 发现问题的版本
	DiscoverVersion *string `json:"discover_version,omitempty"`

	// 工作项结束时间
	EndTime *string `json:"end_time,omitempty"`

	// 工作项进度值
	DoneRatio *string `json:"done_ratio,omitempty"`

	// 预计工时
	ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"`

	// 顺序
	Order *string `json:"order,omitempty"`

	// 父工作项的id
	ParentWorkItemId *string `json:"parent_work_item_id,omitempty"`

	// 发布的版本
	ReleaseVersion *string `json:"release_version,omitempty"`

	// 故事点
	StoryPoint *string `json:"story_point,omitempty"`

	Domain *WorkitemsDomain `json:"domain,omitempty"`

	Iteration *WorkitemsIteration `json:"iteration,omitempty"`

	Module *WorkitemsModule `json:"module,omitempty"`

	// 工作项优先级
	Priority *string `json:"priority,omitempty"`

	// 严重的程度 \"提示\", \"一般\", \"严重\", \"致命\"
	Severity *string `json:"severity,omitempty"`

	Status *WorkitemsStatus `json:"status,omitempty"`

	// 工作项标题
	Subject *string `json:"subject,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 工作项编号
	Sequence *string `json:"sequence,omitempty"`

	// 重要程度 \"关键\", \"重要\", \"一般\", \"提示\"
	Important *string `json:"important,omitempty"`

	// 用户自定义字段
	CustomFields *[]WorkitemCustomField `json:"custom_fields,omitempty"`
}

func (Workitems) String added in v0.0.91

func (o Workitems) String() string

type WorkitemsDomain added in v0.0.91

type WorkitemsDomain struct {

	// 领域id
	Id *string `json:"id,omitempty"`

	// 领域
	Name *string `json:"name,omitempty"`
}

WorkitemsDomain id, 领域 14, '性能', 15, '功能', 16, '可靠性' 17, '网络安全' 18, '可维护性' 19, '其他DFX' 20, '可用性' 其他

func (WorkitemsDomain) String added in v0.0.91

func (o WorkitemsDomain) String() string

type WorkitemsIteration added in v0.0.91

type WorkitemsIteration struct {

	// 迭代id
	Id *string `json:"id,omitempty"`

	// 迭代名
	Name *string `json:"name,omitempty"`
}

WorkitemsIteration 迭代

func (WorkitemsIteration) String added in v0.0.91

func (o WorkitemsIteration) String() string

type WorkitemsModule added in v0.0.91

type WorkitemsModule struct {

	// 模块id
	Id *string `json:"id,omitempty"`

	// 模块
	Name *string `json:"name,omitempty"`
}

WorkitemsModule 模块

func (WorkitemsModule) String added in v0.0.91

func (o WorkitemsModule) String() string

type WorkitemsStatus added in v0.0.91

type WorkitemsStatus struct {

	// 状态id
	Id *string `json:"id,omitempty"`

	// 状态名称
	Name *string `json:"name,omitempty"`
}

WorkitemsStatus 工作项状态

func (WorkitemsStatus) String added in v0.0.91

func (o WorkitemsStatus) String() string

type WorkitemsTags added in v0.0.91

type WorkitemsTags struct {

	// 标签id
	Id *string `json:"id,omitempty"`

	// 标签名
	Name *string `json:"name,omitempty"`
}

func (WorkitemsTags) String added in v0.0.91

func (o WorkitemsTags) String() string

Source Files

Jump to

Keyboard shortcuts

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