model

package
v0.0.11-beta Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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 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 *string `json:"template_id,omitempty"`
}

func (CreateProjectV4RequestBody) String

type CreateProjectV4Response

type CreateProjectV4Response struct {
	// 项目数字id
	ProjectNumId *int32 `json:"project_num_id,omitempty"`
	// 项目id
	ProjectId *string `json:"project_id,omitempty"`
	// 项目名
	ProjectName *string `json:"project_name,omitempty"`
	// 项目描述
	Description *string `json:"description,omitempty"`
	// 项目类型
	ProjectType *string `json:"project_type,omitempty"`
	// 创建者的数字id
	UserNumId *int32 `json:"user_num_id,omitempty"`
}

Response Object

func (CreateProjectV4Response) String

func (o CreateProjectV4Response) 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 IssueCompletionRateV4IssueCompletionRates

type IssueCompletionRateV4IssueCompletionRates struct {
	IssueStatus *IssueCompletionRateV4IssueStatus `json:"issue_status,omitempty"`
	// 工作项类型id,1需求,2任务/task,3缺陷/bug,5epic,6feature,7story
	TrackerId *int32 `json:"tracker_id,omitempty"`
}

func (IssueCompletionRateV4IssueCompletionRates) String

type IssueCompletionRateV4IssueStatus

type IssueCompletionRateV4IssueStatus struct {
	// 已关闭的工作项
	ClosedNum *int32 `json:"closed_num,omitempty"`
	// 新建的工作项
	NewNum *int32 `json:"new_num,omitempty"`
	// 进行中的工作项数目
	ProcessNum *int32 `json:"process_num,omitempty"`
	// 已经拒绝的工作项
	RejectedNum *int32 `json:"rejected_num,omitempty"`
	// 已经解决的工作项
	SolvedNum *int32 `json:"solved_num,omitempty"`
	// 测试中的工作项
	TestNum *int32 `json:"test_num,omitempty"`
}

工作项不同状态下的数量

func (IssueCompletionRateV4IssueStatus) String

type IssueRecordV4

type IssueRecordV4 struct {
	User *IssueRecordV4User `json:"user,omitempty"`
	// 操作的记录
	Details []IssueRecordV4Details `json:"details,omitempty"`
}

历史记录

func (IssueRecordV4) String

func (o IssueRecordV4) String() string

type IssueRecordV4Details

type IssueRecordV4Details struct {
	// 操作属性
	Property *string `json:"property,omitempty"`
	// 上次的记录
	OldValue *string `json:"old_value,omitempty"`
	// 当前值
	NewValue *string `json:"new_value,omitempty"`
	// 操作
	Operation *string `json:"operation,omitempty"`
}

func (IssueRecordV4Details) String

func (o IssueRecordV4Details) String() string

type IssueRecordV4User

type IssueRecordV4User struct {
	// 用户数字id
	UserNumId *int32 `json:"user_num_id,omitempty"`
	// 登录名
	UserName *string `json:"user_name,omitempty"`
	// 昵称
	NickName *string `json:"nick_name,omitempty"`
	// 用户32位的uuid
	UserId *string `json:"user_id,omitempty"`
}

工作项操作的用户

func (IssueRecordV4User) String

func (o IssueRecordV4User) String() string

type ListDomainNotAddedProjectsV4Request

type ListDomainNotAddedProjectsV4Request struct {
	Offset *int32 `json:"offset,omitempty"`
	Limit  *int32 `json:"limit,omitempty"`
}

Request Object

func (ListDomainNotAddedProjectsV4Request) String

type ListDomainNotAddedProjectsV4Response

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

Response Object

func (ListDomainNotAddedProjectsV4Response) String

type ListDomainNotAddedProjectsV4ResponseBodyCreator

type ListDomainNotAddedProjectsV4ResponseBodyCreator struct {
	// 创建人numId
	UserNumId *int32 `json:"user_num_id,omitempty"`
	// 创建人id
	UserId *string `json:"user_id,omitempty"`
	// 创建人姓名
	UserName *string `json:"user_name,omitempty"`
	// 创建人租户id
	DomainId *string `json:"domain_id,omitempty"`
	// 创建人租户名称
	DomainName *string `json:"domain_name,omitempty"`
	// 创建人租户昵称
	NickName *string `json:"nick_name,omitempty"`
}

创建者信息

func (ListDomainNotAddedProjectsV4ResponseBodyCreator) String

type ListDomainNotAddedProjectsV4ResponseBodyProjects

