model

package
v0.1.102 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddRelationsInfo added in v0.1.100

type AddRelationsInfo struct {
	Relations *[]RelationInfo `json:"relations,omitempty"`

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

	// 版本uri
	VersionUri *string `json:"version_uri,omitempty"`

	// 测试套id
	TaskUri *string `json:"task_uri,omitempty"`

	// 是否将需求添加到迭代
	AddToIterator *bool `json:"add_to_iterator,omitempty"`

	// 项目id
	ProjectUuid *string `json:"project_uuid,omitempty"`
}

func (AddRelationsInfo) String added in v0.1.100

func (o AddRelationsInfo) String() string

type AlarmTemplateInfo added in v0.1.100

type AlarmTemplateInfo struct {

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"createTime,omitempty"`

	// 创建者
	CreateUser *string `json:"createUser,omitempty"`

	// UUID
	Id *string `json:"id,omitempty"`

	// 备注
	Remarks *string `json:"remarks,omitempty"`

	// 服务id
	TestServiceId *string `json:"testServiceId,omitempty"`

	// 修改时间
	UpdateTime *sdktime.SdkTime `json:"updateTime,omitempty"`

	// 修改者
	UpdateUser *string `json:"updateUser,omitempty"`

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

func (AlarmTemplateInfo) String added in v0.1.100

func (o AlarmTemplateInfo) String() string

type AlertGroup added in v0.1.100

type AlertGroup struct {
	DingTalkHookUrl *string `json:"dingTalkHookUrl,omitempty"`

	// 告警组名称
	GroupName *string `json:"group_name,omitempty"`

	// 告警组ID
	Id *string `json:"id,omitempty"`

	WeChatWorkHookUrl *string `json:"weChatWorkHookUrl,omitempty"`

	WeLinkGroupNo *string `json:"weLinkGroupNo,omitempty"`
}

func (AlertGroup) String added in v0.1.100

func (o AlertGroup) String() string

type AlertLevel added in v0.1.100

type AlertLevel struct {

	// 告警渠道列表
	AlertChannel *[]string `json:"alert_channel,omitempty"`

	// 告警组列表
	AlertGroups *[]AlertGroup `json:"alertGroups,omitempty"`

	// 告警模板ID
	AlertTemplateId *string `json:"alertTemplateId,omitempty"`

	// 告警次数
	AlertTimes *int32 `json:"alertTimes,omitempty"`
}

func (AlertLevel) String added in v0.1.100

func (o AlertLevel) String() string

type AlertTemplateVo added in v0.1.100

type AlertTemplateVo struct {

	// 告警级别列表
	AlertLevels *[]AlertLevel `json:"alertLevels,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 创建人
	CreateUser *string `json:"create_user,omitempty"`

	// 唯一ID,主键
	Id *string `json:"id,omitempty"`

	// 告警模板名称
	Name *string `json:"name,omitempty"`

	// 备注
	Remarks *string `json:"remarks,omitempty"`

	// 服务ID
	TestServiceId *string `json:"test_service_id,omitempty"`

	// 创建时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 更新人
	UpdateUser *string `json:"update_user,omitempty"`
}

func (AlertTemplateVo) String added in v0.1.100

func (o AlertTemplateVo) String() string

type ApiError added in v0.1.36

type ApiError struct {

	// 业务失败的错误码
	Code *string `json:"code,omitempty"`

	// 业务失败的提示内容
	Reason *string `json:"reason,omitempty"`
}

ApiError 失败时的error信息

func (ApiError) String added in v0.1.36

func (o ApiError) String() string

type AssignedUserInfo

type AssignedUserInfo struct {

	// id信息
	Id *string `json:"id,omitempty"`

	// 名称信息
	Name *string `json:"name,omitempty"`
}

func (AssignedUserInfo) String

func (o AssignedUserInfo) String() string

type AssociateDefectInfoVo added in v0.1.50

type AssociateDefectInfoVo struct {

	// 是否已关联
	Associate *bool `json:"associate,omitempty"`

	// 关联缺陷数
	AssociateCount *int32 `json:"associate_count,omitempty"`
}

AssociateDefectInfoVo 关联缺陷信息

func (AssociateDefectInfoVo) String added in v0.1.50

func (o AssociateDefectInfoVo) String() string

type AssociateIssueInfoVo added in v0.1.50

type AssociateIssueInfoVo struct {

	// 是否已关联
	Associate *bool `json:"associate,omitempty"`

	// 需求ID
	IssueId *string `json:"issue_id,omitempty"`

	// 需求类型
	TrackerId *string `json:"tracker_id,omitempty"`

	// 工作项层级ID
	BoardId *string `json:"board_id,omitempty"`

	// 需求类型名称
	TrackerName *string `json:"tracker_name,omitempty"`
}

AssociateIssueInfoVo 关联需求信息

func (AssociateIssueInfoVo) String added in v0.1.50

func (o AssociateIssueInfoVo) String() string

type AttachmentVo added in v0.1.100

type AttachmentVo struct {

	// 附件Uri
	Uri *string `json:"uri,omitempty"`

	// 创建人
	Creator *string `json:"creator,omitempty"`

	// 更新人
	Updator *string `json:"updator,omitempty"`

	// 逻辑region
	Region *string `json:"region,omitempty"`

	// 文档id
	DocId *string `json:"doc_id,omitempty"`

	// 父节点Uri
	ParentUri *string `json:"parent_uri,omitempty"`

	// 父节点类型
	ParentType *string `json:"parent_type,omitempty"`

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

	// 保存文件名
	StoreFileName *string `json:"store_file_name,omitempty"`

	// 文件路径
	FilePath *string `json:"file_path,omitempty"`

	// 文件大小
	FileSize *int32 `json:"file_size,omitempty"`

	// 文件类型
	FileType *string `json:"file_type,omitempty"`

	// 系统区分:docman或testman
	SystemType *string `json:"system_type,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 创建时间时间戳
	CreateTimeTimestamp *int64 `json:"create_time_timestamp,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 更新时间时间戳
	UpdateTimeTimestamp *int64 `json:"update_time_timestamp,omitempty"`

	// 项目id
	ProjectUuid *string `json:"project_uuid,omitempty"`

	// 附件类型 0 本地上传  other 关联文档
	RelatedType *string `json:"related_type,omitempty"`
}

AttachmentVo 实际的数据类型:单个对象,集合 或 NULL

func (AttachmentVo) String added in v0.1.100

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

AttributeChange 对象,包括编号与名称

func (AttributeChange) String added in v0.0.73

func (o AttributeChange) String() string

type BasicAwRes added in v0.1.100

type BasicAwRes struct {
	AwCode *string `json:"aw_code,omitempty"`

	AwDescription *string `json:"aw_description,omitempty"`

	AwMark *int32 `json:"aw_mark,omitempty"`

	AwOperationid *string `json:"aw_operationid,omitempty"`

	AwTags *string `json:"aw_tags,omitempty"`

	AwType *int32 `json:"aw_type,omitempty"`

	AwUniqueid *string `json:"aw_uniqueid,omitempty"`

	ByOrder *int32 `json:"by_order,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	CreateTimeStamp *int64 `json:"create_time_stamp,omitempty"`

	CreateTimeString *string `json:"create_time_string,omitempty"`

	// 创建人
	CreateUser *string `json:"create_user,omitempty"`

	CreateUserId *string `json:"create_user_id,omitempty"`

	// 更新时间
	DeleteTime *string `json:"delete_time,omitempty"`

	// 删除人
	DeleteUser *string `json:"delete_user,omitempty"`

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

	DftCheckPointList *[]interface{} `json:"dft_check_point_list,omitempty"`

	DftCustomHeader *[]interface{} `json:"dft_custom_header,omitempty"`

	DftRetryInterval *string `json:"dft_retry_interval,omitempty"`

	DftRetryTimes *string `json:"dft_retry_times,omitempty"`

	DftVariableList *[]interface{} `json:"dft_variable_list,omitempty"`

	ExtraInfo *interface{} `json:"extra_info,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	HasCode *int32 `json:"has_code,omitempty"`

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

	ImportPackage *[]string `json:"import_package,omitempty"`

	InterfaceLabel *string `json:"interface_label,omitempty"`

	IsFavorite *int32 `json:"is_favorite,omitempty"`

	Method *string `json:"method,omitempty"`

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

	NameView *string `json:"nameView,omitempty"`

	OriginProject *string `json:"origin_project,omitempty"`

	ParamTypeAndDftValue *[]interface{} `json:"param_type_and_dft_value,omitempty"`

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

	ProtocolType *string `json:"protocol_type,omitempty"`

	PublicAwLib *interface{} `json:"public_aw_lib,omitempty"`

	PublicAwLibId *string `json:"public_aw_lib_id,omitempty"`

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

	ReturnType *string `json:"return_type,omitempty"`

	RootId *string `json:"root_id,omitempty"`

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

	SpecialType *int32 `json:"special_type,omitempty"`

	TmssCaseNumber *string `json:"tmssCaseNumber,omitempty"`

	TmssCaseId *string `json:"tmss_case_id,omitempty"`

	// 更新时间
	UpdateTime *string `json:"update_time,omitempty"`

	UpdateTimeStamp *int64 `json:"update_time_stamp,omitempty"`

	UpdateTimeString *string `json:"update_time_string,omitempty"`

	// 更新人
	UpdateUser *string `json:"update_user,omitempty"`

	WarningMsg *string `json:"warningMsg,omitempty"`

	YamlName *string `json:"yamlName,omitempty"`
}

func (BasicAwRes) String added in v0.1.100

func (o BasicAwRes) String() string

type BatchAddRelationsByOneCaseRequest added in v0.1.100

