Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.huaweicloud.sdk.cloudtest.v1.CloudtestMeta Maven / Gradle / Ivy
package com.huaweicloud.sdk.cloudtest.v1;
import com.huaweicloud.sdk.cloudtest.v1.model.AddRelationsInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.AddResourceInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.AddTestCaseCommentRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.AddTestCaseCommentResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.AlarmStatisticsQuery;
import com.huaweicloud.sdk.cloudtest.v1.model.AlertStatisticsDto;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchAddRelationsByOneCaseRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchAddRelationsByOneCaseResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchAddResourcesForIteratorRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchAddResourcesForIteratorResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchDeleteTestCaseRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchDeleteTestCaseRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchDeleteTestCaseResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchDeleteTestCasesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchDeleteTestCasesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchDeleteTestReportRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchDeleteTestReportResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchRemoveTestCasesFromIteratorRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchRemoveTestCasesFromIteratorResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchUpdateVersionTestCasesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.BatchUpdateVersionTestCasesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.BranchVersionInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.CaseRemoveInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.CheckPermissionRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CheckPermissionResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.CommRequestListFactorParam;
import com.huaweicloud.sdk.cloudtest.v1.model.CommRequestMindmapPageParamV3;
import com.huaweicloud.sdk.cloudtest.v1.model.CommRequestReviewPageParam;
import com.huaweicloud.sdk.cloudtest.v1.model.CommRequestScenePageParam;
import com.huaweicloud.sdk.cloudtest.v1.model.CommRequestSystemConfig;
import com.huaweicloud.sdk.cloudtest.v1.model.CommRequestTemplatePageParam;
import com.huaweicloud.sdk.cloudtest.v1.model.CommRequestTestCasePageParam;
import com.huaweicloud.sdk.cloudtest.v1.model.CommRequestTestPointPageParam;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateApiTestSuiteByRepoFileRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateApiTestSuiteByRepoFileResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateBasicAwReq;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateIteratorRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateIteratorResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.CreatePlanRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CreatePlanRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.CreatePlanResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateProjectBranchRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateProjectBranchResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateRelationsByOneCaseRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateRelationsByOneCaseResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateReportRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateReportResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateResourceUriRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateResourceUriResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateServiceRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateServiceResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateTestCaseInPlanRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateTestCaseInPlanRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateTestCaseInPlanResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateTestCaseReq;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateTestCaseRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateTestCaseRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateTestCaseResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateTestSuitByRepoFileInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateUserDefinedUrlKeyWordRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateUserDefinedUrlKeyWordResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateVersionTestCaseRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.CreateVersionTestCaseResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.DashboardDataQuery;
import com.huaweicloud.sdk.cloudtest.v1.model.DeleteBasicAwByIdRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.DeleteBasicAwByIdResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.DeleteRelationsByOneCaseInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.DeleteRelationsByOneCaseRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.DeleteRelationsByOneCaseResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.DeleteServiceRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.DeleteServiceResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.DeleteTestCaseCommentRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.DeleteTestCaseCommentResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.DeleteTestCaseInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.EchoTestPackageCheckResult;
import com.huaweicloud.sdk.cloudtest.v1.model.GenerateReportInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.IssueTreeInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.IteratorVersionInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.IteratorVersionsQueryInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAlarmStatisticsUsingRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAlarmStatisticsUsingResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAlertGroupsByConditionRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAlertGroupsByConditionRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAlertGroupsByConditionResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAlertTemplatesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAlertTemplatesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAllBranchesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAllBranchesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAllConfigItemByTypeRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAllConfigItemByTypeRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAllConfigItemByTypeResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAllIteratorsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAllIteratorsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAllTestCasesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAllTestCasesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAttachmentsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAttachmentsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAvailableConfigRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListAvailableConfigResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListBasicAwInfoListSupportsSearchRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListBasicAwInfoListSupportsSearchResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListBasicAwRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListBasicAwResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListBranchesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListBranchesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListCasesStatusRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListCasesStatusResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListDomainVisibleServicesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListDomainVisibleServicesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListEnvironmentsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListEnvironmentsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListIssueTreeRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListIssueTreeResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListIteratorIssueTreeRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListIteratorIssueTreeResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListIteratorsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListIteratorsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListLinesUsingRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListLinesUsingResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListMsgInfosUsingRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListMsgInfosUsingResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListOwnTestCasesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListOwnTestCasesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListProjectFieldConfigsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListProjectFieldConfigsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListProjectTestCaseFieldsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListProjectTestCaseFieldsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListPublicLibAndAwsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListPublicLibAndAwsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListReportsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListReportsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListResourcePoolsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListResourcePoolsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListScattersUsingRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListScattersUsingResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListSubTaskCaseOverstockUsingRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListSubTaskCaseOverstockUsingResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTaskAssignCasesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTaskAssignCasesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTaskTestCasesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTaskTestCasesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTasksRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTasksResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestCaseCommentsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestCaseCommentsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestCaseHistoriesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestCaseHistoriesRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestCaseHistoriesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestCaseScriptDetailRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestCaseScriptDetailResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestCasesByIssueRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestCasesByIssueResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestCasesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestCasesRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestCasesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestReportsByConditionRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestReportsByConditionResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestTypesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestTypesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestcasesByProjectIssuesRelationRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListTestcasesByProjectIssuesRelationResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListUsageInfosRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListUsageInfosResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListUserDnsMappingRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListUserDnsMappingResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListUserPackageUsageRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListUserPackageUsageResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListUserPopupInfoRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListUserPopupInfoResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListUsingGetRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListUsingGetResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ListVariablesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ListVariablesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.MsgInfoQuery;
import com.huaweicloud.sdk.cloudtest.v1.model.OprReportInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.QueryIssueTreeInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.QueryProjectIssuesRelationTestCasesInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.QueryRequirementsOverviewInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.QueryTaskAssignCasesInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.QueryTaskTestCasesInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.QueryTestCasesByIssueInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.QueryTestItemTreeInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.RemoveIssuesFromIteratorRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.RemoveIssuesFromIteratorResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.RemoveIssuesInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.RunTestCaseRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.RunTestCaseRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.RunTestCaseResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.SaveTaskSettingRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.SaveTaskSettingRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.SaveTaskSettingResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.SearchRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ServiceRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowAllConfigValueByTypeAndKeyRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowAllConfigValueByTypeAndKeyResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowAllFeatureChildrenRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowAllFeatureChildrenResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowApiTestcaseHistoriesRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowApiTestcaseHistoriesResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowAssetRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowAssetResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowAssetTreeRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowAssetTreeResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowBackgroundInfoRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowBackgroundInfoResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowBranchRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowBranchResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowConcurrencyPackageUsingRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowConcurrencyPackageUsingResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowDisclaimerRecordRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowDisclaimerRecordResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowDomainInfoRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowDomainInfoResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowEchoTestPackageUsingRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowEchoTestPackageUsingResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowFactorByAssetIdRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowFactorByAssetIdResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowFactorByIdRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowFactorByIdResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowFeatureChildrenRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowFeatureChildrenResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowFreeDeclarationRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowFreeDeclarationResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowIfTaskNameRepeatRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowIfTaskNameRepeatResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowIfUserNameRepeatRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowIfUserNameRepeatResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowIssuesByPlanIdRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowIssuesByPlanIdResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowIteratorByDefectRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowIteratorByDefectResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowIteratorDetailRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowIteratorDetailResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowMindMapByIdRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowMindMapByIdResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowMindmapByPageRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowMindmapByPageResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowMindmapCreatorNameRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowMindmapCreatorNameResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowOperationalDataCurrentMonthUsingRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowOperationalDataCurrentMonthUsingResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowPlanJournalsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowPlanJournalsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowPlanListRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowPlanListResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowPlansRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowPlansResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowProgressRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowProgressResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowProjectDataDashboardRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowProjectDataDashboardResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowRegisterServiceRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowRegisterServiceResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowReportRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowReportResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowRequirementsOverviewRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowRequirementsOverviewResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowReviewByPageRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowReviewByPageResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowSceneByPageRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowSceneByPageResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowStatisticByIdRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowStatisticByIdResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowSystemConfigsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowSystemConfigsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTemplateByPageRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTemplateByPageResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCaseAndDefectInfoRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCaseAndDefectInfoRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCaseAndDefectInfoResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCaseDetailRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCaseDetailResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCaseDetailV2Request;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCaseDetailV2Response;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCaseRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCaseResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCaseReviewsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCaseReviewsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCasesChangeStatisticsRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestCasesChangeStatisticsResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestcaseByPageRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestcaseByPageResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestpointByPageRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowTestpointByPageResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowUserAccessInfoRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowUserAccessInfoResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowUserExecuteTestCaseInfoRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowUserExecuteTestCaseInfoRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.ShowUserExecuteTestCaseInfoResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.TasksQueryInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.TestCaseCommentInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.TestCaseInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.TestCasesQueryInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.TestPlanDetail;
import com.huaweicloud.sdk.cloudtest.v1.model.TestPlanIssueDetail;
import com.huaweicloud.sdk.cloudtest.v1.model.TestPlanJournalList;
import com.huaweicloud.sdk.cloudtest.v1.model.TestReportInfoRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateBasicAwByIdRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateBasicAwByIdResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateBasicAwReq;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateIteratorRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateIteratorResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateServiceRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateServiceResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateTestCaseAndScriptRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateTestCaseAndScriptResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateTestCaseCommentRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateTestCaseCommentResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateTestCaseListInfo;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateTestCaseRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateTestCaseRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateTestCaseResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateTestCaseResultRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateTestCaseResultRequestBody;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateTestCaseResultResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateUserDnsMappingRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateUserDnsMappingResponse;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateVersionTestCaseRequest;
import com.huaweicloud.sdk.cloudtest.v1.model.UpdateVersionTestCaseResponse;
import com.huaweicloud.sdk.core.TypeCasts;
import com.huaweicloud.sdk.core.http.FieldExistence;
import com.huaweicloud.sdk.core.http.HttpMethod;
import com.huaweicloud.sdk.core.http.HttpRequestDef;
import com.huaweicloud.sdk.core.http.LocationType;
import java.util.List;
@SuppressWarnings("unchecked")
public class CloudtestMeta {
public static final HttpRequestDef addTestCaseComment =
genForAddTestCaseComment();
private static HttpRequestDef genForAddTestCaseComment() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, AddTestCaseCommentRequest.class, AddTestCaseCommentResponse.class)
.withName("AddTestCaseComment")
.withUri("/GT3KServer/v4/{project_id}/testcases/{testcase_id}/comments")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(AddTestCaseCommentRequest::getProjectId, AddTestCaseCommentRequest::setProjectId));
builder.withRequestField("testcase_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(AddTestCaseCommentRequest::getTestcaseId, AddTestCaseCommentRequest::setTestcaseId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(TestCaseCommentInfo.class),
f -> f.withMarshaller(AddTestCaseCommentRequest::getBody, AddTestCaseCommentRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef batchAddRelationsByOneCase =
genForBatchAddRelationsByOneCase();
private static HttpRequestDef genForBatchAddRelationsByOneCase() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef
.builder(HttpMethod.POST,
BatchAddRelationsByOneCaseRequest.class,
BatchAddRelationsByOneCaseResponse.class)
.withName("BatchAddRelationsByOneCase")
.withUri("/testrelation/v4/workitems/{workitem_id}/relations")
.withContentType("application/json");
// requests
builder.withRequestField("workitem_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(BatchAddRelationsByOneCaseRequest::getWorkitemId,
BatchAddRelationsByOneCaseRequest::setWorkitemId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(AddRelationsInfo.class),
f -> f.withMarshaller(BatchAddRelationsByOneCaseRequest::getBody,
BatchAddRelationsByOneCaseRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef batchAddResourcesForIterator =
genForBatchAddResourcesForIterator();
private static HttpRequestDef genForBatchAddResourcesForIterator() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef
.builder(HttpMethod.POST,
BatchAddResourcesForIteratorRequest.class,
BatchAddResourcesForIteratorResponse.class)
.withName("BatchAddResourcesForIterator")
.withUri("/GT3KServer/v4/iterators/{iterator_id}/testcases/batch-add")
.withContentType("application/json");
// requests
builder.withRequestField("iterator_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(BatchAddResourcesForIteratorRequest::getIteratorId,
BatchAddResourcesForIteratorRequest::setIteratorId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(AddResourceInfo.class),
f -> f.withMarshaller(BatchAddResourcesForIteratorRequest::getBody,
BatchAddResourcesForIteratorRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef batchDeleteTestCase =
genForBatchDeleteTestCase();
private static HttpRequestDef genForBatchDeleteTestCase() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, BatchDeleteTestCaseRequest.class, BatchDeleteTestCaseResponse.class)
.withName("BatchDeleteTestCase")
.withUri("/v1/projects/{project_id}/testcases/batch-delete")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(BatchDeleteTestCaseRequest::getProjectId, BatchDeleteTestCaseRequest::setProjectId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(BatchDeleteTestCaseRequestBody.class),
f -> f.withMarshaller(BatchDeleteTestCaseRequest::getBody, BatchDeleteTestCaseRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef batchDeleteTestCases =
genForBatchDeleteTestCases();
private static HttpRequestDef genForBatchDeleteTestCases() {
// basic
HttpRequestDef.Builder builder = HttpRequestDef
.builder(HttpMethod.DELETE, BatchDeleteTestCasesRequest.class, BatchDeleteTestCasesResponse.class)
.withName("BatchDeleteTestCases")
.withUri("/GT3KServer/v4/testcases/batch-delete")
.withContentType("application/json");
// requests
builder.withRequestField("is_async",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(Boolean.class),
f -> f.withMarshaller(BatchDeleteTestCasesRequest::getIsAsync, BatchDeleteTestCasesRequest::setIsAsync));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(DeleteTestCaseInfo.class),
f -> f.withMarshaller(BatchDeleteTestCasesRequest::getBody, BatchDeleteTestCasesRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef batchDeleteTestReport =
genForBatchDeleteTestReport();
private static HttpRequestDef genForBatchDeleteTestReport() {
// basic
HttpRequestDef.Builder builder = HttpRequestDef
.builder(HttpMethod.DELETE, BatchDeleteTestReportRequest.class, BatchDeleteTestReportResponse.class)
.withName("BatchDeleteTestReport")
.withUri("/testreport/v4/{project_id}/test-reports/batch-delete")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(BatchDeleteTestReportRequest::getProjectId,
BatchDeleteTestReportRequest::setProjectId));
builder.>withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(List.class),
f -> f.withMarshaller(BatchDeleteTestReportRequest::getBody, BatchDeleteTestReportRequest::setBody)
.withInnerContainerType(String.class));
// response
return builder.build();
}
public static final HttpRequestDef batchRemoveTestCasesFromIterator =
genForBatchRemoveTestCasesFromIterator();
private static HttpRequestDef genForBatchRemoveTestCasesFromIterator() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef
.builder(HttpMethod.DELETE,
BatchRemoveTestCasesFromIteratorRequest.class,
BatchRemoveTestCasesFromIteratorResponse.class)
.withName("BatchRemoveTestCasesFromIterator")
.withUri("/GT3KServer/v4/iterators/{iterator_id}/testcases/batch-delete")
.withContentType("application/json");
// requests
builder.withRequestField("iterator_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(BatchRemoveTestCasesFromIteratorRequest::getIteratorId,
BatchRemoveTestCasesFromIteratorRequest::setIteratorId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(CaseRemoveInfo.class),
f -> f.withMarshaller(BatchRemoveTestCasesFromIteratorRequest::getBody,
BatchRemoveTestCasesFromIteratorRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef batchUpdateVersionTestCases =
genForBatchUpdateVersionTestCases();
private static HttpRequestDef genForBatchUpdateVersionTestCases() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef
.builder(HttpMethod.PUT,
BatchUpdateVersionTestCasesRequest.class,
BatchUpdateVersionTestCasesResponse.class)
.withName("BatchUpdateVersionTestCases")
.withUri("/GT3KServer/v4/{project_id}/testcases/batch-update")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(BatchUpdateVersionTestCasesRequest::getProjectId,
BatchUpdateVersionTestCasesRequest::setProjectId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(UpdateTestCaseListInfo.class),
f -> f.withMarshaller(BatchUpdateVersionTestCasesRequest::getBody,
BatchUpdateVersionTestCasesRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef checkPermission =
genForCheckPermission();
private static HttpRequestDef genForCheckPermission() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.GET, CheckPermissionRequest.class, CheckPermissionResponse.class)
.withName("CheckPermission")
.withUri("/v1/{project_id}/permission/{id}")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CheckPermissionRequest::getProjectId, CheckPermissionRequest::setProjectId));
builder.withRequestField("id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CheckPermissionRequest::getId, CheckPermissionRequest::setId));
// response
return builder.build();
}
public static final HttpRequestDef createIterator =
genForCreateIterator();
private static HttpRequestDef genForCreateIterator() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, CreateIteratorRequest.class, CreateIteratorResponse.class)
.withName("CreateIterator")
.withUri("/GT3KServer/v4/iterators")
.withContentType("application/json");
// requests
builder.withRequestField("branch_uri",
LocationType.Query,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CreateIteratorRequest::getBranchUri, CreateIteratorRequest::setBranchUri));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(IteratorVersionInfo.class),
f -> f.withMarshaller(CreateIteratorRequest::getBody, CreateIteratorRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef createPlan = genForCreatePlan();
private static HttpRequestDef genForCreatePlan() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, CreatePlanRequest.class, CreatePlanResponse.class)
.withName("CreatePlan")
.withUri("/v1/projects/{project_id}/plans")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CreatePlanRequest::getProjectId, CreatePlanRequest::setProjectId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(CreatePlanRequestBody.class),
f -> f.withMarshaller(CreatePlanRequest::getBody, CreatePlanRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef createProjectBranch =
genForCreateProjectBranch();
private static HttpRequestDef genForCreateProjectBranch() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, CreateProjectBranchRequest.class, CreateProjectBranchResponse.class)
.withName("CreateProjectBranch")
.withUri("/GT3KServer/v4/branches")
.withContentType("application/json");
// requests
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(BranchVersionInfo.class),
f -> f.withMarshaller(CreateProjectBranchRequest::getBody, CreateProjectBranchRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef createRelationsByOneCase =
genForCreateRelationsByOneCase();
private static HttpRequestDef genForCreateRelationsByOneCase() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef
.builder(HttpMethod.POST, CreateRelationsByOneCaseRequest.class, CreateRelationsByOneCaseResponse.class)
.withName("CreateRelationsByOneCase")
.withUri("/testrelation/v4/testcases/{case_id}/relations")
.withContentType("application/json");
// requests
builder.withRequestField("case_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CreateRelationsByOneCaseRequest::getCaseId,
CreateRelationsByOneCaseRequest::setCaseId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(AddRelationsInfo.class),
f -> f.withMarshaller(CreateRelationsByOneCaseRequest::getBody, CreateRelationsByOneCaseRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef createReport = genForCreateReport();
private static HttpRequestDef genForCreateReport() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, CreateReportRequest.class, CreateReportResponse.class)
.withName("CreateReport")
.withUri("/GT3KServer/v4/{project_id}/versions/{version_id}/custom-reports")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CreateReportRequest::getProjectId, CreateReportRequest::setProjectId));
builder.withRequestField("version_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CreateReportRequest::getVersionId, CreateReportRequest::setVersionId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(OprReportInfo.class),
f -> f.withMarshaller(CreateReportRequest::getBody, CreateReportRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef createResourceUri =
genForCreateResourceUri();
private static HttpRequestDef genForCreateResourceUri() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, CreateResourceUriRequest.class, CreateResourceUriResponse.class)
.withName("CreateResourceUri")
.withUri("/GT3KServer/v4/{project_id}/resource-uri")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CreateResourceUriRequest::getProjectId, CreateResourceUriRequest::setProjectId));
// response
return builder.build();
}
public static final HttpRequestDef createService =
genForCreateService();
private static HttpRequestDef genForCreateService() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, CreateServiceRequest.class, CreateServiceResponse.class)
.withName("CreateService")
.withUri("/v1/services")
.withContentType("application/json");
// requests
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(ServiceRequestBody.class),
f -> f.withMarshaller(CreateServiceRequest::getBody, CreateServiceRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef createTestCase =
genForCreateTestCase();
private static HttpRequestDef genForCreateTestCase() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, CreateTestCaseRequest.class, CreateTestCaseResponse.class)
.withName("CreateTestCase")
.withUri("/v1/projects/{project_id}/testcases")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CreateTestCaseRequest::getProjectId, CreateTestCaseRequest::setProjectId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(CreateTestCaseRequestBody.class),
f -> f.withMarshaller(CreateTestCaseRequest::getBody, CreateTestCaseRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef createTestCaseInPlan =
genForCreateTestCaseInPlan();
private static HttpRequestDef genForCreateTestCaseInPlan() {
// basic
HttpRequestDef.Builder builder = HttpRequestDef
.builder(HttpMethod.POST, CreateTestCaseInPlanRequest.class, CreateTestCaseInPlanResponse.class)
.withName("CreateTestCaseInPlan")
.withUri("/v1/projects/{project_id}/plans/{plan_id}/testcases/batch-add")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CreateTestCaseInPlanRequest::getProjectId,
CreateTestCaseInPlanRequest::setProjectId));
builder.withRequestField("plan_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CreateTestCaseInPlanRequest::getPlanId, CreateTestCaseInPlanRequest::setPlanId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(CreateTestCaseInPlanRequestBody.class),
f -> f.withMarshaller(CreateTestCaseInPlanRequest::getBody, CreateTestCaseInPlanRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef createUserDefinedUrlKeyWord =
genForCreateUserDefinedUrlKeyWord();
private static HttpRequestDef genForCreateUserDefinedUrlKeyWord() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef
.builder(HttpMethod.POST,
CreateUserDefinedUrlKeyWordRequest.class,
CreateUserDefinedUrlKeyWordResponse.class)
.withName("CreateUserDefinedUrlKeyWord")
.withUri("/v1/{project_id}/basic-aw")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CreateUserDefinedUrlKeyWordRequest::getProjectId,
CreateUserDefinedUrlKeyWordRequest::setProjectId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(CreateBasicAwReq.class),
f -> f.withMarshaller(CreateUserDefinedUrlKeyWordRequest::getBody,
CreateUserDefinedUrlKeyWordRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef createVersionTestCase =
genForCreateVersionTestCase();
private static HttpRequestDef genForCreateVersionTestCase() {
// basic
HttpRequestDef.Builder builder = HttpRequestDef
.builder(HttpMethod.POST, CreateVersionTestCaseRequest.class, CreateVersionTestCaseResponse.class)
.withName("CreateVersionTestCase")
.withUri("/GT3KServer/v4/versions/{version_id}/testcases")
.withContentType("application/json");
// requests
builder.withRequestField("version_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(CreateVersionTestCaseRequest::getVersionId,
CreateVersionTestCaseRequest::setVersionId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(TestCaseInfo.class),
f -> f.withMarshaller(CreateVersionTestCaseRequest::getBody, CreateVersionTestCaseRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef deleteBasicAwById =
genForDeleteBasicAwById();
private static HttpRequestDef genForDeleteBasicAwById() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.DELETE, DeleteBasicAwByIdRequest.class, DeleteBasicAwByIdResponse.class)
.withName("DeleteBasicAwById")
.withUri("/v3/{project_id}/basic-aw/{aw_id}")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(DeleteBasicAwByIdRequest::getProjectId, DeleteBasicAwByIdRequest::setProjectId));
builder.withRequestField("aw_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(DeleteBasicAwByIdRequest::getAwId, DeleteBasicAwByIdRequest::setAwId));
// response
return builder.build();
}
public static final HttpRequestDef deleteRelationsByOneCase =
genForDeleteRelationsByOneCase();
private static HttpRequestDef genForDeleteRelationsByOneCase() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef
.builder(HttpMethod.DELETE,
DeleteRelationsByOneCaseRequest.class,
DeleteRelationsByOneCaseResponse.class)
.withName("DeleteRelationsByOneCase")
.withUri("/testrelation/v4/testcases/{case_id}/relations")
.withContentType("application/json");
// requests
builder.withRequestField("case_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(DeleteRelationsByOneCaseRequest::getCaseId,
DeleteRelationsByOneCaseRequest::setCaseId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(DeleteRelationsByOneCaseInfo.class),
f -> f.withMarshaller(DeleteRelationsByOneCaseRequest::getBody, DeleteRelationsByOneCaseRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef deleteService =
genForDeleteService();
private static HttpRequestDef genForDeleteService() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.DELETE, DeleteServiceRequest.class, DeleteServiceResponse.class)
.withName("DeleteService")
.withUri("/v1/services/{service_id}")
.withContentType("application/json");
// requests
builder.withRequestField("service_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(Integer.class),
f -> f.withMarshaller(DeleteServiceRequest::getServiceId, DeleteServiceRequest::setServiceId));
// response
return builder.build();
}
public static final HttpRequestDef deleteTestCaseComment =
genForDeleteTestCaseComment();
private static HttpRequestDef genForDeleteTestCaseComment() {
// basic
HttpRequestDef.Builder builder = HttpRequestDef
.builder(HttpMethod.DELETE, DeleteTestCaseCommentRequest.class, DeleteTestCaseCommentResponse.class)
.withName("DeleteTestCaseComment")
.withUri("/GT3KServer/v4/{project_id}/testcases/{testcase_id}/comments/{comment_id}")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(DeleteTestCaseCommentRequest::getProjectId,
DeleteTestCaseCommentRequest::setProjectId));
builder.withRequestField("testcase_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(DeleteTestCaseCommentRequest::getTestcaseId,
DeleteTestCaseCommentRequest::setTestcaseId));
builder.withRequestField("comment_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(DeleteTestCaseCommentRequest::getCommentId,
DeleteTestCaseCommentRequest::setCommentId));
builder.withRequestField("version_uri",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(DeleteTestCaseCommentRequest::getVersionUri,
DeleteTestCaseCommentRequest::setVersionUri));
// response
return builder.build();
}
public static final HttpRequestDef listAlarmStatisticsUsing =
genForListAlarmStatisticsUsing();
private static HttpRequestDef genForListAlarmStatisticsUsing() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef
.builder(HttpMethod.POST, ListAlarmStatisticsUsingRequest.class, ListAlarmStatisticsUsingResponse.class)
.withName("ListAlarmStatisticsUsing")
.withUri("/v1/projects/{service_id}/dashboards/alarm/statistics")
.withContentType("application/json");
// requests
builder.withRequestField("service_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAlarmStatisticsUsingRequest::getServiceId,
ListAlarmStatisticsUsingRequest::setServiceId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(AlarmStatisticsQuery.class),
f -> f.withMarshaller(ListAlarmStatisticsUsingRequest::getBody, ListAlarmStatisticsUsingRequest::setBody));
// response
builder.>withResponseField("body",
LocationType.Body,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(List.class),
f -> f.withMarshaller(ListAlarmStatisticsUsingResponse::getBody, ListAlarmStatisticsUsingResponse::setBody)
.withInnerContainerType(AlertStatisticsDto.class));
return builder.build();
}
public static final HttpRequestDef listAlertGroupsByCondition =
genForListAlertGroupsByCondition();
private static HttpRequestDef genForListAlertGroupsByCondition() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef
.builder(HttpMethod.POST,
ListAlertGroupsByConditionRequest.class,
ListAlertGroupsByConditionResponse.class)
.withName("ListAlertGroupsByCondition")
.withUri("/v1/projects/{service_id}/alert/group/users")
.withContentType("application/json");
// requests
builder.withRequestField("service_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAlertGroupsByConditionRequest::getServiceId,
ListAlertGroupsByConditionRequest::setServiceId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(ListAlertGroupsByConditionRequestBody.class),
f -> f.withMarshaller(ListAlertGroupsByConditionRequest::getBody,
ListAlertGroupsByConditionRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef listAlertTemplates =
genForListAlertTemplates();
private static HttpRequestDef genForListAlertTemplates() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.GET, ListAlertTemplatesRequest.class, ListAlertTemplatesResponse.class)
.withName("ListAlertTemplates")
.withUri("/v1/projects/{service_id}/alert-templates")
.withContentType("application/json");
// requests
builder.withRequestField("service_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAlertTemplatesRequest::getServiceId, ListAlertTemplatesRequest::setServiceId));
builder.withRequestField("name",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAlertTemplatesRequest::getName, ListAlertTemplatesRequest::setName));
builder.withRequestField("pageNum",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(Integer.class),
f -> f.withMarshaller(ListAlertTemplatesRequest::getPageNum, ListAlertTemplatesRequest::setPageNum));
builder.withRequestField("pageSize",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(Integer.class),
f -> f.withMarshaller(ListAlertTemplatesRequest::getPageSize, ListAlertTemplatesRequest::setPageSize));
// response
return builder.build();
}
public static final HttpRequestDef listAllBranches =
genForListAllBranches();
private static HttpRequestDef genForListAllBranches() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.GET, ListAllBranchesRequest.class, ListAllBranchesResponse.class)
.withName("ListAllBranches")
.withUri("/GT3KServer/v4/branches")
.withContentType("application/json");
// requests
builder.withRequestField("project_uuid",
LocationType.Query,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAllBranchesRequest::getProjectUuid, ListAllBranchesRequest::setProjectUuid));
builder.withRequestField("sort_field",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAllBranchesRequest::getSortField, ListAllBranchesRequest::setSortField));
builder.withRequestField("sort_type",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAllBranchesRequest::getSortType, ListAllBranchesRequest::setSortType));
// response
return builder.build();
}
public static final HttpRequestDef listAllConfigItemByType =
genForListAllConfigItemByType();
private static HttpRequestDef genForListAllConfigItemByType() {
// basic
HttpRequestDef.Builder builder = HttpRequestDef
.builder(HttpMethod.POST, ListAllConfigItemByTypeRequest.class, ListAllConfigItemByTypeResponse.class)
.withName("ListAllConfigItemByType")
.withUri("/v1/projects/{service_id}/service/configs")
.withContentType("application/json");
// requests
builder.withRequestField("service_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAllConfigItemByTypeRequest::getServiceId,
ListAllConfigItemByTypeRequest::setServiceId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(ListAllConfigItemByTypeRequestBody.class),
f -> f.withMarshaller(ListAllConfigItemByTypeRequest::getBody, ListAllConfigItemByTypeRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef listAllIterators =
genForListAllIterators();
private static HttpRequestDef genForListAllIterators() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.GET, ListAllIteratorsRequest.class, ListAllIteratorsResponse.class)
.withName("ListAllIterators")
.withUri("/GT3KServer/v4/projects/{project_id}/iterator-infos")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAllIteratorsRequest::getProjectId, ListAllIteratorsRequest::setProjectId));
// response
return builder.build();
}
public static final HttpRequestDef listAllTestCases =
genForListAllTestCases();
private static HttpRequestDef genForListAllTestCases() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, ListAllTestCasesRequest.class, ListAllTestCasesResponse.class)
.withName("ListAllTestCases")
.withUri("/GT3KServer/v4/{project_id}/testcases/batch-query")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAllTestCasesRequest::getProjectId, ListAllTestCasesRequest::setProjectId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(TestCasesQueryInfo.class),
f -> f.withMarshaller(ListAllTestCasesRequest::getBody, ListAllTestCasesRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef listAttachments =
genForListAttachments();
private static HttpRequestDef genForListAttachments() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.GET, ListAttachmentsRequest.class, ListAttachmentsResponse.class)
.withName("ListAttachments")
.withUri("/GT3KServer/v4/{project_id}/resources/{resource_uri}/attachments")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAttachmentsRequest::getProjectId, ListAttachmentsRequest::setProjectId));
builder.withRequestField("resource_uri",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAttachmentsRequest::getResourceUri, ListAttachmentsRequest::setResourceUri));
builder.withRequestField("resource_type",
LocationType.Query,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAttachmentsRequest::getResourceType, ListAttachmentsRequest::setResourceType));
// response
return builder.build();
}
public static final HttpRequestDef listAvailableConfig =
genForListAvailableConfig();
private static HttpRequestDef genForListAvailableConfig() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.GET, ListAvailableConfigRequest.class, ListAvailableConfigResponse.class)
.withName("ListAvailableConfig")
.withUri("/v1/{project_id}/available/config")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListAvailableConfigRequest::getProjectId, ListAvailableConfigRequest::setProjectId));
// response
return builder.build();
}
public static final HttpRequestDef listBasicAw = genForListBasicAw();
private static HttpRequestDef genForListBasicAw() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.GET, ListBasicAwRequest.class, ListBasicAwResponse.class)
.withName("ListBasicAw")
.withUri("/v3/{project_id}/basic-aw/{aw_id}")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListBasicAwRequest::getProjectId, ListBasicAwRequest::setProjectId));
builder.withRequestField("aw_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListBasicAwRequest::getAwId, ListBasicAwRequest::setAwId));
// response
return builder.build();
}
public static final HttpRequestDef listBasicAwInfoListSupportsSearch =
genForListBasicAwInfoListSupportsSearch();
private static HttpRequestDef genForListBasicAwInfoListSupportsSearch() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef
.builder(HttpMethod.POST,
ListBasicAwInfoListSupportsSearchRequest.class,
ListBasicAwInfoListSupportsSearchResponse.class)
.withName("ListBasicAwInfoListSupportsSearch")
.withUri("/v4/{project_id}/aw-cata/aw-info-list")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListBasicAwInfoListSupportsSearchRequest::getProjectId,
ListBasicAwInfoListSupportsSearchRequest::setProjectId));
builder.withRequestField("page_no",
LocationType.Query,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListBasicAwInfoListSupportsSearchRequest::getPageNo,
ListBasicAwInfoListSupportsSearchRequest::setPageNo));
builder.withRequestField("page_size",
LocationType.Query,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListBasicAwInfoListSupportsSearchRequest::getPageSize,
ListBasicAwInfoListSupportsSearchRequest::setPageSize));
builder.withRequestField("parent_id",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListBasicAwInfoListSupportsSearchRequest::getParentId,
ListBasicAwInfoListSupportsSearchRequest::setParentId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(SearchRequest.class),
f -> f.withMarshaller(ListBasicAwInfoListSupportsSearchRequest::getBody,
ListBasicAwInfoListSupportsSearchRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef listBranches = genForListBranches();
private static HttpRequestDef genForListBranches() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.GET, ListBranchesRequest.class, ListBranchesResponse.class)
.withName("ListBranches")
.withUri("/v1/{project_id}/branches")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListBranchesRequest::getProjectId, ListBranchesRequest::setProjectId));
builder.withRequestField("sort_field",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(ListBranchesRequest.SortFieldEnum.class),
f -> f.withMarshaller(ListBranchesRequest::getSortField, ListBranchesRequest::setSortField));
builder.withRequestField("sort_type",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(ListBranchesRequest.SortTypeEnum.class),
f -> f.withMarshaller(ListBranchesRequest::getSortType, ListBranchesRequest::setSortType));
builder.withRequestField("offset",
LocationType.Query,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(Integer.class),
f -> f.withMarshaller(ListBranchesRequest::getOffset, ListBranchesRequest::setOffset));
builder.withRequestField("limit",
LocationType.Query,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(Integer.class),
f -> f.withMarshaller(ListBranchesRequest::getLimit, ListBranchesRequest::setLimit));
// response
return builder.build();
}
public static final HttpRequestDef listCasesStatus =
genForListCasesStatus();
private static HttpRequestDef genForListCasesStatus() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, ListCasesStatusRequest.class, ListCasesStatusResponse.class)
.withName("ListCasesStatus")
.withUri("/v2/querycasestatus")
.withContentType("application/json");
// requests
builder.withRequestField("testServiceId",
LocationType.Query,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListCasesStatusRequest::getTestServiceId, ListCasesStatusRequest::setTestServiceId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListCasesStatusRequest::getBody, ListCasesStatusRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef listDomainVisibleServices =
genForListDomainVisibleServices();
private static HttpRequestDef genForListDomainVisibleServices() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef
.builder(HttpMethod.GET,
ListDomainVisibleServicesRequest.class,
ListDomainVisibleServicesResponse.class)
.withName("ListDomainVisibleServices")
.withUri("/GT3KServer/v4/{project_id}/visible-services")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListDomainVisibleServicesRequest::getProjectId,
ListDomainVisibleServicesRequest::setProjectId));
// response
return builder.build();
}
public static final HttpRequestDef listIssueTree =
genForListIssueTree();
private static HttpRequestDef genForListIssueTree() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, ListIssueTreeRequest.class, ListIssueTreeResponse.class)
.withName("ListIssueTree")
.withUri("/GT3KServer/v4/{project_id}/versions/{version_id}/issue-tree")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListIssueTreeRequest::getProjectId, ListIssueTreeRequest::setProjectId));
builder.withRequestField("version_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListIssueTreeRequest::getVersionId, ListIssueTreeRequest::setVersionId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(QueryIssueTreeInfo.class),
f -> f.withMarshaller(ListIssueTreeRequest::getBody, ListIssueTreeRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef listIteratorIssueTree =
genForListIteratorIssueTree();
private static HttpRequestDef genForListIteratorIssueTree() {
// basic
HttpRequestDef.Builder builder = HttpRequestDef
.builder(HttpMethod.POST, ListIteratorIssueTreeRequest.class, ListIteratorIssueTreeResponse.class)
.withName("ListIteratorIssueTree")
.withUri("/GT3KServer/v4/{project_id}/iterators/{iterator_id}/issues/batch-query")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListIteratorIssueTreeRequest::getProjectId,
ListIteratorIssueTreeRequest::setProjectId));
builder.withRequestField("iterator_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListIteratorIssueTreeRequest::getIteratorId,
ListIteratorIssueTreeRequest::setIteratorId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(IssueTreeInfo.class),
f -> f.withMarshaller(ListIteratorIssueTreeRequest::getBody, ListIteratorIssueTreeRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef listIterators =
genForListIterators();
private static HttpRequestDef genForListIterators() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, ListIteratorsRequest.class, ListIteratorsResponse.class)
.withName("ListIterators")
.withUri("/GT3KServer/v4/iterators/batch-query")
.withContentType("application/json");
// requests
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(IteratorVersionsQueryInfo.class),
f -> f.withMarshaller(ListIteratorsRequest::getBody, ListIteratorsRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef listLinesUsing =
genForListLinesUsing();
private static HttpRequestDef genForListLinesUsing() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, ListLinesUsingRequest.class, ListLinesUsingResponse.class)
.withName("ListLinesUsing")
.withUri("/v2/projects/{service_id}/dashboards/lines")
.withContentType("application/json");
// requests
builder.withRequestField("service_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListLinesUsingRequest::getServiceId, ListLinesUsingRequest::setServiceId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(DashboardDataQuery.class),
f -> f.withMarshaller(ListLinesUsingRequest::getBody, ListLinesUsingRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef listMsgInfosUsing =
genForListMsgInfosUsing();
private static HttpRequestDef genForListMsgInfosUsing() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.POST, ListMsgInfosUsingRequest.class, ListMsgInfosUsingResponse.class)
.withName("ListMsgInfosUsing")
.withUri("/v2/projects/{service_id}/dashboards/alarm/msgs")
.withContentType("application/json");
// requests
builder.withRequestField("service_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListMsgInfosUsingRequest::getServiceId, ListMsgInfosUsingRequest::setServiceId));
builder.withRequestField("body",
LocationType.Body,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(MsgInfoQuery.class),
f -> f.withMarshaller(ListMsgInfosUsingRequest::getBody, ListMsgInfosUsingRequest::setBody));
// response
return builder.build();
}
public static final HttpRequestDef listOwnTestCases =
genForListOwnTestCases();
private static HttpRequestDef genForListOwnTestCases() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.GET, ListOwnTestCasesRequest.class, ListOwnTestCasesResponse.class)
.withName("ListOwnTestCases")
.withUri("/GT3KServer/v4/current-user/testcases")
.withContentType("application/json");
// requests
builder.withRequestField("page_no",
LocationType.Query,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(Integer.class),
f -> f.withMarshaller(ListOwnTestCasesRequest::getPageNo, ListOwnTestCasesRequest::setPageNo));
builder.withRequestField("page_size",
LocationType.Query,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(Integer.class),
f -> f.withMarshaller(ListOwnTestCasesRequest::getPageSize, ListOwnTestCasesRequest::setPageSize));
builder.withRequestField("sort_field",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListOwnTestCasesRequest::getSortField, ListOwnTestCasesRequest::setSortField));
builder.withRequestField("sort_type",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListOwnTestCasesRequest::getSortType, ListOwnTestCasesRequest::setSortType));
builder.withRequestField("keyword",
LocationType.Query,
FieldExistence.NULL_IGNORE,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListOwnTestCasesRequest::getKeyword, ListOwnTestCasesRequest::setKeyword));
// response
return builder.build();
}
public static final HttpRequestDef listProjectFieldConfigs =
genForListProjectFieldConfigs();
private static HttpRequestDef genForListProjectFieldConfigs() {
// basic
HttpRequestDef.Builder builder = HttpRequestDef
.builder(HttpMethod.GET, ListProjectFieldConfigsRequest.class, ListProjectFieldConfigsResponse.class)
.withName("ListProjectFieldConfigs")
.withUri("/GT3KServer/v4/projects/{project_id}/field-configs")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListProjectFieldConfigsRequest::getProjectId,
ListProjectFieldConfigsRequest::setProjectId));
// response
return builder.build();
}
public static final HttpRequestDef listProjectTestCaseFields =
genForListProjectTestCaseFields();
private static HttpRequestDef genForListProjectTestCaseFields() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef
.builder(HttpMethod.GET,
ListProjectTestCaseFieldsRequest.class,
ListProjectTestCaseFieldsResponse.class)
.withName("ListProjectTestCaseFields")
.withUri("/GT3KServer/v4/{project_id}/testcase/field/batch-query")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListProjectTestCaseFieldsRequest::getProjectId,
ListProjectTestCaseFieldsRequest::setProjectId));
// response
return builder.build();
}
public static final HttpRequestDef listPublicLibAndAws =
genForListPublicLibAndAws();
private static HttpRequestDef genForListPublicLibAndAws() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.GET, ListPublicLibAndAwsRequest.class, ListPublicLibAndAwsResponse.class)
.withName("ListPublicLibAndAws")
.withUri("/v1/project/{project_id}/public_aw_lib_and_aws")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListPublicLibAndAwsRequest::getProjectId, ListPublicLibAndAwsRequest::setProjectId));
// response
return builder.build();
}
public static final HttpRequestDef listReports = genForListReports();
private static HttpRequestDef genForListReports() {
// basic
HttpRequestDef.Builder builder =
HttpRequestDef.builder(HttpMethod.GET, ListReportsRequest.class, ListReportsResponse.class)
.withName("ListReports")
.withUri("/testreport/v4/{project_id}/versions/{version_id}/custom-reports")
.withContentType("application/json");
// requests
builder.withRequestField("project_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListReportsRequest::getProjectId, ListReportsRequest::setProjectId));
builder.withRequestField("version_id",
LocationType.Path,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(String.class),
f -> f.withMarshaller(ListReportsRequest::getVersionId, ListReportsRequest::setVersionId));
builder.withRequestField("page_size",
LocationType.Query,
FieldExistence.NON_NULL_NON_EMPTY,
TypeCasts.uncheckedConversion(Long.class),
f -> f.withMarshaller(ListReportsRequest::getPageSize, ListReportsRequest::setPageSize));
builder.