model

package
v0.0.58 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeMessageResq

type CodeMessageResq struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`
}

func (CodeMessageResq) String

func (o CodeMessageResq) String() string

type CreateCaseRequest

type CreateCaseRequest struct {
	Body *CreateCaseRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateCaseRequest) String

func (o CreateCaseRequest) String() string

type CreateCaseRequestBody

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

	Type int32 `json:"type"`

	TaskId int32 `json:"task_id"`
}

CreateCaseRequestBody

func (CreateCaseRequestBody) String

func (o CreateCaseRequestBody) String() string

type CreateCaseResponse

type CreateCaseResponse struct {
	Code *string `json:"code,omitempty"`

	Json *CreateCaseResqJson `json:"json,omitempty"`

	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateCaseResponse) String

func (o CreateCaseResponse) String() string

type CreateCaseResqJson

type CreateCaseResqJson struct {
	TaskCaseId *int32 `json:"task_case_id,omitempty"`
}

json

func (CreateCaseResqJson) String

func (o CreateCaseResqJson) String() string

type CreateProjectRequest

type CreateProjectRequest struct {
	Body *CreateProjectRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateProjectRequest) String

func (o CreateProjectRequest) String() string

type CreateProjectRequestBody

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

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

CreateProjectRequestBody

func (CreateProjectRequestBody) String

func (o CreateProjectRequestBody) String() string

type CreateProjectResponse

type CreateProjectResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

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

Response Object

func (CreateProjectResponse) String

func (o CreateProjectResponse) String() string

type CreateTaskRequest

type CreateTaskRequest struct {
	Body *CreateTaskRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateTaskRequest) String

func (o CreateTaskRequest) String() string

type CreateTaskRequestBody

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

	ProjectId int32 `json:"project_id"`

	Temps *[]string `json:"temps,omitempty"`

	OperateMode *int32 `json:"operate_mode,omitempty"`

	BenchConcurrent *int32 `json:"bench_concurrent,omitempty"`
}

CreateTaskRequestBody

func (CreateTaskRequestBody) String

func (o CreateTaskRequestBody) String() string

type CreateTaskResponse

type CreateTaskResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	TaskId         *int32 `json:"task_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateTaskResponse) String

func (o CreateTaskResponse) String() string

type CreateTempRequest

type CreateTempRequest struct {
	Body *CreateTempRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateTempRequest) String

func (o CreateTempRequest) String() string

type CreateTempRequestBody