type BatchAddRelationsByOneCaseRequest struct {

	// 需求/缺陷id
	WorkitemId string `json:"workitem_id"`

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

BatchAddRelationsByOneCaseRequest Request Object

func (BatchAddRelationsByOneCaseRequest) String added in v0.1.100

type BatchAddRelationsByOneCaseResponse added in v0.1.100

type BatchAddRelationsByOneCaseResponse struct {

	// 对外时:success|error;
	Status *string `json:"status,omitempty"`

	Result         *ResultValueStringForOk `json:"result,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

BatchAddRelationsByOneCaseResponse Response Object

func (BatchAddRelationsByOneCaseResponse) String added in v0.1.100

type BatchDeleteTestCaseRequest

type BatchDeleteTestCaseRequest struct {

	// 项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

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

BatchDeleteTestCaseRequest Request Object

func (BatchDeleteTestCaseRequest) String

type BatchDeleteTestCaseRequestBody

type BatchDeleteTestCaseRequestBody struct {

	// 注册测试类型服务接口返回的服务id,取值范围为10-9999
	ServiceId int32 `json:"service_id"`

	// 测试用例唯一标识,数组长度小于50个
	TestcaseIdList []string `json:"testcase_id_list"`
}

BatchDeleteTestCaseRequestBody 批量删除测试用例请求体

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

BatchDeleteTestCaseResponse Response Object

func (BatchDeleteTestCaseResponse) String

type BatchDeleteTestReportRequest added in v0.1.100

type BatchDeleteTestReportRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

	Body *[]string `json:"body,omitempty"`
}

BatchDeleteTestReportRequest Request Object

func (BatchDeleteTestReportRequest) String added in v0.1.100

type BatchDeleteTestReportResponse added in v0.1.100

type BatchDeleteTestReportResponse struct {

	// 对外时:success|error;
	Status *string `json:"status,omitempty"`

	Result         *ResultValueStringForOk `json:"result,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

BatchDeleteTestReportResponse Response Object

func (BatchDeleteTestReportResponse) String added in v0.1.100

type CaseAutomationDetailsVo added in v0.1.100

type CaseAutomationDetailsVo struct {

	// 用例自动化率
	CaseAutomationRate *string `json:"case_automation_rate,omitempty"`

	// 服务类型对应的用例数目
	ServiceTypeNumberList *[]NameAndValueVo `json:"service_type_number_list,omitempty"`
}

CaseAutomationDetailsVo 用例自动化率详情

func (CaseAutomationDetailsVo) String added in v0.1.100

func (o CaseAutomationDetailsVo) String() string

type CaseCompletionRateVo added in v0.1.71

type CaseCompletionRateVo struct {

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

	// 用例完成率
	CompletionRate *string `json:"completion_rate,omitempty"`

	// 用户自定义状态对应的用例数目
	StatusNumberList *[]NameAndValueVo `json:"status_number_list,omitempty"`
}

CaseCompletionRateVo 计算用例完成率

func (CaseCompletionRateVo) String added in v0.1.71

func (o CaseCompletionRateVo) String() string

type CaseExecuteVo added in v0.1.100

type CaseExecuteVo struct {

	// 需求关联用例执行率
	ExecuteRate *string `json:"execute_rate,omitempty"`

	// 需求关联已执行用例总数
	ExecutedNumber *int32 `json:"executed_number,omitempty"`

	// 需求关联未执行用例总数
	NotExecutedNumber *int32 `json:"not_executed_number,omitempty"`
}

CaseExecuteVo 需求关联用例执行率情况

func (CaseExecuteVo) String added in v0.1.100

func (o CaseExecuteVo) String() string

type CasePassRateVo added in v0.1.71

type CasePassRateVo struct {

	// 用例通过率
	PassRate *string `json:"pass_rate,omitempty"`

	// 用户自定义结果对应的用例数目
	ResultNumberList *[]NameAndValueVo `json:"result_number_list,omitempty"`
}

CasePassRateVo 计算用例通过率

func (CasePassRateVo) String added in v0.1.71

func (o CasePassRateVo) String() string

type CasePassVo added in v0.1.100

type CasePassVo struct {

	// 需求关联用例通过率
	PassRate *string `json:"pass_rate,omitempty"`

	// 需求关联用例结果与对应的用例数目列表
	ResultNumberList *[]NameAndValueVo `json:"result_number_list,omitempty"`
}

CasePassVo 需求关联用例通过情况

func (CasePassVo) String added in v0.1.100

func (o CasePassVo) String() string

type CheckPermissionRequest added in v0.1.100

type CheckPermissionRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

	// 脑图ID
	Id string `json:"id"`
}

CheckPermissionRequest Request Object

func (CheckPermissionRequest) String added in v0.1.100

func (o CheckPermissionRequest) String() string

type CheckPermissionResponse added in v0.1.100

type CheckPermissionResponse struct {

	// 接口调用失败错误码
	Code *string `json:"code,omitempty"`

	// 当前用户权限
	Data map[string]bool `json:"data,omitempty"`

	// 接口调用错误信息
	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CheckPermissionResponse Response Object

func (CheckPermissionResponse) String added in v0.1.100

func (o CheckPermissionResponse) String() string

type CommRequestMindmapPageParamV3 added in v0.1.100

type CommRequestMindmapPageParamV3 struct {
	Params *MindmapPageParamV3 `json:"params,omitempty"`
}

func (CommRequestMindmapPageParamV3) String added in v0.1.100

type CommRequestSystemConfig added in v0.1.100

type CommRequestSystemConfig struct {
	Params *SystemConfig `json:"params"`
}

func (CommRequestSystemConfig) String added in v0.1.100

func (o CommRequestSystemConfig) String() string

type CommonResponseErrorOfApiTest added in v0.1.100

type CommonResponseErrorOfApiTest struct {

	// 错误码
	Code *string `json:"code,omitempty"`

	// 错误原因
	Reason *string `json:"reason,omitempty"`
}

func (CommonResponseErrorOfApiTest) String added in v0.1.100

type CoverRateVo added in v0.1.71

type CoverRateVo struct {

	// 统计测试中的需求
	Testing *int32 `json:"testing,omitempty"`

	// 统计已完成的需求
	Finished *int32 `json:"finished,omitempty"`

	// 统计未测试的需求
	NotTested *int32 `json:"not_tested,omitempty"`

	// 计算需求总数
	TotalNumber *int32 `json:"total_number,omitempty"`

	// 需求覆盖率
	CoverRate *string `json:"cover_rate,omitempty"`
}

CoverRateVo 需求覆盖率

func (CoverRateVo) String added in v0.1.71

func (o CoverRateVo) String() string

type CreateApiTestSuiteByRepoFileRequest

type CreateApiTestSuiteByRepoFileRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

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

CreateApiTestSuiteByRepoFileRequest Request Object

func (CreateApiTestSuiteByRepoFileRequest) String

type CreateApiTestSuiteByRepoFileResponse

type CreateApiTestSuiteByRepoFileResponse struct {

	// 生成的测试套的id
	TestsuiteId *string `json:"testsuite_id,omitempty"`

	// 生成的测试用例id列表
	TestcaseIds    *[]string `json:"testcase_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

CreateApiTestSuiteByRepoFileResponse Response Object

func (CreateApiTestSuiteByRepoFileResponse) String

type CreateInfoVo added in v0.1.50

type CreateInfoVo struct {

	// 创建时间
	Time *string `json:"time,omitempty"`

	// 创建时间时间戳
	Timestamp *int64 `json:"timestamp,omitempty"`

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

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

CreateInfoVo 创建信息

func (CreateInfoVo) String added in v0.1.50

func (o CreateInfoVo) String() string

type CreatePlanRequest

type CreatePlanRequest struct {

	// 项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

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

CreatePlanRequest Request Object

func (CreatePlanRequest) String

func (o CreatePlanRequest) String() string

type CreatePlanRequestBody

type CreatePlanRequestBody struct {

	// 计划名称
	Name string `json:"name"`

	// 处理者id,不填时默认使用当前用户
	AssignedId *string `json:"assigned_id,omitempty"`

	// 计划下包含的用例类型,数组长度小于10个
	ServiceIdList []int32 `json:"service_id_list"`

	PlanCycle *PlanCycle `json:"plan_cycle"`
}

CreatePlanRequestBody 创建计划请求体

func (CreatePlanRequestBody) String

func (o CreatePlanRequestBody) String() string

type CreatePlanResponse

type CreatePlanResponse struct {

	// 接口调用成功返回的计划id
	PlanId *string `json:"plan_id,omitempty"`

	// 接口调用成功不返回,调用失败错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 接口调用成功不返回,调用失败错误信息
	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreatePlanResponse Response Object

func (CreatePlanResponse) String

func (o CreatePlanResponse) String() string

type CreateRelationsByOneCaseRequest added in v0.1.100

type CreateRelationsByOneCaseRequest struct {

	// 用例uri
	CaseId string `json:"case_id"`

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

CreateRelationsByOneCaseRequest Request Object

func (CreateRelationsByOneCaseRequest) String added in v0.1.100

type CreateRelationsByOneCaseResponse added in v0.1.100

type CreateRelationsByOneCaseResponse struct {

	// 对外时:success|error;
	Status *string `json:"status,omitempty"`

	Result         *ResultValueStringForOk `json:"result,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

CreateRelationsByOneCaseResponse Response Object

func (CreateRelationsByOneCaseResponse) String added in v0.1.100

type CreateResourceUriRequest added in v0.1.100

type CreateResourceUriRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`
}

CreateResourceUriRequest Request Object

func (CreateResourceUriRequest) String added in v0.1.100

func (o CreateResourceUriRequest) String() string

type CreateResourceUriResponse added in v0.1.100

type CreateResourceUriResponse struct {
	Value          *string `json:"value,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateResourceUriResponse Response Object

func (CreateResourceUriResponse) String added in v0.1.100

func (o CreateResourceUriResponse) String() string

type CreateServiceRequest

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

CreateServiceRequest Request Object

func (CreateServiceRequest) String

func (o CreateServiceRequest) String() string

type CreateServiceResponse

type CreateServiceResponse struct {

	// 接口调用成功返回的服务名
	ServiceName *string `json:"service_name,omitempty"`

	// 接口调用成功返回的服务id
	ServiceId *int32 `json:"service_id,omitempty"`

	// 接口调用成功不返回,调用失败错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 接口调用成功不返回,调用失败错误信息
	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateServiceResponse Response Object

func (CreateServiceResponse) String

func (o CreateServiceResponse) String() string

type CreateTestCaseInPlanRequest

type CreateTestCaseInPlanRequest struct {

	// 项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

	// 计划唯一标识,长度11-34位字符
	PlanId string `json:"plan_id"`

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

CreateTestCaseInPlanRequest Request Object

func (CreateTestCaseInPlanRequest) String

type CreateTestCaseInPlanRequestBody

type CreateTestCaseInPlanRequestBody struct {

	// 注册测试类型服务接口返回的服务id
	ServiceId int32 `json:"service_id"`

	// 计划下包含的用例个数,数组长度小于50个,只能包含一种测试类型
	TestcaseIdList []string `json:"testcase_id_list"`
}

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

func (CreateTestCaseInPlanRequestBody) String

type CreateTestCaseInPlanResponse

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

CreateTestCaseInPlanResponse Response Object

func (CreateTestCaseInPlanResponse) String

type CreateTestCaseRequest

type CreateTestCaseRequest struct {

	// 项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

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

CreateTestCaseRequest Request Object

func (CreateTestCaseRequest) String

func (o CreateTestCaseRequest) String() string

type CreateTestCaseRequestBody

type CreateTestCaseRequestBody struct {

	// 页面上显示的用例名称,长度为[3-128]位字符
	Name string `json:"name"`

	// 该值由注册接口返回,取值范围为10-9999
	ServiceId int32 `json:"service_id"`

	// 测试用例等级,可选值为[0,1,2,3,4],不填时默认为2
	RankId *string `json:"rank_id,omitempty"`

	// 用例编号,不填该值时会自动生成,长度为[3-128]位字符
	TestcaseNumber *string `json:"testcase_number,omitempty"`

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

CreateTestCaseRequestBody 创建测试用例请求体

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

	// 注册测试类型服务接口返回的服务id
	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:"-"`
}

CreateTestCaseResponse Response Object

func (CreateTestCaseResponse) String

func (o CreateTestCaseResponse) String() string

type CreateTestSuitByRepoFileInfo

type CreateTestSuitByRepoFileInfo struct {

	// 要生成的测试套名称
	TestsuiteName string `json:"testsuite_name"`

	// 仓库id
	RepositoryId string `json:"repository_id"`

	// 仓库分支
	RepositoryBranch string `json:"repository_branch"`

	// 仓库中yaml或json文件的相对路径,仅支持swagger 2.0版本的yaml和json文件
	FilePath string `json:"file_path"`
}

CreateTestSuitByRepoFileInfo 生成测试套的请求信息

func (CreateTestSuitByRepoFileInfo) String

type CustomReportListVo added in v0.1.36

type CustomReportListVo struct {

	// 报表id
	Id *string `json:"id,omitempty"`

	// 报表名称
	Name *string `json:"name,omitempty"`

	Filter *ReportFilter `json:"filter,omitempty"`

	// 工件类型(用例:case,测试套:task)
	WorkpieceType *string `json:"workpiece_type,omitempty"`

	// 分析维度
	AnalysisDimension *string `json:"analysis_dimension,omitempty"`

	// 对比维度
	CompareDimension *string `json:"compare_dimension,omitempty"`

	// 报表数据
	ChartData *[]ReportChartDataVo `json:"chart_data,omitempty"`
}

CustomReportListVo 实际的数据类型:单个对象,集合或NULL

func (CustomReportListVo) String added in v0.1.36

func (o CustomReportListVo) String() string

type DefectVo added in v0.1.71

type DefectVo struct {

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

	// 未关闭缺陷数
	NotSolved *int32 `json:"not_solved,omitempty"`

	// 组装缺陷每种重要程度的名称和对应的数目
	SeverityNumberList *[]NameAndValueVo `json:"severity_number_list,omitempty"`
}

DefectVo 整体缺陷信息

func (DefectVo) String added in v0.1.71

func (o DefectVo) String() string

type DeleteRelationsByOneCaseInfo added in v0.1.100

type DeleteRelationsByOneCaseInfo struct {
	WorkItemIds *[]string `json:"work_item_ids,omitempty"`

	// 项目id
	ProjectUuid *string `json:"project_uuid,omitempty"`

	// 版本uri
	VersionUri *string `json:"version_uri,omitempty"`

	// 关联关系类型
	RelateType *string `json:"relate_type,omitempty"`
}

func (DeleteRelationsByOneCaseInfo) String added in v0.1.100

type DeleteRelationsByOneCaseRequest added in v0.1.100

type DeleteRelationsByOneCaseRequest struct {

	// 用例id
	CaseId string `json:"case_id"`

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

DeleteRelationsByOneCaseRequest Request Object

func (DeleteRelationsByOneCaseRequest) String added in v0.1.100

type DeleteRelationsByOneCaseResponse added in v0.1.100

type DeleteRelationsByOneCaseResponse struct {

	// 对外时:success|error;
	Status *string `json:"status,omitempty"`

	Result         *ResultValueStringForOk `json:"result,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

DeleteRelationsByOneCaseResponse Response Object

func (DeleteRelationsByOneCaseResponse) String added in v0.1.100

type DeleteServiceRequest

type DeleteServiceRequest struct {

	// 注册服务唯一标识,该值由注册接口返回
	ServiceId int32 `json:"service_id"`
}

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

DeleteServiceResponse Response Object

func (DeleteServiceResponse) String

func (o DeleteServiceResponse) String() string

type DetailTestTypeCasePassRateVo added in v0.1.100

type DetailTestTypeCasePassRateVo struct {

	// 测试类型
	TestType *int32 `json:"test_type,omitempty"`

	// 用例通过率
	CasePassRate *string `json:"case_pass_rate,omitempty"`
}

DetailTestTypeCasePassRateVo 每个测试类型的用例通过率

func (DetailTestTypeCasePassRateVo) String added in v0.1.100

type DnsMapping added in v0.1.100

type DnsMapping struct {
	Dns *[]DnsMappingNode `json:"dns,omitempty"`
}

DnsMapping DNS配置结果集

func (DnsMapping) String added in v0.1.100

func (o DnsMapping) String() string

type DnsMappingNode added in v0.1.100

type DnsMappingNode struct {

	// 域名信息
	DomainName *string `json:"domain_name,omitempty"`

	// 域名对应的IP
	Ips *[]string `json:"ips,omitempty"`
}

DnsMappingNode DNS配置

func (DnsMappingNode) String added in v0.1.100

func (o DnsMappingNode) String() string

type ElementResourceChangeExternalVo added in v0.1.50

type ElementResourceChangeExternalVo struct {

	// 工作项类型
	TrackerName *string `json:"tracker_name,omitempty"`

	// 值
	Value *string `json:"value,omitempty"`

	// key
	Key *string `json:"key,omitempty"`

	// 对象值
	ObjectValue *interface{} `json:"object_value,omitempty"`

	// 对象key
	ObjectKey *interface{} `json:"object_key,omitempty"`

	// 缺陷类型
	TrackerNames *interface{} `json:"tracker_names,omitempty"`

	// 归属看板信息,用例关联工作项信息使用
	BoardInfo *[]interface{} `json:"board_info,omitempty"`
}

ElementResourceChangeExternalVo 数据信息

func (ElementResourceChangeExternalVo) String added in v0.1.50

type Environment

type Environment struct {

	// 环境分组id
	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 ExecuteInfoVo added in v0.1.50

type ExecuteInfoVo struct {

	// 执行开始时间
	Time *string `json:"time,omitempty"`

	// 执行开始时间时间戳
	Timestamp *int64 `json:"timestamp,omitempty"`

	// 执行时长
	Duration *string `json:"duration,omitempty"`

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

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

	// 执行次数
	ExecuteTimes *int32 `json:"execute_times,omitempty"`
}

ExecuteInfoVo 执行信息

func (ExecuteInfoVo) String added in v0.1.50

func (o ExecuteInfoVo) String() string

type ExtendAuthorInfo

type ExtendAuthorInfo struct {

	// id信息
	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"`

	// 测试步骤,数组长度小于10
	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"`
}

ExtendInfo 用例其他扩展信息

func (ExtendInfo) String

func (o ExtendInfo) String() string

type ExternalBranchInfoVo added in v0.1.50

type ExternalBranchInfoVo struct {

	// 分支ID
	Id *string `json:"id,omitempty"`

	// 资源类型
	Type *string `json:"type,omitempty"`

	// 创建人
	Author *string `json:"author,omitempty"`

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

	// 区域
	Region *string `json:"region,omitempty"`

	// 最后修改人
	LastModifier *string `json:"last_modifier,omitempty"`

	// 最后修改时间
	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	// 修改时间时间戳
	LastModifiedTimestamp *int64 `json:"last_modified_timestamp,omitempty"`

	// 创建时间
	CreationDate *sdktime.SdkTime `json:"creation_date,omitempty"`

	// 创建时间时间戳
	CreationDateTimestamp *int64 `json:"creation_date_timestamp,omitempty"`

	// 创建人名称
	AuthorName *string `json:"author_name,omitempty"`

	// 是否为基线分支。0表示不是基线分支,1表示是基线分支。
	IsBaseBranch *int32 `json:"is_base_branch,omitempty"`
}

ExternalBranchInfoVo 分支版本信息

func (ExternalBranchInfoVo) String added in v0.1.50

func (o ExternalBranchInfoVo) String() string

type ExternalServiceBizCase

type ExternalServiceBizCase struct {

	// 测试用例描述信息,长度为[0-500]位字符
	Description *string `json:"description,omitempty"`

	// 执行该测试用例时需要满足的前置条件,长度为[0-500]位字符
	Preparation *string `json:"preparation,omitempty"`

	// 测试步骤,数组长度小于10
	Steps *[]ExternalServiceCaseStep `json:"steps,omitempty"`

	// 标签名称列表,数组长度小于25
	LabelList *[]string `json:"label_list,omitempty"`

	// 模块号,长度为[0-32]位字符
	ModuleId *string `json:"module_id,omitempty"`

	// 测试版本号,长度为[0-10]位字符
	TestVersionId *string `json:"test_version_id,omitempty"`

	// 迭代号,长度为[0-32]位字符
	FixVersionId *string `json:"fix_version_id,omitempty"`

	// 处理者id信息,固定长度32位字符
	AssignedId *string `json:"assigned_id,omitempty"`

	// 用例关联的需求id信息,长度为[0-32]位字符
	IssueId *string `json:"issue_id,omitempty"`

	// 测试用例状态信息,(0-新建,5-设计中,6-测试中,7-完成)
	StatusId *string `json:"status_id,omitempty"`

	// 缺陷id信息,数组长度小于50个
	DefectIdList *[]string `json:"defect_id_list,omitempty"`
}

ExternalServiceBizCase 测试用例其他扩展信息

func (ExternalServiceBizCase) String

func (o ExternalServiceBizCase) String() string

type ExternalServiceCaseInfo

type ExternalServiceCaseInfo struct {

	// 测试用例描述信息,长度为[0-500]位字符
	Description *string `json:"description,omitempty"`

	// 执行该测试用例时需要满足的前置条件,长度为[0-500]位字符
	Preparation *string `json:"preparation,omitempty"`

	// 测试步骤,数组长度小于10
	Steps *[]ExternalServiceCaseStep `json:"steps,omitempty"`

	// 标签名称列表,数组长度小于25
	LabelList *[]string `json:"label_list,omitempty"`

	// 模块号,长度为[0-32]位字符
	ModuleId *string `json:"module_id,omitempty"`

	// 测试版本号,长度为[0-10]位字符
	TestVersionId *string `json:"test_version_id,omitempty"`

	// 迭代号,长度为[0-32]位字符
	FixVersionId *string `json:"fix_version_id,omitempty"`

	// 处理者id信息,固定长度32位字符
	AssignedId *string `json:"assigned_id,omitempty"`

	// 用例关联的需求id信息,长度为[0-32]位字符
	IssueId *string `json:"issue_id,omitempty"`
}

ExternalServiceCaseInfo 测试用例其他扩展信息

func (ExternalServiceCaseInfo) String

func (o ExternalServiceCaseInfo) String() string

type ExternalServiceCaseStep

type ExternalServiceCaseStep struct {

	// 测试用例预期结果信息,长度为[0-500]位字符
	ExpectResult *string `json:"expect_result,omitempty"`

	// 测试步骤描述信息,长度为[0-500]位字符
	TestStep *string `json:"test_step,omitempty"`
}

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

func (ExternalServiceCaseStep) String

func (o ExternalServiceCaseStep) String() string

type ExternalTestCaseHistoryVo added in v0.1.50

type ExternalTestCaseHistoryVo struct {

	// 资源历史记录创建人ID
	Author *string `json:"author,omitempty"`

	// 逻辑region
	Region *string `json:"region,omitempty"`

	// 历史记录字段变更列表
	Changes *[]ResourceChangeExternalVo `json:"changes,omitempty"`

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

	// 用例id
	TestcaseId *string `json:"testcase_id,omitempty"`

	// 创建时间
	CreationDate *sdktime.SdkTime `json:"creation_date,omitempty"`

	// 创建时间时间戳
	CreateDateTimestamp *int64 `json:"create_date_timestamp,omitempty"`

	// 创建人名称
	AuthorName *string `json:"author_name,omitempty"`

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

ExternalTestCaseHistoryVo 实际的数据类型:单个对象,集合 或 NULL

func (ExternalTestCaseHistoryVo) String added in v0.1.50

func (o ExternalTestCaseHistoryVo) String() string

type ExternalTestCaseVo added in v0.1.50

type ExternalTestCaseVo struct {

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

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

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

	Result *NameAndIdVo `json:"result,omitempty"`

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

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

	// 用例ID
	Id *string `json:"id,omitempty"`

	// 用例编号
	Number *string `json:"number,omitempty"`

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

	// 用例等级
	RankId *string `json:"rank_id,omitempty"`

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

	ExecutionType *NameAndIdVo `json:"execution_type,omitempty"`

	TestType *IntegerIdAndNameVo `json:"test_type,omitempty"`

	CreateInfo *CreateInfoVo `json:"create_info,omitempty"`

	ExecuteInfo *ExecuteInfoVo `json:"execute_info,omitempty"`

	AssociateIssueInfo *AssociateIssueInfoVo `json:"associate_issue_info,omitempty"`

	AssociateDefectInfo *AssociateDefectInfoVo `json:"associate_defect_info,omitempty"`
}

func (ExternalTestCaseVo) String added in v0.1.50

func (o ExternalTestCaseVo) String() string

type ExternalUserCaseAndDefect added in v0.1.54

type ExternalUserCaseAndDefect struct {
	Creator *NameAndIdVo `json:"creator,omitempty"`

	// 缺陷数
	DefectCount *int32 `json:"defect_count,omitempty"`

	// 缺陷ID列表
	DefectIds *[]string `json:"defect_ids,omitempty"`

	// 用例ID
	TestcaseId *string `json:"testcase_id,omitempty"`

	// 分支ID
	BranchId *string `json:"branch_id,omitempty"`
}

ExternalUserCaseAndDefect 用户创建用例以及关联缺陷信息

func (ExternalUserCaseAndDefect) String added in v0.1.54

func (o ExternalUserCaseAndDefect) String() string

type ExternalUserExecuteInfo added in v0.1.54

type ExternalUserExecuteInfo struct {
	Executor *NameAndIdVo `json:"executor,omitempty"`

	// 执行用例数
	ExecuteCount *int32 `json:"execute_count,omitempty"`
}

ExternalUserExecuteInfo 用户用例执行信息

func (ExternalUserExecuteInfo) String added in v0.1.54

func (o ExternalUserExecuteInfo) String() string

type GenerateReportInfo added in v0.1.36

type GenerateReportInfo struct {

	// 报表名称
	Name *string `json:"name,omitempty"`

	// 工件类型(用例:case,测试套:suite)
	WorkpieceType *string `json:"workpiece_type,omitempty"`

	// 分析维度。该参数选择横坐标(X轴)维度,不传会返回空列表。
	AnalysisDimRow *string `json:"analysis_dim_row,omitempty"`

	// 对比维度
	CompareDimColumn *string `json:"compare_dim_column,omitempty"`

	Filter *ReportFilter `json:"filter,omitempty"`
}

func (GenerateReportInfo) String added in v0.1.36

func (o GenerateReportInfo) String() string

type GetPublicLibAndAwsResp added in v0.1.100

type GetPublicLibAndAwsResp struct {

	// 公共关键字分组信息
	AwTag *string `json:"aw_tag,omitempty"`

	// 公共关键字帮助文档链接
	DocumentLink *string `json:"document_link,omitempty"`

	// 保留字段
	IsFavorite *int32 `json:"is_favorite,omitempty"`

	// 公共关键字描述
	PublicAwDescription *string `json:"public_aw_description,omitempty"`

	// 公共关键字唯一ID
	PublicAwId *string `json:"public_aw_id,omitempty"`

	// 公共关键库唯一ID
	PublicAwLibId *string `json:"public_aw_lib_id,omitempty"`

	// 公共关键字库名称
	PublicAwLibName *string `json:"public_aw_lib_name,omitempty"`

	// 保留字段
	PublicAwMark *int32 `json:"public_aw_mark,omitempty"`

	// 公共关键字名称
	PublicAwName *string `json:"public_aw_name,omitempty"`
}

func (GetPublicLibAndAwsResp) String added in v0.1.100

func (o GetPublicLibAndAwsResp) String() string

type IdAndNameAndValueVo added in v0.1.100

type IdAndNameAndValueVo struct {

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

	// 值
	Value *int32 `json:"value,omitempty"`

	// id
	Id *string `json:"id,omitempty"`
}

IdAndNameAndValueVo 缺陷按照模块分布情况

func (IdAndNameAndValueVo) String added in v0.1.100

func (o IdAndNameAndValueVo) String() string

type IntegerIdAndNameVo added in v0.1.50

type IntegerIdAndNameVo struct {

	// 数据库存储数字
	Id *int32 `json:"id,omitempty"`

	// 页面显示值
	Name *string `json:"name,omitempty"`
}

IntegerIdAndNameVo 测试类型信息

func (IntegerIdAndNameVo) String added in v0.1.50

func (o IntegerIdAndNameVo) String() string

type IssueCoverRateVo added in v0.1.71

type IssueCoverRateVo struct {
	Epic *CoverRateVo `json:"epic,omitempty"`

	Feature *CoverRateVo `json:"feature,omitempty"`

	Story *CoverRateVo `json:"story,omitempty"`

	Summary *CoverRateVo `json:"summary,omitempty"`
}

IssueCoverRateVo 看板项目的需求覆盖率

func (IssueCoverRateVo) String added in v0.1.71

func (o IssueCoverRateVo) String() string

type IssueListFilterInfo added in v0.1.100

type IssueListFilterInfo struct {

	// 迭代id列表
	IterationIds *[]string `json:"iteration_ids,omitempty"`

	// pi过滤条件
	PiSprints *[]IssueListPiFilterInfo `json:"pi_sprints,omitempty"`

	// 需求名
	Subject *string `json:"subject,omitempty"`

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

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

IssueListFilterInfo 过滤条件

func (IssueListFilterInfo) String added in v0.1.100

func (o IssueListFilterInfo) String() string

type IssueListPiFilterInfo added in v0.1.100

type IssueListPiFilterInfo struct {

	// 迭代列表
	Sprints *[]string `json:"sprints,omitempty"`

	// pi的id,层级关系:pi -> 迭代 -> 需求
	PiId *string `json:"pi_id,omitempty"`
}

IssueListPiFilterInfo pi过滤条件

func (IssueListPiFilterInfo) String added in v0.1.100

func (o IssueListPiFilterInfo) String() string

type IssuePassDetailsVo added in v0.1.100

type IssuePassDetailsVo struct {

	// 统计测试中的需求
	Testing *int32 `json:"testing,omitempty"`

	// 统计已完成的需求
	Finished *int32 `json:"finished,omitempty"`

	// 统计未完成的需求
	NotTested *int32 `json:"not_tested,omitempty"`
}

IssuePassDetailsVo 需求通过情况

func (IssuePassDetailsVo) String added in v0.1.100

func (o IssuePassDetailsVo) String() string

type ListAlertGroupsByConditionRequest added in v0.1.100

type ListAlertGroupsByConditionRequest struct {

	// 服务id
	ServiceId string `json:"service_id"`

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

ListAlertGroupsByConditionRequest Request Object

func (ListAlertGroupsByConditionRequest) String added in v0.1.100

type ListAlertGroupsByConditionRequestBody added in v0.1.100

type ListAlertGroupsByConditionRequestBody struct {

	// 告警组ID
	GroupId *string `json:"group_id,omitempty"`

	// 告警组ID列表
	GroupIds *[]string `json:"group_ids,omitempty"`

	// 当前页数
	PageNum *int32 `json:"page_num,omitempty"`

	// 每页大小
	PageSize *int32 `json:"page_size,omitempty"`

	// 服务ID
	TestServiceId *string `json:"test_service_id,omitempty"`

	// 用户ID列表
	UserIds *[]string `json:"userIds,omitempty"`

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

func (ListAlertGroupsByConditionRequestBody) String added in v0.1.100

type ListAlertGroupsByConditionResponse added in v0.1.100

type ListAlertGroupsByConditionResponse struct {

	// 错误编码
	ErrorCode *string `json:"error_code,omitempty"`

	// 错误原因
	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListAlertGroupsByConditionResponse Response Object

func (ListAlertGroupsByConditionResponse) String added in v0.1.100

type ListAlertTemplatesRequest added in v0.1.100

type ListAlertTemplatesRequest struct {

	// 服务id
	ServiceId string `json:"service_id"`

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

	// 当前页数
	PageNum *int32 `json:"pageNum,omitempty"`

	// 每页数量
	PageSize *int32 `json:"pageSize,omitempty"`
}

ListAlertTemplatesRequest Request Object

func (ListAlertTemplatesRequest) String added in v0.1.100

func (o ListAlertTemplatesRequest) String() string

type ListAlertTemplatesResponse added in v0.1.100

type ListAlertTemplatesResponse struct {
	EndRow *int64 `json:"end_row,omitempty"`

	HasNextPage *bool `json:"has_next_page,omitempty"`

	HasPreviousPage *bool `json:"has_previous_page,omitempty"`

	IsFirstPage *bool `json:"is_first_page,omitempty"`

	IsLastPage *bool `json:"is_last_page,omitempty"`

	List *[]AlertTemplateVo `json:"list,omitempty"`

	NavigateFirstPage *int32 `json:"navigateFirstPage,omitempty"`

	NavigateLastPage *int32 `json:"navigateLastPage,omitempty"`

	NavigatePages *int32 `json:"navigatePages,omitempty"`

	NavigatepageNums *[]int32 `json:"navigatepageNums,omitempty"`

	NextPage *int32 `json:"next_page,omitempty"`

	PageNum *int32 `json:"page_num,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	Pages *int32 `json:"pages,omitempty"`

	PrePage *int32 `json:"prePage,omitempty"`

	Size *int32 `json:"size,omitempty"`

	StartRow *int64 `json:"startRow,omitempty"`

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

ListAlertTemplatesResponse Response Object

func (ListAlertTemplatesResponse) String added in v0.1.100

type ListAllBranchesRequest added in v0.1.100

type ListAllBranchesRequest struct {

	// 项目ID(云龙场景,传入微服务ID)
	ProjectUuid string `json:"project_uuid"`

	// 排序字段
	SortField *string `json:"sort_field,omitempty"`

	// 排序方式
	SortType *string `json:"sort_type,omitempty"`
}

ListAllBranchesRequest Request Object

func (ListAllBranchesRequest) String added in v0.1.100

func (o ListAllBranchesRequest) String() string

type ListAllBranchesResponse added in v0.1.100

type ListAllBranchesResponse struct {

	// 对外时:success|error;
	Status *string `json:"status,omitempty"`

	Result         *ResultValueListTestVersionVo `json:"result,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

ListAllBranchesResponse Response Object

func (ListAllBranchesResponse) String added in v0.1.100

func (o ListAllBranchesResponse) String() string

type ListAllConfigItemByTypeRequest added in v0.1.100

type ListAllConfigItemByTypeRequest struct {

	// 服务id
	ServiceId string `json:"service_id"`

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

ListAllConfigItemByTypeRequest Request Object

func (ListAllConfigItemByTypeRequest) String added in v0.1.100

type ListAllConfigItemByTypeRequestBody added in v0.1.100

type ListAllConfigItemByTypeRequestBody struct {

	// 系统配置,服务自己配置{system、service}
	ConfigType *string `json:"configType,omitempty"`

	// 配置类型集合
	Types *[]string `json:"types,omitempty"`
}

func (ListAllConfigItemByTypeRequestBody) String added in v0.1.100

type ListAllConfigItemByTypeResponse added in v0.1.100

type ListAllConfigItemByTypeResponse struct {

	// 错误编码
	ErrorCode *string `json:"error_code,omitempty"`

	// 错误原因
	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListAllConfigItemByTypeResponse Response Object

func (ListAllConfigItemByTypeResponse) String added in v0.1.100

type ListAllIteratorsRequest added in v0.1.100

type ListAllIteratorsRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`
}

ListAllIteratorsRequest Request Object

func (ListAllIteratorsRequest) String added in v0.1.100

func (o ListAllIteratorsRequest) String() string

type ListAllIteratorsResponse added in v0.1.100

type ListAllIteratorsResponse struct {

	// 起始记录数 大于 实际总条数时, 值为0, 分页请求才有此值
	Total *int32 `json:"total,omitempty"`

	// 实际的数据类型:单个对象,集合 或 NULL
	Value *[]TestVersionVo `json:"value,omitempty"`

	// 业务失败的提示内容,对内接口才有此值
	Reason *string `json:"reason,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	PageNo *int32 `json:"page_no,omitempty"`

	HasMore        *bool `json:"has_more,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ListAllIteratorsResponse Response Object

func (ListAllIteratorsResponse) String added in v0.1.100

func (o ListAllIteratorsResponse) String() string

type ListAttachmentsRequest added in v0.1.100

type ListAttachmentsRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

	// 资源Uri
	ResourceUri string `json:"resource_uri"`

	// 资源类型
	ResourceType string `json:"resource_type"`
}

ListAttachmentsRequest Request Object

func (ListAttachmentsRequest) String added in v0.1.100

func (o ListAttachmentsRequest) String() string

type ListAttachmentsResponse added in v0.1.100

type ListAttachmentsResponse struct {

	// 实际的数据类型:单个对象,集合 或 NULL
	Value          *[]AttachmentVo `json:"value,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListAttachmentsResponse Response Object

func (ListAttachmentsResponse) String added in v0.1.100

func (o ListAttachmentsResponse) String() string

type ListBasicAwRequest added in v0.1.100

type ListBasicAwRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

	// AW ID
	AwId string `json:"aw_id"`
}

ListBasicAwRequest Request Object

func (ListBasicAwRequest) String added in v0.1.100

func (o ListBasicAwRequest) String() string

type ListBasicAwResponse added in v0.1.100

type ListBasicAwResponse struct {

	// 错误码
	Code *string `json:"code,omitempty"`

	Error *CommonResponseErrorOfApiTest `json:"error,omitempty"`

	// 失败原因
	Reason *string `json:"reason,omitempty"`

	Result *BasicAwRes `json:"result,omitempty"`

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

ListBasicAwResponse Response Object

func (ListBasicAwResponse) String added in v0.1.100

func (o ListBasicAwResponse) String() string

type ListBranchesRequest added in v0.1.50

type ListBranchesRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

	// 排序字段
	SortField *ListBranchesRequestSortField `json:"sort_field,omitempty"`

	// 排序方式
	SortType *ListBranchesRequestSortType `json:"sort_type,omitempty"`

	// 起始偏移量,表示从此偏移量开始查询, offset大于等于0,小于等于20000
	Offset int32 `json:"offset"`

	// 每页显示的条目数量,最大支持200条
	Limit int32 `json:"limit"`
}

ListBranchesRequest Request Object

func (ListBranchesRequest) String added in v0.1.50

func (o ListBranchesRequest) String() string

type ListBranchesRequestSortField added in v0.1.50

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

func (ListBranchesRequestSortField) MarshalJSON added in v0.1.50

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

func (*ListBranchesRequestSortField) UnmarshalJSON added in v0.1.50

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

func (ListBranchesRequestSortField) Value added in v0.1.50

type ListBranchesRequestSortFieldEnum added in v0.1.50

type ListBranchesRequestSortFieldEnum struct {
	NAME          ListBranchesRequestSortField
	CREATION_DATE ListBranchesRequestSortField
}

func GetListBranchesRequestSortFieldEnum added in v0.1.50

func GetListBranchesRequestSortFieldEnum() ListBranchesRequestSortFieldEnum

type ListBranchesRequestSortType added in v0.1.50

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

func (ListBranchesRequestSortType) MarshalJSON added in v0.1.50

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

func (*ListBranchesRequestSortType) UnmarshalJSON added in v0.1.50

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

func (ListBranchesRequestSortType) Value added in v0.1.50

type ListBranchesRequestSortTypeEnum added in v0.1.50

type ListBranchesRequestSortTypeEnum struct {
	ASC  ListBranchesRequestSortType
	DESC ListBranchesRequestSortType
}

func GetListBranchesRequestSortTypeEnum added in v0.1.50

func GetListBranchesRequestSortTypeEnum() ListBranchesRequestSortTypeEnum

type ListBranchesResponse added in v0.1.50

type ListBranchesResponse struct {

	// 起始记录数 大于 实际总条数时, 值为0, 分页请求才有此值
	Total *int32 `json:"total,omitempty"`

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

	// 实际的数据类型:单个对象,集合 或 NULL
	Values         *[]ExternalBranchInfoVo `json:"values,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ListBranchesResponse Response Object

func (ListBranchesResponse) String added in v0.1.50

func (o ListBranchesResponse) String() string

type ListEnvironmentsRequest

type ListEnvironmentsRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

	// 起始偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset int64 `json:"offset"`

	// 每页显示的条目数量,最大支持200条
	Limit int64 `json:"limit"`
}

ListEnvironmentsRequest Request Object

func (ListEnvironmentsRequest) String

func (o ListEnvironmentsRequest) String() string

type ListEnvironmentsResponse

type ListEnvironmentsResponse struct {

	// 环境分组列表
	Environments *[]Environment `json:"environments,omitempty"`

	// 偏移量,表示从此偏移量开始查询,offset大于等于0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,最大支持200条
	Limit *int64 `json:"limit,omitempty"`

	// 环境分组总条数
	TotalCount     *int64 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListEnvironmentsResponse Response Object

func (ListEnvironmentsResponse) String

func (o ListEnvironmentsResponse) String() string

type ListIssueTreeRequest added in v0.1.100

type ListIssueTreeRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

	// 版本id
	VersionId string `json:"version_id"`

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

ListIssueTreeRequest Request Object

func (ListIssueTreeRequest) String added in v0.1.100

func (o ListIssueTreeRequest) String() string

type ListIssueTreeResponse added in v0.1.100

type ListIssueTreeResponse struct {

	// 实际的数据类型:单个对象,集合 或 NULL
	Value          *[]WorkItemVo `json:"value,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListIssueTreeResponse Response Object

func (ListIssueTreeResponse) String added in v0.1.100

func (o ListIssueTreeResponse) String() string

type ListProjectFieldConfigsRequest added in v0.1.100

type ListProjectFieldConfigsRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`
}

ListProjectFieldConfigsRequest Request Object

func (ListProjectFieldConfigsRequest) String added in v0.1.100

type ListProjectFieldConfigsResponse added in v0.1.100

type ListProjectFieldConfigsResponse struct {

	// 对外时:success|error; 对内时:ok|failed
	Status *string `json:"status,omitempty"`

	Result *ResultValueListProjectFieldConfigVo `json:"result,omitempty"`

	Error *ApiError `json:"error,omitempty"`

	// 由接口调用方传入,建议使用UUID保证请求的唯一性。
	RequestId *string `json:"request_id,omitempty"`

	// 对内接口才有此属性
	ServerAddress  *string `json:"server_address,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListProjectFieldConfigsResponse Response Object

func (ListProjectFieldConfigsResponse) String added in v0.1.100

type ListProjectTestCaseFieldsRequest added in v0.1.100

type ListProjectTestCaseFieldsRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`
}

ListProjectTestCaseFieldsRequest Request Object

func (ListProjectTestCaseFieldsRequest) String added in v0.1.100

type ListProjectTestCaseFieldsResponse added in v0.1.100

type ListProjectTestCaseFieldsResponse struct {
	Value          *[]ProjectTestCaseFieldVo `json:"value,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

ListProjectTestCaseFieldsResponse Response Object

func (ListProjectTestCaseFieldsResponse) String added in v0.1.100

type ListPublicLibAndAwsRequest added in v0.1.100

type ListPublicLibAndAwsRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`
}

ListPublicLibAndAwsRequest Request Object

func (ListPublicLibAndAwsRequest) String added in v0.1.100

type ListPublicLibAndAwsResponse added in v0.1.100

type ListPublicLibAndAwsResponse struct {

	// 错误码
	Code *string `json:"code,omitempty"`

	Error *CommonResponseErrorOfApiTest `json:"error,omitempty"`

	// 失败原因
	Reason *string `json:"reason,omitempty"`

	// 公共aw信息
	Result *[]GetPublicLibAndAwsResp `json:"result,omitempty"`

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

ListPublicLibAndAwsResponse Response Object

func (ListPublicLibAndAwsResponse) String added in v0.1.100

type ListReportsRequest added in v0.1.100

type ListReportsRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

	// 每页显示的条目数量,最大支持200条
	PageSize int64 `json:"page_size"`

	// 页数,page_no大于等于1
	Offset int64 `json:"offset"`

	// 版本id
	VersionId string `json:"version_id"`

	// 报表类型 1:首页用例库, 2:质量报告
	Type int32 `json:"type"`
}

ListReportsRequest Request Object

func (ListReportsRequest) String added in v0.1.100

func (o ListReportsRequest) String() string

type ListReportsResponse added in v0.1.100

type ListReportsResponse struct {

	// 对外时:success|error; 对内时:ok|failed
	Status *string `json:"status,omitempty"`

	Result         *ResultValueListCustomReportListVo `json:"result,omitempty"`
	HttpStatusCode int                                `json:"-"`
}

ListReportsResponse Response Object

func (ListReportsResponse) String added in v0.1.100

func (o ListReportsResponse) String() string

type ListResourcePoolsRequest added in v0.1.100

type ListResourcePoolsRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`
}

ListResourcePoolsRequest Request Object

func (ListResourcePoolsRequest) String added in v0.1.100

func (o ListResourcePoolsRequest) String() string

type ListResourcePoolsResponse added in v0.1.100

type ListResourcePoolsResponse struct {

	// 对外时:success|error; 对内时:ok|failed
	Status *string `json:"status,omitempty"`

	Result *ResultValueListResourcePoolVo `json:"result,omitempty"`

	Error *ApiError `json:"error,omitempty"`

	// 由接口调用方传入,建议使用UUID保证请求的唯一性。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListResourcePoolsResponse Response Object

func (ListResourcePoolsResponse) String added in v0.1.100

func (o ListResourcePoolsResponse) String() string

type ListTaskTestCasesRequest added in v0.1.100

type ListTaskTestCasesRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

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

ListTaskTestCasesRequest Request Object

func (ListTaskTestCasesRequest) String added in v0.1.100

func (o ListTaskTestCasesRequest) String() string

type ListTaskTestCasesResponse added in v0.1.100

type ListTaskTestCasesResponse struct {

	// 关联的用例uris
	RelatedCaseUris *[]string `json:"related_case_uris,omitempty"`

	// 未关联的用例uris
	NotRelatedCaseUris *[]string `json:"not_related_case_uris,omitempty"`

	// 用例及任务信息
	CaseTaskInfo   *[]RelateTaskTestCasesVo `json:"case_task_info,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

ListTaskTestCasesResponse Response Object

func (ListTaskTestCasesResponse) String added in v0.1.100

func (o ListTaskTestCasesResponse) String() string

type ListTestCaseHistoriesRequest added in v0.1.50

type ListTestCaseHistoriesRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

	// 用例ID,长度11-34位字符(字母和数字)。
	TestcaseId string `json:"testcase_id"`

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

ListTestCaseHistoriesRequest Request Object

func (ListTestCaseHistoriesRequest) String added in v0.1.50

type ListTestCaseHistoriesRequestBody added in v0.1.50

type ListTestCaseHistoriesRequestBody struct {

	// 起始偏移量,表示从此偏移量开始查询,offset大于等于0,小于等于20000
	Offset int32 `json:"offset"`

	// 每页显示的条目数量,最大支持200条
	Limit int32 `json:"limit"`

	// 版本ID(分支ID或测试计划ID),长度11-34位字符(字母和数字)。
	VersionId string `json:"version_id"`
}

ListTestCaseHistoriesRequestBody 查询用例修改历史记录请求体

func (ListTestCaseHistoriesRequestBody) String added in v0.1.50

type ListTestCaseHistoriesResponse added in v0.1.50

type ListTestCaseHistoriesResponse struct {

	// 起始记录数 大于 实际总条数时, 值为0, 分页请求才有此值
	Total *int32 `json:"total,omitempty"`

	// 实际的数据类型:单个对象,集合 或 NULL
	Values         *[]ExternalTestCaseHistoryVo `json:"values,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

ListTestCaseHistoriesResponse Response Object

func (ListTestCaseHistoriesResponse) String added in v0.1.50

type ListTestCasesRequest added in v0.1.50

type ListTestCasesRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

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

ListTestCasesRequest Request Object

func (ListTestCasesRequest) String added in v0.1.50

func (o ListTestCasesRequest) String() string

type ListTestCasesRequestBody added in v0.1.50

type ListTestCasesRequestBody struct {

	// 起始偏移量,表示从此偏移量开始查询,offset大于等于0,小于等于100000
	Offset int32 `json:"offset"`

	// 每页显示的条目数量,最大支持200条
	Limit int32 `json:"limit"`

	// 用例测试执行方式ID
	ExecutionTypeId *int32 `json:"execution_type_id,omitempty"`

	// 分支/测试计划ID,长度11-34位字符(字母和数字)。
	VersionId *string `json:"version_id,omitempty"`
}

func (ListTestCasesRequestBody) String added in v0.1.50

func (o ListTestCasesRequestBody) String() string

type ListTestCasesResponse added in v0.1.50

type ListTestCasesResponse struct {

	// 用例详情列表
	Values *[]ExternalTestCaseVo `json:"values,omitempty"`

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

ListTestCasesResponse Response Object

func (ListTestCasesResponse) String added in v0.1.50

func (o ListTestCasesResponse) String() string

type ListTestReportsByConditionRequest added in v0.1.100

type ListTestReportsByConditionRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

	// 每页显示的条目数量,最大支持200条
	PageSize int64 `json:"page_size"`

	// 页数,page_no大于等于1
	Offset int64 `json:"offset"`

	// 名称关键词
	KeyWord *string `json:"key_word,omitempty"`

	// 是否是我的测试报告
	Own *bool `json:"own,omitempty"`
}

ListTestReportsByConditionRequest Request Object

func (ListTestReportsByConditionRequest) String added in v0.1.100

type ListTestReportsByConditionResponse added in v0.1.100

type ListTestReportsByConditionResponse struct {

	// 起始记录数 大于 实际总条数时, 值为0, 分页请求才有此值
	Total *int32 `json:"total,omitempty"`

	// 实际的数据类型:单个对象,集合 或 NULL
	Value *[]TestReportVo `json:"value,omitempty"`

	// 业务失败的提示内容,对内接口才有此值
	Reason *string `json:"reason,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	PageNo *int32 `json:"page_no,omitempty"`

	HasMore        *bool `json:"has_more,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ListTestReportsByConditionResponse Response Object

func (ListTestReportsByConditionResponse) String added in v0.1.100

type ListTestTypesRequest added in v0.1.100

type ListTestTypesRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`
}

ListTestTypesRequest Request Object

func (ListTestTypesRequest) String added in v0.1.100

func (o ListTestTypesRequest) String() string

type ListTestTypesResponse added in v0.1.100

type ListTestTypesResponse struct {
	Value          *[]IntegerIdAndNameVo `json:"value,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ListTestTypesResponse Response Object

func (ListTestTypesResponse) String added in v0.1.100

func (o ListTestTypesResponse) String() string

type ListTestcasesByProjectIssuesRelationRequest added in v0.1.90

type ListTestcasesByProjectIssuesRelationRequest struct {

	// 项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

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

ListTestcasesByProjectIssuesRelationRequest Request Object

func (ListTestcasesByProjectIssuesRelationRequest) String added in v0.1.90

type ListTestcasesByProjectIssuesRelationResponse added in v0.1.90

type ListTestcasesByProjectIssuesRelationResponse struct {

	// 用例详情
	Testcases *[]TestCaseVo `json:"testcases,omitempty"`

	// 用例总数
	TotalCount *int32 `json:"total_count,omitempty"`

	// 页码
	PageNo *int32 `json:"page_no,omitempty"`

	// 每页数量
	PageSize       *int32 `json:"page_size,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListTestcasesByProjectIssuesRelationResponse Response Object

func (ListTestcasesByProjectIssuesRelationResponse) String added in v0.1.90

type ListUsageInfosRequest added in v0.1.100

type ListUsageInfosRequest struct {

	// 项目ID
	ProjectUuid string `json:"project_uuid"`
}

ListUsageInfosRequest Request Object

func (ListUsageInfosRequest) String added in v0.1.100

func (o ListUsageInfosRequest) String() string

type ListUsageInfosResponse added in v0.1.100

type ListUsageInfosResponse struct {
	Value          *[]UsageInfos `json:"value,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListUsageInfosResponse Response Object

func (ListUsageInfosResponse) String added in v0.1.100

func (o ListUsageInfosResponse) String() string

type ListUserDnsMappingRequest added in v0.1.100

type ListUserDnsMappingRequest struct {

	// 工程ID
	ProjectId string `json:"project_id"`
}

ListUserDnsMappingRequest Request Object

func (ListUserDnsMappingRequest) String added in v0.1.100

func (o ListUserDnsMappingRequest) String() string

type ListUserDnsMappingResponse added in v0.1.100

type ListUserDnsMappingResponse struct {
	Error *CommonResponseErrorOfApiTest `json:"error,omitempty"`

	// 错误原因
	Reason *string `json:"reason,omitempty"`

	Result *DnsMapping `json:"result,omitempty"`

	// 状态值,如success、error
	Status *string `json:"status,omitempty"`

	// 错误码
	Code           *string `json:"code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListUserDnsMappingResponse Response Object

func (ListUserDnsMappingResponse) String added in v0.1.100

type ListUserPackageUsageRequest added in v0.1.100

type ListUserPackageUsageRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`
}

ListUserPackageUsageRequest Request Object

func (ListUserPackageUsageRequest) String added in v0.1.100

type ListUserPackageUsageResponse added in v0.1.100

type ListUserPackageUsageResponse struct {

	// 是否请求成功
	Status *string `json:"status,omitempty"`

	// 套餐用量信息列表
	Result *[]PackageUsage `json:"result,omitempty"`

	Error          *CommonResponseErrorOfApiTest `json:"error,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

ListUserPackageUsageResponse Response Object

func (ListUserPackageUsageResponse) String added in v0.1.100

type ListUserPopupInfoRequest added in v0.1.100

type ListUserPopupInfoRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`
}

ListUserPopupInfoRequest Request Object

func (ListUserPopupInfoRequest) String added in v0.1.100

func (o ListUserPopupInfoRequest) String() string

type ListUserPopupInfoResponse added in v0.1.100

type ListUserPopupInfoResponse struct {

	// 是否请求成功
	Status *string `json:"status,omitempty"`

	Result *PopUpInfo `json:"result,omitempty"`

	Error          *CommonResponseErrorOfApiTest `json:"error,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

ListUserPopupInfoResponse Response Object

func (ListUserPopupInfoResponse) String added in v0.1.100

func (o ListUserPopupInfoResponse) String() string

type ListVariablesRequest added in v0.1.100

type ListVariablesRequest struct {

	// group_id
	GroupId *string `json:"group_id,omitempty"`

	// 当前页数
	PageNo *string `json:"page_no,omitempty"`

	// 每页多少记录
	PageSize *string `json:"page_size,omitempty"`

	// 工程id
	ProjectId string `json:"project_id"`
}

ListVariablesRequest Request Object

func (ListVariablesRequest) String added in v0.1.100

func (o ListVariablesRequest) String() string

type ListVariablesResponse added in v0.1.100

type ListVariablesResponse struct {

	// 错误码
	Code *string `json:"code,omitempty"`

	Error *CommonResponseErrorOfApiTest `json:"error,omitempty"`

	// 失败原因
	Reason *string `json:"reason,omitempty"`

	Result *PageResults `json:"result,omitempty"`

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

ListVariablesResponse Response Object

func (ListVariablesResponse) String added in v0.1.100

func (o ListVariablesResponse) String() string

type MindmapPageParamV3 added in v0.1.100

type MindmapPageParamV3 struct {

	// 目录ID集合
	FolderIdCollection *[]string `json:"folder_id_collection,omitempty"`

	// 创建者ID集合
	CreatorNumCollection *[]string `json:"creator_num_collection,omitempty"`

	// 更新人ID集合
	UpdaterNumCollection *[]string `json:"updater_num_collection,omitempty"`

	// 根目录ID
	FolderRootId *string `json:"folder_root_id,omitempty"`

	// 主键ID集合
	IdCollection *[]string `json:"id_collection,omitempty"`

	// 起始偏移量,表示从此偏移量开始查询,offset大于等于0,小于等于100000
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,最大支持200条
	Limit *int32 `json:"limit,omitempty"`

	// 脑图名称
	Name *string `json:"name,omitempty"`

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

	// 分支uri
	BranchUri *string `json:"branch_uri,omitempty"`

	// 是否基线
	IsMaster *int32 `json:"is_master,omitempty"`

	// 计划uri
	IteratorUri *string `json:"iterator_uri,omitempty"`
}

func (MindmapPageParamV3) String added in v0.1.100

func (o MindmapPageParamV3) String() string

type NameAndId added in v0.0.71

type NameAndId struct {

	// 对象编号
	Id *string `json:"id,omitempty"`

	// 对象名称
	Name *string `json:"name,omitempty"`
}

NameAndId 对象编号与名称

func (NameAndId) String added in v0.0.71

func (o NameAndId) String() string

type NameAndIdVo added in v0.1.50

type NameAndIdVo struct {

	// ID
	Id *string `json:"id,omitempty"`

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

NameAndIdVo 服务类型信息

func (NameAndIdVo) String added in v0.1.50

func (o NameAndIdVo) String() string

type NameAndValueVo added in v0.1.71

type NameAndValueVo struct {

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

	// 值
	Value *int32 `json:"value,omitempty"`
}

NameAndValueVo 用户自定义状态对应的用例数目

func (NameAndValueVo) String added in v0.1.71

func (o NameAndValueVo) String() string

type PackageUsage added in v0.1.100

type PackageUsage struct {

	// 套餐类型
	Name *string `json:"name,omitempty"`

	// 套餐用量
	UsedPercent *int32 `json:"used_percent,omitempty"`
}

PackageUsage 套餐用量信息

func (PackageUsage) String added in v0.1.100

func (o PackageUsage) String() string

type PageResults added in v0.1.100

type PageResults struct {
	PageList *[]VariableRes `json:"page_list,omitempty"`

	PageNo *int32 `json:"page_no,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	TotalPage *int32 `json:"total_page,omitempty"`

	TotalSize *int64 `json:"total_size,omitempty"`
}

func (PageResults) String added in v0.1.100

func (o PageResults) String() string

type PiFilterInfo added in v0.1.100

type PiFilterInfo struct {

	// pi迭代筛选条件
	PiSprints *[]PiInfo `json:"pi_sprints,omitempty"`

	// pi下拉框全选标识,全选时为true
	AllPi *bool `json:"all_pi,omitempty"`
}

PiFilterInfo pi筛选条件

func (PiFilterInfo) String added in v0.1.100

func (o PiFilterInfo) String() string

type PiInfo added in v0.1.100

type PiInfo struct {

	// 迭代列表
	Sprints *[]string `json:"sprints,omitempty"`

	// pi的id,层级关系:pi -> 迭代 -> 需求
	PiId *string `json:"pi_id,omitempty"`
}

PiInfo pi迭代筛选条件

func (PiInfo) String added in v0.1.100

func (o PiInfo) String() string

type PlanCycle

type PlanCycle struct {

	// 计划开始时间,要求用UTC时间表示。如2020-03-04
	StartDate *string `json:"start_date,omitempty"`

	// 计划结束时间,要求用UTC时间表示。如2020-03-31
	EndDate *string `json:"end_date,omitempty"`
}

PlanCycle 计划周期信息

func (PlanCycle) String

func (o PlanCycle) String() string

type PopUpInfo added in v0.1.100

type PopUpInfo struct {

	// 是否弹窗
	Popup *bool `json:"popup,omitempty"`

	// 包周期计费时长上限
	TimeLimit *interface{} `json:"time_limit,omitempty"`
}

func (PopUpInfo) String added in v0.1.100

func (o PopUpInfo) String() string

type ProjectFieldConfigOptionVo added in v0.1.100

type ProjectFieldConfigOptionVo struct {

	// 字段选项URI标识.新增不传,修改、删除使用必传
	Uri *string `json:"uri,omitempty"`

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

	// 可选项code值
	Code *string `json:"code,omitempty"`

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

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

	// 修改标识,0:不可修改 1:可修改,用于结果和状态的选项值
	Flag *int32 `json:"flag,omitempty"`

	// 顺序数值
	SortNumb *int32 `json:"sort_numb,omitempty"`

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

	// 创建时间时间戳
	CreateTimeStamp *int64 `json:"create_time_stamp,omitempty"`

	// 更新时间时间戳
	UpdateTimeStamp *int64 `json:"update_time_stamp,omitempty"`
}

ProjectFieldConfigOptionVo 实际的数据类型:单个对象,集合 或 NULL

func (ProjectFieldConfigOptionVo) String added in v0.1.100

type ProjectFieldConfigVo added in v0.1.100

type ProjectFieldConfigVo struct {

	// 字段配置URI标识
	Uri *string `json:"uri,omitempty"`

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

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

	// 项目用例自定义字段名称
	CustomName *string `json:"customName,omitempty"`

	// 字段名(对应后端参数名)
	TableFieldName *string `json:"table_field_name,omitempty"`

	// 字段类型(单行文本text、多行文本textArea、单选框radio、多选框checkbox、日期date、数字number、用户user)。
	ValueType *string `json:"value_type,omitempty"`

	// 字段类型国际化名称
	ValueTypeName *string `json:"value_type_name,omitempty"`

	// 是否系统字段
	IsSystem *int32 `json:"is_system,omitempty"`

	// 是否显示
	IsDisplay *int32 `json:"is_display,omitempty"`

	// 是否必填
	IsRequired *int32 `json:"is_required,omitempty"`

	// 顺序数值
	SortNumb *int32 `json:"sort_numb,omitempty"`

	// 默认值
	DefaultValue *string `json:"default_value,omitempty"`

	// 扩展字段uri(用于连表查扩展字段)
	CustomFieldUri *string `json:"custom_field_uri,omitempty"`

	// 资源类型
	ResourceType *string `json:"resource_type,omitempty"`

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

	// 创建时间时间戳
	CreateTimeStamp *int64 `json:"create_time_stamp,omitempty"`

	// 更新时间时间戳
	UpdateTimeStamp *int64 `json:"update_time_stamp,omitempty"`

	// 项目ID
	ProjectUuid *string `json:"project_uuid,omitempty"`

	// 可选项
	OptionVos *[]ProjectFieldConfigOptionVo `json:"option_vos,omitempty"`

	// 项目用例自定义字段id(1-25数字)
	CustomFieldId *int32 `json:"custom_field_id,omitempty"`

	// 项目用例自定义字段名称
	CustomFieldName *string `json:"custom_field_name,omitempty"`

	// 项目用例自定义字段入参或者返回参数名称
	CustomFieldParam *string `json:"custom_field_param,omitempty"`
}

ProjectFieldConfigVo 实际的数据类型:单个对象,集合 或 NULL

func (ProjectFieldConfigVo) String added in v0.1.100

func (o ProjectFieldConfigVo) String() string

type ProjectTestCaseFieldVo added in v0.1.100

type ProjectTestCaseFieldVo struct {

	// 项目用例自定义字段主键
	Uri *string `json:"uri,omitempty"`

	// 项目用例自定义字段名称
	Name *string `json:"name,omitempty"`

	// 项目用例自定义字段类型(单行文本text、多行文本textArea、单选框radio、多选框checkBox、日期date、数字number、单选用户user)
	Type *string `json:"type,omitempty"`

	// 项目用例自定义字段选项(数字类型时,数组两个值,第一个是最小值,第二个是最大值)
	Options *string `json:"options,omitempty"`

	// 项目用例自定义字段描述
	Description *string `json:"description,omitempty"`

	// 项目用例自定义字段创建人
	Creator *string `json:"creator,omitempty"`

	// 项目用例自定义字段更新人
	Updater *string `json:"updater,omitempty"`

	// 项目用例自定义字段id(1-25数字)
	CustomFieldId *int32 `json:"custom_field_id,omitempty"`

	// 项目用例自定义字段名称
	CustomFieldName *string `json:"custom_field_name,omitempty"`

	// 项目用例自定义字段入参或者返回参数名称
	CustomFieldParam *string `json:"custom_field_param,omitempty"`

	// 项目用例自定义字段类型国际化名称
	TypeName *string `json:"type_name,omitempty"`

	// 项目用例自定义字段创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 项目用例自定义字段创建时间时间戳
	CreateTimeTimestamp *int64 `json:"create_time_timestamp,omitempty"`

	// 项目用例自定义字段更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 项目用例自定义字段更新时间时间戳
	UpdateTimeTimestamp *int64 `json:"update_time_timestamp,omitempty"`

	// 项目id
	ProjectUuid *string `json:"project_uuid,omitempty"`
}

func (ProjectTestCaseFieldVo) String added in v0.1.100

func (o ProjectTestCaseFieldVo) String() string

type QueryIssueTreeInfo added in v0.1.100

type QueryIssueTreeInfo struct {

	// 服务类型
	ServiceType *int32 `json:"service_type,omitempty"`

	// 服务类型集合
	ServiceTypes *[]int32 `json:"service_types,omitempty"`

	// 父节点id
	ParentId *string `json:"parent_id,omitempty"`

	// 页码
	PageNumber *int32 `json:"page_number,omitempty"`

	// 每页数量
	PageSize *int32 `json:"page_size,omitempty"`

	Filter *IssueListFilterInfo `json:"filter,omitempty"`

	// trackerId
	TrackerId *string `json:"tracker_id,omitempty"`

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

	// 任务udi
	TaskUri *string `json:"task_uri,omitempty"`

	// 是否统计子需求的用例数,默认true
	IncludeSubIssue *bool `json:"include_sub_issue,omitempty"`
}

func (QueryIssueTreeInfo) String added in v0.1.100

func (o QueryIssueTreeInfo) String() string

type QueryProjectIssuesRelationTestCasesInfo added in v0.1.90

type QueryProjectIssuesRelationTestCasesInfo struct {

	// 页码
	PageNo int32 `json:"page_no"`

	// 每页数量
	PageSize int32 `json:"page_size"`
}

QueryProjectIssuesRelationTestCasesInfo 查询项目下关联了需求的用例列表请求体

func (QueryProjectIssuesRelationTestCasesInfo) String added in v0.1.90

type QueryRequirementsOverviewInfo added in v0.1.100

type QueryRequirementsOverviewInfo struct {

	// 筛选迭代ID
	FixedVersionId *string `json:"fixed_version_id,omitempty"`

	// 模块ID
	ModuleId *string `json:"module_id,omitempty"`

	// 关键字
	KeyWord *string `json:"key_word,omitempty"`

	// 每页数量
	PageSize *int32 `json:"page_size,omitempty"`

	// 页码
	PageNo *int32 `json:"page_no,omitempty"`

	PiFilter *PiFilterInfo `json:"pi_filter,omitempty"`
}

func (QueryRequirementsOverviewInfo) String added in v0.1.100

type QueryTaskTestCasesInfo added in v0.1.100

type QueryTaskTestCasesInfo struct {

	// 页码
	PageNo *int32 `json:"page_no,omitempty"`

	// 每页数量
	PageSize *int32 `json:"page_size,omitempty"`

	// 起始位
	StartIndex *int32 `json:"start_index,omitempty"`

	// 结束位
	EndIndex *int32 `json:"end_index,omitempty"`

	// 关键字
	KeyWord *string `json:"key_word,omitempty"`

	// 用例uri列表
	TestCaseUris *[]string `json:"test_case_uris,omitempty"`

	// 测试计划uri
	IteratorUri *string `json:"iterator_uri,omitempty"`
}

func (QueryTaskTestCasesInfo) String added in v0.1.100

func (o QueryTaskTestCasesInfo) String() string

type QueryTestItemTreeInfo added in v0.1.100

type QueryTestItemTreeInfo struct {

	// 责任人
	Owner *string `json:"owner,omitempty"`

	// 阶段
	Stage *string `json:"stage,omitempty"`

	// 活动
	Activity *string `json:"activity,omitempty"`

	// 版本URI
	VersionUri *string `json:"version_uri,omitempty"`

	// 任务uri
	TaskUri *string `json:"task_uri,omitempty"`

	// 用例服务类型
	ServiceType *string `json:"service_type,omitempty"`

	// 是否包含用例数
	ContainTotal *bool `json:"contain_total,omitempty"`

	// 项目id
	ProjectUuid *string `json:"project_uuid,omitempty"`

	// 排序类型
	SortType *string `json:"sort_type,omitempty"`

	// 页码
	PageNumber *int32 `json:"page_number,omitempty"`

	// 每页数量
	PageSize *int32 `json:"page_size,omitempty"`
}

func (QueryTestItemTreeInfo) String added in v0.1.100

func (o QueryTestItemTreeInfo) String() string

type RelateTaskTestCasesVo added in v0.1.100

type RelateTaskTestCasesVo struct {

	// 用例编号
	TestCaseNum *string `json:"test_case_num,omitempty"`

	// 用例名
	TestCaseName *string `json:"test_case_name,omitempty"`

	// 用例uri
	TestCaseUri *string `json:"test_case_uri,omitempty"`

	// 任务uri
	TaskUri *string `json:"task_uri,omitempty"`

	// 任务名
	TaskName *string `json:"task_name,omitempty"`

	// 任务编号
	TaskNum *string `json:"task_num,omitempty"`

	// 任务创建人
	TaskCreator *string `json:"task_creator,omitempty"`
}

RelateTaskTestCasesVo 用例及任务信息

func (RelateTaskTestCasesVo) String added in v0.1.100

func (o RelateTaskTestCasesVo) String() string

type RelationInfo added in v0.1.100

type RelationInfo struct {

	// 需求id
	DrNumber string `json:"dr_number"`

	// 用例uri
	TestCaseUri *string `json:"test_case_uri,omitempty"`

	// 资源类型
	RelateType string `json:"relate_type"`

	// 资源类型
	ResourceType *string `json:"resource_type,omitempty"`

	// 来源系统
	SourceSystem *string `json:"source_system,omitempty"`

	// 关联资源编号
	AssociationNumber *string `json:"association_number,omitempty"`

	// 逻辑region,外部使用公有云实际区域,内部使用默认值
	Region *string `json:"region,omitempty"`
}

func (RelationInfo) String added in v0.1.100

func (o RelationInfo) String() string

type ReportChartDataVo added in v0.1.36

type ReportChartDataVo struct {

	// 报表id
	Id *string `json:"id,omitempty"`

	// 报表名称
	Name *string `json:"name,omitempty"`

	AnalyzeDim *ReportDimVo `json:"analyze_dim,omitempty"`

	// 对比维度数据
	CompareDim *[]ReportDimVo `json:"compare_dim,omitempty"`
}

ReportChartDataVo 报表数据

func (ReportChartDataVo) String added in v0.1.36

func (o ReportChartDataVo) String() string

type ReportDimVo added in v0.1.36

type ReportDimVo struct {

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

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

	// 值
	Value *int32 `json:"value,omitempty"`
}

ReportDimVo 对比维度数据

func (ReportDimVo) String added in v0.1.36

func (o ReportDimVo) String() string

type ReportFilter added in v0.1.36

type ReportFilter struct {

	// 创建人
	CreatorIds *string `json:"creatorIds,omitempty"`

	// 所属人
	OwnerIds *string `json:"ownerIds,omitempty"`

	// 级别
	Ranks *string `json:"ranks,omitempty"`

	// releaseId
	ReleaseIds *string `json:"releaseIds,omitempty"`

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

	// 级别
	ModuleIds *string `json:"moduleIds,omitempty"`

	// 结果
	Results *string `json:"results,omitempty"`

	// 标签
	LabelIds *string `json:"labelIds,omitempty"`

	// 开始时间
	StartTime *string `json:"startTime,omitempty"`

	// 结束时间
	EndTime *string `json:"endTime,omitempty"`

	// 是否关联需求
	IsAssociateIssue *string `json:"isAssociateIssue,omitempty"`
}

ReportFilter 过滤条件

func (ReportFilter) String added in v0.1.36

func (o ReportFilter) String() string

type RequirementOverviewVo added in v0.1.100

type RequirementOverviewVo struct {

	// 需求名称
	Name *string `json:"name,omitempty"`

	// 需求id
	WorkitemId *string `json:"workitem_id,omitempty"`

	// 需求序列编号
	SequenceId *string `json:"sequence_id,omitempty"`

	// 看板需求id
	BoardId *string `json:"board_id,omitempty"`

	// 需求类型id
	TrackerId *string `json:"tracker_id,omitempty"`

	// 需求类型
	TrackerName *string `json:"tracker_name,omitempty"`

	// 需求关联用例总数
	RelateCaseNumber *int32 `json:"relate_case_number,omitempty"`

	CasePassVo *CasePassVo `json:"case_pass_vo,omitempty"`

	CaseExecuteVo *CaseExecuteVo `json:"case_execute_vo,omitempty"`

	// 需求关联缺陷总数
	RelateDefectNumber *int32 `json:"relate_defect_number,omitempty"`
}

RequirementOverviewVo 质量报告需求测试情况列表

func (RequirementOverviewVo) String added in v0.1.100

func (o RequirementOverviewVo) String() string

type RequirementsOverviewVo added in v0.1.100

type RequirementsOverviewVo struct {

	// 质量报告需求测试情况总数
	TotalNumber *int32 `json:"total_number,omitempty"`

	// 质量报告需求测试情况列表
	RequirementOverviewList *[]RequirementOverviewVo `json:"requirement_overview_list,omitempty"`
}

RequirementsOverviewVo 实际的数据类型:单个对象,集合 或 NULL

func (RequirementsOverviewVo) String added in v0.1.100

func (o RequirementsOverviewVo) String() string

type ResourceChangeExternalVo added in v0.1.50

type ResourceChangeExternalVo struct {

	// 变更字段
	FieldName *string `json:"field_name,omitempty"`

	// 测试用例自定义字段类型
	CustomFieldType *string `json:"custom_field_type,omitempty"`

	OldChangeInfo *ElementResourceChangeExternalVo `json:"old_change_info,omitempty"`

	NewChangeInfo *ElementResourceChangeExternalVo `json:"new_change_info,omitempty"`
}

ResourceChangeExternalVo 历史记录字段变更列表

func (ResourceChangeExternalVo) String added in v0.1.50

func (o ResourceChangeExternalVo) String() string

type ResourcePoolVo added in v0.1.100

type ResourcePoolVo struct {

	// 资源池ID
	Id *string `json:"id,omitempty"`

	// 资源池名称
	Name *string `json:"name,omitempty"`

	// 资源池类型(VM/DOCKER)
	Type *string `json:"type,omitempty"`

	// 是否选中
	Selected *string `json:"selected,omitempty"`

	// 资源池状态
	ActiveState *string `json:"active_state,omitempty"`
}

ResourcePoolVo 实际的数据类型:单个对象,集合 或 NULL

func (ResourcePoolVo) String added in v0.1.100

func (o ResourcePoolVo) String() string

type ResultValueCustomReportListVo added in v0.1.36

type ResultValueCustomReportListVo struct {

	// 起始记录数大于实际总条数时,值为0,分页请求才有此值
	Total *int32 `json:"total,omitempty"`

	Value *CustomReportListVo `json:"value,omitempty"`

	// 业务失败的提示内容,对内接口才有此值
	Reason *string `json:"reason,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	PageNo *int32 `json:"page_no,omitempty"`

	HasMore *bool `json:"has_more,omitempty"`
}

ResultValueCustomReportListVo 请求的返回的数据对象

func (ResultValueCustomReportListVo) String added in v0.1.36

type ResultValueListCustomReportListVo added in v0.1.100

type ResultValueListCustomReportListVo struct {

	// 起始记录数 大于 实际总条数时, 值为0, 分页请求才有此值
	Total *int32 `json:"total,omitempty"`

	// 实际的数据类型:单个对象,集合 或 NULL
	Value *[]CustomReportListVo `json:"value,omitempty"`

	// 业务失败的提示内容,对内接口才有此值
	Reason *string `json:"reason,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	PageNo *int32 `json:"page_no,omitempty"`

	HasMore *bool `json:"has_more,omitempty"`
}

ResultValueListCustomReportListVo 请求的返回的数据对象

func (ResultValueListCustomReportListVo) String added in v0.1.100

type ResultValueListProjectFieldConfigVo added in v0.1.100

type ResultValueListProjectFieldConfigVo struct {

	// 起始记录数 大于 实际总条数时, 值为0, 分页请求才有此值
	Total *int32 `json:"total,omitempty"`

	// 实际的数据类型:单个对象,集合 或 NULL
	Value *[]ProjectFieldConfigVo `json:"value,omitempty"`

	// 业务失败的提示内容,对内接口才有此值
	Reason *string `json:"reason,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	PageNo *int32 `json:"page_no,omitempty"`

	HasMore *bool `json:"has_more,omitempty"`
}

ResultValueListProjectFieldConfigVo 请求的返回的数据对象

func (ResultValueListProjectFieldConfigVo) String added in v0.1.100

type ResultValueListResourcePoolVo added in v0.1.100

type ResultValueListResourcePoolVo struct {

	// 起始记录数 大于 实际总条数时, 值为0, 分页请求才有此值
	Total *int32 `json:"total,omitempty"`

	// 实际的数据类型:单个对象,集合 或 NULL
	Value *[]ResourcePoolVo `json:"value,omitempty"`

	// 业务失败的提示内容,对内接口才有此值
	Reason *string `json:"reason,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	PageNo *int32 `json:"page_no,omitempty"`

	HasMore *bool `json:"has_more,omitempty"`
}

ResultValueListResourcePoolVo 请求的返回的数据对象

func (ResultValueListResourcePoolVo) String added in v0.1.100

type ResultValueListTestItemVo added in v0.1.100

type ResultValueListTestItemVo struct {

	// 起始记录数 大于 实际总条数时, 值为0, 分页请求才有此值
	Total *int32 `json:"total,omitempty"`

	// 实际的数据类型:单个对象,集合 或 NULL
	Value *[]TestItemVo `json:"value,omitempty"`

	// 业务失败的提示内容,对内接口才有此值
	Reason *string `json:"reason,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	PageNo *int32 `json:"page_no,omitempty"`

	HasMore *bool `json:"has_more,omitempty"`
}

ResultValueListTestItemVo 请求的返回的数据对象

func (ResultValueListTestItemVo) String added in v0.1.100

func (o ResultValueListTestItemVo) String() string

type ResultValueListTestVersionVo added in v0.1.100

type ResultValueListTestVersionVo struct {

	// 起始记录数 大于 实际总条数时, 值为0, 分页请求才有此值
	Total *int32 `json:"total,omitempty"`

	// 实际的数据类型:单个对象,集合 或 NULL
	Value *[]TestVersionVo `json:"value,omitempty"`

	// 业务失败的提示内容,对内接口才有此值
	Reason *string `json:"reason,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	PageNo *int32 `json:"page_no,omitempty"`

	HasMore *bool `json:"has_more,omitempty"`
}

ResultValueListTestVersionVo 请求的返回的数据对象

func (ResultValueListTestVersionVo) String added in v0.1.100

type ResultValueRequirementsOverviewVo added in v0.1.100

type ResultValueRequirementsOverviewVo struct {

	// 起始记录数 大于 实际总条数时, 值为0, 分页请求才有此值
	Total *int32 `json:"total,omitempty"`

	Value *RequirementsOverviewVo `json:"value,omitempty"`

	// 业务失败的提示内容,对内接口才有此值
	Reason *string `json:"reason,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	PageNo *int32 `json:"page_no,omitempty"`

	HasMore *bool `json:"has_more,omitempty"`
}

ResultValueRequirementsOverviewVo 请求的返回的数据对象

func (ResultValueRequirementsOverviewVo) String added in v0.1.100

type ResultValueStringForOk added in v0.1.100

type ResultValueStringForOk struct {

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

func (ResultValueStringForOk) String added in v0.1.100

func (o ResultValueStringForOk) String() string

type RunTestCaseRequest

type RunTestCaseRequest struct {

	// 项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

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

RunTestCaseRequest Request Object

func (RunTestCaseRequest) String

func (o RunTestCaseRequest) String() string

type RunTestCaseRequestBody

type RunTestCaseRequestBody struct {

	// 注册测试类型服务接口返回的服务id
	ServiceId int32 `json:"service_id"`

	// 测试计划id
	PlanId *string `json:"plan_id,omitempty"`

	// 测试用例执行信息,数组长度小于等于50
	ExecuteList []TestCaseExecuteBean `json:"execute_list"`
}

RunTestCaseRequestBody 执行测试用例请求体

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

RunTestCaseResponse Response Object

func (RunTestCaseResponse) String

func (o RunTestCaseResponse) String() string

type SaveTaskSettingRequest added in v0.1.100

type SaveTaskSettingRequest struct {

	// 服务id
	ServiceId string `json:"service_id"`

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

SaveTaskSettingRequest Request Object

func (SaveTaskSettingRequest) String added in v0.1.100

func (o SaveTaskSettingRequest) String() string

type SaveTaskSettingRequestBody added in v0.1.100

type SaveTaskSettingRequestBody struct {

	// 自定义时长
	MaxRunningTime *int32 `json:"max_running_time,omitempty"`

	// 是否长期运行
	IsLongRun *SaveTaskSettingRequestBodyIsLongRun `json:"is_long_run,omitempty"`
}

func (SaveTaskSettingRequestBody) String added in v0.1.100

type SaveTaskSettingRequestBodyIsLongRun added in v0.1.100

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

func (SaveTaskSettingRequestBodyIsLongRun) MarshalJSON added in v0.1.100

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

func (*SaveTaskSettingRequestBodyIsLongRun) UnmarshalJSON added in v0.1.100

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

func (SaveTaskSettingRequestBodyIsLongRun) Value added in v0.1.100

type SaveTaskSettingRequestBodyIsLongRunEnum added in v0.1.100

type SaveTaskSettingRequestBodyIsLongRunEnum struct {
	E_1 SaveTaskSettingRequestBodyIsLongRun
	E_0 SaveTaskSettingRequestBodyIsLongRun
}

func GetSaveTaskSettingRequestBodyIsLongRunEnum added in v0.1.100

func GetSaveTaskSettingRequestBodyIsLongRunEnum() SaveTaskSettingRequestBodyIsLongRunEnum

type SaveTaskSettingResponse added in v0.1.100

type SaveTaskSettingResponse struct {

	// 错误编码
	ErrorCode *string `json:"error_code,omitempty"`

	// 错误原因
	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

SaveTaskSettingResponse Response Object

func (SaveTaskSettingResponse) String added in v0.1.100

func (o SaveTaskSettingResponse) String() string

type ServiceRequestBody

type ServiceRequestBody struct {

	// 测试类型名称,用于界面显示,不能使用当前保留名,长度小于等于16位字符
	ServiceName string `json:"service_name"`

	// server_host是由用户提供的域名。 我们会通过此域名进行接口调用,请以https/http开头,长度小于等于128位字符。 TestHub将会通过此域名下的接口,保证服务数据与用户系统数据的一致性。
	ServerHost string `json:"server_host"`
}

ServiceRequestBody 新测试类型服务信息

func (ServiceRequestBody) String

func (o ServiceRequestBody) String() string

type ServicesInfo

type ServicesInfo struct {

	// 服务id
	Id *int32 `json:"id,omitempty"`

	// 服务名称
	Name *string `json:"name,omitempty"`
}

func (ServicesInfo) String

func (o ServicesInfo) String() string

type ShowAllConfigValueByTypeAndKeyRequest added in v0.1.100

type ShowAllConfigValueByTypeAndKeyRequest struct {

	// 服务id
	ServiceId string `json:"service_id"`

	// 配置项key
	Key string `json:"key"`

	// 配置项类型
	Type string `json:"type"`
}

ShowAllConfigValueByTypeAndKeyRequest Request Object

func (ShowAllConfigValueByTypeAndKeyRequest) String added in v0.1.100

type ShowAllConfigValueByTypeAndKeyResponse added in v0.1.100

type ShowAllConfigValueByTypeAndKeyResponse struct {

	// 备注
	Comments *string `json:"comments,omitempty"`

	// 配置键
	ConfigKey *string `json:"config_key,omitempty"`

	// 配置类型
	ConfigType *string `json:"config_type,omitempty"`

	// 配置值
	ConfigValue *string `json:"config_value,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 创建者
	CreateUser *string `json:"create_user,omitempty"`

	// UUID
	Id *string `json:"id,omitempty"`

	// 服务id
	TestServiceId *string `json:"test_service_id,omitempty"`

	// 修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 修改者
	UpdateUser     *string `json:"update_user,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowAllConfigValueByTypeAndKeyResponse Response Object

func (ShowAllConfigValueByTypeAndKeyResponse) String added in v0.1.100

type ShowAllFeatureChildrenRequest added in v0.1.100

type ShowAllFeatureChildrenRequest struct {
	FeatureId string `json:"feature_id"`

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

ShowAllFeatureChildrenRequest Request Object

func (ShowAllFeatureChildrenRequest) String added in v0.1.100

type ShowAllFeatureChildrenResponse added in v0.1.100

type ShowAllFeatureChildrenResponse struct {

	// 对外时:success|error; 对内时:ok|failed
	Status *string `json:"status,omitempty"`

	Result *ResultValueListTestItemVo `json:"result,omitempty"`

	Error *ApiError `json:"error,omitempty"`

	// 由接口调用方传入,建议使用UUID保证请求的唯一性。
	RequestId *string `json:"request_id,omitempty"`

	// 对内接口才有此属性
	ServerAddress  *string `json:"server_address,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowAllFeatureChildrenResponse Response Object

func (ShowAllFeatureChildrenResponse) String added in v0.1.100

type ShowApiTestcaseHistoriesRequest added in v0.1.50

type ShowApiTestcaseHistoriesRequest struct {

	// 测试用例id
	TestcaseId string `json:"testcase_id"`

	// 起始偏移量,表示从此偏移量开始查询, offset大于等于1
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,最大支持200条
	Limit *int32 `json:"limit,omitempty"`

	// 测试计划id
	PlanId *string `json:"plan_id,omitempty"`

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`
}

ShowApiTestcaseHistoriesRequest Request Object

func (ShowApiTestcaseHistoriesRequest) String added in v0.1.50

type ShowApiTestcaseHistoriesResponse added in v0.1.50

type ShowApiTestcaseHistoriesResponse struct {

	// 测试用例总数
	TotalCount *int32 `json:"total_count,omitempty"`

	// 测试服务id
	ProjectId *string `json:"project_id,omitempty"`

	// 测试用例id
	TestcaseId *string `json:"testcase_id,omitempty"`

	// 测试用例名称
	TestcaseName *string `json:"testcase_name,omitempty"`

	// 测试用例结果集
	TestcaseResults *[]TestcaseResult `json:"testcase_results,omitempty"`
	HttpStatusCode  int               `json:"-"`
}

ShowApiTestcaseHistoriesResponse Response Object

func (ShowApiTestcaseHistoriesResponse) String added in v0.1.50

type ShowBackgroundInfoRequest added in v0.1.100

type ShowBackgroundInfoRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`
}

ShowBackgroundInfoRequest Request Object

func (ShowBackgroundInfoRequest) String added in v0.1.100

func (o ShowBackgroundInfoRequest) String() string

type ShowBackgroundInfoResponse added in v0.1.100

type ShowBackgroundInfoResponse struct {

	// 项目id
	ProjectUuid *string `json:"project_uuid,omitempty"`

	// cover文件名称
	CoverFileName *string `json:"cover_file_name,omitempty"`

	// 背景文件名称
	BackgroundFileName *string `json:"background_file_name,omitempty"`

	// logo文件名称
	LogoFileName   *string `json:"logo_file_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowBackgroundInfoResponse Response Object

func (ShowBackgroundInfoResponse) String added in v0.1.100

type ShowDisclaimerRecordRequest added in v0.1.100

type ShowDisclaimerRecordRequest struct {

	// 类型
	Type string `json:"type"`
}

ShowDisclaimerRecordRequest Request Object

func (ShowDisclaimerRecordRequest) String added in v0.1.100

type ShowDisclaimerRecordResponse added in v0.1.100

type ShowDisclaimerRecordResponse struct {

	// 实际的数据类型:单个对象,集合 或 NULL
	Value          *bool `json:"value,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ShowDisclaimerRecordResponse Response Object

func (ShowDisclaimerRecordResponse) String added in v0.1.100

type ShowDomainInfoRequest added in v0.1.100

type ShowDomainInfoRequest struct {
}

ShowDomainInfoRequest Request Object

func (ShowDomainInfoRequest) String added in v0.1.100

func (o ShowDomainInfoRequest) String() string

type ShowDomainInfoResponse added in v0.1.100

type ShowDomainInfoResponse struct {
	Value          *string `json:"value,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDomainInfoResponse Response Object

func (ShowDomainInfoResponse) String added in v0.1.100

func (o ShowDomainInfoResponse) String() string

type ShowFeatureChildrenRequest added in v0.1.100

type ShowFeatureChildrenRequest struct {
	FeatureId string `json:"feature_id"`

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

ShowFeatureChildrenRequest Request Object

func (ShowFeatureChildrenRequest) String added in v0.1.100

type ShowFeatureChildrenResponse added in v0.1.100

type ShowFeatureChildrenResponse struct {

	// 对外时:success|error; 对内时:ok|failed
	Status *string `json:"status,omitempty"`

	Result *ResultValueListTestItemVo `json:"result,omitempty"`

	Error *ApiError `json:"error,omitempty"`

	// 由接口调用方传入,建议使用UUID保证请求的唯一性。
	RequestId *string `json:"request_id,omitempty"`

	// 对内接口才有此属性
	ServerAddress  *string `json:"server_address,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowFeatureChildrenResponse Response Object

func (ShowFeatureChildrenResponse) String added in v0.1.100

type ShowFreeDeclarationRequest added in v0.1.100

type ShowFreeDeclarationRequest struct {
}

ShowFreeDeclarationRequest Request Object

func (ShowFreeDeclarationRequest) String added in v0.1.100

type ShowFreeDeclarationResponse added in v0.1.100

type ShowFreeDeclarationResponse struct {

	// 实际的数据类型:单个对象,集合 或 NULL
	Value          *bool `json:"value,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ShowFreeDeclarationResponse Response Object

func (ShowFreeDeclarationResponse) String added in v0.1.100

type ShowIfTaskNameRepeatRequest added in v0.1.100

type ShowIfTaskNameRepeatRequest struct {

	// 服务id
	ServiceId string `json:"service_id"`

	// UUID
	Id *string `json:"id,omitempty"`

	// 查询的模板名称
	Name string `json:"name"`
}

ShowIfTaskNameRepeatRequest Request Object

func (ShowIfTaskNameRepeatRequest) String added in v0.1.100

type ShowIfTaskNameRepeatResponse added in v0.1.100

type ShowIfTaskNameRepeatResponse struct {

	// 当前页
	PageNo *int32 `json:"pageNo,omitempty"`

	// 每页大小
	PageSize *int32 `json:"pageSize,omitempty"`

	// 总页数
	TotalPage *int32 `json:"totalPage,omitempty"`

	// 总条数
	TotalSize *int32 `json:"totalSize,omitempty"`

	// 查询到的告警模板
	PageList       *[]AlarmTemplateInfo `json:"pageList,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ShowIfTaskNameRepeatResponse Response Object

func (ShowIfTaskNameRepeatResponse) String added in v0.1.100

type ShowIfUserNameRepeatRequest added in v0.1.100

type ShowIfUserNameRepeatRequest struct {

	// 服务id
	ServiceId string `json:"service_id"`

	// 用户ID
	UserId *string `json:"userId,omitempty"`

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

ShowIfUserNameRepeatRequest Request Object

func (ShowIfUserNameRepeatRequest) String added in v0.1.100

type ShowIfUserNameRepeatResponse added in v0.1.100

type ShowIfUserNameRepeatResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowIfUserNameRepeatResponse Response Object

func (ShowIfUserNameRepeatResponse) String added in v0.1.100

type ShowIssuesByPlanIdRequest added in v0.0.73

type ShowIssuesByPlanIdRequest struct {

	// 项目id,项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

	// 测试计划id,测试计划的唯一标识,长度11-34位字符
	PlanId string `json:"plan_id"`

	// 起始偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset int64 `json:"offset"`

	// 每页显示的条目数量,最大支持200条
	Limit int64 `json:"limit"`
}

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

ShowIssuesByPlanIdResponse Response Object

func (ShowIssuesByPlanIdResponse) String added in v0.0.73

type ShowIteratorByDefectRequest added in v0.1.100

type ShowIteratorByDefectRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

	// 缺陷id
	DefectId string `json:"defect_id"`
}

ShowIteratorByDefectRequest Request Object

func (ShowIteratorByDefectRequest) String added in v0.1.100

type ShowIteratorByDefectResponse added in v0.1.100

type ShowIteratorByDefectResponse struct {

	// 资源URI
	Uri *string `json:"uri,omitempty"`

	// 资源类型
	Type *string `json:"type,omitempty"`

	// 创建人
	Author *string `json:"author,omitempty"`

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

	// 级别
	Rank *int32 `json:"rank,omitempty"`

	// 待测版本
	Version *string `json:"version,omitempty"`

	// 处理者ID
	Owner *string `json:"owner,omitempty"`

	// 创建人ID
	Creator *string `json:"creator,omitempty"`

	// 关联迭代
	Iterations *string `json:"iterations,omitempty"`

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

	// 区域
	Region *string `json:"region,omitempty"`

	// 最后修改人
	LastModifier *string `json:"last_modifier,omitempty"`

	// 最后修改时间
	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	// 修改时间时间戳
	LastModifiedTimestamp *int64 `json:"last_modified_timestamp,omitempty"`

	// 最后变更时间
	LastChangeTime *sdktime.SdkTime `json:"last_change_time,omitempty"`

	// 版本URI
	VersionUri *string `json:"version_uri,omitempty"`

	// 源资源URI
	OriginUri *string `json:"origin_uri,omitempty"`

	// 父资源URI
	ParentUri *string `json:"parent_uri,omitempty"`

	// 父资源路径
	ParentPath *string `json:"parent_path,omitempty"`

	// 创建版本URI
	CreationVersionUri *string `json:"creation_version_uri,omitempty"`

	// 创建时间
	CreationDate *sdktime.SdkTime `json:"creation_date,omitempty"`

	// 创建时间时间戳
	CreationDateTimestamp *int64 `json:"creation_date_timestamp,omitempty"`

	// 创建人名称
	AuthorName *string `json:"author_name,omitempty"`

	// 备注
	Comment *string `json:"comment,omitempty"`

	// 编号
	Number *string `json:"number,omitempty"`

	// 是否为Master分支
	IsMaster *int32 `json:"is_master,omitempty"`

	// 是否为迭代
	IsIterator *int32 `json:"is_iterator,omitempty"`

	// 开始时间
	PlanStartDate *sdktime.SdkTime `json:"plan_start_date,omitempty"`

	// 结束时间
	PlanEndDate *sdktime.SdkTime `json:"plan_end_date,omitempty"`

	// 微服务ID
	ServiceId *string `json:"service_id,omitempty"`

	// 微服务名
	ServiceName *string `json:"service_name,omitempty"`

	// PBI ID
	PbiId *string `json:"pbi_id,omitempty"`

	// PBI信息
	PbiName *string `json:"pbi_name,omitempty"`

	// 计划ID
	PlanId *string `json:"plan_id,omitempty"`

	// 度量PBI ID
	MetricPbiIds *string `json:"metric_pbi_ids,omitempty"`

	// 度量PBI名称
	MetricPbiIdNames *string `json:"metric_pbi_id_names,omitempty"`

	// 最后同步时间
	LastSynDate *sdktime.SdkTime `json:"last_syn_date,omitempty"`

	// 版本是否关闭
	IsClosed *string `json:"is_closed,omitempty"`

	// 是否同步git库
	AsynGit *string `json:"asyn_git,omitempty"`

	// schema编号
	SchemaNo *int32 `json:"schema_no,omitempty"`

	// 迭代实际完成时间
	FinishDate *sdktime.SdkTime `json:"finish_date,omitempty"`

	// 处理者名称
	OwnerName *string `json:"owner_name,omitempty"`

	// 创建人名称
	CreatorName *string `json:"creator_name,omitempty"`

	// 当前所处阶段
	CurrentStage *string `json:"current_stage,omitempty"`

	// 服务类型
	ServiceTypes *string `json:"service_types,omitempty"`

	// 风险等级
	RiskRating *int32 `json:"risk_rating,omitempty"`

	// 风险描述
	RiskDes *string `json:"risk_des,omitempty"`

	// 项目ID
	ProjectUuid *string `json:"project_uuid,omitempty"`

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

	// pi的id
	PiId           *string `json:"pi_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowIteratorByDefectResponse Response Object

func (ShowIteratorByDefectResponse) String added in v0.1.100

type ShowMindmapByPageRequest added in v0.1.100

type ShowMindmapByPageRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

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

ShowMindmapByPageRequest Request Object

func (ShowMindmapByPageRequest) String added in v0.1.100

func (o ShowMindmapByPageRequest) String() string

type ShowMindmapByPageResponse added in v0.1.100

type ShowMindmapByPageResponse struct {
	Params         *MindmapPageParamV3 `json:"params,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ShowMindmapByPageResponse Response Object

func (ShowMindmapByPageResponse) String added in v0.1.100

func (o ShowMindmapByPageResponse) String() string

type ShowMindmapCreatorNameRequest added in v0.1.100

type ShowMindmapCreatorNameRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`
}

ShowMindmapCreatorNameRequest Request Object

func (ShowMindmapCreatorNameRequest) String added in v0.1.100

type ShowMindmapCreatorNameResponse added in v0.1.100

type ShowMindmapCreatorNameResponse struct {

	// 接口调用错误码
	Code *string `json:"code,omitempty"`

	// 接口调用返回体
	Data *interface{} `json:"data,omitempty"`

	// 接口调用错误信息
	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowMindmapCreatorNameResponse Response Object

func (ShowMindmapCreatorNameResponse) String added in v0.1.100

type ShowPlanJournalsRequest added in v0.0.73

type ShowPlanJournalsRequest struct {

	// 项目id,项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

	// 测试计划id,测试计划的唯一标识,长度11-34位字符
	PlanId string `json:"plan_id"`

	// 起始偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset int64 `json:"offset"`

	// 每页显示的条目数量,最大支持200条
	Limit int64 `json:"limit"`
}

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

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

	// 项目id,项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

	// 起始偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset int64 `json:"offset"`

	// 每页显示的条目数量,最大支持200条
	Limit int64 `json:"limit"`

	// 模糊查询使用(针对测试计划名称)
	Name *string `json:"name,omitempty"`

	// 测试计划所处阶段(create,design,execute,report)
	CurrentStage *string `json:"current_stage,omitempty"`

	// 分支Uri,默认master
	BranchUri *string `json:"branch_uri,omitempty"`

	// 是否查询所有版本下测试计划,默认为false。若值为true, 查询所有版本下测试计划; 若为false, 查询branch_uri指定分支下的测试计划, branch_uri为空时默认为master
	QueryAllVersion *bool `json:"query_all_version,omitempty"`

	// 测试计划关联的迭代。迭代id以逗号间隔
	FixVersionIds *string `json:"fix_version_ids,omitempty"`
}

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

ShowPlanListResponse Response Object

func (ShowPlanListResponse) String added in v0.0.74

func (o ShowPlanListResponse) String() string

type ShowPlansRequest

type ShowPlansRequest struct {

	// 项目id,项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

	// 模糊查询使用(针对测试计划名称)
	Name *string `json:"name,omitempty"`

	// 测试计划所处阶段(create,design,execute,report)
	CurrentStage *string `json:"current_stage,omitempty"`

	// 页号,取值范围为1-20000
	Offset int32 `json:"offset"`

	// 每页显示的条目数量,取值范围为1-200
	Limit int32 `json:"limit"`
}

ShowPlansRequest Request Object

func (ShowPlansRequest) String

func (o ShowPlansRequest) String() string

type ShowPlansResponse

type ShowPlansResponse struct {

	// 项目下查询测试计划列表返回结构
	Body           *[]TestPlanDetail `json:"body,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ShowPlansResponse Response Object

func (ShowPlansResponse) String

func (o ShowPlansResponse) String() string

type ShowProgressRequest added in v0.1.100

type ShowProgressRequest struct {

	// 项目ID
	ProjectUuid *string `json:"project_uuid,omitempty"`

	// 异步操作uri
	OperationUri string `json:"operation_uri"`
}

ShowProgressRequest Request Object

func (ShowProgressRequest) String added in v0.1.100

func (o ShowProgressRequest) String() string

type ShowProgressResponse added in v0.1.100

type ShowProgressResponse struct {

	// 进度uri
	Uri *string `json:"uri,omitempty"`

	// 异步进度名称
	Name *string `json:"name,omitempty"`

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

	// 异步操作是否完成
	Completed *bool `json:"completed,omitempty"`

	// 异步操作是否取消
	Cancelled *bool `json:"cancelled,omitempty"`

	// 提示信息列表
	Informations *[]string `json:"informations,omitempty"`

	// 错误编码
	Code *string `json:"code,omitempty"`

	// 错误信息
	Reason *string `json:"reason,omitempty"`

	// 提交时间
	SubmittedTime *string `json:"submitted_time,omitempty"`

	// 开始时间
	BeginTime *string `json:"begin_time,omitempty"`

	// 结束时间
	EndTime *string `json:"end_time,omitempty"`

	// 服务ip
	ServerIp *string `json:"server_ip,omitempty"`

	// 最后修改时间
	LastModifiedTime *int64 `json:"last_modified_time,omitempty"`

	// 执行完成总数
	FinishedCount *int32 `json:"finished_count,omitempty"`

	// 异步操作返回值
	ReturnValue *interface{} `json:"return_value,omitempty"`

	// 异常信息
	ExceptionMessage *string `json:"exception_message,omitempty"`

	// 行编号
	LineUpNum *int32 `json:"line_up_num,omitempty"`

	// 异步操作的key
	AsynOperationKey *string `json:"asyn_operation_key,omitempty"`

	// 是否结束
	IsEnded *bool `json:"is_ended,omitempty"`

	// 异步操作完成进度
	FinishedPercent *int32 `json:"finished_percent,omitempty"`
	HttpStatusCode  int    `json:"-"`
}

ShowProgressResponse Response Object

func (ShowProgressResponse) String added in v0.1.100

func (o ShowProgressResponse) String() string

type ShowProjectDataDashboardRequest added in v0.1.71

type ShowProjectDataDashboardRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

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

ShowProjectDataDashboardRequest Request Object

func (ShowProjectDataDashboardRequest) String added in v0.1.71

type ShowProjectDataDashboardResponse added in v0.1.71

type ShowProjectDataDashboardResponse struct {
	Defect *DefectVo `json:"defect,omitempty"`

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

	CaseCompletionRate *CaseCompletionRateVo `json:"case_completion_rate,omitempty"`

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

	IssueCoverRate *IssueCoverRateVo `json:"issue_cover_rate,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ShowProjectDataDashboardResponse Response Object

func (ShowProjectDataDashboardResponse) String added in v0.1.71

type ShowRegisterServiceRequest

type ShowRegisterServiceRequest struct {
}

ShowRegisterServiceRequest Request Object

func (ShowRegisterServiceRequest) String

type ShowRegisterServiceResponse

type ShowRegisterServiceResponse struct {

	// 注册服务信息
	Services       *[]ServicesInfo `json:"services,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ShowRegisterServiceResponse Response Object

func (ShowRegisterServiceResponse) String

type ShowReportRequest added in v0.1.36

type ShowReportRequest struct {

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

	// 分支/计划id
	PlanId string `json:"plan_id"`

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

ShowReportRequest Request Object

func (ShowReportRequest) String added in v0.1.36

func (o ShowReportRequest) String() string

type ShowReportResponse added in v0.1.36

type ShowReportResponse struct {

	// success|error
	Status *string `json:"status,omitempty"`

	Result *ResultValueCustomReportListVo `json:"result,omitempty"`

	Error *ApiError `json:"error,omitempty"`

	// 由接口调用方传入,建议使用UUID保证请求的唯一性。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowReportResponse Response Object

func (ShowReportResponse) String added in v0.1.36

func (o ShowReportResponse) String() string

type ShowRequirementsOverviewRequest added in v0.1.100

type ShowRequirementsOverviewRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

	// 版本id
	VersionId string `json:"version_id"`

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

ShowRequirementsOverviewRequest Request Object

func (ShowRequirementsOverviewRequest) String added in v0.1.100

type ShowRequirementsOverviewResponse added in v0.1.100

type ShowRequirementsOverviewResponse struct {

	// success|error;
	Status *string `json:"status,omitempty"`

	Result *ResultValueRequirementsOverviewVo `json:"result,omitempty"`

	Error          *ApiError `json:"error,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ShowRequirementsOverviewResponse Response Object

func (ShowRequirementsOverviewResponse) String added in v0.1.100

type ShowSystemConfigsRequest added in v0.1.100

type ShowSystemConfigsRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

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

ShowSystemConfigsRequest Request Object

func (ShowSystemConfigsRequest) String added in v0.1.100

func (o ShowSystemConfigsRequest) String() string

type ShowSystemConfigsResponse added in v0.1.100

type ShowSystemConfigsResponse struct {

	// 接口调用失败错误码
	Code *string `json:"code,omitempty"`

	Data *[]SystemConfig `json:"data,omitempty"`

	// 接口调用错误信息
	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowSystemConfigsResponse Response Object

func (ShowSystemConfigsResponse) String added in v0.1.100

func (o ShowSystemConfigsResponse) String() string

type ShowTestCaseAndDefectInfoRequest added in v0.1.54

type ShowTestCaseAndDefectInfoRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

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

ShowTestCaseAndDefectInfoRequest Request Object

func (ShowTestCaseAndDefectInfoRequest) String added in v0.1.54

type ShowTestCaseAndDefectInfoRequestBody added in v0.1.54

type ShowTestCaseAndDefectInfoRequestBody struct {

	// 起始偏移量,表示从此偏移量开始查询,offset大于等于0,小于等于100000
	Offset int32 `json:"offset"`

	// 每页显示的条目数量,最大支持100条
	Limit int32 `json:"limit"`

	// 分支ID
	BranchId *string `json:"branch_id,omitempty"`

	// 用例创建时间段开始
	CreateTestcaseStartTime string `json:"create_testcase_start_time"`

	// 用例创建时间段截止
	CreateTestcaseEndTime string `json:"create_testcase_end_time"`

	// 缺陷关联时间段开始
	AssociateDefectStartTime *string `json:"associate_defect_start_time,omitempty"`

	// 缺陷关联时间段截止
	AssociateDefectEndTime *string `json:"associate_defect_end_time,omitempty"`
}

ShowTestCaseAndDefectInfoRequestBody 查询用户用例关联缺陷的统计信息请求体

func (ShowTestCaseAndDefectInfoRequestBody) String added in v0.1.54

type ShowTestCaseAndDefectInfoResponse added in v0.1.54

type ShowTestCaseAndDefectInfoResponse struct {

	// 起始记录数大于实际总条数时,值为0。
	Total *int32 `json:"total,omitempty"`

	// 查询用户用例关联缺陷的统计信息
	Values         *[]ExternalUserCaseAndDefect `json:"values,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

ShowTestCaseAndDefectInfoResponse Response Object

func (ShowTestCaseAndDefectInfoResponse) String added in v0.1.54

type ShowTestCaseDetailRequest

type ShowTestCaseDetailRequest struct {

	// 项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

	// 测试用例唯一标识,固定长度32位字符
	TestcaseId string `json:"testcase_id"`
}

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

	// 注册测试类型服务接口返回的服务id
	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:"-"`
}

ShowTestCaseDetailResponse Response Object

func (ShowTestCaseDetailResponse) String

type ShowTestCaseDetailV2Request

type ShowTestCaseDetailV2Request struct {

	// 项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

	// 用例编号,长度为[3-128]位字符
	TestcaseNumber string `json:"testcase_number"`
}

ShowTestCaseDetailV2Request Request Object

func (ShowTestCaseDetailV2Request) String

type ShowTestCaseDetailV2Response

type ShowTestCaseDetailV2Response struct {

	// 测试用例唯一标识
	TestcaseId *string `json:"testcase_id,omitempty"`

	// 软开云项目唯一标识
	ProjectId *string `json:"project_id,omitempty"`

	// 注册测试类型服务接口返回的服务id
	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:"-"`
}

ShowTestCaseDetailV2Response Response Object

func (ShowTestCaseDetailV2Response) String

type ShowTestCaseRequest added in v0.1.100

type ShowTestCaseRequest struct {

	// 用例id
	TestcaseId string `json:"testcase_id"`

	// 分支uri
	VersionUri *string `json:"version_uri,omitempty"`

	// 项目id
	ProjectUuid *string `json:"project_uuid,omitempty"`

	// 任务
	TaskUri *string `json:"task_uri,omitempty"`

	// 是否刷新缓存
	Refresh *bool `json:"refresh,omitempty"`

	// 是否回收站资源
	IsRecycle *bool `json:"is_recycle,omitempty"`
}

ShowTestCaseRequest Request Object

func (ShowTestCaseRequest) String added in v0.1.100

func (o ShowTestCaseRequest) String() string

type ShowTestCaseResponse added in v0.1.100

type ShowTestCaseResponse struct {

	// 资源URI
	Uri *string `json:"uri,omitempty"`

	// 资源类型
	Type *string `json:"type,omitempty"`

	// 创建人
	Author *string `json:"author,omitempty"`

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

	// 级别
	Rank *int32 `json:"rank,omitempty"`

	// 前置条件
	Preparation *string `json:"preparation,omitempty"`

	// 备注
	Remark *string `json:"remark,omitempty"`

	// 测试阶段
	Stage *string `json:"stage,omitempty"`

	// 测试类型
	Activity *string `json:"activity,omitempty"`

	// 关键词
	Keywords *string `json:"keywords,omitempty"`

	// apitest标记是否代码已提交
	Market *string `json:"market,omitempty"`

	// 设计者
	Designer *string `json:"designer,omitempty"`

	// 标签
	Tags *string `json:"tags,omitempty"`

	// 执行参数
	ExecuteParameter *string `json:"execute_parameter,omitempty"`

	// 逻辑region
	Region *string `json:"region,omitempty"`

	// 处理人id,IteratorTestCase字段
	Owner *string `json:"owner,omitempty"`

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

	// 最后修改人
	LastModifier *string `json:"last_modifier,omitempty"`

	// 最后修改时间
	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	// 修改时间时间戳
	LastModifiedTimestamp *int64 `json:"last_modified_timestamp,omitempty"`

	// 最后变更时间
	LastChangeTime *sdktime.SdkTime `json:"last_change_time,omitempty"`

	// 版本URI
	VersionUri *string `json:"version_uri,omitempty"`

	// 源资源URI
	OriginUri *string `json:"origin_uri,omitempty"`

	// 父资源URI
	ParentUri *string `json:"parent_uri,omitempty"`

	// 父资源路径
	ParentPath *string `json:"parent_path,omitempty"`

	// 创建版本URI
	CreationVersionUri *string `json:"creation_version_uri,omitempty"`

	// 创建时间
	CreationDate *sdktime.SdkTime `json:"creation_date,omitempty"`

	// 创建时间时间戳
	CreationDateTimestamp *int64 `json:"creation_date_timestamp,omitempty"`

	// 创建人名称
	AuthorName *string `json:"author_name,omitempty"`

	// 备注
	Comment *string `json:"comment,omitempty"`

	// 编号
	Number *string `json:"number,omitempty"`

	// 用例类型
	CaseType *int32 `json:"case_type,omitempty"`

	// 执行平台类型
	PlatformType *int32 `json:"platform_type,omitempty"`

	// 服务类型
	ServiceType *int32 `json:"service_type,omitempty"`

	// 服务类型名称
	ServiceTypeName *string `json:"service_type_name,omitempty"`

	// 测试类型
	TestType *int32 `json:"test_type,omitempty"`

	// 测试类型名称
	TestTypeName *string `json:"test_type_name,omitempty"`

	// 设计描述
	DesignNote *string `json:"design_note,omitempty"`

	// 测试步骤
	TestStep *string `json:"test_step,omitempty"`

	// 期望结果
	ExpectOutput *string `json:"expect_output,omitempty"`

	// 测试环境类型
	EnvType *string `json:"env_type,omitempty"`

	// 执行平台
	ExePlatform *string `json:"exe_platform,omitempty"`

	// 测试工程
	TestcaseProject *string `json:"testcase_project,omitempty"`

	// 脚本路径
	SvnScriptPath *string `json:"svn_script_path,omitempty"`

	// 约束条件
	MapRestrict *string `json:"map_restrict,omitempty"`

	// 网络脚本名
	NetworkScriptName *string `json:"network_script_name,omitempty"`

	// 自动化类型,非自动化:0, 是自动化:1
	AutoType *int32 `json:"auto_type,omitempty"`

	// 被自动化执行
	ToBeAutoExec *int32 `json:"to_be_auto_exec,omitempty"`

	// 最后一次结果
	LastResult *string `json:"last_result,omitempty"`

	// 最后一次结果Uri
	LastResultUri *string `json:"last_result_uri,omitempty"`

	// 目录Uri
	FeatureUri *string `json:"feature_uri,omitempty"`

	// 目录名称
	FeatureName *string `json:"feature_name,omitempty"`

	// 测试接口名
	InterfaceName *string `json:"interface_name,omitempty"`

	// 网络问题ID
	SnpNo *string `json:"snp_no,omitempty"`

	// 关联需求编号
	DrRelationId *string `json:"dr_relation_id,omitempty"`

	// 需求名称
	IssueName *string `json:"issue_name,omitempty"`

	// 测试基数
	TestBaseNum *string `json:"test_base_num,omitempty"`

	// 是否被自动化执行
	AutomaticallyExecuted *int32 `json:"automatically_executed,omitempty"`

	// 第一次执行时间
	FirstExecuteTime *sdktime.SdkTime `json:"first_execute_time,omitempty"`

	// 检测类型
	DetectType *string `json:"detect_type,omitempty"`

	// 执行参数
	ExecuteParam *string `json:"execute_param,omitempty"`

	// 分析领域
	TestFeature *string `json:"test_feature,omitempty"`

	// 是否是契约用例,0:表示非契约用例, 1:表示契约用例
	IsContractTestcase *int32 `json:"is_contract_testcase,omitempty"`

	// 总共耗时
	TimeCost *float64 `json:"time_cost,omitempty"`

	// 记录用例由非自动化变为自动化类型的时间
	BeAutoTypeTime *sdktime.SdkTime `json:"be_auto_type_time,omitempty"`

	// 配对用例编号
	CompareNumber *string `json:"compare_number,omitempty"`

	// 场景标识
	SceneFlag *string `json:"scene_flag,omitempty"`

	// 场景标识
	BaseFlag *string `json:"base_flag,omitempty"`

	// 区别是否从yaml中生成的用例,默认false
	ParaValidator *string `json:"para_validator,omitempty"`

	// knet节点id
	KnetNodeId *string `json:"knet_node_id,omitempty"`

	// 最后一次执行用户
	LastExeAuthor *string `json:"last_exe_author,omitempty"`

	// 运营商
	CloudCarrier *string `json:"cloud_carrier,omitempty"`

	// 应用市场
	MarketPlace *string `json:"market_place,omitempty"`

	// 脑图id
	TestMindId *string `json:"test_mind_id,omitempty"`

	// 脑图url
	TestMindUrl *string `json:"test_mind_url,omitempty"`

	// git提交url
	CommitUrl *string `json:"commit_url,omitempty"`

	// 测试模式编号
	TestPatternNumber *string `json:"test_pattern_number,omitempty"`

	// 测试因子编号
	TestFactorNumber *string `json:"test_factor_number,omitempty"`

	// 状态Code
	StatusCode *string `json:"status_code,omitempty"`

	// 结果Code
	ResultCode *string `json:"result_code,omitempty"`

	// 迭代ID
	ReleaseId *string `json:"release_id,omitempty"`

	// 标签ID
	LabelId *string `json:"label_id,omitempty"`

	// 用例标签名称列表
	Labels *string `json:"labels,omitempty"`

	// 模块ID
	ModuleId *string `json:"module_id,omitempty"`

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

	// 模块path
	ModulePath *string `json:"module_path,omitempty"`

	// 模块路径名称
	ModulePathName *string `json:"module_path_name,omitempty"`

	// 最后执行时间
	ExecuteLatestTime *sdktime.SdkTime `json:"execute_latest_time,omitempty"`

	// 执行时长
	ExecuteDuration *string `json:"execute_duration,omitempty"`

	// 执行次数
	ExecuteTimes *int32 `json:"execute_times,omitempty"`

	// 是否关键用例
	IsKeyword *int32 `json:"is_keyword,omitempty"`

	// 测试版本号
	ReleaseDev *string `json:"release_dev,omitempty"`

	// 是否用户新增用例
	NewCreated *string `json:"new_created,omitempty"`

	// 项目ID
	ProjectUuid *string `json:"project_uuid,omitempty"`

	// 创建版本名称,原逻辑marshall添加字段
	CreationVersionName *string `json:"creation_version_name,omitempty"`

	// 特性路径,原逻辑marshall添加字段
	FeaturePath *string `json:"feature_path,omitempty"`

	// 实体用例Uri,IteratorTestCase字段
	TestcaseUri *string `json:"testcase_uri,omitempty"`

	// 处理人名称
	OwnerName *string `json:"owner_name,omitempty"`

	// 迭代用例Uri,IteratorTestCase字段
	IteratorCaseUri *string `json:"iterator_case_uri,omitempty"`

	// 脚本链接scriptLink
	ScriptLink *string `json:"script_link,omitempty"`

	// 自定义字段1
	CustomField1 *string `json:"custom_field_1,omitempty"`

	// 自定义字段2
	CustomField2 *string `json:"custom_field_2,omitempty"`

	// 自定义字段3
	CustomField3 *string `json:"custom_field_3,omitempty"`

	// 自定义字段4
	CustomField4 *string `json:"custom_field_4,omitempty"`

	// 自定义字段5
	CustomField5 *string `json:"custom_field_5,omitempty"`

	// 自定义字段6
	CustomField6 *string `json:"custom_field_6,omitempty"`

	// 自定义字段7
	CustomField7 *string `json:"custom_field_7,omitempty"`

	// 自定义字段8
	CustomField8 *string `json:"custom_field_8,omitempty"`

	// 自定义字段9
	CustomField9 *string `json:"custom_field_9,omitempty"`

	// 自定义字段10
	CustomField10 *string `json:"custom_field_10,omitempty"`

	// 自定义字段11
	CustomField11 *string `json:"custom_field_11,omitempty"`

	// 自定义字段12
	CustomField12 *string `json:"custom_field_12,omitempty"`

	// 自定义字段13
	CustomField13 *string `json:"custom_field_13,omitempty"`

	// 自定义字段14
	CustomField14 *string `json:"custom_field_14,omitempty"`

	// 自定义字段15
	CustomField15 *string `json:"custom_field_15,omitempty"`

	// 自定义字段16
	CustomField16 *string `json:"custom_field_16,omitempty"`

	// 自定义字段17
	CustomField17 *string `json:"custom_field_17,omitempty"`

	// 自定义字段18
	CustomField18 *string `json:"custom_field_18,omitempty"`

	// 自定义字段19
	CustomField19 *string `json:"custom_field_19,omitempty"`

	// 自定义字段20
	CustomField20 *string `json:"custom_field_20,omitempty"`

	// 自定义字段21
	CustomField21 *string `json:"custom_field_21,omitempty"`

	// 自定义字段22
	CustomField22 *string `json:"custom_field_22,omitempty"`

	// 自定义字段23
	CustomField23 *string `json:"custom_field_23,omitempty"`

	// 自定义字段24
	CustomField24 *string `json:"custom_field_24,omitempty"`

	// 自定义字段25
	CustomField25 *string `json:"custom_field_25,omitempty"`

	// 更新人名称
	LastModifierName *string `json:"last_modifier_name,omitempty"`

	// 迭代
	VersionName *string `json:"version_name,omitempty"`

	// 测试步骤
	Steps *[]TestCaseStepVo `json:"steps,omitempty"`

	// 是否关联缺陷
	AssociateDefect *bool `json:"associate_defect,omitempty"`

	// 是否关联需求
	AssociateIssue *bool `json:"associate_issue,omitempty"`

	// 缺陷关联信息
	DefectList     *[]NameAndIdVo `json:"defect_list,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowTestCaseResponse Response Object

func (ShowTestCaseResponse) String added in v0.1.100

func (o ShowTestCaseResponse) String() string

type ShowUserAccessInfoRequest added in v0.1.100

type ShowUserAccessInfoRequest struct {

	// 项目ID
	ProjectUuid *string `json:"project_uuid,omitempty"`
}

ShowUserAccessInfoRequest Request Object

func (ShowUserAccessInfoRequest) String added in v0.1.100

func (o ShowUserAccessInfoRequest) String() string

type ShowUserAccessInfoResponse added in v0.1.100

type ShowUserAccessInfoResponse struct {

	// 对外时:success|error;
	Status *string `json:"status,omitempty"`

	Result         *ResultValueStringForOk `json:"result,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ShowUserAccessInfoResponse Response Object

func (ShowUserAccessInfoResponse) String added in v0.1.100

type ShowUserExecuteTestCaseInfoRequest added in v0.1.54

type ShowUserExecuteTestCaseInfoRequest struct {

	// 项目ID,固定长度32位字符(字母和数字)。
	ProjectId string `json:"project_id"`

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

ShowUserExecuteTestCaseInfoRequest Request Object

func (ShowUserExecuteTestCaseInfoRequest) String added in v0.1.54

type ShowUserExecuteTestCaseInfoRequestBody added in v0.1.54

type ShowUserExecuteTestCaseInfoRequestBody struct {

	// 起始偏移量,表示从此偏移量开始查询,offset大于等于0,小于等于20000
	Offset int32 `json:"offset"`

	// 每页显示的条目数量,最大支持100条
	Limit int32 `json:"limit"`

	// 用例执行时间段开始
	ExecuteStartTime string `json:"execute_start_time"`

	// 用例执行时间段截止
	ExecuteEndTime string `json:"execute_end_time"`
}

ShowUserExecuteTestCaseInfoRequestBody 查询时段内用例的执行情况请求体

func (ShowUserExecuteTestCaseInfoRequestBody) String added in v0.1.54

type ShowUserExecuteTestCaseInfoResponse added in v0.1.54

type ShowUserExecuteTestCaseInfoResponse struct {

	// 起始记录数大于实际总条数时,值为0。
	Total *int32 `json:"total,omitempty"`

	// 时段内用例的执行情况
	Values         *[]ExternalUserExecuteInfo `json:"values,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

ShowUserExecuteTestCaseInfoResponse Response Object

func (ShowUserExecuteTestCaseInfoResponse) String added in v0.1.54

type SimpleIssueVo added in v0.1.100

type SimpleIssueVo struct {

	// ID
	Id *string `json:"id,omitempty"`

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

	// 层级路径
	Path *string `json:"path,omitempty"`

	// 类型
	TrackerName *string `json:"tracker_name,omitempty"`
}

SimpleIssueVo 需求

func (SimpleIssueVo) String added in v0.1.100

func (o SimpleIssueVo) String() string

type SystemConfig added in v0.1.100

type SystemConfig struct {

	// 配置项主键
	Id *string `json:"id,omitempty"`

	// 系统配置名称
	Key *string `json:"key,omitempty"`

	// 系统配置状态
	Value *string `json:"value,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

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

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

	// 更新时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 更新人名称
	UpdateName *string `json:"update_name,omitempty"`

	// 更新人编号
	UpdateNum *string `json:"update_num,omitempty"`
}

func (SystemConfig) String added in v0.1.100

func (o SystemConfig) String() string

type TestCaseExecuteBean

type TestCaseExecuteBean struct {

	// 测试用例唯一标识,列表中不允许存在重复的id,固定长度32位字符
	TestcaseId string `json:"testcase_id"`

	// 注册服务执行id,该值不允许重复,不超过32位字符
	ExecuteId string `json:"execute_id"`

	// 测试用例结果,(0-成功,1-失败,5-执行中,6-停止)
	ResultId string `json:"result_id"`

	// 用例开始执行的时间戳,在执行开始时该字段必传
	StartTime int64 `json:"start_time"`
}

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

func (TestCaseExecuteBean) String

func (o TestCaseExecuteBean) String() string

type TestCaseStepVo added in v0.1.100

type TestCaseStepVo struct {

	// 测试步骤
	TestStep *string `json:"test_step,omitempty"`

	// 预期结果
	ExpectResult *string `json:"expect_result,omitempty"`
}

TestCaseStepVo 用例测试步骤和预期结果

func (TestCaseStepVo) String added in v0.1.100

func (o TestCaseStepVo) String() string

type TestCaseVo added in v0.1.90

type TestCaseVo struct {

	// 用例ID
	Uri *string `json:"uri,omitempty"`

	// 用例编号
	Number *string `json:"number,omitempty"`

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

	// 工作项id
	DrRelationId *string `json:"dr_relation_id,omitempty"`

	// 状态ID
	StatusCode *string `json:"status_code,omitempty"`

	// 状态名称
	StatusName *string `json:"status_name,omitempty"`

	// 创建人名称
	Author *string `json:"author,omitempty"`

	// 创建人ID
	AuthorId *string `json:"author_id,omitempty"`

	// 处理人名称
	Owner *string `json:"owner,omitempty"`

	// 项目ID
	ProjectUuid *string `json:"project_uuid,omitempty"`

	// 创建时间
	CreationDate *string `json:"creation_date,omitempty"`
}

func (TestCaseVo) String added in v0.1.90

func (o TestCaseVo) String() string

type TestItemVo added in v0.1.100

type TestItemVo struct {

	// 资源URI
	Uri *string `json:"uri,omitempty"`

	// 资源类型
	Type *string `json:"type,omitempty"`

	// 创建人
	Author *string `json:"author,omitempty"`

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

	// 级别
	Rank *int32 `json:"rank,omitempty"`

	// 责任人
	Owner *string `json:"owner,omitempty"`

	// frequence值
	Frequence *string `json:"frequence,omitempty"`

	// 区域
	Region *string `json:"region,omitempty"`

	// 最后修改人
	LastModifier *string `json:"last_modifier,omitempty"`

	// 最后修改时间
	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	// 修改时间时间戳
	LastModifiedTimestamp *int64 `json:"last_modified_timestamp,omitempty"`

	// 最后变更时间
	LastChangeTime *sdktime.SdkTime `json:"last_change_time,omitempty"`

	// 版本URI
	VersionUri *string `json:"version_uri,omitempty"`

	// 源资源URI
	OriginUri *string `json:"origin_uri,omitempty"`

	// 父资源URI
	ParentUri *string `json:"parent_uri,omitempty"`

	// 父资源路径
	ParentPath *string `json:"parent_path,omitempty"`

	// 创建版本URI
	CreationVersionUri *string `json:"creation_version_uri,omitempty"`

	// 创建时间
	CreationDate *sdktime.SdkTime `json:"creation_date,omitempty"`

	// 创建时间时间戳
	CreationDateTimestamp *int64 `json:"creation_date_timestamp,omitempty"`

	// 创建人名称
	AuthorName *string `json:"author_name,omitempty"`

	// 备注
	Comment *string `json:"comment,omitempty"`

	// 编号
	Number *string `json:"number,omitempty"`

	// 是否特性
	IsFeature *string `json:"is_feature,omitempty"`

	// 是否关联特性
	RelateHtsm *string `json:"relate_htsm,omitempty"`

	// aw id
	AwUniqueId *string `json:"aw_unique_id,omitempty"`

	// 脑图id
	TestMindId *string `json:"test_mind_id,omitempty"`

	// 脑图url
	TestMindUrl *string `json:"test_mind_url,omitempty"`

	// 项目id
	ProjectUuid *string `json:"project_uuid,omitempty"`

	// 用例总数
	CaseTotal *int32 `json:"case_total,omitempty"`

	// 执行总数
	ExecdTotal *int32 `json:"execd_total,omitempty"`

	// is_direct_relation
	IsDirectRelation *bool `json:"is_direct_relation,omitempty"`

	// 是否有子特性
	HasChild *bool `json:"has_child,omitempty"`
}

TestItemVo 实际的数据类型:单个对象,集合 或 NULL

func (TestItemVo) String added in v0.1.100

func (o TestItemVo) String() string

type TestPlanDetail added in v0.0.74

type TestPlanDetail struct {

	// 测试计划id
	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"`

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

	// 当前测试计划所处的阶段
	CurrentStage *string `json:"current_stage,omitempty"`

	// 获取超期时间,正值表示已超期
	ExpireDay *int32 `json:"expire_day,omitempty"`

	Creator *TestPlanDetailCreator `json:"creator,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"`
}

TestPlanDetail 测试计划详情

func (TestPlanDetail) String added in v0.0.74

func (o TestPlanDetail) String() string

type TestPlanDetailCreator added in v0.0.81

type TestPlanDetailCreator struct {

	// 测试计划创建者id
	Id *string `json:"id,omitempty"`

	// 测试计划创建者的昵称,当用户未设置昵称时不返回该字段
	NickName *string `json:"nick_name,omitempty"`

	// 测试计划创建者的用户名称
	UserName *string `json:"user_name,omitempty"`
}

TestPlanDetailCreator 测试计划创建者信息

func (TestPlanDetailCreator) String added in v0.0.81

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

TestPlanDetailDesignStage 测试计划设计阶段信息

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

TestPlanDetailExecuteStage 测试计划执行阶段信息

func (TestPlanDetailExecuteStage) String added in v0.0.74

type TestPlanDetailOwner added in v0.0.74

type TestPlanDetailOwner struct {

	// 测试计划处理者id
	Id *string `json:"id,omitempty"`

	// 测试计划处理者名称,优先返回nickName,不存在则返回userName
	Name *string `json:"name,omitempty"`

	// 测试计划处理者的昵称,当用户未设置昵称时不返回该字段
	NickName *string `json:"nick_name,omitempty"`

	// 测试计划处理者的用户名称
	UserName *string `json:"user_name,omitempty"`
}

TestPlanDetailOwner 测试计划处理者信息

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

TestPlanDetailReportStage 测试计划完成阶段信息

func (TestPlanDetailReportStage) String added in v0.0.74

func (o TestPlanDetailReportStage) String() string

type TestPlanIssueDetail added in v0.0.74

type TestPlanIssueDetail struct {

	// 项目id,项目唯一标识,固定长度32位字符
	ProjectId *string `json:"project_id,omitempty"`

	// 测试计划id
	PlanId *string `json:"plan_id,omitempty"`

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

	// region信息
	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"`
}

TestPlanIssueDetail 测试计划需求列表详情

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

	// 表明该条变更记录的具体变更类型,例如测试用例(testCase),需求(issue)
	JournalizedType *string `json:"journalized_type,omitempty"`

	// 表明该条变更记录属于基础信息变更还是资源(需求添加移除、用例添加移除)变更
	Type *string `json:"type,omitempty"`
}

TestPlanJournalDetail 测试计划操作历史详情

func (TestPlanJournalDetail) String added in v0.0.74

func (o TestPlanJournalDetail) String() string

type TestPlanJournalList added in v0.0.74

type TestPlanJournalList struct {

	// 项目id,项目唯一标识,固定长度32位字符
	ProjectId *string `json:"project_id,omitempty"`

	// 测试计划id
	PlanId *string `json:"plan_id,omitempty"`

	// 变更时间
	OperateTime *string `json:"operate_time,omitempty"`

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

	// 历史记录详情
	Detail *[]TestPlanJournalDetail `json:"detail,omitempty"`
}

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

func (TestPlanJournalList) String added in v0.0.74

func (o TestPlanJournalList) String() string

type TestReportInfoRequestBody added in v0.1.71

type TestReportInfoRequestBody struct {

	// 测试计划id,(plan_id和branch_id不能同时为空,优先取plan_id)
	PlanId *string `json:"plan_id,omitempty"`

	// 分支id,(plan_id和branch_id不能同时为空,优先取plan_id)
	BranchId *string `json:"branch_id,omitempty"`

	// 模块ID(查询未设置传入-2)
	ModuleId *string `json:"module_id,omitempty"`

	// 筛选迭代ID(查询未设置传入-2)
	FixedVersionId *string `json:"fixed_version_id,omitempty"`
}

TestReportInfoRequestBody 查询质量报告看板统计信息请求体

func (TestReportInfoRequestBody) String added in v0.1.71

func (o TestReportInfoRequestBody) String() string

type TestReportVo added in v0.1.100

type TestReportVo struct {

	// 测试报告Uri
	Uri *string `json:"uri,omitempty"`

	// 测试报告名称
	Name *string `json:"name,omitempty"`

	// 创建人ID
	Creator *string `json:"creator,omitempty"`

	// 修改人ID
	Updator *string `json:"updator,omitempty"`

	// 测试计划Uri
	VersionUri *string `json:"version_uri,omitempty"`

	// 分支Uri
	BranchUri *string `json:"branch_uri,omitempty"`

	// 测试计划名称
	VersionName *string `json:"version_name,omitempty"`

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

	// 测试结论
	TestConclusion *string `json:"test_conclusion,omitempty"`

	// 测试结论描述
	TestConclusionDetails *string `json:"test_conclusion_details,omitempty"`

	// 缺陷解决率
	DefectResolutionRate *string `json:"defect_resolution_rate,omitempty"`

	// 缺陷解决分数
	DefectResolutionScore *string `json:"defect_resolution_score,omitempty"`

	// 用例执行率
	CaseExecutionRate *string `json:"case_execution_rate,omitempty"`

	// 用例执行分数
	CaseExecutionScore *string `json:"case_execution_score,omitempty"`

	// 用例通过率
	CasePassRate *string `json:"case_pass_rate,omitempty"`

	// 用例通过分数
	CasePassScore *string `json:"case_pass_score,omitempty"`

	// 需求通过率
	IssuePassRate *string `json:"issue_pass_rate,omitempty"`

	// 需求通过分数
	IssuePassScore *string `json:"issue_pass_score,omitempty"`

	// 需求覆盖率
	IssueCoverageRate *string `json:"issue_coverage_rate,omitempty"`

	// 需求覆盖分数
	IssueCoverageScore *string `json:"issue_coverage_score,omitempty"`

	// 项目总遗留DI
	ProjectResidualDefectIndex *string `json:"project_residual_defect_index,omitempty"`

	// 计划新增DI
	IteratorResidualDefectIndex *string `json:"iterator_residual_defect_index,omitempty"`

	CaseAutomationDetails *CaseAutomationDetailsVo `json:"case_automation_details,omitempty"`

	// 用例有效性比例
	CaseValidityRatio *string `json:"case_validity_ratio,omitempty"`

	IssueDetails *IssuePassDetailsVo `json:"issue_details,omitempty"`

	// 用例通过情况
	CaseDetails *[]NameAndValueVo `json:"case_details,omitempty"`

	// 缺陷严重程度
	DefectDetailsBySeverity *[]IdAndNameAndValueVo `json:"defect_details_by_severity,omitempty"`

	// 缺陷按照模块分布情况
	DefectDetailsByModule *[]IdAndNameAndValueVo `json:"defect_details_by_module,omitempty"`

	// 每个测试类型的用例通过率
	CasePassRateByTestType *[]DetailTestTypeCasePassRateVo `json:"case_pass_rate_by_test_type,omitempty"`

	// 测试报告自定义报告详情
	TestReportCustomReportDetail *[]CustomReportListVo `json:"test_report_custom_report_detail,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 创建时间戳
	CreateTimestamp *int64 `json:"create_timestamp,omitempty"`

	// 创建人名
	CreatorName *string `json:"creator_name,omitempty"`

	// 修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 修改时间戳
	UpdateTimestamp *int64 `json:"update_timestamp,omitempty"`

	// 修改人名
	UpdatorName *string `json:"updator_name,omitempty"`

	// 项目ID
	ProjectUuid *string `json:"project_uuid,omitempty"`

	// 风险分析
	RiskAnalysis *string `json:"risk_analysis,omitempty"`
}

func (TestReportVo) String added in v0.1.100

func (o TestReportVo) String() string

type TestVersionVo added in v0.1.100

type TestVersionVo struct {

	// 资源URI
	Uri *string `json:"uri,omitempty"`

	// 资源类型
	Type *string `json:"type,omitempty"`

	// 创建人
	Author *string `json:"author,omitempty"`

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

	// 级别
	Rank *int32 `json:"rank,omitempty"`

	// 待测版本
	Version *string `json:"version,omitempty"`

	// 处理者ID
	Owner *string `json:"owner,omitempty"`

	// 创建人ID
	Creator *string `json:"creator,omitempty"`

	// 关联迭代
	Iterations *string `json:"iterations,omitempty"`

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

	// 区域
	Region *string `json:"region,omitempty"`

	// 最后修改人
	LastModifier *string `json:"last_modifier,omitempty"`

	// 最后修改时间
	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	// 修改时间时间戳
	LastModifiedTimestamp *int64 `json:"last_modified_timestamp,omitempty"`

	// 最后变更时间
	LastChangeTime *sdktime.SdkTime `json:"last_change_time,omitempty"`

	// 版本URI
	VersionUri *string `json:"version_uri,omitempty"`

	// 源资源URI
	OriginUri *string `json:"origin_uri,omitempty"`

	// 父资源URI
	ParentUri *string `json:"parent_uri,omitempty"`

	// 父资源路径
	ParentPath *string `json:"parent_path,omitempty"`

	// 创建版本URI
	CreationVersionUri *string `json:"creation_version_uri,omitempty"`

	// 创建时间
	CreationDate *sdktime.SdkTime `json:"creation_date,omitempty"`

	// 创建时间时间戳
	CreationDateTimestamp *int64 `json:"creation_date_timestamp,omitempty"`

	// 创建人名称
	AuthorName *string `json:"author_name,omitempty"`

	// 备注
	Comment *string `json:"comment,omitempty"`

	// 编号
	Number *string `json:"number,omitempty"`

	// 是否为Master分支
	IsMaster *int32 `json:"is_master,omitempty"`

	// 是否为迭代
	IsIterator *int32 `json:"is_iterator,omitempty"`

	// 开始时间
	PlanStartDate *sdktime.SdkTime `json:"plan_start_date,omitempty"`

	// 结束时间
	PlanEndDate *sdktime.SdkTime `json:"plan_end_date,omitempty"`

	// 微服务ID
	ServiceId *string `json:"service_id,omitempty"`

	// 微服务名
	ServiceName *string `json:"service_name,omitempty"`

	// PBI ID
	PbiId *string `json:"pbi_id,omitempty"`

	// PBI信息
	PbiName *string `json:"pbi_name,omitempty"`

	// 计划ID
	PlanId *string `json:"plan_id,omitempty"`

	// 度量PBI ID
	MetricPbiIds *string `json:"metric_pbi_ids,omitempty"`

	// 度量PBI名称
	MetricPbiIdNames *string `json:"metric_pbi_id_names,omitempty"`

	// 最后同步时间
	LastSynDate *sdktime.SdkTime `json:"last_syn_date,omitempty"`

	// 版本是否关闭
	IsClosed *string `json:"is_closed,omitempty"`

	// 是否同步git库
	AsynGit *string `json:"asyn_git,omitempty"`

	// schema编号
	SchemaNo *int32 `json:"schema_no,omitempty"`

	// 迭代实际完成时间
	FinishDate *sdktime.SdkTime `json:"finish_date,omitempty"`

	// 处理者名称
	OwnerName *string `json:"owner_name,omitempty"`

	// 创建人名称
	CreatorName *string `json:"creator_name,omitempty"`

	// 当前所处阶段
	CurrentStage *string `json:"current_stage,omitempty"`

	// 服务类型
	ServiceTypes *string `json:"service_types,omitempty"`

	// 风险等级
	RiskRating *int32 `json:"risk_rating,omitempty"`

	// 风险描述
	RiskDes *string `json:"risk_des,omitempty"`

	// 项目ID
	ProjectUuid *string `json:"project_uuid,omitempty"`

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

	// pi的id
	PiId *string `json:"pi_id,omitempty"`
}

TestVersionVo 实际的数据类型:单个对象,集合 或 NULL

func (TestVersionVo) String added in v0.1.100

func (o TestVersionVo) String() string

type TestcaseResult added in v0.1.50

type TestcaseResult struct {

	// 结果
	ExecuteResultId *string `json:"execute_result_id,omitempty"`

	// 测试用例状态
	ExecuteStatus *string `json:"execute_status,omitempty"`

	// 失败原因
	FailureCause *string `json:"failure_cause,omitempty"`

	// 任务id
	TaskId *string `json:"task_id,omitempty"`

	// 测试计划id
	PlanId *string `json:"plan_id,omitempty"`

	// 开始时间
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间
	EndTime *string `json:"end_time,omitempty"`

	// 执行测试用例用户id
	ExecutorId *string `json:"executor_id,omitempty"`

	// 执行测试用例用户name
	ExecutorName *string `json:"executor_name,omitempty"`
}

TestcaseResult 测试用例结果

func (TestcaseResult) String added in v0.1.50

func (o TestcaseResult) String() string

type UpdateServiceRequest

type UpdateServiceRequest struct {

	// 注册服务唯一标识,该值由注册接口返回
	ServiceId int32 `json:"service_id"`

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

UpdateServiceRequest Request Object

func (UpdateServiceRequest) String

func (o UpdateServiceRequest) String() string

type UpdateServiceResponse

type UpdateServiceResponse struct {

	// 接口调用成功返回的服务名
	ServiceName *string `json:"service_name,omitempty"`

	// 接口调用成功返回的服务id
	ServiceId *int32 `json:"service_id,omitempty"`

	// 接口调用成功不返回,调用失败错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 接口调用成功不返回,调用失败错误信息
	ErrorMsg       *string `json:"error_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateServiceResponse Response Object

func (UpdateServiceResponse) String

func (o UpdateServiceResponse) String() string

type UpdateTestCaseRequest

type UpdateTestCaseRequest struct {

	// 项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

	// 测试用例唯一标识,固定长度32位字符
	TestcaseId string `json:"testcase_id"`

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

UpdateTestCaseRequest Request Object

func (UpdateTestCaseRequest) String

func (o UpdateTestCaseRequest) String() string

type UpdateTestCaseRequestBody

type UpdateTestCaseRequestBody struct {

	// 页面上显示的用例名称,长度为[3-128]位字符
	Name string `json:"name"`

	// 注册测试类型服务接口返回的服务id,取值范围为10-9999
	ServiceId int32 `json:"service_id"`

	// 测试用例等级,可选值为[0,1,2,3,4],不填时默认为2
	RankId *string `json:"rank_id,omitempty"`

	// 用例编号,不填该值时会自动生成,长度为[3-128]位字符
	TestcaseNumber *string `json:"testcase_number,omitempty"`

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

UpdateTestCaseRequestBody 更新测试用例信息请求体

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

	// 注册测试类型服务接口返回的服务id
	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:"-"`
}

UpdateTestCaseResponse Response Object

func (UpdateTestCaseResponse) String

func (o UpdateTestCaseResponse) String() string

type UpdateTestCaseResultBean

type UpdateTestCaseResultBean struct {

	// 测试用例唯一标识,列表中不允许存在重复的id,固定长度32位字符
	TestcaseId string `json:"testcase_id"`

	// 注册服务执行id,该值不允许重复,不超过32位字符
	ExecuteId string `json:"execute_id"`

	// 测试用例结果,(0-成功,1-失败,5-执行中,6-停止)
	ResultId string `json:"result_id"`

	// 用例结束执行的时间戳,在执行结束时该字段必传
	EndTime int64 `json:"end_time"`

	// 执行用例持续时长ms,更新状态时改字段必传
	Duration *int64 `json:"duration,omitempty"`

	// 用于记录该次结果执行的备注信息
	Description *string `json:"description,omitempty"`
}

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

func (UpdateTestCaseResultBean) String

func (o UpdateTestCaseResultBean) String() string

type UpdateTestCaseResultRequest

type UpdateTestCaseResultRequest struct {

	// 项目唯一标识,固定长度32位字符
	ProjectId string `json:"project_id"`

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

UpdateTestCaseResultRequest Request Object

func (UpdateTestCaseResultRequest) String

type UpdateTestCaseResultRequestBody

type UpdateTestCaseResultRequestBody struct {

	// 注册测试类型服务接口返回的服务id
	ServiceId int32 `json:"service_id"`

	// 测试用例状态信息,数组长度小于等于50
	ExecuteList []UpdateTestCaseResultBean `json:"execute_list"`
}

UpdateTestCaseResultRequestBody 更新测试用例状态请求体

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

UpdateTestCaseResultResponse Response Object

func (UpdateTestCaseResultResponse) String

type UsageInfos added in v0.1.100

type UsageInfos struct {

	// 资源名称
	Name *string `json:"name,omitempty"`

	// 资源标识
	Id *string `json:"id,omitempty"`

	// 资源总量
	Amount *string `json:"amount,omitempty"`

	// 已消耗用量
	Used *string `json:"used,omitempty"`

	// 资源已用容量百分比,例如80% 值为80
	UsedPercent *int32 `json:"used_percent,omitempty"`

	// 版本超限信息
	UsageInfo *[]UsageInfos `json:"usage_info,omitempty"`
}

UsageInfos 资源已用容量对象

func (UsageInfos) String added in v0.1.100

func (o UsageInfos) String() string

type VariableRes added in v0.1.100

type VariableRes struct {
	ByOrder *int32 `json:"by_order,omitempty"`

	Category *string `json:"category,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	CreateTimeStamp *int64 `json:"create_time_stamp,omitempty"`

	CreateTimeString *string `json:"create_time_string,omitempty"`

	// 创建人
	CreateUser *string `json:"create_user,omitempty"`

	CurrentPermission *string `json:"currentPermission,omitempty"`

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

	DynamicParamFlag *bool `json:"dynamicParamFlag,omitempty"`

	FunctionParams *string `json:"functionParams,omitempty"`

	GroupId *string `json:"groupId,omitempty"`

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

	IsSensitiveInfo *bool `json:"isSensitiveInfo,omitempty"`

	IsSensitiveModified *bool `json:"isSensitiveModified,omitempty"`

	Locked *int32 `json:"locked,omitempty"`

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

	NodeId *string `json:"node_id,omitempty"`

	NodeType *int32 `json:"node_type,omitempty"`

	ParentId *string `json:"parent_id,omitempty"`

	ParentNodeId *string `json:"parent_node_id,omitempty"`

	Property *string `json:"property,omitempty"`

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

	SensitiveInfoSetterTime *string `json:"sensitiveInfoSetterTime,omitempty"`

	SensitiveInfoSetterUser *string `json:"sensitiveInfoSetterUser,omitempty"`

	SourceId *string `json:"sourceId,omitempty"`

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

	// 更新时间
	UpdateTime *string `json:"update_time,omitempty"`

	UpdateTimeStamp *int64 `json:"update_time_stamp,omitempty"`

	UpdateTimeString *string `json:"update_time_string,omitempty"`

	// 更新人
	UpdateUser *string `json:"update_user,omitempty"`

	VariableType *int32 `json:"variableType,omitempty"`
}

func (VariableRes) String added in v0.1.100

func (o VariableRes) String() string

type WorkItemVo added in v0.1.100

type WorkItemVo struct {

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

	// 处理人
	Owner *string `json:"owner,omitempty"`

	// 工作项路径
	Path *string `json:"path,omitempty"`

	// 预计开始日期
	StartDate *string `json:"start_date,omitempty"`

	// 预计结束日期
	DueDate *string `json:"due_date,omitempty"`

	// 逻辑region,外部使用公有云实际区域,内部使用默认值
	Region *string `json:"region,omitempty"`

	// 创建人
	Creator *string `json:"creator,omitempty"`

	// 更新人
	Updator *string `json:"updator,omitempty"`

	// 项目ID,外部使用项目ID,内部使用默认值
	ProjectUuid *string `json:"project_uuid,omitempty"`

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

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

	// 状态
	StatusName *string `json:"status_name,omitempty"`

	// 类型ID
	TrackerId *string `json:"tracker_id,omitempty"`

	// 类型
	TrackerName *string `json:"tracker_name,omitempty"`

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

	// 模块ID
	ModuleId *string `json:"module_id,omitempty"`

	// 重要程度ID
	SeverityId *string `json:"severity_id,omitempty"`

	// 重要程度
	SeverityName *string `json:"severity_name,omitempty"`

	// 父工作项编号
	ParentWorkitemId *string `json:"parent_workitem_id,omitempty"`

	// 看板ID
	BoardId *string `json:"board_id,omitempty"`

	// 看板
	BoardName *string `json:"board_name,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 迭代名
	IterationName *string `json:"iteration_name,omitempty"`

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

	// 模块path
	ModulePath *string `json:"module_path,omitempty"`

	// 模块路径名称
	ModulePathName *string `json:"module_path_name,omitempty"`

	// 处理人
	OwnerName *string `json:"owner_name,omitempty"`

	// 父工作项下是否有子工作项包含动态
	HaveChildDynamic *bool `json:"have_child_dynamic,omitempty"`

	// 父工作项下是否有子工作项
	HasChild *bool `json:"has_child,omitempty"`

	// 需求动态数量
	IssueDynamicCount *int32 `json:"issue_dynamic_count,omitempty"`

	// 用例数量
	CaseCount *int32 `json:"case_count,omitempty"`

	// xBoard项目工作项序列号
	SequenceId *string `json:"sequence_id,omitempty"`

	// pi的id,层级关系:pi -> 迭代 -> 需求
	PiId *string `json:"pi_id,omitempty"`

	// 迭代ID
	PiName *string `json:"pi_name,omitempty"`
}

func (WorkItemVo) String added in v0.1.100

func (o WorkItemVo) String() string

Source Files

Jump to

Keyboard shortcuts

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