model

package
v0.0.76 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 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 AssignedUserInfo

type AssignedUserInfo struct {
	Id *string `json:"id,omitempty"`

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

func (AssignedUserInfo) String

func (o AssignedUserInfo) String() string

type AttributeChange added in v0.0.73

type AttributeChange struct {
	NewValue *string `json:"new_value,omitempty"`

	OldValue *string `json:"old_value,omitempty"`

	AttributeType *string `json:"attribute_type,omitempty"`
}

对象,包括编号与名称

func (AttributeChange) String added in v0.0.73

func (o AttributeChange) String() string

type BatchDeleteTestCaseRequest

type BatchDeleteTestCaseRequest struct {
	Body *BatchDeleteTestCaseRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchDeleteTestCaseRequest) String

type BatchDeleteTestCaseRequestBody

type BatchDeleteTestCaseRequestBody struct {
	ServiceId int32 `json:"service_id"`

	TestcaseIdList []string `json:"testcase_id_list"`
}

批量删除测试用例请求体

func (BatchDeleteTestCaseRequestBody) String

type BatchDeleteTestCaseResponse

type BatchDeleteTestCaseResponse struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`

	ErrorDetail    *ErrorDetailInfo `json:"error_detail,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (BatchDeleteTestCaseResponse) String

type CreateApiTestSuiteByRepoFileRequest

type CreateApiTestSuiteByRepoFileRequest struct {
	Body *CreateTestSuitByRepoFileInfo `json:"body,omitempty"`
}

Request Object

func (CreateApiTestSuiteByRepoFileRequest) String

type CreateApiTestSuiteByRepoFileResponse

type CreateApiTestSuiteByRepoFileResponse struct {
	TestsuiteId *string `json:"testsuite_id,omitempty"`

	TestcaseIds    *[]string `json:"testcase_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CreateApiTestSuiteByRepoFileResponse) String

type CreatePlanRequest

type CreatePlanRequest struct {
	Body *CreatePlanRequestBody `json:"body,omitempty"`
}

Request Object

func (CreatePlanRequest) String

func (o CreatePlanRequest) String() string

type CreatePlanRequestBody

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

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

	ServiceIdList []int32 `json:"service_id_list"`

	PlanCycle *PlanCycle `json:"plan_cycle"`
}

创建计划请求体

func (CreatePlanRequestBody) String

func (o CreatePlanRequestBody) String() string

type CreatePlanResponse

type CreatePlanResponse struct {
	PlanId *string `json:"plan_id,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreatePlanResponse) String

func (o CreatePlanResponse) String() string

type CreateServiceRequest

type CreateServiceRequest struct {
	Body *ServiceRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateServiceRequest) String

func (o CreateServiceRequest) String() string

type CreateServiceResponse

type CreateServiceResponse struct {
	ServiceName *string `json:"service_name,omitempty"`

	ServiceId *int32 `json:"service_id,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateServiceResponse) String

func (o CreateServiceResponse) String() string

type CreateTestCaseInPlanRequest

type CreateTestCaseInPlanRequest struct {
	PlanId string `json:"plan_id"`

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

Request Object

func (CreateTestCaseInPlanRequest) String

type CreateTestCaseInPlanRequestBody

type CreateTestCaseInPlanRequestBody struct {
	ServiceId int32 `json:"service_id"`

	TestcaseIdList []string `json:"testcase_id_list"`
}

计划中批量添加测试用例请求体

func (CreateTestCaseInPlanRequestBody) String

type CreateTestCaseInPlanResponse

type CreateTestCaseInPlanResponse struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`

	ErrorDetail    *ErrorDetailInfo `json:"error_detail,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (CreateTestCaseInPlanResponse) String

type CreateTestCaseRequest

type CreateTestCaseRequest struct {
	Body *CreateTestCaseRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateTestCaseRequest) String

func (o CreateTestCaseRequest) String() string

type CreateTestCaseRequestBody

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

	ServiceId int32 `json:"service_id"`

	RankId *string `json:"rank_id,omitempty"`

	TestcaseNumber *string `json:"testcase_number,omitempty"`

	ExtendInfo *ExternalServiceCaseInfo `json:"extend_info,omitempty"`
}

创建测试用例请求体

func (CreateTestCaseRequestBody) String

func (o CreateTestCaseRequestBody) String() string

type CreateTestCaseResponse

type CreateTestCaseResponse struct {
	TestcaseId *string `json:"testcase_id,omitempty"`

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

	ServiceId *int32 `json:"service_id,omitempty"`

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

	TestcaseNumber *string `json:"testcase_number,omitempty"`

	RankId *string `json:"rank_id,omitempty"`

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

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

	ExecuteCount *int32 `json:"execute_count,omitempty"`

	ResultId *string `json:"result_id,omitempty"`

	ExtendInfo *ExtendInfo `json:"extend_info,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateTestCaseResponse) String

func (o CreateTestCaseResponse) String() string

type CreateTestSuitByRepoFileInfo

type CreateTestSuitByRepoFileInfo struct {
	TestsuiteName string `json:"testsuite_name"`

	RepositoryId string `json:"repository_id"`

	RepositoryBranch string `json:"repository_branch"`

	FilePath string `json:"file_path"`
}

生成测试套的请求信息

func (CreateTestSuitByRepoFileInfo) String

type DeleteServiceRequest

type DeleteServiceRequest struct {
	ServiceId int32 `json:"service_id"`
}

Request Object

func (DeleteServiceRequest) String

func (o DeleteServiceRequest) String() string

type DeleteServiceResponse

type DeleteServiceResponse struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteServiceResponse) String

func (o DeleteServiceResponse) String() string

type Environment

type Environment struct {
	EnvironmentId *string `json:"environment_id,omitempty"`

	EnvironmentName *string `json:"environment_name,omitempty"`

	EnvironmentDescription *string `json:"environment_description,omitempty"`

	IsDefault *bool `json:"is_default,omitempty"`
}

func (Environment) String

func (o Environment) String() string

type ErrorCaseInfoBean

type ErrorCaseInfoBean struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`

	TestcaseId *string `json:"testcase_id,omitempty"`
}

func (ErrorCaseInfoBean) String

func (o ErrorCaseInfoBean) String() string

type ErrorDetailInfo

type ErrorDetailInfo struct {
	Failed *[]ErrorCaseInfoBean `json:"failed,omitempty"`
}

func (ErrorDetailInfo) String

func (o ErrorDetailInfo) String() string

type ExtendAuthorInfo

type ExtendAuthorInfo struct {
	Id *string `json:"id,omitempty"`

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

	Time *string `json:"time,omitempty"`
}

func (ExtendAuthorInfo) String

func (o ExtendAuthorInfo) String() string

type ExtendInfo

type ExtendInfo struct {
	Author *ExtendAuthorInfo `json:"author,omitempty"`

	Updator *ExtendAuthorInfo `json:"updator,omitempty"`

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

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

	Preparation *string `json:"preparation,omitempty"`

	Steps *[]ExternalServiceCaseStep `json:"steps,omitempty"`

	LabelList *[]AssignedUserInfo `json:"label_list,omitempty"`

	DefectList *[]AssignedUserInfo `json:"defect_list,omitempty"`

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

	Issue *AssignedUserInfo `json:"issue,omitempty"`

	TestVersionId *string `json:"test_version_id,omitempty"`

	FixedVersion *AssignedUserInfo `json:"fixed_version,omitempty"`
}

用例其他扩展信息

func (ExtendInfo) String

func (o ExtendInfo) String() string

type ExternalServiceBizCase

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

	Preparation *string `json:"preparation,omitempty"`

	Steps *[]ExternalServiceCaseStep `json:"steps,omitempty"`

	LabelList *[]string `json:"label_list,omitempty"`

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

	TestVersionId *string `json:"test_version_id,omitempty"`

	FixVersionId *string `json:"fix_version_id,omitempty"`

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

	IssueId *string `json:"issue_id,omitempty"`

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

	DefectIdList *[]string `json:"defect_id_list,omitempty"`
}

测试用例其他扩展信息

func (ExternalServiceBizCase) String

func (o ExternalServiceBizCase) String() string

type ExternalServiceCaseInfo

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

	Preparation *string `json:"preparation,omitempty"`

	Steps *[]ExternalServiceCaseStep `json:"steps,omitempty"`

	LabelList *[]string `json:"label_list,omitempty"`

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

	TestVersionId *string `json:"test_version_id,omitempty"`

	FixVersionId *string `json:"fix_version_id,omitempty"`

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

	IssueId *string `json:"issue_id,omitempty"`
}

测试用例其他扩展信息

func (ExternalServiceCaseInfo) String

func (o ExternalServiceCaseInfo) String() string

type ExternalServiceCaseStep

type ExternalServiceCaseStep struct {
	ExpectResult *string `json:"expect_result,omitempty"`

	TestStep *string `json:"test_step,omitempty"`
}

测试步骤,数组长度小于10

func (ExternalServiceCaseStep) String

func (o ExternalServiceCaseStep) String() string

type ListEnvironmentsRequest

type ListEnvironmentsRequest struct {
	Offset int64 `json:"offset"`

	Limit int64 `json:"limit"`
}

Request Object

func (ListEnvironmentsRequest) String

func (o ListEnvironmentsRequest) String() string

type ListEnvironmentsResponse

type ListEnvironmentsResponse struct {
	Environments *[]Environment `json:"environments,omitempty"`

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

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

	TotalCount     *int64 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEnvironmentsResponse) String

func (o ListEnvironmentsResponse) String() string

type NameAndId added in v0.0.71

type NameAndId struct {
	Id *string `json:"id,omitempty"`

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

对象编号与名称

func (NameAndId) String added in v0.0.71

func (o NameAndId) String() string

type PlanCycle

type PlanCycle struct {
	StartDate *string `json:"start_date,omitempty"`

	EndDate *string `json:"end_date,omitempty"`
}

计划周期信息

func (PlanCycle) String

func (o PlanCycle) String() string

type RunTestCaseRequest

type RunTestCaseRequest struct {
	Body *RunTestCaseRequestBody `json:"body,omitempty"`
}

Request Object

func (RunTestCaseRequest) String

func (o RunTestCaseRequest) String() string

type RunTestCaseRequestBody

type RunTestCaseRequestBody struct {
	ServiceId int32 `json:"service_id"`

	PlanId *string `json:"plan_id,omitempty"`

	ExecuteList []TestCaseExecuteBean `json:"execute_list"`
}

执行测试用例请求体

func (RunTestCaseRequestBody) String

func (o RunTestCaseRequestBody) String() string

type RunTestCaseResponse

type RunTestCaseResponse struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`

	ErrorDetail    *ErrorDetailInfo `json:"error_detail,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (RunTestCaseResponse) String

func (o RunTestCaseResponse) String() string

type ServiceRequestBody

type ServiceRequestBody struct {
	ServiceName string `json:"service_name"`

	ServerHost string `json:"server_host"`
}

新测试类型服务信息

func (ServiceRequestBody) String

func (o ServiceRequestBody) String() string

type ServicesInfo

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

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

func (ServicesInfo) String

func (o ServicesInfo) String() string

type ShowIssuesByPlanIdRequest added in v0.0.73

type ShowIssuesByPlanIdRequest struct {
	PlanId string `json:"plan_id"`

	Offset int64 `json:"offset"`

	Limit int64 `json:"limit"`
}

Request Object

func (ShowIssuesByPlanIdRequest) String added in v0.0.73

func (o ShowIssuesByPlanIdRequest) String() string

type ShowIssuesByPlanIdResponse added in v0.0.73

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

Response Object

func (ShowIssuesByPlanIdResponse) String added in v0.0.73

type ShowPlanJournalsRequest added in v0.0.73

type ShowPlanJournalsRequest struct {
	PlanId string `json:"plan_id"`

	Offset int64 `json:"offset"`

	Limit int64 `json:"limit"`
}

Request Object

func (ShowPlanJournalsRequest) String added in v0.0.73

func (o ShowPlanJournalsRequest) String() string

type ShowPlanJournalsResponse added in v0.0.73

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

Response Object

func (ShowPlanJournalsResponse) String added in v0.0.73

func (o ShowPlanJournalsResponse) String() string

type ShowPlanListRequest added in v0.0.74

type ShowPlanListRequest struct {
	Offset int64 `json:"offset"`

	Limit int64 `json:"limit"`

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

	CurrentStage *string `json:"current_stage,omitempty"`
}

Request Object

func (ShowPlanListRequest) String added in v0.0.74

func (o ShowPlanListRequest) String() string

type ShowPlanListResponse added in v0.0.74

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

Response Object

func (ShowPlanListResponse) String added in v0.0.74

func (o ShowPlanListResponse) String() string

type ShowPlansRequest

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

	CurrentStage *string `json:"current_stage,omitempty"`

	Offset int32 `json:"offset"`

	Limit int32 `json:"limit"`
}

Request Object

func (ShowPlansRequest) String

func (o ShowPlansRequest) String() string

type ShowPlansResponse

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

Response Object

func (ShowPlansResponse) String

func (o ShowPlansResponse) String() string

type ShowRegisterServiceRequest

type ShowRegisterServiceRequest struct {
}

Request Object

func (ShowRegisterServiceRequest) String

type ShowRegisterServiceResponse

type ShowRegisterServiceResponse struct {
	Services       *[]ServicesInfo `json:"services,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ShowRegisterServiceResponse) String

type ShowTestCaseDetailRequest

type ShowTestCaseDetailRequest struct {
	TestcaseId string `json:"testcase_id"`
}

Request Object

func (ShowTestCaseDetailRequest) String

func (o ShowTestCaseDetailRequest) String() string

type ShowTestCaseDetailResponse

type ShowTestCaseDetailResponse struct {
	TestcaseId *string `json:"testcase_id,omitempty"`

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

	ServiceId *int32 `json:"service_id,omitempty"`

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

	TestcaseNumber *string `json:"testcase_number,omitempty"`

	RankId *string `json:"rank_id,omitempty"`

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

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

	ExecuteCount *int32 `json:"execute_count,omitempty"`

	ResultId *string `json:"result_id,omitempty"`

	ExtendInfo *ExtendInfo `json:"extend_info,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowTestCaseDetailResponse) String

type ShowTestCaseDetailV2Request

type ShowTestCaseDetailV2Request struct {
	TestcaseNumber string `json:"testcase_number"`
}

Request Object

func (ShowTestCaseDetailV2Request) String

type ShowTestCaseDetailV2Response

type ShowTestCaseDetailV2Response struct {
	TestcaseId *string `json:"testcase_id,omitempty"`

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

	ServiceId *int32 `json:"service_id,omitempty"`

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

	TestcaseNumber *string `json:"testcase_number,omitempty"`

	RankId *string `json:"rank_id,omitempty"`

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

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

	ExecuteCount *int32 `json:"execute_count,omitempty"`

	ResultId *string `json:"result_id,omitempty"`

	ExtendInfo *ExtendInfo `json:"extend_info,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowTestCaseDetailV2Response) String

type TestCaseExecuteBean

type TestCaseExecuteBean struct {
	TestcaseId string `json:"testcase_id"`

	ExecuteId string `json:"execute_id"`

	ResultId string `json:"result_id"`

	StartTime int64 `json:"start_time"`
}

测试用例执行信息,数组长度小于等于50

func (TestCaseExecuteBean) String

func (o TestCaseExecuteBean) String() string

type TestPlanDetail added in v0.0.74

type TestPlanDetail struct {
	PlanId *string `json:"plan_id,omitempty"`

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

	StartDate *string `json:"start_date,omitempty"`

	EndDate *string `json:"end_date,omitempty"`

	FinishDate *string `json:"finish_date,omitempty"`

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

	CurrentStage *string `json:"current_stage,omitempty"`

	ExpireDay *string `json:"expire_day,omitempty"`

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

	DesignStage *TestPlanDetailDesignStage `json:"design_stage,omitempty"`

	ExecuteStage *TestPlanDetailExecuteStage `json:"execute_stage,omitempty"`

	ReportStage *TestPlanDetailReportStage `json:"report_stage,omitempty"`

	Iteration *NameAndId `json:"iteration,omitempty"`
}

测试计划详情

func (TestPlanDetail) String added in v0.0.74

func (o TestPlanDetail) String() string

type TestPlanDetailDesignStage added in v0.0.74

type TestPlanDetailDesignStage struct {
	CaseCount *int32 `json:"case_count,omitempty"`

	IssueCount *int32 `json:"issue_count,omitempty"`

	IssueCoveredCount *string `json:"issue_covered_count,omitempty"`
}

测试计划设计阶段信息

func (TestPlanDetailDesignStage) String added in v0.0.74

func (o TestPlanDetailDesignStage) String() string

type TestPlanDetailExecuteStage added in v0.0.74

type TestPlanDetailExecuteStage struct {
	DefectCount *int32 `json:"defect_count,omitempty"`

	CompletedDefectCount *int32 `json:"completed_defect_count,omitempty"`

	CasePassRate *string `json:"case_pass_rate,omitempty"`

	ExecutedCaseCount *int32 `json:"executed_case_count,omitempty"`
}

测试计划执行阶段信息

func (TestPlanDetailExecuteStage) String added in v0.0.74

type TestPlanDetailOwner added in v0.0.74

type TestPlanDetailOwner struct {
	Id *string `json:"id,omitempty"`

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

测试计划创建者信息

func (TestPlanDetailOwner) String added in v0.0.74

func (o TestPlanDetailOwner) String() string

type TestPlanDetailReportStage added in v0.0.74

type TestPlanDetailReportStage struct {
	CaseCompleteRate *string `json:"case_complete_rate,omitempty"`
}

测试计划完成阶段信息

func (TestPlanDetailReportStage) String added in v0.0.74

func (o TestPlanDetailReportStage) String() string

type TestPlanIssueDetail added in v0.0.74

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

	PlanId *string `json:"plan_id,omitempty"`

	WorkitemId *string `json:"workitem_id,omitempty"`

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

	StartDate *string `json:"start_date,omitempty"`

	EndDate *string `json:"end_date,omitempty"`

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

	RegionId *string `json:"region_id,omitempty"`

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

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

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

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

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

	Module *NameAndId `json:"module,omitempty"`
}

测试计划需求列表详情

func (TestPlanIssueDetail) String added in v0.0.74

func (o TestPlanIssueDetail) String() string

type TestPlanJournalDetail added in v0.0.74

type TestPlanJournalDetail struct {
	Updated *[]AttributeChange `json:"updated,omitempty"`

	Added *[]NameAndId `json:"added,omitempty"`

	Deleted *[]NameAndId `json:"deleted,omitempty"`

	JournalizedType *string `json:"journalized_type,omitempty"`

	Type *string `json:"type,omitempty"`
}

测试计划操作历史详情

func (TestPlanJournalDetail) String added in v0.0.74

func (o TestPlanJournalDetail) String() string

type TestPlanJournalList added in v0.0.74

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

	PlanId *string `json:"plan_id,omitempty"`

	OperateTime *string `json:"operate_time,omitempty"`

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

	Detail *[]TestPlanJournalDetail `json:"detail,omitempty"`
}

项目下某个测试计划操作历史列表

func (TestPlanJournalList) String added in v0.0.74

func (o TestPlanJournalList) String() string

type UpdateServiceRequest

type UpdateServiceRequest struct {
	ServiceId int32 `json:"service_id"`

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

Request Object

func (UpdateServiceRequest) String

func (o UpdateServiceRequest) String() string

type UpdateServiceResponse

type UpdateServiceResponse struct {
	ServiceName *string `json:"service_name,omitempty"`

	ServiceId *int32 `json:"service_id,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateServiceResponse) String

func (o UpdateServiceResponse) String() string

type UpdateTestCaseRequest

type UpdateTestCaseRequest struct {
	TestcaseId string `json:"testcase_id"`

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

Request Object

func (UpdateTestCaseRequest) String

func (o UpdateTestCaseRequest) String() string

type UpdateTestCaseRequestBody

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

	ServiceId int32 `json:"service_id"`

	RankId *string `json:"rank_id,omitempty"`

	TestcaseNumber *string `json:"testcase_number,omitempty"`

	ExtendInfo *ExternalServiceBizCase `json:"extend_info,omitempty"`
}

更新测试用例信息请求体

func (UpdateTestCaseRequestBody) String

func (o UpdateTestCaseRequestBody) String() string

type UpdateTestCaseResponse

type UpdateTestCaseResponse struct {
	TestcaseId *string `json:"testcase_id,omitempty"`

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

	ServiceId *int32 `json:"service_id,omitempty"`

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

	TestcaseNumber *string `json:"testcase_number,omitempty"`

	RankId *string `json:"rank_id,omitempty"`

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

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

	ExecuteCount *int32 `json:"execute_count,omitempty"`

	ResultId *string `json:"result_id,omitempty"`

	ExtendInfo *ExtendInfo `json:"extend_info,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateTestCaseResponse) String

func (o UpdateTestCaseResponse) String() string

type UpdateTestCaseResultBean

type UpdateTestCaseResultBean struct {
	TestcaseId string `json:"testcase_id"`

	ExecuteId string `json:"execute_id"`

	ResultId string `json:"result_id"`

	EndTime int64 `json:"end_time"`

	Duration *int64 `json:"duration,omitempty"`

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

测试用例状态信息,数组长度小于等于50

func (UpdateTestCaseResultBean) String

func (o UpdateTestCaseResultBean) String() string

type UpdateTestCaseResultRequest

type UpdateTestCaseResultRequest struct {
	Body *UpdateTestCaseResultRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateTestCaseResultRequest) String

type UpdateTestCaseResultRequestBody

type UpdateTestCaseResultRequestBody struct {
	ServiceId int32 `json:"service_id"`

	ExecuteList []UpdateTestCaseResultBean `json:"execute_list"`
}

更新测试用例状态请求体

func (UpdateTestCaseResultRequestBody) String

type UpdateTestCaseResultResponse

type UpdateTestCaseResultResponse struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`

	ErrorDetail    *ErrorDetailInfo `json:"error_detail,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (UpdateTestCaseResultResponse) String

Source Files

Jump to

Keyboard shortcuts

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