type ListDomainNotAddedProjectsV4ResponseBodyProjects struct {
	// 项目数字id
	ProjectNumId *int32 `json:"project_num_id,omitempty"`
	// 项目id
	ProjectId *string `json:"project_id,omitempty"`
	// 项目名
	ProjectName *string `json:"project_name,omitempty"`
	// 项目描述
	Description *string `json:"description,omitempty"`
	// 项目创建时间
	CreatedTime *string `json:"created_time,omitempty"`
	// 项目更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`
	// 项目类型
	ProjectType *string                                          `json:"project_type,omitempty"`
	Creator     *ListDomainNotAddedProjectsV4ResponseBodyCreator `json:"creator,omitempty"`
}

func (ListDomainNotAddedProjectsV4ResponseBodyProjects) String

type ListIssueCommentsV4Request

type ListIssueCommentsV4Request struct {
	ProjectId string `json:"project_id"`
	IssueId   int32  `json:"issue_id"`
	Offset    *int32 `json:"offset,omitempty"`
	Limit     *int32 `json:"limit,omitempty"`
}

Request Object

func (ListIssueCommentsV4Request) String

type ListIssueCommentsV4Response

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

Response Object

func (ListIssueCommentsV4Response) String

type ListIssueRecordsV4Request

type ListIssueRecordsV4Request struct {
	ProjectId string `json:"project_id"`
	IssueId   int32  `json:"issue_id"`
	Offset    *int32 `json:"offset,omitempty"`
	Limit     *int32 `json:"limit,omitempty"`
}

Request Object

func (ListIssueRecordsV4Request) String

func (o ListIssueRecordsV4Request) String() string

type ListIssueRecordsV4Response

type ListIssueRecordsV4Response struct {
	// 操作记录id
	Id *int32 `json:"id,omitempty"`
	// 创建时间
	CreatedTime *string         `json:"created_time,omitempty"`
	Records     []IssueRecordV4 `json:"records,omitempty"`
	// 操作记录总数
	Total *int32 `json:"total,omitempty"`
}

Response Object

func (ListIssueRecordsV4Response) String

type ListProjectMembersV4Request

type ListProjectMembersV4Request struct {
	ProjectId string `json:"project_id"`
	Offset    *int32 `json:"offset,omitempty"`
	Limit     *int32 `json:"limit,omitempty"`
}

Request Object

func (ListProjectMembersV4Request) String

type ListProjectMembersV4Response

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

Response Object

func (ListProjectMembersV4Response) String

type ListProjectVersionsV4Request

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

Request Object

func (ListProjectVersionsV4Request) String

type ListProjectVersionsV4Response

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

Response Object

func (ListProjectVersionsV4Response) String

type ListProjectVersionsV4ResponseBodyIterations

type ListProjectVersionsV4ResponseBodyIterations struct {
	// 迭代描述
	Description *string `json:"description,omitempty"`
	// 迭代结束时间
	EndTime *string `json:"end_time,omitempty"`
	// 迭代id
	Id *int32 `json:"id,omitempty"`
	// 迭代标题
	Name *string `json:"name,omitempty"`
	// 迭代开始时间
	BeginTime *string `json:"begin_time,omitempty"`
}

func (ListProjectVersionsV4ResponseBodyIterations) String

type ListProjectWorkHoursRequest

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

Request Object

func (ListProjectWorkHoursRequest) String

type ListProjectWorkHoursRequestBody

type ListProjectWorkHoursRequestBody struct {
	// 查询的项目id列表
	ProjectIds []string `json:"project_ids,omitempty"`
	// 查询的用户id列表
	UserIds []string `json:"user_ids,omitempty"`
	// 工时类型,以逗号分隔,21:研发设计,22:后端开发,23:前端开发(Web),24:前端开发(小程序),25:前端开发(App),26:测试验证,27:缺陷修复,28:UI设计,29:会议,30:公共事务,31:培训,32:研究,33:其它,34:调休请假
	WorkHoursTypes *string `json:"work_hours_types,omitempty"`
	// 工时日期,以逗号分隔,年-月-日
	WorkHoursDates *string `json:"work_hours_dates,omitempty"`
	// 工时开始日期,年-月-日
	BeginTime *string `json:"begin_time,omitempty"`
	// 工时结束日期,年-月-日
	EndTime *string `json:"end_time,omitempty"`
	// 偏移量
	Offset string `json:"offset"`
	// 每页显示数量,每页最多显示100条
	Limit string `json:"limit"`
}

func (ListProjectWorkHoursRequestBody) String

type ListProjectWorkHoursResponse

type ListProjectWorkHoursResponse struct {
	// 工时列表
	WorkHours []ShowProjectWorkHoursResponseBodyWorkHours `json:"work_hours,omitempty"`
	// 总数
	Total *int32 `json:"total,omitempty"`
}

