model

package
v0.0.69 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddApplyJoinProjectForAgcRequest

type AddApplyJoinProjectForAgcRequest struct {
	DomainId string `json:"Domain-Id"`

	UserId string `json:"User-Id"`

	ProjectId string `json:"project_id"`
}

Request Object

func (AddApplyJoinProjectForAgcRequest) String

type AddApplyJoinProjectForAgcResponse

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

Response Object

func (AddApplyJoinProjectForAgcResponse) String

type AddMemberRequestV4

type AddMemberRequestV4 struct {
	DomainName *string `json:"domain_name,omitempty"`

	DomainId string `json:"domain_id"`

	RoleId *int32 `json:"role_id,omitempty"`

	UserId string `json:"user_id"`
}

func (AddMemberRequestV4) String

func (o AddMemberRequestV4) String() string

type AddMemberV4Request

type AddMemberV4Request struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (AddMemberV4Request) String

func (o AddMemberV4Request) String() string

type AddMemberV4Response

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

Response Object

func (AddMemberV4Response) String

func (o AddMemberV4Response) String() string

type BatchAddMemberRequestV4

type BatchAddMemberRequestV4 struct {
	RoleId *int32 `json:"role_id,omitempty"`

	UserId string `json:"user_id"`
}

func (BatchAddMemberRequestV4) String

func (o BatchAddMemberRequestV4) String() string

type BatchAddMembersV4Request

type BatchAddMembersV4Request struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (BatchAddMembersV4Request) String

func (o BatchAddMembersV4Request) String() string

type BatchAddMembersV4RequestBody

type BatchAddMembersV4RequestBody struct {
	Users []BatchAddMemberRequestV4 `json:"users"`
}

func (BatchAddMembersV4RequestBody) String

type BatchAddMembersV4Response

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

Response Object

func (BatchAddMembersV4Response) String

func (o BatchAddMembersV4Response) String() string

type BatchDelelteIssuesRequestV4

type BatchDelelteIssuesRequestV4 struct {
	IssueIds []int32 `json:"issue_ids"`
}

func (BatchDelelteIssuesRequestV4) String

type BatchDeleteIssuesV4Request

type BatchDeleteIssuesV4Request struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (BatchDeleteIssuesV4Request) String

type BatchDeleteIssuesV4Response

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

Response Object

func (BatchDeleteIssuesV4Response) String

type BatchDeleteIterationsV4Request

type BatchDeleteIterationsV4Request struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (BatchDeleteIterationsV4Request) String

type BatchDeleteIterationsV4RequestBody

type BatchDeleteIterationsV4RequestBody struct {
	IterationIds []int32 `json:"iteration_ids"`
}

func (BatchDeleteIterationsV4RequestBody) String

type BatchDeleteIterationsV4Response

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

Response Object

func (BatchDeleteIterationsV4Response) String

type BatchDeleteMembersV4Request

type BatchDeleteMembersV4Request struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (BatchDeleteMembersV4Request) String

type BatchDeleteMembersV4RequestBody

type BatchDeleteMembersV4RequestBody struct {
	UserIds []string `json:"user_ids"`
}

func (BatchDeleteMembersV4RequestBody) String

type BatchDeleteMembersV4Response

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

Response Object

func (BatchDeleteMembersV4Response) String

type BugStatisticResponseV4