type CreateTempRequestBody struct {
	ProjectId int32 `json:"project_id"`

	TempType int32 `json:"temp_type"`

	Name string `json:"name"`

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

CreateTempRequestBody

func (CreateTempRequestBody) String

func (o CreateTempRequestBody) String() string

type CreateTempResponse

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

Response Object

func (CreateTempResponse) String

func (o CreateTempResponse) String() string

type CreateVariableRequest

type CreateVariableRequest struct {
	TestSuiteId int32 `json:"test_suite_id"`

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

Request Object

func (CreateVariableRequest) String

func (o CreateVariableRequest) String() string

type CreateVariableRequestBody

type CreateVariableRequestBody struct {
	Id int32 `json:"id"`

	Name string `json:"name"`

	VariableType int32 `json:"variable_type"`

	Variable []interface{} `json:"variable"`
}

CreateVariableRequestBody

func (CreateVariableRequestBody) String

func (o CreateVariableRequestBody) String() string

type CreateVariableResponse

type CreateVariableResponse struct {
	Code *string `json:"code,omitempty"`

	Json *CreateVariableResqJson `json:"json,omitempty"`

	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateVariableResponse) String

func (o CreateVariableResponse) String() string

type CreateVariableResqJson

type CreateVariableResqJson struct {
	VariableId *int32 `json:"variable_id,omitempty"`
}

json

func (CreateVariableResqJson) String

func (o CreateVariableResqJson) String() string

type DebugCaseRequest

type DebugCaseRequest struct {
	TestSuiteId int32 `json:"test_suite_id"`

	TaskId int32 `json:"task_id"`

	CaseId int32 `json:"case_id"`

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

Request Object

func (DebugCaseRequest) String

func (o DebugCaseRequest) String() string

type DebugCaseRequestBody

type DebugCaseRequestBody struct {
	Status int32 `json:"status"`

	ClusterId int32 `json:"cluster_id"`

	ClusterType string `json:"cluster_type"`

	WithoutPackage int32 `json:"without_package"`
}

DebugCaseRequestBody

func (DebugCaseRequestBody) String

func (o DebugCaseRequestBody) String() string

type DebugCaseResponse

type DebugCaseResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	Extend *string `json:"extend,omitempty"`

	Result         *[]DebugCaseResqResult `json:"result,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (DebugCaseResponse) String

func (o DebugCaseResponse) String() string

type DebugCaseResqHeader

type DebugCaseResqHeader struct {
	Connection *string `json:"Connection,omitempty"`

	ContentType *string `json:"Content-Type,omitempty"`

	Host *string `json:"Host,omitempty"`
}

header

func (DebugCaseResqHeader) String

func (o DebugCaseResqHeader) String() string

type DebugCaseResqResult

type DebugCaseResqResult struct {
	Body *string `json:"body,omitempty"`

	ErrorReason *string `json:"errorReason,omitempty"`

	Header *DebugCaseResqHeader `json:"header,omitempty"`

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

	ResponseTime *int32 `json:"responseTime,omitempty"`

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

	ReturnBody *string `json:"returnBody,omitempty"`

	ReturnHeader *DebugCaseResqReturnHeader `json:"returnHeader,omitempty"`

	StatusCode *string `json:"statusCode,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (DebugCaseResqResult) String

func (o DebugCaseResqResult) String() string

type DebugCaseResqReturnHeader

type DebugCaseResqReturnHeader struct {
	Connection *string `json:"Connection,omitempty"`

	ContentLength *string `json:"Content-Length,omitempty"`

	ContentType *string `json:"Content-Type,omitempty"`

	Date *string `json:"Date,omitempty"`

	Vary *string `json:"Vary,omitempty"`
}

returnHeader

func (DebugCaseResqReturnHeader) String

func (o DebugCaseResqReturnHeader) String() string

type DeleteCaseRequest

type DeleteCaseRequest struct {
	CaseId int32 `json:"case_id"`
}

Request Object

func (DeleteCaseRequest) String

func (o DeleteCaseRequest) String() string

type DeleteCaseResponse

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

Response Object

func (DeleteCaseResponse) String

func (o DeleteCaseResponse) String() string

type DeleteProjectRequest

type DeleteProjectRequest struct {
	TestSuiteId int32 `json:"test_suite_id"`
}

Request Object

func (DeleteProjectRequest) String

func (o DeleteProjectRequest) String() string

type DeleteProjectResponse

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

Response Object

func (DeleteProjectResponse) String

func (o DeleteProjectResponse) String() string

type DeleteTaskRequest

type DeleteTaskRequest struct {
	TaskId int32 `json:"task_id"`
}

Request Object

func (DeleteTaskRequest) String

func (o DeleteTaskRequest) String() string

type DeleteTaskResponse

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

Response Object

func (DeleteTaskResponse) String

func (o DeleteTaskResponse) String() string

type DeleteTempRequest

type DeleteTempRequest struct {
	TemplateId int32 `json:"template_id"`
}

Request Object

func (DeleteTempRequest) String

func (o DeleteTempRequest) String() string

type DeleteTempResponse

type DeleteTempResponse struct {
	Code *string `json:"code,omitempty"`

	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteTempResponse) String

func (o DeleteTempResponse) String() string

type ListProjectSetsRequest

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

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

Request Object

func (ListProjectSetsRequest) String

func (o ListProjectSetsRequest) String() string

type ListProjectSetsResponse

type ListProjectSetsResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	Projects       *[]ProjectsSet `json:"projects,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListProjectSetsResponse) String

func (o ListProjectSetsResponse) String() string

type ListVariablesRequest

type ListVariablesRequest struct {
	VariableType int32 `json:"variable_type"`

	TestSuiteId int32 `json:"test_suite_id"`
}

Request Object

func (ListVariablesRequest) String

func (o ListVariablesRequest) String() string

type ListVariablesResponse

type ListVariablesResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	VariableList   *[]ListVariablesResqVariableList `json:"variable_list,omitempty"`
	HttpStatusCode int                              `json:"-"`
}

Response Object

func (ListVariablesResponse) String

func (o ListVariablesResponse) String() string

type ListVariablesResqVariableList

type ListVariablesResqVariableList struct {
	FileSize *int32 `json:"file_size,omitempty"`

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

	IsQuoted *bool `json:"is_quoted,omitempty"`

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

	Variable *[]interface{} `json:"variable,omitempty"`

	VariableType *int32 `json:"variable_type,omitempty"`
}

func (ListVariablesResqVariableList) String

type ProjectResp

type ProjectResp struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`
}

func (ProjectResp) String

func (o ProjectResp) String() string

type ProjectsSet

type ProjectsSet struct {
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

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

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

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

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

	Group *string `json:"group,omitempty"`
}

func (ProjectsSet) String

func (o ProjectsSet) String() string

type ShowHistoryRunInfoRequest

type ShowHistoryRunInfoRequest struct {
	TaskId int32 `json:"task_id"`
}

Request Object

func (ShowHistoryRunInfoRequest) String

func (o ShowHistoryRunInfoRequest) String() string

type ShowHistoryRunInfoResponse

type ShowHistoryRunInfoResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	LogList        *[]interface{} `json:"log_list,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowHistoryRunInfoResponse) String

type ShowProcessRequest

type ShowProcessRequest struct {
}

Request Object

func (ShowProcessRequest) String

func (o ShowProcessRequest) String() string

type ShowProcessResponse

type ShowProcessResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	Json *ShowProcessResqJson `json:"json,omitempty"`

	Extend         *string `json:"extend,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowProcessResponse) String

func (o ShowProcessResponse) String() string

type ShowProcessResqJson

type ShowProcessResqJson struct {
	Details *[]ShowProcessResqJsonDetails `json:"details,omitempty"`

	ProcessStatus *int32 `json:"process_status,omitempty"`
}

json

func (ShowProcessResqJson) String

func (o ShowProcessResqJson) String() string

type ShowProcessResqJsonDetails

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

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

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

	Cause *string `json:"cause,omitempty"`
}

func (ShowProcessResqJsonDetails) String

type ShowProjectRequest

type ShowProjectRequest struct {
	TestSuiteId int32 `json:"test_suite_id"`
}

Request Object

func (ShowProjectRequest) String

func (o ShowProjectRequest) String() string

type ShowProjectResponse

type ShowProjectResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	Project        *ShowProjectResqProject `json:"project,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ShowProjectResponse) String

func (o ShowProjectResponse) String() string

type ShowProjectResqProject

type ShowProjectResqProject struct {
	CreateTime *string `json:"create_time,omitempty"`

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

	Group *string `json:"group,omitempty"`

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

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

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

	UpdateTime *string `json:"update_time,omitempty"`
}

project

func (ShowProjectResqProject) String

func (o ShowProjectResqProject) String() string

type ShowReportRequest

type ShowReportRequest struct {
	TaskRunId int32 `json:"task_run_id"`

	CaseRunId int32 `json:"case_run_id"`

	BrokensLimitCount int32 `json:"brokens_limit_count"`
}

Request Object

func (ShowReportRequest) String

func (o ShowReportRequest) String() string

type ShowReportResponse

type ShowReportResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	Extend *string `json:"extend,omitempty"`

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

Response Object

func (ShowReportResponse) String

func (o ShowReportResponse) String() string

type ShowTaskRequest

type ShowTaskRequest struct {
	TaskId int32 `json:"task_id"`
}

Request Object

func (ShowTaskRequest) String

func (o ShowTaskRequest) String() string

type ShowTaskResponse

type ShowTaskResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	Taskinfo       *ShowTaskResqTaskinfo `json:"taskinfo,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (ShowTaskResponse) String

func (o ShowTaskResponse) String() string

type ShowTaskResqTaskinfo

type ShowTaskResqTaskinfo struct {
	BenchConcurrent *int32 `json:"bench_concurrent,omitempty"`

	CaseList *[]ShowTaskResqTaskinfoCaseList `json:"case_list,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

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

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

	OperateMode *int32 `json:"operate_mode,omitempty"`

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

	RelatedTempRunningData *[]string `json:"related_temp_running_data,omitempty"`

	RunStatus *int32 `json:"run_status,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`
}

taskInfo

func (ShowTaskResqTaskinfo) String

func (o ShowTaskResqTaskinfo) String() string

type ShowTaskResqTaskinfoCaseList

type ShowTaskResqTaskinfoCaseList struct {
	CaseId *int32 `json:"case_id,omitempty"`

	CaseName *string `json:"case_name,omitempty"`

	CaseType *int32 `json:"case_type,omitempty"`

	Contents *[]ShowTaskResqTaskinfoContents `json:"contents,omitempty"`

	ForLoopParams *[]interface{} `json:"for_loop_params,omitempty"`

	IncreaseSetting *[]interface{} `json:"increase_setting,omitempty"`

	Stages *[]interface{} `json:"stages,omitempty"`

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

	TempId *int32 `json:"temp_id,omitempty"`
}

func (ShowTaskResqTaskinfoCaseList) String

type ShowTaskResqTaskinfoContent

type ShowTaskResqTaskinfoContent struct {
	BodyType *int32 `json:"body_type,omitempty"`

	Bodys *[]string `json:"bodys,omitempty"`

	CheckEndLength *string `json:"check_end_length,omitempty"`

	CheckEndStr *string `json:"check_end_str,omitempty"`

	CheckEndType *string `json:"check_end_type,omitempty"`

	ConnectTimeout *int32 `json:"connect_timeout,omitempty"`

	ConnectType *int32 `json:"connect_type,omitempty"`

	Headers *[]ShowTaskResqTaskinfoContentHeaders `json:"headers,omitempty"`

	HttpVersion *string `json:"http_version,omitempty"`

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

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

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

	ReturnTimeout *int32 `json:"return_timeout,omitempty"`

	ReturnTimeoutParam *string `json:"return_timeout_param,omitempty"`

	Url *string `json:"url,omitempty"`
}

content

func (ShowTaskResqTaskinfoContent) String

type ShowTaskResqTaskinfoContent1

type ShowTaskResqTaskinfoContent1 struct {
	ContentType *int32 `json:"content_type,omitempty"`

	Content *ShowTaskResqTaskinfoContent `json:"content,omitempty"`
}

func (ShowTaskResqTaskinfoContent1) String

type ShowTaskResqTaskinfoContentHeaders

type ShowTaskResqTaskinfoContentHeaders struct {
	Key *string `json:"key,omitempty"`

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

func (ShowTaskResqTaskinfoContentHeaders) String

type ShowTaskResqTaskinfoContents

type ShowTaskResqTaskinfoContents struct {
	ContentId *int32 `json:"content_id,omitempty"`

	Content *[]ShowTaskResqTaskinfoContent1 `json:"content,omitempty"`

	Index *int32 `json:"index,omitempty"`

	SelectedTempName *string `json:"selected_temp_name,omitempty"`

	Data *string `json:"data,omitempty"`

	DataType *int32 `json:"data_type,omitempty"`
}

func (ShowTaskResqTaskinfoContents) String

type ShowTaskSetRequest

type ShowTaskSetRequest struct {
	TestSuiteId int32 `json:"test_suite_id"`

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

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

Request Object

func (ShowTaskSetRequest) String

func (o ShowTaskSetRequest) String() string

type ShowTaskSetResponse

type ShowTaskSetResponse struct {
	Code *string `json:"code,omitempty"`

	Extend *[]string `json:"extend,omitempty"`

	Message *string `json:"message,omitempty"`

	Tasks          *[]ShowTaskSetResqTasks `json:"tasks,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ShowTaskSetResponse) String

func (o ShowTaskSetResponse) String() string

type ShowTaskSetResqTaskRunInfo

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

	RunType *int32 `json:"run_type,omitempty"`
}

task_run_info

func (ShowTaskSetResqTaskRunInfo) String

type ShowTaskSetResqTasks

type ShowTaskSetResqTasks struct {
	BenchConcurrent *int32 `json:"bench_concurrent,omitempty"`

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

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

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

	OperateMode *int32 `json:"operate_mode,omitempty"`

	TaskRunInfo *ShowTaskSetResqTaskRunInfo `json:"task_run_info,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`
}

func (ShowTaskSetResqTasks) String

func (o ShowTaskSetResqTasks) String() string

type ShowTempRequest

type ShowTempRequest struct {
	TemplateId int32 `json:"template_id"`
}

Request Object

func (ShowTempRequest) String

func (o ShowTempRequest) String() string

type ShowTempResponse

type ShowTempResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	TempInfo       *interface{} `json:"temp_info,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowTempResponse) String

func (o ShowTempResponse) String() string

type ShowTempSetRequest

type ShowTempSetRequest struct {
	TestSuiteId int32 `json:"test_suite_id"`

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

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

Request Object

func (ShowTempSetRequest) String

func (o ShowTempSetRequest) String() string

type ShowTempSetResponse

type ShowTempSetResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	Temps          *[]interface{} `json:"temps,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowTempSetResponse) String

func (o ShowTempSetResponse) String() string

type UpdateCaseRequest

type UpdateCaseRequest struct {
	CaseId int32 `json:"case_id"`

	Target string `json:"target"`

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

Request Object

func (UpdateCaseRequest) String

func (o UpdateCaseRequest) String() string

type UpdateCaseRequestBody

type UpdateCaseRequestBody struct {
	Contents *[]UpdateCaseRequestBodyContents `json:"contents,omitempty"`

	ForLoopParams *[]interface{} `json:"for_loop_params,omitempty"`
}

UpdateCaseRequestBody

func (UpdateCaseRequestBody) String

func (o UpdateCaseRequestBody) String() string

type UpdateCaseRequestBodyContent

type UpdateCaseRequestBodyContent struct {
	Url *string `json:"url,omitempty"`

	HttpVersion *string `json:"http_version,omitempty"`

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

	ConnectTimeout *int32 `json:"connect_timeout,omitempty"`

	ReturnTimeout *int32 `json:"return_timeout,omitempty"`

	ReturnTimeoutParam *string `json:"return_timeout_param,omitempty"`

	ConnectType *int32 `json:"connect_type,omitempty"`

	CheckEndType *string `json:"check_end_type,omitempty"`

	CheckEndLength *string `json:"check_end_length,omitempty"`

	CheckEndStr *string `json:"check_end_str,omitempty"`

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

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

	Headers *[]UpdateCaseRequestBodyContentHeaders `json:"headers,omitempty"`

	Bodys *[]string `json:"bodys,omitempty"`

	BodyType *int32 `json:"body_type,omitempty"`

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

content

func (UpdateCaseRequestBodyContent) String

type UpdateCaseRequestBodyContent1

type UpdateCaseRequestBodyContent1 struct {
	ContentType *int32 `json:"content_type,omitempty"`

	Content *UpdateCaseRequestBodyContent `json:"content,omitempty"`
}

func (UpdateCaseRequestBodyContent1) String

type UpdateCaseRequestBodyContentHeaders

type UpdateCaseRequestBodyContentHeaders struct {
	Key *string `json:"key,omitempty"`

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

func (UpdateCaseRequestBodyContentHeaders) String

type UpdateCaseRequestBodyContents

type UpdateCaseRequestBodyContents struct {
	Content *[]UpdateCaseRequestBodyContent1 `json:"content,omitempty"`

	ContentId *int32 `json:"content_id,omitempty"`

	DataType *int32 `json:"data_type,omitempty"`

	Index *int32 `json:"index,omitempty"`
}

func (UpdateCaseRequestBodyContents) String

type UpdateCaseResponse

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

Response Object

func (UpdateCaseResponse) String

func (o UpdateCaseResponse) String() string

type UpdateProjectRequest

type UpdateProjectRequest struct {
	TestSuiteId int32 `json:"test_suite_id"`

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

Request Object

func (UpdateProjectRequest) String

func (o UpdateProjectRequest) String() string

type UpdateProjectRequestBody

type UpdateProjectRequestBody struct {
	Id int32 `json:"id"`

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

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

	VariablesNoFile *[]string `json:"variables_no_file,omitempty"`

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

	ExternalParams *interface{} `json:"external_params,omitempty"`
}

UpdateProjectRequestBody

func (UpdateProjectRequestBody) String

func (o UpdateProjectRequestBody) String() string

type UpdateProjectResponse

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

Response Object

func (UpdateProjectResponse) String

func (o UpdateProjectResponse) String() string

type UpdateTaskRequest

type UpdateTaskRequest struct {
	TaskId int32 `json:"task_id"`

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

Request Object

func (UpdateTaskRequest) String

func (o UpdateTaskRequest) String() string

type UpdateTaskRequestBody

type UpdateTaskRequestBody struct {
	Id int32 `json:"id"`

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

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

	ProjectId int32 `json:"project_id"`

	RunStatus *int32 `json:"run_status,omitempty"`

	RunType *int32 `json:"run_type,omitempty"`

	TaskRunInfo *ShowTaskSetResqTaskRunInfo `json:"task_run_info,omitempty"`

	CaseList *[]ShowTaskResqTaskinfoCaseList `json:"case_list,omitempty"`

	OperateMode *int32 `json:"operate_mode,omitempty"`

	BenchConcurrent *int32 `json:"bench_concurrent,omitempty"`

	RelatedTempRunningData *[]UpdateTaskRequestBodyRelatedTempRunningData `json:"related_temp_running_data,omitempty"`
}

UpdateTaskRequestBody

func (UpdateTaskRequestBody) String

func (o UpdateTaskRequestBody) String() string

type UpdateTaskRequestBodyRelatedTempRunningData

type UpdateTaskRequestBodyRelatedTempRunningData struct {
	TaskRunInfoId *int32 `json:"task_run_info_id,omitempty"`

	RelatedTempRunningId *int32 `json:"related_temp_running_id,omitempty"`

	TempId *int32 `json:"temp_id,omitempty"`

	TempName *string `json:"temp_name,omitempty"`
}

func (UpdateTaskRequestBodyRelatedTempRunningData) String

type UpdateTaskResponse

type UpdateTaskResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	Taskinfo       *ShowTaskResqTaskinfo `json:"taskinfo,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (UpdateTaskResponse) String

func (o UpdateTaskResponse) String() string

type UpdateTaskStatusRequest

type UpdateTaskStatusRequest struct {
	TestSuiteId int32 `json:"test_suite_id"`

	TaskId int32 `json:"task_id"`

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

Request Object

func (UpdateTaskStatusRequest) String

func (o UpdateTaskStatusRequest) String() string

type UpdateTaskStatusRequestBody

type UpdateTaskStatusRequestBody struct {
	ClusterId int32 `json:"cluster_id"`

	ClusterType string `json:"cluster_type"`

	WithoutPackage int32 `json:"without_package"`

	NetworkInfo *UpdateTaskStatusRequestBodyNetworkInfo `json:"network_info"`

	Status int32 `json:"status"`
}

UpdateTaskStatusRequestBody

func (UpdateTaskStatusRequestBody) String

type UpdateTaskStatusRequestBodyNetworkInfo

type UpdateTaskStatusRequestBodyNetworkInfo struct {
	NetworkType string `json:"network_type"`
}

network_info

func (UpdateTaskStatusRequestBodyNetworkInfo) String

type UpdateTaskStatusResponse

type UpdateTaskStatusResponse struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`

	Extend *string `json:"extend,omitempty"`

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

Response Object

func (UpdateTaskStatusResponse) String

func (o UpdateTaskStatusResponse) String() string

type UpdateTaskStatusResqResult

type UpdateTaskStatusResqResult struct {
	TaskRunId *int32 `json:"task_run_id,omitempty"`
}

result

func (UpdateTaskStatusResqResult) String

type UpdateTempRequest

type UpdateTempRequest struct {
	TemplateId int32 `json:"template_id"`

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

Request Object

func (UpdateTempRequest) String

func (o UpdateTempRequest) String() string

type UpdateTempRequestBody

type UpdateTempRequestBody struct {
	Id int32 `json:"id"`

	ProjectId int32 `json:"project_id"`

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

	TempType *int32 `json:"temp_type,omitempty"`

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

	ForLoopParams *[]interface{} `json:"for_loop_params,omitempty"`

	EnablePre *bool `json:"enable_pre,omitempty"`

	Contents *[]UpdateTempRequestBodyContents `json:"contents,omitempty"`
}

UpdateTempRequestBody

func (UpdateTempRequestBody) String

func (o UpdateTempRequestBody) String() string

type UpdateTempRequestBodyContent

type UpdateTempRequestBodyContent struct {
	Url *string `json:"url,omitempty"`

	HttpVersion *string `json:"http_version,omitempty"`

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

	ConnectTimeout *int32 `json:"connect_timeout,omitempty"`

	ReturnTimeout *int32 `json:"return_timeout,omitempty"`

	ReturnTimeoutParam *string `json:"return_timeout_param,omitempty"`

	ConnectType *int32 `json:"connect_type,omitempty"`

	CheckEndType *string `json:"check_end_type,omitempty"`

	CheckEndLength *string `json:"check_end_length,omitempty"`

	CheckEndStr *string `json:"check_end_str,omitempty"`

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

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

	Headers *[]UpdateCaseRequestBodyContentHeaders `json:"headers,omitempty"`

	Body *string `json:"body,omitempty"`

	Bodys *[]string `json:"bodys,omitempty"`

	BodyType *int32 `json:"body_type,omitempty"`
}

content

func (UpdateTempRequestBodyContent) String

type UpdateTempRequestBodyContent1

type UpdateTempRequestBodyContent1 struct {
	ContentType *int32 `json:"content_type,omitempty"`

	Content *UpdateTempRequestBodyContent `json:"content,omitempty"`
}

func (UpdateTempRequestBodyContent1) String

type UpdateTempRequestBodyContents

type UpdateTempRequestBodyContents struct {
	Content *[]UpdateTempRequestBodyContent1 `json:"content,omitempty"`

	ContentId *int32 `json:"content_id,omitempty"`

	DataType *int32 `json:"data_type,omitempty"`
}

func (UpdateTempRequestBodyContents) String

type UpdateTempResponse

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

Response Object

func (UpdateTempResponse) String

func (o UpdateTempResponse) String() string

type UpdateVariableRequest

type UpdateVariableRequest struct {
	TestSuiteId int32 `json:"test_suite_id"`

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

Request Object

func (UpdateVariableRequest) String

func (o UpdateVariableRequest) String() string

type UpdateVariableRequestBody

type UpdateVariableRequestBody struct {
	Id int32 `json:"id"`

	Name string `json:"name"`

	VariableType int32 `json:"variable_type"`

	Variable []interface{} `json:"variable"`
}

UpdateVariableRequestBody

func (UpdateVariableRequestBody) String

func (o UpdateVariableRequestBody) String() string

type UpdateVariableResponse

type UpdateVariableResponse struct {
	Code *string `json:"code,omitempty"`

	Json *CreateVariableResqJson `json:"json,omitempty"`

	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateVariableResponse) String

func (o UpdateVariableResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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