Response Object

func (ListProjectWorkHoursResponse) String

type ListProjectsV4Request

type ListProjectsV4Request struct {
	Offset      int32   `json:"offset"`
	Limit       int32   `json:"limit"`
	Search      *string `json:"search,omitempty"`
	ProjectType *string `json:"project_type,omitempty"`
	Sort        *string `json:"sort,omitempty"`
	Archive     *string `json:"archive,omitempty"`
	QueryType   *string `json:"query_type,omitempty"`
}

Request Object

func (ListProjectsV4Request) String

func (o ListProjectsV4Request) String() string

type ListProjectsV4Response

type ListProjectsV4Response struct {
	// 项目信息列表
	Projects []ListProjectsV4ResponseBodyProjects `json:"projects,omitempty"`
	// 项目总数
	Total *int32 `json:"total,omitempty"`
}

Response Object

func (ListProjectsV4Response) String

func (o ListProjectsV4Response) String() string

type ListProjectsV4ResponseBodyCreator

type ListProjectsV4ResponseBodyCreator struct {
	// 创建人numId
	UserNumId *int32 `json:"user_num_id,omitempty"`
	// 创建人id
	UserId *string `json:"user_id,omitempty"`
	// 创建人姓名
	UserName *string `json:"user_name,omitempty"`
	// 创建人租户id
	DomainId *string `json:"domain_id,omitempty"`
	// 创建人租户名称
	DomainName *string `json:"domain_name,omitempty"`
	// 创建人租户昵称
	NickName *string `json:"nick_name,omitempty"`
}

创建者信息

func (ListProjectsV4ResponseBodyCreator) String

type ListProjectsV4ResponseBodyProjects

type ListProjectsV4ResponseBodyProjects struct {
	// 项目numId
	ProjectNumId *int32 `json:"project_num_id,omitempty"`
	// 项目uuid
	ProjectId *string `json:"project_id,omitempty"`
	// 项目名称
	ProjectName *string `json:"project_name,omitempty"`
	// 项目描述
	Description *string `json:"description,omitempty"`
	// 项目创建时间
	CreatedTime *string `json:"created_time,omitempty"`
	// 项目更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`
	// 项目类型
	ProjectType *string                            `json:"project_type,omitempty"`
	Creator     *ListProjectsV4ResponseBodyCreator `json:"creator,omitempty"`
}

func (ListProjectsV4ResponseBodyProjects) String

type MemberListV4Members

type MemberListV4Members struct {
	// 租户id
	DomainId *string `json:"domain_id,omitempty"`
	// 租户名
	DomainName *string `json:"domain_name,omitempty"`
	// 用户id
	UserId *string `json:"user_id,omitempty"`
	// 用户名
	UserName *string `json:"user_name,omitempty"`
	// 创建人numId
	UserNumId *int32 `json:"user_num_id,omitempty"`
	// 成员角色 -1 项目创建者 3 项目经理 4 开发人员 5 测试经理 6 测试人员 7 参与者 8 浏览者
	RoleId *int32 `json:"role_id,omitempty"`
	// 用户昵称
	NickName *string `json:"nick_name,omitempty"`
	// 用户角色
	RoleName *string `json:"role_name,omitempty"`
	// 用户类型 User iam用户 Federation 联邦账号
	UserType *string `json:"user_type,omitempty"`
	// 是否是禁用账号,1 禁用账号, 0非禁用账号
	Forbidden *int32 `json:"forbidden,omitempty"`
}

func (MemberListV4Members) String

func (o MemberListV4Members) String() string

type RemoveProjectRequest

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

Request Object

func (RemoveProjectRequest) String

func (o RemoveProjectRequest) String() string

type RemoveProjectResponse

type RemoveProjectResponse struct {
}

Response Object

func (RemoveProjectResponse) String

func (o RemoveProjectResponse) String() string

type ShowCurUserInfoRequest

type ShowCurUserInfoRequest struct {
}

Request Object

func (ShowCurUserInfoRequest) String

func (o ShowCurUserInfoRequest) String() string

type ShowCurUserInfoResponse

type ShowCurUserInfoResponse struct {
	// 租户id
	DomainId *string `json:"domain_id,omitempty"`
	// 租户名
	DomainName *string `json:"domain_name,omitempty"`
	// 用户数字id
	UserNumId *int32 `json:"user_num_id,omitempty"`
	// 用户id
	UserId *string `json:"user_id,omitempty"`
	// 用户名
	UserName *string `json:"user_name,omitempty"`
	// 用户昵称
	NickName *string `json:"nick_name,omitempty"`
	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`
	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`
	// 性别
	Gender *string `json:"gender,omitempty"`
	// 用户类型 User 云用户 Federation 联邦账号
	UserType *string `json:"user_type,omitempty"`
}

