Documentation ¶
Index ¶
- type AddApplyJoinProjectForAgcRequest
- type AddApplyJoinProjectForAgcResponse
- type AddMemberRequestV4
- type AddMemberV4Request
- type AddMemberV4Response
- type AssociateIssueDetail
- type AssociatedTestCase
- type AttachWikiDetail
- type BatchAddMemberRequestV4
- type BatchAddMembersV4Request
- type BatchAddMembersV4RequestBody
- type BatchAddMembersV4Response
- type BatchDelelteIssuesRequestV4
- type BatchDeleteIssuesV4Request
- type BatchDeleteIssuesV4Response
- type BatchDeleteIterationsV4Request
- type BatchDeleteIterationsV4RequestBody
- type BatchDeleteIterationsV4Response
- type BatchDeleteMembersV4Request
- type BatchDeleteMembersV4RequestBody
- type BatchDeleteMembersV4Response
- type BatchUpdateChildNickNamesRequest
- type BatchUpdateChildNickNamesResponse
- type BatchUpdateChildUserNickNamesRequestBody
- type BugStatisticResponseV4
- type CancelProjectDomainRequest
- type CancelProjectDomainResponse
- type Chart
- type CheckProjectNameRequestV4
- type CheckProjectNameV4Request
- type CheckProjectNameV4Response
- type CommentUserV4
- type CommitRecordDetail
- type CreateCustomfieldV1Req
- type CreateCustomfieldsRequest
- type CreateCustomfieldsResponse
- type CreateIssueRequestV4
- type CreateIssueResponseV4Domain
- type CreateIssueResponseV4ParentIssue
- type CreateIssueResponseV4Tracker
- type CreateIssueV4Request
- type CreateIssueV4Response
- type CreateIterationRequestV4
- type CreateIterationV4Request
- type CreateIterationV4Response
- type CreateProjectDomainRequest
- type CreateProjectDomainRequestBody
- type CreateProjectDomainResponse
- type CreateProjectDomainResponseBody
- type CreateProjectModuleRequest
- type CreateProjectModuleRequestBody
- type CreateProjectModuleResponse
- type CreateProjectV4Request
- type CreateProjectV4RequestBody
- type CreateProjectV4Response
- type CreateSystemIssueRequestV4
- type CreateSystemIssueV4Request
- type CreateSystemIssueV4Response
- type Creator
- type CustomFeildRecord
- type CustomField
- type DeleteAttachmentRequest
- type DeleteAttachmentResponse
- type DeleteIssueV4Request
- type DeleteIssueV4Response
- type DeleteIterationV4Request
- type DeleteIterationV4Response
- type DeleteProjectModuleRequest
- type DeleteProjectModuleResponse
- type DeleteProjectV4Request
- type DeleteProjectV4Response
- type DemandStatisticResponseV4
- type DownloadAttachmentRequest
- type DownloadAttachmentResponse
- type DownloadImageFileRequest
- type DownloadImageFileResponse
- type GetProjectInfoV4ResultProject
- type GetProjectInfoV4ResultProjectCreator
- type IssueAccessory
- type IssueAttrHistoryRecord
- type IssueCommentV4
- type IssueCompletionRateResponseV4
- type IssueCompletionRateV4IssueCompletionRates
- type IssueCompletionRateV4IssueStatus
- type IssueCustomField
- type IssueDetailCustomField
- type IssueItemSfV4
- type IssueItemSfV4Domain
- type IssueItemSfV4Iteration
- type IssueItemSfV4Module
- type IssueItemSfV4Priority
- type IssueItemSfV4Severity
- type IssueItemSfV4Status
- type IssueItemSfV4StoryPoint
- type IssueItemSfV4Tracker
- type IssueOrder
- type IssueProjectResponseV4
- type IssueRecordV4
- type IssueRecordV4Details
- type IssueRecordV4User
- type IssueRequestV4
- type IssueResponseV4
- type IssueStatus
- type IssueStatusResponseV4
- type IssueUser
- type IterationHistory
- type IterationHistoryDetails
- type IterationHistoryOperator
- type ListAssociatedIssuesRequest
- type ListAssociatedIssuesResponse
- type ListAssociatedTestCasesRequest
- type ListAssociatedTestCasesResponse
- type ListAssociatedWikisRequest
- type ListAssociatedWikisResponse
- type ListChildIssuesV4Request
- type ListChildIssuesV4Response
- type ListDomainNotAddedProjectsV4Request
- type ListDomainNotAddedProjectsV4Response
- type ListDomainNotAddedProjectsV4ResponseBodyCreator
- type ListDomainNotAddedProjectsV4ResponseBodyProjects
- type ListIssueAssociatedCommitsRequest
- type ListIssueAssociatedCommitsResponse
- type ListIssueCommentsV4Request
- type ListIssueCommentsV4Response
- type ListIssueCustomFieldsRequest
- type ListIssueCustomFieldsRequestBody
- type ListIssueCustomFieldsResponse
- type ListIssueItemResponse
- type ListIssueRecordsV4Request
- type ListIssueRecordsV4Response
- type ListIssueRequestV4
- type ListIssueRequestV4CustomFields
- type ListIssuesSfV4Request
- type ListIssuesSfV4RequestTrackerId
- type ListIssuesSfV4RequestTrackerIdEnum
- type ListIssuesSfV4Response
- type ListIssuesV4Request
- type ListIssuesV4Response
- type ListIterationHistoriesRequest
- type ListIterationHistoriesResponse
- type ListProjectBugStaticsV4Request
- type ListProjectBugStaticsV4Response
- type ListProjectDemandStaticV4Request
- type ListProjectDemandStaticV4Response
- type ListProjectDomainsRequest
- type ListProjectDomainsResponse
- type ListProjectIssuesRecordsV4Request
- type ListProjectIssuesRecordsV4Response
- type ListProjectIterationsV4Request
- type ListProjectIterationsV4Response
- type ListProjectMembersV4Request
- type ListProjectMembersV4Response
- type ListProjectModulesRequest
- type ListProjectModulesResponse
- type ListProjectVersionsV4ResponseBodyIterations
- type ListProjectWorkHoursRequest
- type ListProjectWorkHoursRequestBody
- type ListProjectWorkHoursResponse
- type ListProjectsV4Request
- type ListProjectsV4Response
- type ListProjectsV4ResponseBodyCreator
- type ListProjectsV4ResponseBodyProjects
- type ListScrumProjectStatusesRequest
- type ListScrumProjectStatusesResponse
- type ListStatusStatisticRequest
- type ListStatusStatisticResponse
- type ListWorkitemStatusRecordsV4Request
- type ListWorkitemStatusRecordsV4Response
- type ListWorkitemsRequest
- type ListWorkitemsResponse
- type MemberListV4Members
- type MetricRequest2
- type MetricRequest2Dividend
- type MetricRequest3
- type MetricRequest3Dividend
- type MetricRequestV2
- type MetricRequestV2Dividend
- type MetricRequestV2DividendCustomFields
- type ModuleOwner
- type NewCustomField
- type ProjectChildModule
- type ProjectModule
- type RemoveProjectRequest
- type RemoveProjectResponse
- type ScrumCustomField
- type ScrumStatusFlowDirectToVo
- type ScrumStatusFlowVo
- type ShowBugDensityV2Request
- type ShowBugDensityV2Response
- type ShowBugsPerDeveloperRequest
- type ShowBugsPerDeveloperResponse
- type ShowCompletionRateRequest
- type ShowCompletionRateResponse
- type ShowCurUserInfoRequest
- type ShowCurUserInfoResponse
- type ShowCurUserRoleRequest
- type ShowCurUserRoleResponse
- type ShowIssueCompletionRateRequest
- type ShowIssueCompletionRateResponse
- type ShowIssueV4Request
- type ShowIssueV4Response
- type ShowIssuesWrokFlowConfigRequest
- type ShowIssuesWrokFlowConfigResponse
- type ShowIterationV4Request
- type ShowIterationV4Response
- type ShowProjectInfoV4Request
- type ShowProjectInfoV4Response
- type ShowProjectSummaryV4Request
- type ShowProjectSummaryV4Response
- type ShowProjectWorkHoursRequest
- type ShowProjectWorkHoursRequestBody
- type ShowProjectWorkHoursResponse
- type ShowProjectWorkHoursResponseBodyWorkHours
- type ShowWorkItemWrokflowConfigRequest
- type ShowWorkItemWrokflowConfigResponse
- type SimpleProject
- type SimpleUser
- type StatusAttribute
- type StatusFlowDirectToVo
- type StatusVo
- type UpdateChildUserNickNameRequestBody
- type UpdateIssueV4Request
- type UpdateIssueV4Response
- type UpdateIterationRequestV4
- type UpdateIterationV4Request
- type UpdateIterationV4Response
- type UpdateMembesRoleV4Request
- type UpdateMembesRoleV4RequestBody
- type UpdateMembesRoleV4Response
- type UpdateNickNameV4Request
- type UpdateNickNameV4Response
- type UpdateProjectDomainRequest
- type UpdateProjectDomainResponse
- type UpdateProjectModuleRequest
- type UpdateProjectModuleRequestBody
- type UpdateProjectModuleResponse
- type UpdateProjectRequestV4
- type UpdateProjectV4Request
- type UpdateProjectV4Response
- type UpdateUserNickNameRequestV4
- type UploadAttachmentsRequest
- type UploadAttachmentsRequestBody
- type UploadAttachmentsResponse
- type UploadIssueImgRequest
- type UploadIssueImgRequestBody
- type UploadIssueImgResponse
- type UserRequest
- type UserStatusStatistic
- type WorkItemStatusFlowVo
- type WorkitemCustomField
- type WorkitemStatus
- type WorkitemStatusRecords
- type WorkitemStatusStatus
- type WorkitemUser
- type Workitems
- type WorkitemsDomain
- type WorkitemsIteration
- type WorkitemsModule
- type WorkitemsStatus
- type WorkitemsTags
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"` }
Request Object
func (AddApplyJoinProjectForAgcRequest) String ¶
func (o AddApplyJoinProjectForAgcRequest) String() string
type AddApplyJoinProjectForAgcResponse ¶
type AddApplyJoinProjectForAgcResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (AddApplyJoinProjectForAgcResponse) String ¶
func (o AddApplyJoinProjectForAgcResponse) String() string
type AddMemberRequestV4 ¶
type AddMemberRequestV4 struct { // 租户名称(跨租户添加用户时,填写正确的租户名称,可将未授权的租户主动授权,将用户添加为项目成员) 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"` }
Request Object
func (AddMemberV4Request) String ¶
func (o AddMemberV4Request) String() string
type AddMemberV4Response ¶
type AddMemberV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (AddMemberV4Response) String ¶
func (o AddMemberV4Response) String() string
type 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"` }
关联工作项详情
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"` }
关联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"` }
Request Object
func (BatchAddMembersV4Request) String ¶
func (o BatchAddMembersV4Request) String() string
type BatchAddMembersV4RequestBody ¶
type BatchAddMembersV4RequestBody struct { // 添加的用户信息 Users []BatchAddMemberRequestV4 `json:"users"` }
func (BatchAddMembersV4RequestBody) String ¶
func (o BatchAddMembersV4RequestBody) String() string
type BatchAddMembersV4Response ¶
type BatchAddMembersV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchAddMembersV4Response) String ¶
func (o BatchAddMembersV4Response) String() string
type BatchDelelteIssuesRequestV4 ¶
type BatchDelelteIssuesRequestV4 struct { // 工作项的id IssueIds []int32 `json:"issue_ids"` }
func (BatchDelelteIssuesRequestV4) String ¶
func (o BatchDelelteIssuesRequestV4) String() string
type BatchDeleteIssuesV4Request ¶
type BatchDeleteIssuesV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *BatchDelelteIssuesRequestV4 `json:"body,omitempty"` }
Request Object
func (BatchDeleteIssuesV4Request) String ¶
func (o BatchDeleteIssuesV4Request) String() string
type BatchDeleteIssuesV4Response ¶
type BatchDeleteIssuesV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteIssuesV4Response) String ¶
func (o BatchDeleteIssuesV4Response) String() string
type BatchDeleteIterationsV4Request ¶
type BatchDeleteIterationsV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *BatchDeleteIterationsV4RequestBody `json:"body,omitempty"` }
Request Object
func (BatchDeleteIterationsV4Request) String ¶
func (o BatchDeleteIterationsV4Request) String() string
type BatchDeleteIterationsV4RequestBody ¶
type BatchDeleteIterationsV4RequestBody struct { // 迭代的id IterationIds []int32 `json:"iteration_ids"` }
func (BatchDeleteIterationsV4RequestBody) String ¶
func (o BatchDeleteIterationsV4RequestBody) String() string
type BatchDeleteIterationsV4Response ¶
type BatchDeleteIterationsV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteIterationsV4Response) String ¶
func (o BatchDeleteIterationsV4Response) String() string
type BatchDeleteMembersV4Request ¶
type BatchDeleteMembersV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *BatchDeleteMembersV4RequestBody `json:"body,omitempty"` }
Request Object
func (BatchDeleteMembersV4Request) String ¶
func (o BatchDeleteMembersV4Request) String() string
type BatchDeleteMembersV4RequestBody ¶
type BatchDeleteMembersV4RequestBody struct { // 用户id UserIds []string `json:"user_ids"` }
func (BatchDeleteMembersV4RequestBody) String ¶
func (o BatchDeleteMembersV4RequestBody) String() string
type BatchDeleteMembersV4Response ¶
type BatchDeleteMembersV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteMembersV4Response) String ¶
func (o BatchDeleteMembersV4Response) String() string
type BatchUpdateChildNickNamesRequest ¶ added in v0.0.78
type BatchUpdateChildNickNamesRequest struct {
Body *BatchUpdateChildUserNickNamesRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchUpdateChildNickNamesRequest) String ¶ added in v0.0.78
func (o BatchUpdateChildNickNamesRequest) String() string
type BatchUpdateChildNickNamesResponse ¶ added in v0.0.78
type BatchUpdateChildNickNamesResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchUpdateChildNickNamesResponse) String ¶ added in v0.0.78
func (o BatchUpdateChildNickNamesResponse) String() string
type BatchUpdateChildUserNickNamesRequestBody ¶ added in v0.0.78
type BatchUpdateChildUserNickNamesRequestBody struct { // 修改的用户列表 Users []UpdateChildUserNickNameRequestBody `json:"users"` }
func (BatchUpdateChildUserNickNamesRequestBody) String ¶ added in v0.0.78
func (o BatchUpdateChildUserNickNamesRequestBody) String() string
type BugStatisticResponseV4 ¶
type BugStatisticResponseV4 struct { // 重要程度为关键的缺陷数 CriticalNum *int32 `json:"critical_num,omitempty"` // DI DefectIndex *float64 `json:"defect_index,omitempty"` // 模块 Module *string `json:"module,omitempty"` // 重要程度为一般的缺陷数 NormalNum *int32 `json:"normal_num,omitempty"` // 重要程度为严重的缺陷数 SeriousNum *int32 `json:"serious_num,omitempty"` // 重要程度为提示的缺陷数 TipNum *int32 `json:"tip_num,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` }
Bug信息
func (BugStatisticResponseV4) String ¶
func (o BugStatisticResponseV4) String() string
type CancelProjectDomainRequest ¶ added in v0.0.101
type CancelProjectDomainRequest struct { // devcloud项目的32位id ProjectId string `json:"project_id"` // 领域id DomainId string `json:"domain_id"` }
Request Object
func (CancelProjectDomainRequest) String ¶ added in v0.0.101
func (o CancelProjectDomainRequest) String() string
type CancelProjectDomainResponse ¶ added in v0.0.101
type CancelProjectDomainResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CancelProjectDomainResponse) String ¶ added in v0.0.101
func (o CancelProjectDomainResponse) String() string
type Chart ¶
type Chart struct { // 统计时间 Date *string `json:"date,omitempty"` // 完成story工单 FinishedNum *int32 `json:"finished_num,omitempty"` // 迭代id IterationId *int32 `json:"iteration_id,omitempty"` // 项目id ProjectNumId *int32 `json:"project_num_id,omitempty"` // 未完成story数 RemainingNum *int32 `json:"remaining_num,omitempty"` // 总story数 Total *int32 `json:"total,omitempty"` }
type CheckProjectNameRequestV4 ¶
type CheckProjectNameRequestV4 struct { // 项目名 ProjectName string `json:"project_name"` }
func (CheckProjectNameRequestV4) String ¶
func (o CheckProjectNameRequestV4) String() string
type CheckProjectNameV4Request ¶
type CheckProjectNameV4Request struct {
Body *CheckProjectNameRequestV4 `json:"body,omitempty"`
}
Request Object
func (CheckProjectNameV4Request) String ¶
func (o CheckProjectNameV4Request) String() string
type CheckProjectNameV4Response ¶
type CheckProjectNameV4Response struct { // 是否存在相同的项目名称 true 存在, false 不存在 Exist *bool `json:"exist,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckProjectNameV4Response) String ¶
func (o CheckProjectNameV4Response) String() string
type CommentUserV4 ¶
type CommentUserV4 struct { // 发表评论用户id UserNumId *int32 `json:"user_num_id,omitempty"` // 发表评论用户名称 UserName *string `json:"user_name,omitempty"` // 发表评论用户昵称 NickName *string `json:"nick_name,omitempty"` }
func (CommentUserV4) String ¶
func (o CommentUserV4) String() string
type 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"` }
代码提交记录 / 分支创建记录 详细信息
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"` }
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:"-"` }
Response Object
func (CreateCustomfieldsResponse) String ¶
func (o CreateCustomfieldsResponse) String() string
type CreateIssueRequestV4 ¶
type CreateIssueRequestV4 struct { // 实际工时 ActualWorkHours *float64 `json:"actual_work_hours,omitempty"` // 处理人id,对应用户信息的数字id AssignedId *int32 `json:"assigned_id,omitempty"` // 开始时间,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 开发者id,对应用户信息的数字id DeveloperId *int32 `json:"developer_id,omitempty"` // id 领域, 14 '性能', 15 '功能', 16 '可靠性' 17 '网络安全' 18 '可维护性' 19 '其他DFX' 20 '可用性' DomainId *int32 `json:"domain_id,omitempty"` // 工作项进度值 DoneRatio *int32 `json:"done_ratio,omitempty"` // 结束时间,年-月-日 EndTime *string `json:"end_time,omitempty"` // 预计工时 ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"` // 迭代id IterationId *int32 `json:"iteration_id,omitempty"` // 模块id ModuleId *int32 `json:"module_id,omitempty"` // 标题 Name string `json:"name"` // 父工作项的id,创建子工作项时必填,父工作项的类型tracker_id不能为2,3 ParentIssueId *int32 `json:"parent_issue_id,omitempty"` // 优先级, 1 低, 2 中, 3 高, PriorityId int32 `json:"priority_id"` // 重要程度, 10 关键, 11 重要, 12 一般, 13 提示, SeverityId *int32 `json:"severity_id,omitempty"` // 状态 id, 新建 1, 进行中 2, 已解决 3, 测试中 4, 已关闭 5, 已拒绝 6, StatusId *int32 `json:"status_id,omitempty"` // 工作项类型, 2任务/Task,3缺陷/Bug,5Epic,6Feature,7Story; 5 只能为 6 的父工作项类型; 6 只能为 7 的父工作项类型; 7 只能为 2,3的父; TrackerId int32 `json:"tracker_id"` // 用户自定义字段 NewCustomFields *[]NewCustomField `json:"new_custom_fields,omitempty"` }
工作项属性
func (CreateIssueRequestV4) String ¶
func (o CreateIssueRequestV4) String() string
type CreateIssueResponseV4Domain ¶
type CreateIssueResponseV4Domain struct { // 领域id Id *int32 `json:"id,omitempty"` // 领域 Name *string `json:"name,omitempty"` }
id 领域, 14 '性能', 15 '功能', 16 '可靠性', 17 '网络安全', 18 '可维护性', 19 '其他DFX', 20 '可用性',
func (CreateIssueResponseV4Domain) String ¶
func (o CreateIssueResponseV4Domain) String() string
type CreateIssueResponseV4ParentIssue ¶
type CreateIssueResponseV4ParentIssue struct { // 父工作项id Id *int32 `json:"id,omitempty"` // 父工作项 Name *string `json:"name,omitempty"` }
父工作项
func (CreateIssueResponseV4ParentIssue) String ¶
func (o CreateIssueResponseV4ParentIssue) String() string
type CreateIssueResponseV4Tracker ¶ added in v0.0.91
type CreateIssueResponseV4Tracker struct { // 类型id Id *int32 `json:"id,omitempty"` // 类型名称 Name *string `json:"name,omitempty"` }
工作项类型 2任务/Task,3缺陷/Bug,5Epic,6Feature,7Story
func (CreateIssueResponseV4Tracker) String ¶ added in v0.0.91
func (o CreateIssueResponseV4Tracker) String() string
type CreateIssueV4Request ¶
type CreateIssueV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *CreateIssueRequestV4 `json:"body,omitempty"` }
Request Object
func (CreateIssueV4Request) String ¶
func (o CreateIssueV4Request) String() string
type CreateIssueV4Response ¶
type CreateIssueV4Response struct { // 实际工时 ActualWorkHours *float64 `json:"actual_work_hours,omitempty"` // 抄送人 AssignedCcUser *[]IssueUser `json:"assigned_cc_user,omitempty"` AssignedUser *IssueUser `json:"assigned_user,omitempty"` // 开始时间,年-月-日 BeginTime *string `json:"begin_time,omitempty"` Creator *IssueUser `json:"creator,omitempty"` // 自定义属性值,不建议使用,建议参考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:"-"` }
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"` }
Request Object
func (CreateIterationV4Request) String ¶
func (o CreateIterationV4Request) String() string
type CreateIterationV4Response ¶
type CreateIterationV4Response struct { // 迭代id Id *int32 `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateIterationV4Response) String ¶
func (o CreateIterationV4Response) String() string
type CreateProjectDomainRequest ¶ added in v0.0.101
type CreateProjectDomainRequest struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *CreateProjectDomainRequestBody `json:"body,omitempty"` }
Request Object
func (CreateProjectDomainRequest) String ¶ added in v0.0.101
func (o CreateProjectDomainRequest) String() string
type CreateProjectDomainRequestBody ¶ added in v0.0.101
type CreateProjectDomainRequestBody struct { // 领域名称 DomainName string `json:"domain_name"` }
func (CreateProjectDomainRequestBody) String ¶ added in v0.0.101
func (o CreateProjectDomainRequestBody) String() string
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:"-"` }
Response Object
func (CreateProjectDomainResponse) String ¶ added in v0.0.101
func (o CreateProjectDomainResponse) String() string
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
func (o CreateProjectDomainResponseBody) String() string
type CreateProjectModuleRequest ¶ added in v0.0.96
type CreateProjectModuleRequest struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *CreateProjectModuleRequestBody `json:"body,omitempty"` }
Request Object
func (CreateProjectModuleRequest) String ¶ added in v0.0.96
func (o CreateProjectModuleRequest) String() string
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
func (o CreateProjectModuleRequestBody) String() string
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:"-"` }
Response Object
func (CreateProjectModuleResponse) String ¶ added in v0.0.96
func (o CreateProjectModuleResponse) String() string
type CreateProjectV4Request ¶
type CreateProjectV4Request struct {
Body *CreateProjectV4RequestBody `json:"body,omitempty"`
}
Request Object
func (CreateProjectV4Request) String ¶
func (o CreateProjectV4Request) String() string
type CreateProjectV4RequestBody ¶
type CreateProjectV4RequestBody struct { // 项目名称 ProjectName string `json:"project_name"` // 项目描述 Description *string `json:"description,omitempty"` // 项目来源 Source *string `json:"source,omitempty"` // 项目类型 scrum, xboard(看板项目), basic, phoenix(凤凰项目) ProjectType string `json:"project_type"` // 项目要绑定的企业项目ID EnterpriseId *string `json:"enterprise_id,omitempty"` // 用户创建的项目模板id TemplateId *int32 `json:"template_id,omitempty"` }
func (CreateProjectV4RequestBody) String ¶
func (o CreateProjectV4RequestBody) String() string
type CreateProjectV4Response ¶
type CreateProjectV4Response struct { // 项目数字id ProjectNumId *int32 `json:"project_num_id,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名 ProjectName *string `json:"project_name,omitempty"` // 项目描述 Description *string `json:"description,omitempty"` // 项目类型 ProjectType *string `json:"project_type,omitempty"` // 创建者的数字id UserNumId *int32 `json:"user_num_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateProjectV4Response) String ¶
func (o CreateProjectV4Response) String() string
type 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
func (o CreateSystemIssueRequestV4) String() string
type CreateSystemIssueV4Request ¶ added in v0.0.68
type CreateSystemIssueV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *CreateSystemIssueRequestV4 `json:"body,omitempty"` }
Request Object
func (CreateSystemIssueV4Request) String ¶ added in v0.0.68
func (o CreateSystemIssueV4Request) String() string
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:"-"` }
Response Object
func (CreateSystemIssueV4Response) String ¶ added in v0.0.68
func (o CreateSystemIssueV4Response) String() string
type Creator ¶ added in v0.0.68
type Creator struct { // 指定工作项的创建者用户id UserId string `json:"user_id"` }
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"` }
自定义属性
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"` }
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:"-"`
}
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"` }
Request Object
func (DeleteIssueV4Request) String ¶
func (o DeleteIssueV4Request) String() string
type DeleteIssueV4Response ¶
type DeleteIssueV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteIssueV4Response) String ¶
func (o DeleteIssueV4Response) String() string
type DeleteIterationV4Request ¶
type DeleteIterationV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` // 迭代id IterationId int32 `json:"iteration_id"` }
Request Object
func (DeleteIterationV4Request) String ¶
func (o DeleteIterationV4Request) String() string
type DeleteIterationV4Response ¶
type DeleteIterationV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteIterationV4Response) String ¶
func (o DeleteIterationV4Response) String() string
type DeleteProjectModuleRequest ¶ added in v0.0.96
type DeleteProjectModuleRequest struct { // devcloud项目的32位id ProjectId string `json:"project_id"` // 模块id ModuleId int32 `json:"module_id"` }
Request Object
func (DeleteProjectModuleRequest) String ¶ added in v0.0.96
func (o DeleteProjectModuleRequest) String() string
type DeleteProjectModuleResponse ¶ added in v0.0.96
type DeleteProjectModuleResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteProjectModuleResponse) String ¶ added in v0.0.96
func (o DeleteProjectModuleResponse) String() string
type DeleteProjectV4Request ¶
type DeleteProjectV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` }
Request Object
func (DeleteProjectV4Request) String ¶
func (o DeleteProjectV4Request) String() string
type DeleteProjectV4Response ¶
type DeleteProjectV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteProjectV4Response) String ¶
func (o DeleteProjectV4Response) String() string
type DemandStatisticResponseV4 ¶
type DemandStatisticResponseV4 struct { // 已关闭数量 ClosedNum *int32 `json:"closed_num,omitempty"` // 模块 Module *string `json:"module,omitempty"` // 新建的数量 NewNum *int32 `json:"new_num,omitempty"` // 开发中的数量 ProcessNum *int32 `json:"process_num,omitempty"` // 已拒绝数量 RejectedNum *int32 `json:"rejected_num,omitempty"` // 已解决数量 SolvedNum *int32 `json:"solved_num,omitempty"` // 测试中的数量 TestNum *int32 `json:"test_num,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` }
需求概览信息
func (DemandStatisticResponseV4) String ¶
func (o DemandStatisticResponseV4) String() string
type 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"` }
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"` }
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
func (o DownloadAttachmentResponse) String() string
type DownloadImageFileRequest ¶ added in v0.1.3
type DownloadImageFileRequest struct { // devcloud项目的32位id ProjectId string `json:"project_id"` // 图片URI ImageUri string `json:"image_uri"` }
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"` }
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"` }
项目信息
func (GetProjectInfoV4ResultProject) String ¶
func (o GetProjectInfoV4ResultProject) String() string
type GetProjectInfoV4ResultProjectCreator ¶
type GetProjectInfoV4ResultProjectCreator struct { // 创建人num_id UserNumId *int32 `json:"user_num_id,omitempty"` // 创建人uuid UserId *string `json:"user_id,omitempty"` // 创建人姓名 UserName *string `json:"user_name,omitempty"` // 创建人租户id DomainId *string `json:"domain_id,omitempty"` // 创建人租户名称 DomainName *string `json:"domain_name,omitempty"` // 创建人昵称 NickName *string `json:"nick_name,omitempty"` }
创建者信息
func (GetProjectInfoV4ResultProjectCreator) String ¶
func (o GetProjectInfoV4ResultProjectCreator) String() string
type 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"` User *CommentUserV4 `json:"user,omitempty"` }
func (IssueCommentV4) String ¶
func (o IssueCommentV4) String() string
type IssueCompletionRateResponseV4 ¶
type IssueCompletionRateResponseV4 struct { IssueStatus *IssueStatusResponseV4 `json:"issue_status,omitempty"` // 工作项类型,2任务/Task,3缺陷/Bug,5Epic,6Feature,7Story TrackerId *int32 `json:"tracker_id,omitempty"` }
项目工作项概览信息
func (IssueCompletionRateResponseV4) String ¶
func (o IssueCompletionRateResponseV4) String() string
type IssueCompletionRateV4IssueCompletionRates ¶
type IssueCompletionRateV4IssueCompletionRates struct { IssueStatus *IssueCompletionRateV4IssueStatus `json:"issue_status,omitempty"` // 工作项类型id,1需求,2任务/Task,3缺陷/Bug,5Epic,6Feature,7Story TrackerId *int32 `json:"tracker_id,omitempty"` }
func (IssueCompletionRateV4IssueCompletionRates) String ¶
func (o IssueCompletionRateV4IssueCompletionRates) String() string
type IssueCompletionRateV4IssueStatus ¶
type IssueCompletionRateV4IssueStatus struct { // 已关闭的工作项 ClosedNum *int32 `json:"closed_num,omitempty"` // 新建的工作项 NewNum *int32 `json:"new_num,omitempty"` // 进行中的工作项数目 ProcessNum *int32 `json:"process_num,omitempty"` // 已经拒绝的工作项 RejectedNum *int32 `json:"rejected_num,omitempty"` // 已经解决的工作项 SolvedNum *int32 `json:"solved_num,omitempty"` // 测试中的工作项 TestNum *int32 `json:"test_num,omitempty"` }
工作项不同状态下的数量
func (IssueCompletionRateV4IssueStatus) String ¶
func (o IssueCompletionRateV4IssueStatus) String() string
type 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"` }
自定义字段
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 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"` }
id, 领域 14, '性能', 15, '功能', 16, '可靠性' 17, '网络安全' 18, '可维护性' 19, '其他DFX' 20, '可用性'
func (IssueItemSfV4Domain) String ¶
func (o IssueItemSfV4Domain) String() string
type IssueItemSfV4Iteration ¶
type IssueItemSfV4Iteration struct { // 迭代id Id *int32 `json:"id,omitempty"` // 迭代名 Name *string `json:"name,omitempty"` }
迭代
func (IssueItemSfV4Iteration) String ¶
func (o IssueItemSfV4Iteration) String() string
type IssueItemSfV4Module ¶
type IssueItemSfV4Module struct { // 模块id Id *int32 `json:"id,omitempty"` // 模块 Name *string `json:"name,omitempty"` }
模块
func (IssueItemSfV4Module) String ¶
func (o IssueItemSfV4Module) String() string
type IssueItemSfV4Priority ¶
type IssueItemSfV4Priority struct { // 优先级id Id *int32 `json:"id,omitempty"` // 优先级 Name *string `json:"name,omitempty"` }
工作项优先级
func (IssueItemSfV4Priority) String ¶
func (o IssueItemSfV4Priority) String() string
type IssueItemSfV4Severity ¶
type IssueItemSfV4Severity struct { // 重要程度id Id *int32 `json:"id,omitempty"` // 重要程度 Name *string `json:"name,omitempty"` }
工作项重要程度
func (IssueItemSfV4Severity) String ¶
func (o IssueItemSfV4Severity) String() string
type IssueItemSfV4Status ¶
type IssueItemSfV4Status struct { // 状态id Id *int32 `json:"id,omitempty"` // 状态名称 Name *string `json:"name,omitempty"` }
工作项状态
func (IssueItemSfV4Status) String ¶
func (o IssueItemSfV4Status) String() string
type IssueItemSfV4StoryPoint ¶ added in v0.0.91
type IssueItemSfV4StoryPoint struct { // 故事点id Id *int32 `json:"id,omitempty"` // 故事点 Name *string `json:"name,omitempty"` }
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"` }
工作项类型, 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"` }
项目信息
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"` }
历史记录
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"` }
工作项操作的用户
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"` }
工作项属性
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"` Severity *IssueItemSfV4Severity `json:"severity,omitempty"` Status *IssueItemSfV4Status `json:"status,omitempty"` Tracker *CreateIssueResponseV4Tracker `json:"tracker,omitempty"` // 更新时间 年-月-日 时:分:秒 UpdatedTime *string `json:"updated_time,omitempty"` // 关闭时间 年-月-日 时:分:秒 ClosedTime *string `json:"closed_time,omitempty"` }
工作项属性
func (IssueResponseV4) String ¶
func (o IssueResponseV4) 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"` }
工作项的统计信息
func (IssueStatusResponseV4) String ¶
func (o IssueStatusResponseV4) String() string
type IssueUser ¶
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"` }
操作详情
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"` }
变更操作人
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"` }
Request Object
func (ListAssociatedIssuesRequest) String ¶ added in v0.0.91
func (o ListAssociatedIssuesRequest) String() string
type ListAssociatedIssuesResponse ¶ added in v0.0.91
type ListAssociatedIssuesResponse struct { // 关联的工作项列表 Issues *[]AssociateIssueDetail `json:"issues,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAssociatedIssuesResponse) String ¶ added in v0.0.91
func (o ListAssociatedIssuesResponse) String() string
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"` }
Request Object
func (ListAssociatedTestCasesRequest) String ¶ added in v0.0.91
func (o ListAssociatedTestCasesRequest) String() string
type ListAssociatedTestCasesResponse ¶ added in v0.0.91
type ListAssociatedTestCasesResponse struct { // 关联的测试用例列表 TestCases *[]AssociatedTestCase `json:"test_cases,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAssociatedTestCasesResponse) String ¶ added in v0.0.91
func (o ListAssociatedTestCasesResponse) String() string
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"` }
Request Object
func (ListAssociatedWikisRequest) String ¶ added in v0.0.91
func (o ListAssociatedWikisRequest) String() string
type ListAssociatedWikisResponse ¶ added in v0.0.91
type ListAssociatedWikisResponse struct { // 关联的wiki列表 Wikis *[]AttachWikiDetail `json:"wikis,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAssociatedWikisResponse) String ¶ added in v0.0.91
func (o ListAssociatedWikisResponse) String() string
type ListChildIssuesV4Request ¶
type ListChildIssuesV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` // 工作项id IssueId int32 `json:"issue_id"` }
Request Object
func (ListChildIssuesV4Request) String ¶
func (o ListChildIssuesV4Request) String() string
type ListChildIssuesV4Response ¶
type ListChildIssuesV4Response struct { // 工作项列表 Issues *[]IssueResponseV4 `json:"issues,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListChildIssuesV4Response) String ¶
func (o ListChildIssuesV4Response) String() string
type ListDomainNotAddedProjectsV4Request ¶
type ListDomainNotAddedProjectsV4Request struct { // 分页索引,偏移量,offset是limit的整数倍,limit=10,offset=0,10,20... Offset *int32 `json:"offset,omitempty"` // 每页显示的数量,每页最多显示100条 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListDomainNotAddedProjectsV4Request) String ¶
func (o ListDomainNotAddedProjectsV4Request) String() string
type ListDomainNotAddedProjectsV4Response ¶
type ListDomainNotAddedProjectsV4Response struct { // 项目信息列表 Projects *[]ListDomainNotAddedProjectsV4ResponseBodyProjects `json:"projects,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDomainNotAddedProjectsV4Response) String ¶
func (o ListDomainNotAddedProjectsV4Response) String() string
type ListDomainNotAddedProjectsV4ResponseBodyCreator ¶
type ListDomainNotAddedProjectsV4ResponseBodyCreator struct { // 创建人numId UserNumId *int32 `json:"user_num_id,omitempty"` // 创建人id UserId *string `json:"user_id,omitempty"` // 创建人姓名 UserName *string `json:"user_name,omitempty"` // 创建人租户id DomainId *string `json:"domain_id,omitempty"` // 创建人租户名称 DomainName *string `json:"domain_name,omitempty"` // 创建人租户昵称 NickName *string `json:"nick_name,omitempty"` }
创建者信息
func (ListDomainNotAddedProjectsV4ResponseBodyCreator) String ¶
func (o ListDomainNotAddedProjectsV4ResponseBodyCreator) String() string
type ListDomainNotAddedProjectsV4ResponseBodyProjects ¶
type ListDomainNotAddedProjectsV4ResponseBodyProjects struct { // 项目数字id ProjectNumId *int32 `json:"project_num_id,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名 ProjectName *string `json:"project_name,omitempty"` // 项目描述 Description *string `json:"description,omitempty"` // 项目创建时间 CreatedTime *int64 `json:"created_time,omitempty"` // 项目更新时间 UpdatedTime *int64 `json:"updated_time,omitempty"` // 项目类型 ProjectType *string `json:"project_type,omitempty"` Creator *ListDomainNotAddedProjectsV4ResponseBodyCreator `json:"creator,omitempty"` }
func (ListDomainNotAddedProjectsV4ResponseBodyProjects) String ¶
func (o ListDomainNotAddedProjectsV4ResponseBodyProjects) String() string
type 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"` }
Request Object
func (ListIssueAssociatedCommitsRequest) String ¶ added in v0.0.91
func (o ListIssueAssociatedCommitsRequest) String() string
type ListIssueAssociatedCommitsResponse ¶ added in v0.0.91
type ListIssueAssociatedCommitsResponse struct { // 提交记录列表 Commits *[]CommitRecordDetail `json:"commits,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListIssueAssociatedCommitsResponse) String ¶ added in v0.0.91
func (o ListIssueAssociatedCommitsResponse) String() string
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"` }
Request Object
func (ListIssueCommentsV4Request) String ¶
func (o ListIssueCommentsV4Request) String() string
type ListIssueCommentsV4Response ¶
type ListIssueCommentsV4Response struct { // 评论总数 Total *int32 `json:"total,omitempty"` // 品论列表 Comments *[]IssueCommentV4 `json:"comments,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListIssueCommentsV4Response) String ¶
func (o ListIssueCommentsV4Response) String() string
type ListIssueCustomFieldsRequest ¶ added in v0.0.91
type ListIssueCustomFieldsRequest struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *ListIssueCustomFieldsRequestBody `json:"body,omitempty"` }
Request Object
func (ListIssueCustomFieldsRequest) String ¶ added in v0.0.91
func (o ListIssueCustomFieldsRequest) String() string
type ListIssueCustomFieldsRequestBody ¶ added in v0.0.91
type ListIssueCustomFieldsRequestBody struct { // 自定义字段 CustomFields *[]string `json:"custom_fields,omitempty"` // 自定义字段页面显示的含义 Names *[]string `json:"names,omitempty"` }
查询Scrum工作项的自定义字段,custom_fields和names的相关自定义字段都返回
func (ListIssueCustomFieldsRequestBody) String ¶ added in v0.0.91
func (o ListIssueCustomFieldsRequestBody) String() string
type ListIssueCustomFieldsResponse ¶ added in v0.0.91
type ListIssueCustomFieldsResponse struct { // 自定义字段返回数据 Datas *[]IssueCustomField `json:"datas,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListIssueCustomFieldsResponse) String ¶ added in v0.0.91
func (o ListIssueCustomFieldsResponse) String() string
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"` Severity *IssueItemSfV4Severity `json:"severity,omitempty"` Status *IssueItemSfV4Status `json:"status,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"` }
Request Object
func (ListIssueRecordsV4Request) String ¶
func (o ListIssueRecordsV4Request) String() string
type ListIssueRecordsV4Response ¶
type ListIssueRecordsV4Response struct { // 操作记录id (已废弃) Id *int32 `json:"id,omitempty"` // 创建时间 (已废弃) CreatedTime *int64 `json:"created_time,omitempty"` Records *[]IssueRecordV4 `json:"records,omitempty"` // 操作记录总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListIssueRecordsV4Response) String ¶
func (o ListIssueRecordsV4Response) String() string
type ListIssueRequestV4 ¶
type ListIssueRequestV4 struct { // 处理人id AssignedIds *[]int32 `json:"assigned_ids,omitempty"` // 创建者id CreatorIds *[]int32 `json:"creator_ids,omitempty"` // 开发人id,对应用户信息的数字id DeveloperIds *[]int32 `json:"developer_ids,omitempty"` // id, 领域, 14 '性能', 15 '功能', 16 '可靠性', 17 '网络安全', 18 '可维护性', 19 '其他DFX', 20 '可用性', DomainIds *[]int32 `json:"domain_ids,omitempty"` // 完成度 DoneRatios *[]int32 `json:"done_ratios,omitempty"` // 迭代id IterationIds *[]int32 `json:"iteration_ids,omitempty"` // 每页显示数量 Limit *int32 `json:"limit,omitempty"` // 分页索引,偏移量,offset是limit的整数倍数,limit=10,offset=0,10,20... Offset *int32 `json:"offset,omitempty"` // 模块id ModuleIds *[]int32 `json:"module_ids,omitempty"` // 优先级 PriorityIds *[]int32 `json:"priority_ids,omitempty"` // 查询类型 backlog feature epic QueryType *string `json:"query_type,omitempty"` // 查询类型 SeverityIds *[]int32 `json:"severity_ids,omitempty"` // 状态 id, 新建 1, 进行中 2, 已解决 3, 测试中 4, 已关闭 5, 已拒绝 6, StatusIds *[]int32 `json:"status_ids,omitempty"` // 故事点id StoryPointIds *[]int32 `json:"story_point_ids,omitempty"` // 工作项类型,2任务/Task,3缺陷/Bug,5Epic,6Feature,7Story TrackerIds *[]int32 `json:"tracker_ids,omitempty"` // true 查询的工作项包含已经逻辑删除的,false 查询的工作项不包含已经删除的 IncludeDeleted *bool `json:"include_deleted,omitempty"` // 根据工作项的更新时间查询工作项,(查询的起始时间,查询的结束时间) UpdatedTimeInterval *string `json:"updated_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
func (o ListIssueRequestV4CustomFields) String() string
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"` }
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
func (c ListIssuesSfV4RequestTrackerId) Value() int32
type ListIssuesSfV4RequestTrackerIdEnum ¶ added in v0.0.91
type ListIssuesSfV4RequestTrackerIdEnum struct { E_2 ListIssuesSfV4RequestTrackerId E_3 ListIssuesSfV4RequestTrackerId E_4 ListIssuesSfV4RequestTrackerId E_5 ListIssuesSfV4RequestTrackerId E_6 ListIssuesSfV4RequestTrackerId E_7 ListIssuesSfV4RequestTrackerId }
func GetListIssuesSfV4RequestTrackerIdEnum ¶ added in v0.0.91
func GetListIssuesSfV4RequestTrackerIdEnum() ListIssuesSfV4RequestTrackerIdEnum
type ListIssuesSfV4Response ¶ added in v0.0.91
type ListIssuesSfV4Response struct { // 工作项 Issues *[]IssueItemSfV4 `json:"issues,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
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"` }
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:"-"` }
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"` }
Request Object
func (ListIterationHistoriesRequest) String ¶ added in v0.0.78
func (o ListIterationHistoriesRequest) String() string
type ListIterationHistoriesResponse ¶ added in v0.0.78
type ListIterationHistoriesResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 历史记录 Histories *[]IterationHistory `json:"histories,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListIterationHistoriesResponse) String ¶ added in v0.0.78
func (o ListIterationHistoriesResponse) String() string
type ListProjectBugStaticsV4Request ¶
type ListProjectBugStaticsV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` }
Request Object
func (ListProjectBugStaticsV4Request) String ¶
func (o ListProjectBugStaticsV4Request) String() string
type ListProjectBugStaticsV4Response ¶
type ListProjectBugStaticsV4Response struct { // bug统计 BugStatistics *[]BugStatisticResponseV4 `json:"bug_statistics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectBugStaticsV4Response) String ¶
func (o ListProjectBugStaticsV4Response) String() string
type ListProjectDemandStaticV4Request ¶
type ListProjectDemandStaticV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` }
Request Object
func (ListProjectDemandStaticV4Request) String ¶
func (o ListProjectDemandStaticV4Request) String() string
type ListProjectDemandStaticV4Response ¶
type ListProjectDemandStaticV4Response struct { // 需求统计 DemandStatistics *[]DemandStatisticResponseV4 `json:"demand_statistics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectDemandStaticV4Response) String ¶
func (o ListProjectDemandStaticV4Response) String() string
type 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"` }
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:"-"` }
Response Object
func (ListProjectDomainsResponse) String ¶ added in v0.0.101
func (o ListProjectDomainsResponse) String() string
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"` }
Request Object
func (ListProjectIssuesRecordsV4Request) String ¶ added in v0.0.91
func (o ListProjectIssuesRecordsV4Request) String() string
type ListProjectIssuesRecordsV4Response ¶ added in v0.0.91
type ListProjectIssuesRecordsV4Response struct { // 历史记录 Records *[]IssueAttrHistoryRecord `json:"records,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectIssuesRecordsV4Response) String ¶ added in v0.0.91
func (o ListProjectIssuesRecordsV4Response) String() string
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"` }
Request Object
func (ListProjectIterationsV4Request) String ¶
func (o ListProjectIterationsV4Request) String() string
type ListProjectIterationsV4Response ¶
type ListProjectIterationsV4Response struct { // 迭代总数 Total *int32 `json:"total,omitempty"` // 迭代信息 Iterations *[]ListProjectVersionsV4ResponseBodyIterations `json:"iterations,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectIterationsV4Response) String ¶
func (o ListProjectIterationsV4Response) String() string
type ListProjectMembersV4Request ¶
type ListProjectMembersV4Request struct { // 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"` }
Request Object
func (ListProjectMembersV4Request) String ¶
func (o ListProjectMembersV4Request) String() string
type ListProjectMembersV4Response ¶
type ListProjectMembersV4Response struct { // 项目成员列表 Members *[]MemberListV4Members `json:"members,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectMembersV4Response) String ¶
func (o ListProjectMembersV4Response) String() string
type 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"` }
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:"-"` }
Response Object
func (ListProjectModulesResponse) String ¶ added in v0.0.96
func (o ListProjectModulesResponse) String() string
type ListProjectVersionsV4ResponseBodyIterations ¶
type ListProjectVersionsV4ResponseBodyIterations struct { // 迭代描述 Description *string `json:"description,omitempty"` // 迭代结束时间 EndTime *string `json:"end_time,omitempty"` // 迭代id Id *int32 `json:"id,omitempty"` // 迭代标题 Name *string `json:"name,omitempty"` // 迭代开始时间 BeginTime *string `json:"begin_time,omitempty"` // 迭代状态 Status *string `json:"status,omitempty"` // 迭代更新时间,长整型时间戳 UpdatedTime *int64 `json:"updated_time,omitempty"` // 迭代是否已经删除,false, 未删除, true已经删除 Deleted *bool `json:"deleted,omitempty"` }
func (ListProjectVersionsV4ResponseBodyIterations) String ¶
func (o ListProjectVersionsV4ResponseBodyIterations) String() string
type ListProjectWorkHoursRequest ¶
type ListProjectWorkHoursRequest struct {
Body *ListProjectWorkHoursRequestBody `json:"body,omitempty"`
}
Request Object
func (ListProjectWorkHoursRequest) String ¶
func (o ListProjectWorkHoursRequest) String() string
type ListProjectWorkHoursRequestBody ¶
type ListProjectWorkHoursRequestBody struct { // 查询的项目id列表 ProjectIds *[]string `json:"project_ids,omitempty"` // 查询的用户id列表 UserIds *[]string `json:"user_ids,omitempty"` // 工时类型,以逗号分隔,21:研发设计,22:后端开发,23:前端开发(Web),24:前端开发(小程序),25:前端开发(App),26:测试验证,27:缺陷修复,28:UI设计,29:会议,30:公共事务,31:培训,32:研究,33:其它,34:调休请假 WorkHoursTypes *string `json:"work_hours_types,omitempty"` // 工时日期,以逗号分隔,年-月-日 WorkHoursDates *string `json:"work_hours_dates,omitempty"` // 工时开始日期,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 工时结束日期,年-月-日 EndTime *string `json:"end_time,omitempty"` // 偏移量,offset是limit的整数倍,limit=10,offset=0,10,20... Offset int32 `json:"offset"` // 每页显示数量,每页最多显示100条 Limit int32 `json:"limit"` }
func (ListProjectWorkHoursRequestBody) String ¶
func (o ListProjectWorkHoursRequestBody) String() string
type ListProjectWorkHoursResponse ¶
type ListProjectWorkHoursResponse struct { // 工时列表 WorkHours *[]ShowProjectWorkHoursResponseBodyWorkHours `json:"work_hours,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectWorkHoursResponse) String ¶
func (o ListProjectWorkHoursResponse) String() string
type ListProjectsV4Request ¶
type ListProjectsV4Request struct { // 偏移量 从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"` }
Request Object
func (ListProjectsV4Request) String ¶
func (o ListProjectsV4Request) String() string
type ListProjectsV4Response ¶
type ListProjectsV4Response struct { // 项目信息列表 Projects *[]ListProjectsV4ResponseBodyProjects `json:"projects,omitempty"` // 项目总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectsV4Response) String ¶
func (o ListProjectsV4Response) String() string
type ListProjectsV4ResponseBodyCreator ¶
type ListProjectsV4ResponseBodyCreator struct { // 创建人numId UserNumId *int32 `json:"user_num_id,omitempty"` // 创建人id UserId *string `json:"user_id,omitempty"` // 创建人姓名 UserName *string `json:"user_name,omitempty"` // 创建人租户id DomainId *string `json:"domain_id,omitempty"` // 创建人租户名称 DomainName *string `json:"domain_name,omitempty"` // 创建人租户昵称 NickName *string `json:"nick_name,omitempty"` }
创建者信息
func (ListProjectsV4ResponseBodyCreator) String ¶
func (o ListProjectsV4ResponseBodyCreator) String() string
type ListProjectsV4ResponseBodyProjects ¶
type ListProjectsV4ResponseBodyProjects struct { // 项目numId ProjectNumId *int32 `json:"project_num_id,omitempty"` // 项目uuid ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 项目描述 Description *string `json:"description,omitempty"` // 项目创建时间 CreatedTime *int64 `json:"created_time,omitempty"` // 项目更新时间 UpdatedTime *int64 `json:"updated_time,omitempty"` // 项目类型 ProjectType *string `json:"project_type,omitempty"` Creator *ListProjectsV4ResponseBodyCreator `json:"creator,omitempty"` }
func (ListProjectsV4ResponseBodyProjects) String ¶
func (o ListProjectsV4ResponseBodyProjects) String() string
type 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"` }
Request Object
func (ListScrumProjectStatusesRequest) String ¶ added in v0.1.3
func (o ListScrumProjectStatusesRequest) String() string
type ListScrumProjectStatusesResponse ¶ added in v0.1.3
type ListScrumProjectStatusesResponse struct { // 状态总数 Total *int32 `json:"total,omitempty"` // 状态列表 IssueStatuses *[]IssueStatus `json:"issue_statuses,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListScrumProjectStatusesResponse) String ¶ added in v0.1.3
func (o ListScrumProjectStatusesResponse) String() string
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"` }
Request Object
func (ListStatusStatisticRequest) String ¶ added in v0.1.15
func (o ListStatusStatisticRequest) String() string
type ListStatusStatisticResponse ¶ added in v0.1.15
type ListStatusStatisticResponse struct { Body *[]UserStatusStatistic `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListStatusStatisticResponse) String ¶ added in v0.1.15
func (o ListStatusStatisticResponse) String() string
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"` }
Request Object
func (ListWorkitemStatusRecordsV4Request) String ¶ added in v0.0.91
func (o ListWorkitemStatusRecordsV4Request) String() string
type ListWorkitemStatusRecordsV4Response ¶ added in v0.0.91
type ListWorkitemStatusRecordsV4Response struct { // 操作历史 Records *[]WorkitemStatusRecords `json:"records,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListWorkitemStatusRecordsV4Response) String ¶ added in v0.0.91
func (o ListWorkitemStatusRecordsV4Response) String() string
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"` }
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:"-"` }
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"` }
指标分子过滤条件
func (MetricRequest2Dividend) String ¶
func (o MetricRequest2Dividend) String() string
type MetricRequest3 ¶
type MetricRequest3 struct { // 统计周期 DateRange *string `json:"date_range,omitempty"` // 指标类型 MetricType *string `json:"metric_type,omitempty"` // 迭代ID SprintId *string `json:"sprint_id,omitempty"` Dividend *MetricRequest3Dividend `json:"dividend,omitempty"` // 指标分母过滤条件 Divisor *interface{} `json:"divisor,omitempty"` }
func (MetricRequest3) String ¶
func (o MetricRequest3) String() string
type MetricRequest3Dividend ¶
type MetricRequest3Dividend struct { // 是否按时 OnTime *string `json:"on_time,omitempty"` // 自定义字段 CustomField16 *string `json:"custom_field16,omitempty"` // 自定义字段 CustomField17 *string `json:"custom_field17,omitempty"` // 自定义字段 CustomField18 *string `json:"custom_field18,omitempty"` // 自定义字段 CustomField19 *string `json:"custom_field19,omitempty"` // 自定义字段 CustomField20 *string `json:"custom_field20,omitempty"` // 自定义字段 CustomField21 *string `json:"custom_field21,omitempty"` // 自定义字段 CustomField22 *string `json:"custom_field22,omitempty"` // 自定义字段 CustomField23 *string `json:"custom_field23,omitempty"` // 自定义字段 CustomField24 *string `json:"custom_field24,omitempty"` // 自定义字段 CustomField25 *string `json:"custom_field25,omitempty"` // 自定义字段 CustomField26 *string `json:"custom_field26,omitempty"` // 自定义字段 CustomField27 *string `json:"custom_field27,omitempty"` // 自定义字段 CustomField28 *string `json:"custom_field28,omitempty"` // 自定义字段 CustomField29 *string `json:"custom_field29,omitempty"` // 自定义字段 CustomField30 *string `json:"custom_field30,omitempty"` // 自定义字段 CustomField31 *string `json:"custom_field31,omitempty"` // 自定义字段 CustomField32 *string `json:"custom_field32,omitempty"` // 自定义字段 CustomField33 *string `json:"custom_field33,omitempty"` // 自定义字段 CustomField34 *string `json:"custom_field34,omitempty"` // 自定义字段 CustomField35 *string `json:"custom_field35,omitempty"` // 自定义字段 CustomField36 *string `json:"custom_field36,omitempty"` // 自定义字段 CustomField37 *string `json:"custom_field37,omitempty"` // 自定义字段 CustomField38 *string `json:"custom_field38,omitempty"` // 自定义字段 CustomField39 *string `json:"custom_field39,omitempty"` // 自定义字段 CustomField40 *string `json:"custom_field40,omitempty"` }
指标分子过滤条件
func (MetricRequest3Dividend) String ¶
func (o MetricRequest3Dividend) String() string
type MetricRequestV2 ¶
type MetricRequestV2 struct { // 统计周期 DateRange *string `json:"date_range,omitempty"` // 指标类型 MetricType *string `json:"metric_type,omitempty"` Dividend *MetricRequestV2Dividend `json:"dividend,omitempty"` // 指标分母过滤条件 Divisor *interface{} `json:"divisor,omitempty"` }
func (MetricRequestV2) String ¶
func (o MetricRequestV2) String() string
type MetricRequestV2Dividend ¶
type MetricRequestV2Dividend struct { // 自定义类型过滤条件 CustomFields *[]MetricRequestV2DividendCustomFields `json:"custom_fields,omitempty"` }
指标分子过滤条件
func (MetricRequestV2Dividend) String ¶
func (o MetricRequestV2Dividend) String() string
type MetricRequestV2DividendCustomFields ¶
type MetricRequestV2DividendCustomFields struct { // 自定义字段名称 Name *string `json:"name,omitempty"` // 自定义字段取值,逗号分隔 Options *string `json:"options,omitempty"` }
func (MetricRequestV2DividendCustomFields) String ¶
func (o MetricRequestV2DividendCustomFields) String() string
type 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"` }
自定义字段
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"` }
Request Object
func (RemoveProjectRequest) String ¶
func (o RemoveProjectRequest) String() string
type RemoveProjectResponse ¶
type RemoveProjectResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RemoveProjectResponse) String ¶
func (o RemoveProjectResponse) String() string
type 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 ShowBugDensityV2Request ¶
type ShowBugDensityV2Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *MetricRequestV2 `json:"body,omitempty"` }
Request Object
func (ShowBugDensityV2Request) String ¶
func (o ShowBugDensityV2Request) String() string
type ShowBugDensityV2Response ¶
type ShowBugDensityV2Response struct { // 指标分子数值 DividendValue *string `json:"dividend_value,omitempty"` // 指标分母数值 DivisorValue *string `json:"divisor_value,omitempty"` // 指标名称 MetricName *string `json:"metric_name,omitempty"` // 指标数值 MetricValue *string `json:"metric_value,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBugDensityV2Response) String ¶
func (o ShowBugDensityV2Response) String() string
type ShowBugsPerDeveloperRequest ¶
type ShowBugsPerDeveloperRequest struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *MetricRequest2 `json:"body,omitempty"` }
Request Object
func (ShowBugsPerDeveloperRequest) String ¶
func (o ShowBugsPerDeveloperRequest) String() string
type ShowBugsPerDeveloperResponse ¶
type ShowBugsPerDeveloperResponse struct { // 指标分子数值 DividendValue *string `json:"dividend_value,omitempty"` // 指标分母数值 DivisorValue *string `json:"divisor_value,omitempty"` // 指标名称 MetricName *string `json:"metric_name,omitempty"` // 指标数值 MetricValue *string `json:"metric_value,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBugsPerDeveloperResponse) String ¶
func (o ShowBugsPerDeveloperResponse) String() string
type ShowCompletionRateRequest ¶
type ShowCompletionRateRequest struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *MetricRequest3 `json:"body,omitempty"` }
Request Object
func (ShowCompletionRateRequest) String ¶
func (o ShowCompletionRateRequest) String() string
type ShowCompletionRateResponse ¶
type ShowCompletionRateResponse struct { // 指标分子数值 DividendValue *string `json:"dividend_value,omitempty"` // 指标分母数值 DivisorValue *string `json:"divisor_value,omitempty"` // 指标名称 MetricName *string `json:"metric_name,omitempty"` // 指标数值 MetricValue *string `json:"metric_value,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCompletionRateResponse) String ¶
func (o ShowCompletionRateResponse) String() string
type ShowCurUserInfoRequest ¶
type ShowCurUserInfoRequest struct { }
Request Object
func (ShowCurUserInfoRequest) String ¶
func (o ShowCurUserInfoRequest) String() string
type ShowCurUserInfoResponse ¶
type ShowCurUserInfoResponse struct { // 租户id DomainId *string `json:"domain_id,omitempty"` // 租户名 DomainName *string `json:"domain_name,omitempty"` // 用户数字id UserNumId *int32 `json:"user_num_id,omitempty"` // 用户id UserId *string `json:"user_id,omitempty"` // 用户名 UserName *string `json:"user_name,omitempty"` // 用户昵称 NickName *string `json:"nick_name,omitempty"` // 创建时间 CreatedTime *int64 `json:"created_time,omitempty"` // 更新时间 UpdatedTime *int64 `json:"updated_time,omitempty"` // 性别 Gender *string `json:"gender,omitempty"` // 用户类型, User 云用户, Federation 联邦账号, UserType *string `json:"user_type,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCurUserInfoResponse) String ¶
func (o ShowCurUserInfoResponse) String() string
type ShowCurUserRoleRequest ¶
type ShowCurUserRoleRequest struct { // devcloud项目的32位id ProjectId string `json:"project_id"` }
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:"-"` }
Response Object
func (ShowCurUserRoleResponse) String ¶
func (o ShowCurUserRoleResponse) String() string
type ShowIssueCompletionRateRequest ¶
type ShowIssueCompletionRateRequest struct { // devcloud项目的32位id ProjectId string `json:"project_id"` }
Request Object
func (ShowIssueCompletionRateRequest) String ¶
func (o ShowIssueCompletionRateRequest) String() string
type ShowIssueCompletionRateResponse ¶
type ShowIssueCompletionRateResponse struct { // 不同类型的工作项完成率 IssueCompletionRates *[]IssueCompletionRateV4IssueCompletionRates `json:"issue_completion_rates,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowIssueCompletionRateResponse) String ¶
func (o ShowIssueCompletionRateResponse) String() string
type ShowIssueV4Request ¶
type ShowIssueV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` // 工作项id IssueId int32 `json:"issue_id"` }
Request Object
func (ShowIssueV4Request) String ¶
func (o ShowIssueV4Request) String() string
type ShowIssueV4Response ¶
type ShowIssueV4Response struct { // 实际工时 ActualWorkHours *float64 `json:"actual_work_hours,omitempty"` // 抄送人 AssignedCcUser *[]IssueUser `json:"assigned_cc_user,omitempty"` AssignedUser *IssueUser `json:"assigned_user,omitempty"` // 预计开始时间,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 创建时间 年-月-日 时:分:秒 CreatedTime *string `json:"created_time,omitempty"` Creator *IssueUser `json:"creator,omitempty"` // 自定义属性值,不建议使用,建议参考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"` 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"` 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:"-"` }
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"` }
Request Object
func (ShowIssuesWrokFlowConfigRequest) String ¶ added in v0.0.91
func (o ShowIssuesWrokFlowConfigRequest) String() string
type ShowIssuesWrokFlowConfigResponse ¶ added in v0.0.91
type ShowIssuesWrokFlowConfigResponse struct { // 流转数据 Workflows *[]ScrumStatusFlowVo `json:"workflows,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowIssuesWrokFlowConfigResponse) String ¶ added in v0.0.91
func (o ShowIssuesWrokFlowConfigResponse) String() string
type ShowIterationV4Request ¶
type ShowIterationV4Request struct { // 迭代id IterationId int32 `json:"iteration_id"` }
Request Object
func (ShowIterationV4Request) String ¶
func (o ShowIterationV4Request) String() string
type ShowIterationV4Response ¶
type ShowIterationV4Response struct { // 迭代结束时间,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 燃尽图 Charts *[]Chart `json:"charts,omitempty"` // 已关闭的工单数 ClosedTotal *int32 `json:"closed_total,omitempty"` // 迭代创建时间 CreatedTime *string `json:"created_time,omitempty"` // 迭代开始时间,年-月-日 EndTime *string `json:"end_time,omitempty"` // 是否有task HaveTask *bool `json:"have_task,omitempty"` // 迭代id IterationId *int32 `json:"iteration_id,omitempty"` // 迭代标题 Name *string `json:"name,omitempty"` // 开启的工单数 OpenedTotal *int32 `json:"opened_total,omitempty"` // 工作进展 Progress *string `json:"progress,omitempty"` // 工单总数 Total *int32 `json:"total,omitempty"` // 迭代更新时间 UpdatedTime *string `json:"updated_time,omitempty"` // 迭代的状态,0 未开始,1 进行中,2 结束 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowIterationV4Response) String ¶
func (o ShowIterationV4Response) String() string
type ShowProjectInfoV4Request ¶
type ShowProjectInfoV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` }
Request Object
func (ShowProjectInfoV4Request) String ¶
func (o ShowProjectInfoV4Request) String() string
type ShowProjectInfoV4Response ¶
type ShowProjectInfoV4Response struct { Project *GetProjectInfoV4ResultProject `json:"project,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowProjectInfoV4Response) String ¶
func (o ShowProjectInfoV4Response) String() string
type ShowProjectSummaryV4Request ¶
type ShowProjectSummaryV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` }
Request Object
func (ShowProjectSummaryV4Request) String ¶
func (o ShowProjectSummaryV4Request) String() string
type ShowProjectSummaryV4Response ¶
type ShowProjectSummaryV4Response struct { // bug统计列表 BugStatistics *[]BugStatisticResponseV4 `json:"bug_statistics,omitempty"` // 按模块统计列表 DemandStatistics *[]DemandStatisticResponseV4 `json:"demand_statistics,omitempty"` // 按工作项类型统计列表 IssueCompletionRates *[]IssueCompletionRateResponseV4 `json:"issue_completion_rates,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowProjectSummaryV4Response) String ¶
func (o ShowProjectSummaryV4Response) String() string
type ShowProjectWorkHoursRequest ¶
type ShowProjectWorkHoursRequest struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *ShowProjectWorkHoursRequestBody `json:"body,omitempty"` }
Request Object
func (ShowProjectWorkHoursRequest) String ¶
func (o ShowProjectWorkHoursRequest) String() string
type ShowProjectWorkHoursRequestBody ¶
type ShowProjectWorkHoursRequestBody struct { // 查询的用户id列表 UserIds *[]string `json:"user_ids,omitempty"` // 工时类型,以逗号分隔,21:研发设计,22:后端开发,23:前端开发(Web),24:前端开发(小程序),25:前端开发(App),26:测试验证,27:缺陷修复,28:UI设计,29:会议,30:公共事务,31:培训,32:研究,33:其它,34:调休请假 WorkHoursTypes *string `json:"work_hours_types,omitempty"` // 工时日期,以逗号分隔,年-月-日 WorkHoursDates *string `json:"work_hours_dates,omitempty"` // 工时开始日期,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 工时结束日期,年-月-日 EndTime *string `json:"end_time,omitempty"` // 偏移量,offset是limit的整数倍,limit=10,offset=0,10,20... Offset int32 `json:"offset"` // 每页显示数量,每页最多显示100条 Limit int32 `json:"limit"` }
func (ShowProjectWorkHoursRequestBody) String ¶
func (o ShowProjectWorkHoursRequestBody) String() string
type ShowProjectWorkHoursResponse ¶
type ShowProjectWorkHoursResponse struct { // 工时列表 WorkHours *[]ShowProjectWorkHoursResponseBodyWorkHours `json:"work_hours,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowProjectWorkHoursResponse) String ¶
func (o ShowProjectWorkHoursResponse) String() string
type ShowProjectWorkHoursResponseBodyWorkHours ¶
type ShowProjectWorkHoursResponseBodyWorkHours struct { // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 用户昵称 NickName *string `json:"nick_name,omitempty"` // 用户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"` }
func (ShowProjectWorkHoursResponseBodyWorkHours) String ¶
func (o ShowProjectWorkHoursResponseBodyWorkHours) String() 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"` }
Request Object
func (ShowWorkItemWrokflowConfigRequest) String ¶ added in v0.0.91
func (o ShowWorkItemWrokflowConfigRequest) String() string
type ShowWorkItemWrokflowConfigResponse ¶ added in v0.0.91
type ShowWorkItemWrokflowConfigResponse struct { // 流转数据 Workflows *[]WorkItemStatusFlowVo `json:"workflows,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowWorkItemWrokflowConfigResponse) String ¶ added in v0.0.91
func (o ShowWorkItemWrokflowConfigResponse) String() string
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 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"` }
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"` }
状态
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
func (o UpdateChildUserNickNameRequestBody) String() string
type UpdateIssueV4Request ¶
type UpdateIssueV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` // 工作项id IssueId int32 `json:"issue_id"` Body *IssueRequestV4 `json:"body,omitempty"` }
Request Object
func (UpdateIssueV4Request) String ¶
func (o UpdateIssueV4Request) String() string
type UpdateIssueV4Response ¶
type UpdateIssueV4Response struct { // 实际工时 ActualWorkHours *float64 `json:"actual_work_hours,omitempty"` // 抄送人 AssignedCcUser *[]IssueUser `json:"assigned_cc_user,omitempty"` AssignedUser *IssueUser `json:"assigned_user,omitempty"` // 预计开始时间,年-月-日 BeginTime *string `json:"begin_time,omitempty"` // 创建时间 年-月-日 时:分:秒 CreatedTime *string `json:"created_time,omitempty"` Creator *IssueUser `json:"creator,omitempty"` // 自定义属性值,不建议使用,建议参考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"` Severity *IssueItemSfV4Severity `json:"severity,omitempty"` Status *IssueItemSfV4Status `json:"status,omitempty"` Tracker *CreateIssueResponseV4Tracker `json:"tracker,omitempty"` // 更新时间 年-月-日 时:分:秒 UpdatedTime *string `json:"updated_time,omitempty"` // 关闭时间 年-月-日 时:分:秒 ClosedTime *string `json:"closed_time,omitempty"` HttpStatusCode int `json:"-"` }
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"` }
Request Object
func (UpdateIterationV4Request) String ¶
func (o UpdateIterationV4Request) String() string
type UpdateIterationV4Response ¶
type UpdateIterationV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateIterationV4Response) String ¶
func (o UpdateIterationV4Response) String() string
type UpdateMembesRoleV4Request ¶
type UpdateMembesRoleV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *UpdateMembesRoleV4RequestBody `json:"body,omitempty"` }
Request Object
func (UpdateMembesRoleV4Request) String ¶
func (o UpdateMembesRoleV4Request) String() string
type UpdateMembesRoleV4RequestBody ¶
type UpdateMembesRoleV4RequestBody struct { // 成员角色, -1 项目创建者, 3 项目经理, 4 开发人员, 5 测试经理, 6 测试人员, 7 参与者, 8 浏览者, 9 运维经理 RoleId int32 `json:"role_id"` // 用户id UserIds []string `json:"user_ids"` }
func (UpdateMembesRoleV4RequestBody) String ¶
func (o UpdateMembesRoleV4RequestBody) String() string
type UpdateMembesRoleV4Response ¶
type UpdateMembesRoleV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateMembesRoleV4Response) String ¶
func (o UpdateMembesRoleV4Response) String() string
type UpdateNickNameV4Request ¶
type UpdateNickNameV4Request struct {
Body *UpdateUserNickNameRequestV4 `json:"body,omitempty"`
}
Request Object
func (UpdateNickNameV4Request) String ¶
func (o UpdateNickNameV4Request) String() string
type UpdateNickNameV4Response ¶
type UpdateNickNameV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateNickNameV4Response) String ¶
func (o UpdateNickNameV4Response) String() string
type 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"` }
Request Object
func (UpdateProjectDomainRequest) String ¶ added in v0.0.101
func (o UpdateProjectDomainRequest) String() string
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:"-"` }
Response Object
func (UpdateProjectDomainResponse) String ¶ added in v0.0.101
func (o UpdateProjectDomainResponse) String() string
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"` }
Request Object
func (UpdateProjectModuleRequest) String ¶ added in v0.0.96
func (o UpdateProjectModuleRequest) String() string
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
func (o UpdateProjectModuleRequestBody) String() string
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:"-"` }
Response Object
func (UpdateProjectModuleResponse) String ¶ added in v0.0.96
func (o UpdateProjectModuleResponse) String() string
type UpdateProjectRequestV4 ¶
type UpdateProjectRequestV4 struct { // 项目描述 Description *string `json:"description,omitempty"` // 项目名 ProjectName string `json:"project_name"` }
更新项目信息
func (UpdateProjectRequestV4) String ¶
func (o UpdateProjectRequestV4) String() string
type UpdateProjectV4Request ¶
type UpdateProjectV4Request struct { // devcloud项目的32位id ProjectId string `json:"project_id"` Body *UpdateProjectRequestV4 `json:"body,omitempty"` }
Request Object
func (UpdateProjectV4Request) String ¶
func (o UpdateProjectV4Request) String() string
type UpdateProjectV4Response ¶
type UpdateProjectV4Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateProjectV4Response) String ¶
func (o UpdateProjectV4Response) String() string
type UpdateUserNickNameRequestV4 ¶
type UpdateUserNickNameRequestV4 struct { // 用户昵称 NickName string `json:"nick_name"` }
用户昵称
func (UpdateUserNickNameRequestV4) String ¶
func (o UpdateUserNickNameRequestV4) String() string
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"` }
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 (o UploadAttachmentsRequestBody) String() string
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:"-"` }
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"` }
Request Object
func (UploadIssueImgRequest) String ¶ added in v0.0.68
func (o UploadIssueImgRequest) String() string
type UploadIssueImgRequestBody ¶ added in v0.0.68
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:"-"` }
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 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"` }
工作项流转数据对象
func (WorkItemStatusFlowVo) String ¶ added in v0.0.91
func (o WorkItemStatusFlowVo) String() string
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"` }
用户自定义字段
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"` }
工作项的状态
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"` }
type WorkitemsDomain ¶ added in v0.0.91
type WorkitemsDomain struct { // 领域id Id *string `json:"id,omitempty"` // 领域 Name *string `json:"name,omitempty"` }
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"` }
迭代
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"` }
模块
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"` }
工作项状态
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 ¶
- model_add_apply_join_project_for_agc_request.go
- model_add_apply_join_project_for_agc_response.go
- model_add_member_request_v4.go
- model_add_member_v4_request.go
- model_add_member_v4_response.go
- model_associate_issue_detail.go
- model_associated_test_case.go
- model_attach_wiki_detail.go
- model_batch_add_member_request_v4.go
- model_batch_add_members_v4_request.go
- model_batch_add_members_v4_request_body.go
- model_batch_add_members_v4_response.go
- model_batch_delelte_issues_request_v4.go
- model_batch_delete_issues_v4_request.go
- model_batch_delete_issues_v4_response.go
- model_batch_delete_iterations_v4_request.go
- model_batch_delete_iterations_v4_request_body.go
- model_batch_delete_iterations_v4_response.go
- model_batch_delete_members_v4_request.go
- model_batch_delete_members_v4_request_body.go
- model_batch_delete_members_v4_response.go
- model_batch_update_child_nick_names_request.go
- model_batch_update_child_nick_names_response.go
- model_batch_update_child_user_nick_names_request_body.go
- model_bug_statistic_response_v4.go
- model_cancel_project_domain_request.go
- model_cancel_project_domain_response.go
- model_chart.go
- model_check_project_name_request_v4.go
- model_check_project_name_v4_request.go
- model_check_project_name_v4_response.go
- model_comment_user_v4.go
- model_commit_record_detail.go
- model_create_customfield_v1_req.go
- model_create_customfields_request.go
- model_create_customfields_response.go
- model_create_issue_request_v4.go
- model_create_issue_response_v4_domain.go
- model_create_issue_response_v4_parent_issue.go
- model_create_issue_response_v4_tracker.go
- model_create_issue_v4_request.go
- model_create_issue_v4_response.go
- model_create_iteration_request_v4.go
- model_create_iteration_v4_request.go
- model_create_iteration_v4_response.go
- model_create_project_domain_request.go
- model_create_project_domain_request_body.go
- model_create_project_domain_response.go
- model_create_project_domain_response_body.go
- model_create_project_module_request.go
- model_create_project_module_request_body.go
- model_create_project_module_response.go
- model_create_project_v4_request.go
- model_create_project_v4_request_body.go
- model_create_project_v4_response.go
- model_create_system_issue_request_v4.go
- model_create_system_issue_v4_request.go
- model_create_system_issue_v4_response.go
- model_creator.go
- model_custom_feild_record.go
- model_custom_field.go
- model_delete_attachment_request.go
- model_delete_attachment_response.go
- model_delete_issue_v4_request.go
- model_delete_issue_v4_response.go
- model_delete_iteration_v4_request.go
- model_delete_iteration_v4_response.go
- model_delete_project_module_request.go
- model_delete_project_module_response.go
- model_delete_project_v4_request.go
- model_delete_project_v4_response.go
- model_demand_statistic_response_v4.go
- model_download_attachment_request.go
- model_download_attachment_response.go
- model_download_image_file_request.go
- model_download_image_file_response.go
- model_get_project_info_v4_result_project.go
- model_get_project_info_v4_result_project_creator.go
- model_issue_accessory.go
- model_issue_attr_history_record.go
- model_issue_comment_v4.go
- model_issue_completion_rate_response_v4.go
- model_issue_completion_rate_v4_issue_completion_rates.go
- model_issue_completion_rate_v4_issue_status.go
- model_issue_custom_field.go
- model_issue_detail_custom_field.go
- model_issue_item_sf_v4.go
- model_issue_item_sf_v4_domain.go
- model_issue_item_sf_v4_iteration.go
- model_issue_item_sf_v4_module.go
- model_issue_item_sf_v4_priority.go
- model_issue_item_sf_v4_severity.go
- model_issue_item_sf_v4_status.go
- model_issue_item_sf_v4_story_point.go
- model_issue_item_sf_v4_tracker.go
- model_issue_order.go
- model_issue_project_response_v4.go
- model_issue_record_v4.go
- model_issue_record_v4_details.go
- model_issue_record_v4_user.go
- model_issue_request_v4.go
- model_issue_response_v4.go
- model_issue_status.go
- model_issue_status_response_v4.go
- model_issue_user.go
- model_iteration_history.go
- model_iteration_history_details.go
- model_iteration_history_operator.go
- model_list_associated_issues_request.go
- model_list_associated_issues_response.go
- model_list_associated_test_cases_request.go
- model_list_associated_test_cases_response.go
- model_list_associated_wikis_request.go
- model_list_associated_wikis_response.go
- model_list_child_issues_v4_request.go
- model_list_child_issues_v4_response.go
- model_list_domain_not_added_projects_v4_request.go
- model_list_domain_not_added_projects_v4_response.go
- model_list_domain_not_added_projects_v4_response_body_creator.go
- model_list_domain_not_added_projects_v4_response_body_projects.go
- model_list_issue_associated_commits_request.go
- model_list_issue_associated_commits_response.go
- model_list_issue_comments_v4_request.go
- model_list_issue_comments_v4_response.go
- model_list_issue_custom_fields_request.go
- model_list_issue_custom_fields_request_body.go
- model_list_issue_custom_fields_response.go
- model_list_issue_item_response.go
- model_list_issue_records_v4_request.go
- model_list_issue_records_v4_response.go
- model_list_issue_request_v4.go
- model_list_issue_request_v4_custom_fields.go
- model_list_issues_sf_v4_request.go
- model_list_issues_sf_v4_response.go
- model_list_issues_v4_request.go
- model_list_issues_v4_response.go
- model_list_iteration_histories_request.go
- model_list_iteration_histories_response.go
- model_list_project_bug_statics_v4_request.go
- model_list_project_bug_statics_v4_response.go
- model_list_project_demand_static_v4_request.go
- model_list_project_demand_static_v4_response.go
- model_list_project_domains_request.go
- model_list_project_domains_response.go
- model_list_project_issues_records_v4_request.go
- model_list_project_issues_records_v4_response.go
- model_list_project_iterations_v4_request.go
- model_list_project_iterations_v4_response.go
- model_list_project_members_v4_request.go
- model_list_project_members_v4_response.go
- model_list_project_modules_request.go
- model_list_project_modules_response.go
- model_list_project_versions_v4_response_body_iterations.go
- model_list_project_work_hours_request.go
- model_list_project_work_hours_request_body.go
- model_list_project_work_hours_response.go
- model_list_projects_v4_request.go
- model_list_projects_v4_response.go
- model_list_projects_v4_response_body_creator.go
- model_list_projects_v4_response_body_projects.go
- model_list_scrum_project_statuses_request.go
- model_list_scrum_project_statuses_response.go
- model_list_status_statistic_request.go
- model_list_status_statistic_response.go
- model_list_workitem_status_records_v4_request.go
- model_list_workitem_status_records_v4_response.go
- model_list_workitems_request.go
- model_list_workitems_response.go
- model_member_list_v4_members.go
- model_metric_request2.go
- model_metric_request2_dividend.go
- model_metric_request3.go
- model_metric_request3_dividend.go
- model_metric_request_v2.go
- model_metric_request_v2_dividend.go
- model_metric_request_v2_dividend_custom_fields.go
- model_module_owner.go
- model_new_custom_field.go
- model_project_child_module.go
- model_project_module.go
- model_remove_project_request.go
- model_remove_project_response.go
- model_scrum_custom_field.go
- model_scrum_status_flow_direct_to_vo.go
- model_scrum_status_flow_vo.go
- model_show_bug_density_v2_request.go
- model_show_bug_density_v2_response.go
- model_show_bugs_per_developer_request.go
- model_show_bugs_per_developer_response.go
- model_show_completion_rate_request.go
- model_show_completion_rate_response.go
- model_show_cur_user_info_request.go
- model_show_cur_user_info_response.go
- model_show_cur_user_role_request.go
- model_show_cur_user_role_response.go
- model_show_issue_completion_rate_request.go
- model_show_issue_completion_rate_response.go
- model_show_issue_v4_request.go
- model_show_issue_v4_response.go
- model_show_issues_wrok_flow_config_request.go
- model_show_issues_wrok_flow_config_response.go
- model_show_iteration_v4_request.go
- model_show_iteration_v4_response.go
- model_show_project_info_v4_request.go
- model_show_project_info_v4_response.go
- model_show_project_summary_v4_request.go
- model_show_project_summary_v4_response.go
- model_show_project_work_hours_request.go
- model_show_project_work_hours_request_body.go
- model_show_project_work_hours_response.go
- model_show_project_work_hours_response_body_work_hours.go
- model_show_work_item_wrokflow_config_request.go
- model_show_work_item_wrokflow_config_response.go
- model_simple_project.go
- model_simple_user.go
- model_status_attribute.go
- model_status_flow_direct_to_vo.go
- model_status_vo.go
- model_update_child_user_nick_name_request_body.go
- model_update_issue_v4_request.go
- model_update_issue_v4_response.go
- model_update_iteration_request_v4.go
- model_update_iteration_v4_request.go
- model_update_iteration_v4_response.go
- model_update_membes_role_v4_request.go
- model_update_membes_role_v4_request_body.go
- model_update_membes_role_v4_response.go
- model_update_nick_name_v4_request.go
- model_update_nick_name_v4_response.go
- model_update_project_domain_request.go
- model_update_project_domain_response.go
- model_update_project_module_request.go
- model_update_project_module_request_body.go
- model_update_project_module_response.go
- model_update_project_request_v4.go
- model_update_project_v4_request.go
- model_update_project_v4_response.go
- model_update_user_nick_name_request_v4.go
- model_upload_attachments_request.go
- model_upload_attachments_request_body.go
- model_upload_attachments_response.go
- model_upload_issue_img_request.go
- model_upload_issue_img_request_body.go
- model_upload_issue_img_response.go
- model_user_request.go
- model_user_status_statistic.go
- model_work_item_status_flow_vo.go
- model_workitem_custom_field.go
- model_workitem_status.go
- model_workitem_status_records.go
- model_workitem_status_status.go
- model_workitem_user.go
- model_workitems.go
- model_workitems_domain.go
- model_workitems_iteration.go
- model_workitems_module.go
- model_workitems_status.go
- model_workitems_tags.go