type BugStatisticResponseV4 struct {
	CriticalNum *int32 `json:"critical_num,omitempty"`

	DefectIndex *float64 `json:"defect_index,omitempty"`

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

	NormalNum *int32 `json:"normal_num,omitempty"`

	SeriousNum *int32 `json:"serious_num,omitempty"`

	TipNum *int32 `json:"tip_num,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

Bug信息

func (BugStatisticResponseV4) String

func (o BugStatisticResponseV4) String() string

type Chart

type Chart struct {
	Date *string `json:"date,omitempty"`

	FinishedNum *int32 `json:"finished_num,omitempty"`

	IterationId *int32 `json:"iteration_id,omitempty"`

	ProjectNumId *int32 `json:"project_num_id,omitempty"`

	RemainingNum *int32 `json:"remaining_num,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

func (Chart) String

func (o Chart) String() string

type CheckProjectNameRequestV4

type CheckProjectNameRequestV4 struct {
	ProjectName string `json:"project_name"`
}

func (CheckProjectNameRequestV4) String

func (o CheckProjectNameRequestV4) String() string

type CheckProjectNameV4Request

type CheckProjectNameV4Request struct {
	Body *CheckProjectNameRequestV4 `json:"body,omitempty"`
}

Request Object

func (CheckProjectNameV4Request) String

func (o CheckProjectNameV4Request) String() string

type CheckProjectNameV4Response

type CheckProjectNameV4Response struct {
	Exist          *bool `json:"exist,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (CheckProjectNameV4Response) String

type CommentUserV4

type CommentUserV4 struct {
	UserNumId *int32 `json:"user_num_id,omitempty"`

	UserName *string `json:"user_name,omitempty"`

	NickName *string `json:"nick_name,omitempty"`
}

func (CommentUserV4) String

func (o CommentUserV4) String() string

type CreateCustomfieldV1Req

type CreateCustomfieldV1Req struct {
	Name string `json:"name"`

	Type string `json:"type"`

	Options string `json:"options"`

	Memo string `json:"memo"`

	ScrumType string `json:"scrum_type"`
}

func (CreateCustomfieldV1Req) String

func (o CreateCustomfieldV1Req) String() string

type CreateCustomfieldsRequest

type CreateCustomfieldsRequest struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (CreateCustomfieldsRequest) String

func (o CreateCustomfieldsRequest) String() string

type CreateCustomfieldsResponse

type CreateCustomfieldsResponse struct {
	Options *string `json:"options,omitempty"`

	Region *string `json:"region,omitempty"`

	Id *int32 `json:"id,omitempty"`

	Identifier *string `json:"identifier,omitempty"`

	ProjectId *int32 `json:"project_id,omitempty"`

	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

type CreateIssueRequestV4

type CreateIssueRequestV4 struct {
	ActualWorkHours *float64 `json:"actual_work_hours,omitempty"`

	AssignedId *int32 `json:"assigned_id,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

	Description *string `json:"description,omitempty"`

	DeveloperId *int32 `json:"developer_id,omitempty"`

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

	IterationId *int32 `json:"iteration_id,omitempty"`

	ModuleId *int32 `json:"module_id,omitempty"`

	Name string `json:"name"`

	ParentIssueId *int32 `json:"parent_issue_id,omitempty"`

	PriorityId int32 `json:"priority_id"`

	SeverityId *int32 `json:"severity_id,omitempty"`

	StatusId *int32 `json:"status_id,omitempty"`

	TrackerId int32 `json:"tracker_id"`
}

工作项属性

func (CreateIssueRequestV4) String

func (o CreateIssueRequestV4) String() string

type CreateIssueResponseV4Domain

type CreateIssueResponseV4Domain struct {
	Id *int32 `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

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

func (CreateIssueResponseV4Domain) String

type CreateIssueResponseV4ParentIssue

type CreateIssueResponseV4ParentIssue struct {
	Id *int32 `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

父工作项

func (CreateIssueResponseV4ParentIssue) String

type CreateIssueV4Request

type CreateIssueV4Request struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (CreateIssueV4Request) String

func (o CreateIssueV4Request) String() string

type CreateIssueV4Response

type CreateIssueV4Response struct {
	ActualWorkHours *float64 `json:"actual_work_hours,omitempty"`

	AssignedCcUser *[]IssueUser `json:"assigned_cc_user,omitempty"`

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

	BeginTime *string `json:"begin_time,omitempty"`

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

	CustomFields *[]CustomField `json:"custom_fields,omitempty"`

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

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

	DoneRatio *int32 `json:"done_ratio,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"`

	Id *int32 `json:"id,omitempty"`

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

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

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

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

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

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

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

	Tracker        *IssueItemSfV4Tracker `json:"tracker,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (CreateIssueV4Response) String

func (o CreateIssueV4Response) String() string

type CreateIterationRequestV4

type CreateIterationRequestV4 struct {
	BeginTime string `json:"begin_time"`

	Description *string `json:"description,omitempty"`

	EndTime string `json:"end_time"`

	Name string `json:"name"`
}

func (CreateIterationRequestV4) String

func (o CreateIterationRequestV4) String() string

type CreateIterationV4Request

type CreateIterationV4Request struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (CreateIterationV4Request) String

func (o CreateIterationV4Request) String() string

type CreateIterationV4Response

type CreateIterationV4Response struct {
	Id             *int32 `json:"id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateIterationV4Response) String

func (o CreateIterationV4Response) String() string

type CreateProjectV4Request

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

Request Object

func (CreateProjectV4Request) String

func (o CreateProjectV4Request) String() string

type CreateProjectV4RequestBody

type CreateProjectV4RequestBody struct {
	ProjectName string `json:"project_name"`

	Description *string `json:"description,omitempty"`

	Source *string `json:"source,omitempty"`

	ProjectType string `json:"project_type"`

	EnterpriseId *string `json:"enterprise_id,omitempty"`

	TemplateId *int32 `json:"template_id,omitempty"`
}

func (CreateProjectV4RequestBody) String

type CreateProjectV4Response

type CreateProjectV4Response struct {
	ProjectNumId *int32 `json:"project_num_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Description *string `json:"description,omitempty"`

	ProjectType *string `json:"project_type,omitempty"`

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

	AssignedId *int32 `json:"assigned_id,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

	Description *string `json:"description,omitempty"`

	DeveloperId *int32 `json:"developer_id,omitempty"`

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

	IterationId *int32 `json:"iteration_id,omitempty"`

	ModuleId *int32 `json:"module_id,omitempty"`

	Name string `json:"name"`

	ParentIssueId *int32 `json:"parent_issue_id,omitempty"`

	PriorityId int32 `json:"priority_id"`

	SeverityId *int32 `json:"severity_id,omitempty"`

	StatusId *int32 `json:"status_id,omitempty"`

	TrackerId int32 `json:"tracker_id"`

	Creator *Creator `json:"creator"`

	CustomFields *[]ScrumCustomField `json:"custom_fields,omitempty"`
}

func (CreateSystemIssueRequestV4) String added in v0.0.68

type CreateSystemIssueV4Request added in v0.0.68

type CreateSystemIssueV4Request struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (CreateSystemIssueV4Request) String added in v0.0.68

type CreateSystemIssueV4Response added in v0.0.68

type CreateSystemIssueV4Response struct {
	ActualWorkHours *float64 `json:"actual_work_hours,omitempty"`

	AssignedCcUser *[]IssueUser `json:"assigned_cc_user,omitempty"`

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

	BeginTime *string `json:"begin_time,omitempty"`

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

	CustomFields *[]CustomField `json:"custom_fields,omitempty"`

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

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

	DoneRatio *int32 `json:"done_ratio,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"`

	Id *int32 `json:"id,omitempty"`

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

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

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

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

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

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

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

	Tracker        *IssueItemSfV4Tracker `json:"tracker,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (CreateSystemIssueV4Response) String added in v0.0.68

type Creator added in v0.0.68

type Creator struct {
	UserId string `json:"user_id"`
}

func (Creator) String added in v0.0.68

func (o Creator) String() string

type CustomField

type CustomField struct {
	Name *string `json:"name,omitempty"`

	Value *string `json:"value,omitempty"`
}

自定义属性

func (CustomField) String

func (o CustomField) String() string

type DeleteIssueV4Request

type DeleteIssueV4Request struct {
	ProjectId string `json:"project_id"`

	IssueId int32 `json:"issue_id"`
}

Request Object

func (DeleteIssueV4Request) String

func (o DeleteIssueV4Request) String() string

type DeleteIssueV4Response

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

Response Object

func (DeleteIssueV4Response) String

func (o DeleteIssueV4Response) String() string

type DeleteIterationV4Request

type DeleteIterationV4Request struct {
	ProjectId string `json:"project_id"`

	IterationId int32 `json:"iteration_id"`
}

Request Object

func (DeleteIterationV4Request) String

func (o DeleteIterationV4Request) String() string

type DeleteIterationV4Response

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

Response Object

func (DeleteIterationV4Response) String

func (o DeleteIterationV4Response) String() string

type DeleteProjectV4Request

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

Request Object

func (DeleteProjectV4Request) String

func (o DeleteProjectV4Request) String() string

type DeleteProjectV4Response

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

Response Object

func (DeleteProjectV4Response) String

func (o DeleteProjectV4Response) String() string

type DemandStatisticResponseV4

type DemandStatisticResponseV4 struct {
	ClosedNum *int32 `json:"closed_num,omitempty"`

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

	NewNum *int32 `json:"new_num,omitempty"`

	ProcessNum *int32 `json:"process_num,omitempty"`

	RejectedNum *int32 `json:"rejected_num,omitempty"`

	SolvedNum *int32 `json:"solved_num,omitempty"`

	TestNum *int32 `json:"test_num,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

需求概览信息

func (DemandStatisticResponseV4) String

func (o DemandStatisticResponseV4) String() string

type GetProjectInfoV4ResultProject

type GetProjectInfoV4ResultProject struct {
	ProjectNumId *int32 `json:"project_num_id,omitempty"`

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

	EnterpriseId *string `json:"enterprise_id,omitempty"`

	ProjectCode *string `json:"project_code,omitempty"`

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

项目信息

func (GetProjectInfoV4ResultProject) String

type GetProjectInfoV4ResultProjectCreator

type GetProjectInfoV4ResultProjectCreator struct {
	UserNumId *int32 `json:"user_num_id,omitempty"`

	UserId *string `json:"user_id,omitempty"`

	UserName *string `json:"user_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	NickName *string `json:"nick_name,omitempty"`
}

创建者信息

func (GetProjectInfoV4ResultProjectCreator) String

type IssueCommentV4

type IssueCommentV4 struct {
	Comment *string `json:"comment,omitempty"`

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

	TrackerId *int32 `json:"tracker_id,omitempty"`
}

项目工作项概览信息

func (IssueCompletionRateResponseV4) String

type IssueCompletionRateV4IssueCompletionRates

type IssueCompletionRateV4IssueCompletionRates struct {
	IssueStatus *IssueCompletionRateV4IssueStatus `json:"issue_status,omitempty"`

	TrackerId *int32 `json:"tracker_id,omitempty"`
}

func (IssueCompletionRateV4IssueCompletionRates) String

type IssueCompletionRateV4IssueStatus

type IssueCompletionRateV4IssueStatus struct {
	ClosedNum *int32 `json:"closed_num,omitempty"`

	NewNum *int32 `json:"new_num,omitempty"`

	ProcessNum *int32 `json:"process_num,omitempty"`

	RejectedNum *int32 `json:"rejected_num,omitempty"`

	SolvedNum *int32 `json:"solved_num,omitempty"`

	TestNum *int32 `json:"test_num,omitempty"`
}

工作项不同状态下的数量

func (IssueCompletionRateV4IssueStatus) String

type IssueItemSfV4Domain

type IssueItemSfV4Domain struct {
	Id *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 *int32 `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

迭代

func (IssueItemSfV4Iteration) String

func (o IssueItemSfV4Iteration) String() string

type IssueItemSfV4Module

type IssueItemSfV4Module struct {
	Id *int32 `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

模块

func (IssueItemSfV4Module) String

func (o IssueItemSfV4Module) String() string

type IssueItemSfV4Priority

type IssueItemSfV4Priority struct {
	Id *int32 `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

工作项优先级

func (IssueItemSfV4Priority) String

func (o IssueItemSfV4Priority) String() string

type IssueItemSfV4Severity

type IssueItemSfV4Severity struct {
	Id *int32 `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

工作项重要程度

func (IssueItemSfV4Severity) String

func (o IssueItemSfV4Severity) String() string

type IssueItemSfV4Status

type IssueItemSfV4Status struct {
	Id *int32 `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

工作项状态

func (IssueItemSfV4Status) String

func (o IssueItemSfV4Status) String() string

type IssueItemSfV4Tracker

type IssueItemSfV4Tracker struct {
	Id *int32 `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

工作项类型

func (IssueItemSfV4Tracker) String

func (o IssueItemSfV4Tracker) String() string

type IssueProjectResponseV4

type IssueProjectResponseV4 struct {
	ProjectId *string `json:"project_id,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	ProjectNumId *int32 `json:"project_num_id,omitempty"`
}

项目信息

func (IssueProjectResponseV4) String

func (o IssueProjectResponseV4) String() string

type IssueRecordV4

type IssueRecordV4 struct {
	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 *int32 `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`
}

func (IssueRecordV4Details) String

func (o IssueRecordV4Details) String() string

type IssueRecordV4User

type IssueRecordV4User struct {
	UserNumId *int32 `json:"user_num_id,omitempty"`

	UserName *string `json:"user_name,omitempty"`

	NickName *string `json:"nick_name,omitempty"`

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

	AssignedId *int32 `json:"assigned_id,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

	Description *string `json:"description,omitempty"`

	DeveloperId *int32 `json:"developer_id,omitempty"`

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

	IterationId *int32 `json:"iteration_id,omitempty"`

	ModuleId *int32 `json:"module_id,omitempty"`

	Name *string `json:"name,omitempty"`

	ParentIssueId *int32 `json:"parent_issue_id,omitempty"`

	PriorityId *int32 `json:"priority_id,omitempty"`

	SeverityId *int32 `json:"severity_id,omitempty"`

	StatusId *int32 `json:"status_id,omitempty"`

	TrackerId *int32 `json:"tracker_id,omitempty"`
}

工作项属性

func (IssueRequestV4) String

func (o IssueRequestV4) String() string

type IssueResponseV4

type IssueResponseV4 struct {
	ActualWorkHours *float64 `json:"actual_work_hours,omitempty"`

	AssignedCcUser *[]IssueUser `json:"assigned_cc_user,omitempty"`

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

	BeginTime *string `json:"begin_time,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

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

	CustomFields *[]CustomField `json:"custom_fields,omitempty"`

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

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

	DoneRatio *int32 `json:"done_ratio,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"`

	Id *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 *IssueItemSfV4Tracker `json:"tracker,omitempty"`

	UpdatedTime *string `json:"updated_time,omitempty"`

	ClosedTime *string `json:"closed_time,omitempty"`
}

工作项属性

func (IssueResponseV4) String

func (o IssueResponseV4) String() string

type IssueStatusResponseV4

type IssueStatusResponseV4 struct {
	ClosedNum *int32 `json:"closed_num,omitempty"`

	NewNum *int32 `json:"new_num,omitempty"`

	ProcessNum *int32 `json:"process_num,omitempty"`

	RejectedNum *int32 `json:"rejected_num,omitempty"`

	SolvedNum *int32 `json:"solved_num,omitempty"`

	TestNum *int32 `json:"test_num,omitempty"`
}

工作项的统计信息

func (IssueStatusResponseV4) String

func (o IssueStatusResponseV4) String() string

type IssueUser

type IssueUser struct {
	Id *int32 `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	NickName *string `json:"nick_name,omitempty"`
}

func (IssueUser) String

func (o IssueUser) String() string

type ListChildIssuesV4Request

type ListChildIssuesV4Request struct {
	ProjectId string `json:"project_id"`

	IssueId int32 `json:"issue_id"`
}

Request Object

func (ListChildIssuesV4Request) String

func (o ListChildIssuesV4Request) String() string

type ListChildIssuesV4Response

type ListChildIssuesV4Response struct {
	Issues *[]IssueResponseV4 `json:"issues,omitempty"`

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

Response Object

func (ListChildIssuesV4Response) String

func (o ListChildIssuesV4Response) String() string

type ListDomainNotAddedProjectsV4Request

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

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListDomainNotAddedProjectsV4Request) String

type ListDomainNotAddedProjectsV4Response

type ListDomainNotAddedProjectsV4Response struct {
	Projects *[]ListDomainNotAddedProjectsV4ResponseBodyProjects `json:"projects,omitempty"`

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

Response Object

func (ListDomainNotAddedProjectsV4Response) String

type ListDomainNotAddedProjectsV4ResponseBodyCreator

type ListDomainNotAddedProjectsV4ResponseBodyCreator struct {
	UserNumId *int32 `json:"user_num_id,omitempty"`

	UserId *string `json:"user_id,omitempty"`

	UserName *string `json:"user_name,omitempty"`

	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 {
	ProjectNumId *int32 `json:"project_num_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Description *string `json:"description,omitempty"`

	CreatedTime *int64 `json:"created_time,omitempty"`

	UpdatedTime *int64 `json:"updated_time,omitempty"`

	ProjectType *string `json:"project_type,omitempty"`

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

func (ListDomainNotAddedProjectsV4ResponseBodyProjects) String

type ListIssueCommentsV4Request

type ListIssueCommentsV4Request struct {
	ProjectId string `json:"project_id"`

	IssueId int32 `json:"issue_id"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListIssueCommentsV4Request) String

type ListIssueCommentsV4Response

type ListIssueCommentsV4Response struct {
	Total *int32 `json:"total,omitempty"`

	Comments       *[]IssueCommentV4 `json:"comments,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListIssueCommentsV4Response) String

type ListIssueRecordsV4Request

type ListIssueRecordsV4Request struct {
	ProjectId string `json:"project_id"`

	IssueId int32 `json:"issue_id"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListIssueRecordsV4Request) String

func (o ListIssueRecordsV4Request) String() string

type ListIssueRecordsV4Response

type ListIssueRecordsV4Response struct {
	Id *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

type ListIssueRequestV4

type ListIssueRequestV4 struct {
	AssignedIds *[]int32 `json:"assigned_ids,omitempty"`

	CreatorIds *[]int32 `json:"creator_ids,omitempty"`

	DeveloperIds *[]int32 `json:"developer_ids,omitempty"`

	DomainIds *[]int32 `json:"domain_ids,omitempty"`

	DoneRatios *[]int32 `json:"done_ratios,omitempty"`

	IterationIds *[]int32 `json:"iteration_ids,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	ModuleIds *[]int32 `json:"module_ids,omitempty"`

	PriorityIds *[]int32 `json:"priority_ids,omitempty"`

	QueryType *string `json:"query_type,omitempty"`

	SeverityIds *[]int32 `json:"severity_ids,omitempty"`

	StatusIds *[]int32 `json:"status_ids,omitempty"`

	StoryPointIds *[]int32 `json:"story_point_ids,omitempty"`

	TrackerIds *[]int32 `json:"tracker_ids,omitempty"`
}

func (ListIssueRequestV4) String

func (o ListIssueRequestV4) String() string

type ListIssuesV4Request

type ListIssuesV4Request struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (ListIssuesV4Request) String

func (o ListIssuesV4Request) String() string

type ListIssuesV4Response

type ListIssuesV4Response struct {
	Issues *[]IssueResponseV4 `json:"issues,omitempty"`

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

Response Object

func (ListIssuesV4Response) String

func (o ListIssuesV4Response) String() string

type ListProjectBugStaticsV4Request

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

Request Object

func (ListProjectBugStaticsV4Request) String

type ListProjectBugStaticsV4Response

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

Response Object

func (ListProjectBugStaticsV4Response) String

type ListProjectDemandStaticV4Request

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

Request Object

func (ListProjectDemandStaticV4Request) String

type ListProjectDemandStaticV4Response

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

Response Object

func (ListProjectDemandStaticV4Response) String

type ListProjectIterationsV4Request

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

Request Object

func (ListProjectIterationsV4Request) String

type ListProjectIterationsV4Response

type ListProjectIterationsV4Response struct {
	Total *int32 `json:"total,omitempty"`

	Iterations     *[]ListProjectVersionsV4ResponseBodyIterations `json:"iterations,omitempty"`
	HttpStatusCode int                                            `json:"-"`
}

Response Object

func (ListProjectIterationsV4Response) String

type ListProjectMembersV4Request

type ListProjectMembersV4Request struct {
	ProjectId string `json:"project_id"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListProjectMembersV4Request) String

type ListProjectMembersV4Response

type ListProjectMembersV4Response struct {
	Members *[]MemberListV4Members `json:"members,omitempty"`

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

Response Object

func (ListProjectMembersV4Response) String

type ListProjectVersionsV4ResponseBodyIterations

type ListProjectVersionsV4ResponseBodyIterations struct {
	Description *string `json:"description,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	Id *int32 `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

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

func (ListProjectVersionsV4ResponseBodyIterations) String

type ListProjectWorkHoursRequest

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

Request Object

func (ListProjectWorkHoursRequest) String

type ListProjectWorkHoursRequestBody

type ListProjectWorkHoursRequestBody struct {
	ProjectIds *[]string `json:"project_ids,omitempty"`

	UserIds *[]string `json:"user_ids,omitempty"`

	WorkHoursTypes *string `json:"work_hours_types,omitempty"`

	WorkHoursDates *string `json:"work_hours_dates,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	Offset int32 `json:"offset"`

	Limit int32 `json:"limit"`
}

func (ListProjectWorkHoursRequestBody) String

type ListProjectWorkHoursResponse

type ListProjectWorkHoursResponse struct {
	WorkHours *[]ShowProjectWorkHoursResponseBodyWorkHours `json:"work_hours,omitempty"`

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

Response Object

func (ListProjectWorkHoursResponse) String

type ListProjectsV4Request

type ListProjectsV4Request struct {
	Offset int32 `json:"offset"`

	Limit int32 `json:"limit"`

	Search *string `json:"search,omitempty"`

	ProjectType *string `json:"project_type,omitempty"`

	Sort *string `json:"sort,omitempty"`

	Archive *string `json:"archive,omitempty"`

	QueryType *string `json:"query_type,omitempty"`
}

Request Object

func (ListProjectsV4Request) String

func (o ListProjectsV4Request) String() string

type ListProjectsV4Response

type ListProjectsV4Response struct {
	Projects *[]ListProjectsV4ResponseBodyProjects `json:"projects,omitempty"`

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

Response Object

func (ListProjectsV4Response) String

func (o ListProjectsV4Response) String() string

type ListProjectsV4ResponseBodyCreator

type ListProjectsV4ResponseBodyCreator struct {
	UserNumId *int32 `json:"user_num_id,omitempty"`

	UserId *string `json:"user_id,omitempty"`

	UserName *string `json:"user_name,omitempty"`

	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 {
	ProjectNumId *int32 `json:"project_num_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Description *string `json:"description,omitempty"`

	CreatedTime *int64 `json:"created_time,omitempty"`

	UpdatedTime *int64 `json:"updated_time,omitempty"`

	ProjectType *string `json:"project_type,omitempty"`

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

func (ListProjectsV4ResponseBodyProjects) String

type MemberListV4Members

type MemberListV4Members struct {
	DomainId *string `json:"domain_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	UserId *string `json:"user_id,omitempty"`

	UserName *string `json:"user_name,omitempty"`

	UserNumId *int32 `json:"user_num_id,omitempty"`

	RoleId *int32 `json:"role_id,omitempty"`

	NickName *string `json:"nick_name,omitempty"`

	RoleName *string `json:"role_name,omitempty"`

	UserType *string `json:"user_type,omitempty"`

	Forbidden *int32 `json:"forbidden,omitempty"`
}

func (MemberListV4Members) String

func (o MemberListV4Members) String() string

type MetricRequest2

type MetricRequest2 struct {
	MetricType *string `json:"metric_type,omitempty"`

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

	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

type RemoveProjectRequest

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

Request Object

func (RemoveProjectRequest) String

func (o RemoveProjectRequest) String() string

type RemoveProjectResponse

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

Response Object

func (RemoveProjectResponse) String

func (o RemoveProjectResponse) String() string

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

type ShowBugDensityV2Request struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (ShowBugDensityV2Request) String

func (o ShowBugDensityV2Request) String() string

type ShowBugDensityV2Response

type ShowBugDensityV2Response struct {
	DividendValue *string `json:"dividend_value,omitempty"`

	DivisorValue *string `json:"divisor_value,omitempty"`

	MetricName *string `json:"metric_name,omitempty"`

	MetricValue *string `json:"metric_value,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ProjectName    *string `json:"project_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowBugDensityV2Response) String

func (o ShowBugDensityV2Response) String() string

type ShowBugsPerDeveloperRequest

type ShowBugsPerDeveloperRequest struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (ShowBugsPerDeveloperRequest) String

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

	ProjectId *string `json:"project_id,omitempty"`

	ProjectName    *string `json:"project_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowBugsPerDeveloperResponse) String

type ShowCompletionRateRequest

type ShowCompletionRateRequest struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (ShowCompletionRateRequest) String

func (o ShowCompletionRateRequest) String() string

type ShowCompletionRateResponse

type ShowCompletionRateResponse struct {
	DividendValue *string `json:"dividend_value,omitempty"`

	DivisorValue *string `json:"divisor_value,omitempty"`

	MetricName *string `json:"metric_name,omitempty"`

	MetricValue *string `json:"metric_value,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ProjectName    *string `json:"project_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowCompletionRateResponse) String

type ShowCurUserInfoRequest

type ShowCurUserInfoRequest struct {
}

Request Object

func (ShowCurUserInfoRequest) String

func (o ShowCurUserInfoRequest) String() string

type ShowCurUserInfoResponse

type ShowCurUserInfoResponse struct {
	DomainId *string `json:"domain_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	UserNumId *int32 `json:"user_num_id,omitempty"`

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

	UserType       *string `json:"user_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowCurUserInfoResponse) String

func (o ShowCurUserInfoResponse) String() string

type ShowCurUserRoleRequest

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

Request Object

func (ShowCurUserRoleRequest) String

func (o ShowCurUserRoleRequest) String() string

type ShowCurUserRoleResponse

type ShowCurUserRoleResponse struct {
	UserRole       *int32 `json:"user_role,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowCurUserRoleResponse) String

func (o ShowCurUserRoleResponse) String() string

type ShowIssueCompletionRateRequest

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

Request Object

func (ShowIssueCompletionRateRequest) String

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

type ShowIssueV4Request

type ShowIssueV4Request struct {
	ProjectId string `json:"project_id"`

	IssueId int32 `json:"issue_id"`
}

Request Object

func (ShowIssueV4Request) String

func (o ShowIssueV4Request) String() string

type ShowIssueV4Response

type ShowIssueV4Response struct {
	ActualWorkHours *float64 `json:"actual_work_hours,omitempty"`

	AssignedCcUser *[]IssueUser `json:"assigned_cc_user,omitempty"`

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

	BeginTime *string `json:"begin_time,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

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

	CustomFields *[]CustomField `json:"custom_fields,omitempty"`

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

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

	DoneRatio *int32 `json:"done_ratio,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"`

	Id *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 *IssueItemSfV4Tracker `json:"tracker,omitempty"`

	UpdatedTime *string `json:"updated_time,omitempty"`

	ClosedTime     *string `json:"closed_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowIssueV4Response) String

func (o ShowIssueV4Response) String() string

type ShowIterationV4Request

type ShowIterationV4Request struct {
	IterationId int32 `json:"iteration_id"`
}

Request Object

func (ShowIterationV4Request) String

func (o ShowIterationV4Request) String() string

type ShowIterationV4Response

type ShowIterationV4Response struct {
	BeginTime *string `json:"begin_time,omitempty"`

	Charts *[]Chart `json:"charts,omitempty"`

	ClosedTotal *int32 `json:"closed_total,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	HaveTask *bool `json:"have_task,omitempty"`

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

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowIterationV4Response) String

func (o ShowIterationV4Response) String() string

type ShowProjectInfoV4Request

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

Request Object

func (ShowProjectInfoV4Request) String

func (o ShowProjectInfoV4Request) String() string

type ShowProjectInfoV4Response

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

Response Object

func (ShowProjectInfoV4Response) String

func (o ShowProjectInfoV4Response) String() string

type ShowProjectSummaryV4Request

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

Request Object

func (ShowProjectSummaryV4Request) String

type ShowProjectSummaryV4Response

type ShowProjectSummaryV4Response struct {
	BugStatistics *[]BugStatisticResponseV4 `json:"bug_statistics,omitempty"`

	DemandStatistics *[]DemandStatisticResponseV4 `json:"demand_statistics,omitempty"`

	IssueCompletionRates *[]IssueCompletionRateResponseV4 `json:"issue_completion_rates,omitempty"`

	ProjectId      *string `json:"project_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowProjectSummaryV4Response) String

type ShowProjectWorkHoursRequest

type ShowProjectWorkHoursRequest struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (ShowProjectWorkHoursRequest) String

type ShowProjectWorkHoursRequestBody

type ShowProjectWorkHoursRequestBody struct {
	UserIds *[]string `json:"user_ids,omitempty"`

	WorkHoursTypes *string `json:"work_hours_types,omitempty"`

	WorkHoursDates *string `json:"work_hours_dates,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	Offset int32 `json:"offset"`

	Limit int32 `json:"limit"`
}

func (ShowProjectWorkHoursRequestBody) String

type ShowProjectWorkHoursResponse

type ShowProjectWorkHoursResponse struct {
	WorkHours *[]ShowProjectWorkHoursResponseBodyWorkHours `json:"work_hours,omitempty"`

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

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

type UpdateIssueV4Request

type UpdateIssueV4Request struct {
	ProjectId string `json:"project_id"`

	IssueId int32 `json:"issue_id"`

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

Request Object

func (UpdateIssueV4Request) String

func (o UpdateIssueV4Request) String() string

type UpdateIssueV4Response

type UpdateIssueV4Response struct {
	ActualWorkHours *float64 `json:"actual_work_hours,omitempty"`

	AssignedCcUser *[]IssueUser `json:"assigned_cc_user,omitempty"`

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

	BeginTime *string `json:"begin_time,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

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

	CustomFields *[]CustomField `json:"custom_fields,omitempty"`

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

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

	DoneRatio *int32 `json:"done_ratio,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	ExpectedWorkHours *float64 `json:"expected_work_hours,omitempty"`

	Id *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 *IssueItemSfV4Tracker `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"`

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

	OverType *string `json:"over_type,omitempty"`
}

func (UpdateIterationRequestV4) String added in v0.0.60

func (o UpdateIterationRequestV4) String() string

type UpdateIterationV4Request

type UpdateIterationV4Request struct {
	ProjectId string `json:"project_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 {
	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 {
	RoleId int32 `json:"role_id"`

	UserIds []string `json:"user_ids"`
}

func (UpdateMembesRoleV4RequestBody) String

type UpdateMembesRoleV4Response

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

Response Object

func (UpdateMembesRoleV4Response) String

type UpdateNickNameV4Request

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

Request Object

func (UpdateNickNameV4Request) String

func (o UpdateNickNameV4Request) String() string

type UpdateNickNameV4Response

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

Response Object

func (UpdateNickNameV4Response) String

func (o UpdateNickNameV4Response) String() string

type UpdateProjectRequestV4

type UpdateProjectRequestV4 struct {
	Description *string `json:"description,omitempty"`

	ProjectName string `json:"project_name"`
}

更新项目信息

func (UpdateProjectRequestV4) String

func (o UpdateProjectRequestV4) String() string

type UpdateProjectV4Request

type UpdateProjectV4Request struct {
	ProjectId string `json:"project_id"`

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

Request Object

func (UpdateProjectV4Request) String

func (o UpdateProjectV4Request) String() string

type UpdateProjectV4Response

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

Response Object

func (UpdateProjectV4Response) String

func (o UpdateProjectV4Response) String() string

type UpdateUserNickNameRequestV4

type UpdateUserNickNameRequestV4 struct {
	NickName string `json:"nick_name"`
}

用户昵称

func (UpdateUserNickNameRequestV4) String

type UploadIssueImgRequest added in v0.0.68

type UploadIssueImgRequest struct {
	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

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

func (UploadIssueImgRequestBody) String added in v0.0.68

func (o UploadIssueImgRequestBody) String() string

func (*UploadIssueImgRequestBody) UnmarshalJSON added in v0.0.68

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

type UploadIssueImgResponse added in v0.0.68

type UploadIssueImgResponse struct {
	ImgId *string `json:"img_id,omitempty"`

	ImgUrl         *string `json:"img_url,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UploadIssueImgResponse) String added in v0.0.68

func (o UploadIssueImgResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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