Response Object

func (ShowCurUserInfoResponse) String

func (o ShowCurUserInfoResponse) String() string

type ShowCurUserRoleRequest

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

Request Object

func (ShowCurUserRoleRequest) String

func (o ShowCurUserRoleRequest) String() string

type ShowCurUserRoleResponse

type ShowCurUserRoleResponse struct {
	// 用户角色id
	RoleId *string `json:"role_id,omitempty"`
}

Response Object

func (ShowCurUserRoleResponse) String

func (o ShowCurUserRoleResponse) String() string

type ShowProjectWorkHoursRequest

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

Request Object

func (ShowProjectWorkHoursRequest) String

type ShowProjectWorkHoursRequestBody

type ShowProjectWorkHoursRequestBody struct {
	// 查询的用户id列表
	UserIds []string `json:"user_ids,omitempty"`
	// 工时类型,以逗号分隔,21:研发设计,22:后端开发,23:前端开发(Web),24:前端开发(小程序),25:前端开发(App),26:测试验证,27:缺陷修复,28:UI设计,29:会议,30:公共事务,31:培训,32:研究,33:其它,34:调休请假
	WorkHoursTypes *string `json:"work_hours_types,omitempty"`
	// 工时日期,以逗号分隔,年-月-日
	WorkHoursDates *string `json:"work_hours_dates,omitempty"`
	// 工时开始日期,年-月-日
	BeginTime *string `json:"begin_time,omitempty"`
	// 工时结束日期,年-月-日
	EndTime *string `json:"end_time,omitempty"`
	// 偏移量
	Offset string `json:"offset"`
	// 每页显示数量,每页最多显示100条
	Limit string `json:"limit"`
}

func (ShowProjectWorkHoursRequestBody) String

type ShowProjectWorkHoursResponse

type ShowProjectWorkHoursResponse struct {
	// 工时列表
	WorkHours []ShowProjectWorkHoursResponseBodyWorkHours `json:"work_hours,omitempty"`
	// 总数
	Total *int32 `json:"total,omitempty"`
}

Response Object

func (ShowProjectWorkHoursResponse) String

type ShowProjectWorkHoursResponseBodyWorkHours

type ShowProjectWorkHoursResponseBodyWorkHours struct {
	// 项目名称
	ProjectName *string `json:"project_name,omitempty"`
	// 用户昵称
	NickName *string `json:"nick_name,omitempty"`
	// 用户名
	UserName *string `json:"user_name,omitempty"`
	// 工时日期
	WorkDate *string `json:"work_date,omitempty"`
	// 工时花费
	WorkHoursNum *string `json:"work_hours_num,omitempty"`
	// 工时内容
	Summary *string `json:"summary,omitempty"`
	// 工时类型
	WorkHoursTypeName *string `json:"work_hours_type_name,omitempty"`
	// 工作项编码
	IssueId *string `json:"issue_id,omitempty"`
	// 工作项类型
	IssueType *string `json:"issue_type,omitempty"`
	// 工作项标题
	Subject *string `json:"subject,omitempty"`
	// 工作项创建时间
	CreatedTime *string `json:"created_time,omitempty"`
	// 工作项结束时间
	ClosedTime *string `json:"closed_time,omitempty"`
}

func (ShowProjectWorkHoursResponseBodyWorkHours) String

type ShowtIssueCompletionRateRequest

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

Request Object

func (ShowtIssueCompletionRateRequest) String

type ShowtIssueCompletionRateResponse

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

Response Object

func (ShowtIssueCompletionRateResponse) String

type UpdateMembesRoleV4Request

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

Request Object

func (UpdateMembesRoleV4Request) String

func (o UpdateMembesRoleV4Request) String() string

type UpdateMembesRoleV4RequestBody

type UpdateMembesRoleV4RequestBody struct {
	// 成员角色 -1 项目创建者 3 项目经理 4 开发人员 5 测试经理 6 测试人员 7 参与者 8 浏览者
	RoleId int32 `json:"role_id"`
	// 用户id
	UserIds []string `json:"user_ids"`
}

func (UpdateMembesRoleV4RequestBody) String

type UpdateMembesRoleV4Response

type UpdateMembesRoleV4Response struct {
}

Response Object

func (UpdateMembesRoleV4Response) String

Source Files

Jump to

Keyboard shortcuts

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