From 7ae41ca6f65ffeef7172c1d5af01462f5ab508c6 Mon Sep 17 00:00:00 2001 From: Dmitry Gridnev Date: Wed, 13 Sep 2023 09:38:08 +0300 Subject: [PATCH] Release/2.4.0 (#24) * Fixed pipeline * Renamed project * Fixed pipeline --------- Co-authored-by: Dmitry.Gridnev --- .github/release-drafter.yml | 4 +- .github/workflows/release.yaml | 2 +- .github/workflows/validate.yaml | 2 +- .../Api/AttachmentsApi.cs | 272 +- .../Api/AutoTestsApi.cs | 1152 +++--- .../Api/BackgroundJobsApi.cs | 314 +- .../Api/ConfigurationsApi.cs | 634 +-- .../Api/CustomAttributeTemplatesApi.cs | 396 +- .../Api/CustomAttributesApi.cs | 340 +- .../Api/NotificationsApi.cs | 286 +- .../Api/ParametersApi.cs | 738 ++-- .../Api/ProjectsApi.cs | 3392 ++++++++--------- .../Api/SearchApi.cs | 120 +- .../Api/SectionsApi.cs | 396 +- .../Api/TagsApi.cs | 154 +- .../Api/TestPlansApi.cs | 1534 ++++---- .../Api/TestPointsApi.cs | 310 +- .../Api/TestResultsApi.cs | 672 ++-- .../Api/TestRunsApi.cs | 754 ++-- .../Api/TestSuitesApi.cs | 636 ++-- .../Api/WebhooksApi.cs | 502 +-- .../Api/WebhooksLogsApi.cs | 240 +- .../Api/WorkItemsApi.cs | 1290 +++---- .../Api/WorkItemsCommentsApi.cs | 238 +- .../Client/ApiClient.cs | 13 +- .../Client/ApiException.cs | 2 +- .../Client/ApiResponse.cs | 2 +- .../Client/ClientUtils.cs | 2 +- .../Client/Configuration.cs | 4 +- .../Client/ExceptionFactory.cs | 2 +- .../Client/FileParameter.cs | 4 +- .../Client/GlobalConfiguration.cs | 2 +- .../Client/IApiAccessor.cs | 2 +- .../Client/IAsynchronousClient.cs | 2 +- .../Client/IReadableConfiguration.cs | 2 +- .../Client/ISynchronousClient.cs | 2 +- .../Client/Multimap.cs | 2 +- .../Client/OpenAPIDateConverter.cs | 2 +- .../Client/RequestOptions.cs | 2 +- .../Client/RetryConfiguration.cs | 2 +- .../Client/WebRequestPathBuilder.cs | 2 +- .../Model/AbstractOpenAPISchema.cs | 2 +- .../Model/ActionUpdate.cs | 6 +- .../Model/ApiV2AttachmentsPostRequest.cs | 12 +- .../ApiV2AutoTestsFlakyBulkPostRequest.cs | 10 +- ...AutoTestsIdTestResultsSearchPostRequest.cs | 20 +- .../Model/ApiV2AutoTestsSearchPostRequest.cs | 10 +- .../ApiV2BackgroundJobsSearchPostRequest.cs | 16 +- ...igurationsCreateByParametersPostRequest.cs | 10 +- ...ApiV2ConfigurationsPurgeBulkPostRequest.cs | 10 +- .../Model/ApiV2ConfigurationsPutRequest.cs | 18 +- .../ApiV2ConfigurationsSearchPostRequest.cs | 14 +- ...ApiV2CustomAttributesGlobalIdPutRequest.cs | 14 +- .../ApiV2CustomAttributesGlobalPostRequest.cs | 16 +- .../ApiV2CustomAttributesSearchPostRequest.cs | 18 +- ...iV2CustomAttributesTemplatesPostRequest.cs | 10 +- ...piV2CustomAttributesTemplatesPutRequest.cs | 12 +- ...tomAttributesTemplatesSearchPostRequest.cs | 14 +- .../ApiV2NotificationsSearchPostRequest.cs | 12 +- .../Model/ApiV2ParametersSearchPostRequest.cs | 10 +- ...sIdAttributesTemplatesSearchPostRequest.cs | 10 +- ...rojectsIdTestPlansDeleteBulkPostRequest.cs | 10 +- ...iV2ProjectsIdTestPlansSearchPostRequest.cs | 38 +- ...iV2ProjectsIdWorkItemsSearchPostRequest.cs | 10 +- .../ApiV2ProjectsRestoreBulkPostRequest.cs | 10 +- .../Model/ApiV2ProjectsSearchPostRequest.cs | 26 +- .../ApiV2SearchGlobalSearchPostRequest.cs | 14 +- ...tPlansIdExportTestPointsXlsxPostRequest.cs | 34 +- ...lansIdTestPointsTesterUserIdPostRequest.cs | 10 +- ...iV2TestPlansIdTestRunsSearchPostRequest.cs | 18 +- .../Model/ApiV2TestPointsSearchPostRequest.cs | 50 +- .../Model/ApiV2TestResultsIdPutRequest.cs | 32 +- .../ApiV2TestResultsSearchPostRequest.cs | 18 +- ...V2TestRunsIdStatisticsFilterPostRequest.cs | 16 +- ...piV2TestRunsIdTestResultsBulkPutRequest.cs | 16 +- .../Model/ApiV2TestRunsSearchPostRequest.cs | 28 +- .../ApiV2TestRunsUpdateMultiplePostRequest.cs | 14 +- .../Model/ApiV2TestSuitesPostRequest.cs | 18 +- .../Model/ApiV2TestSuitesPutRequest.cs | 16 +- .../Model/ApiV2WebhooksPostRequest.cs | 34 +- .../Model/ApiV2WebhooksSearchPostRequest.cs | 16 +- .../Model/ApiV2WebhooksTestPostRequest.cs | 10 +- .../ApiV2WorkItemsCommentsPostRequest.cs | 10 +- .../Model/ApiV2WorkItemsCommentsPutRequest.cs | 10 +- .../Model/ApiV2WorkItemsMovePostRequest.cs | 14 +- ...aredStepIdReferencesSectionsPostRequest.cs | 16 +- ...redStepIdReferencesWorkItemsPostRequest.cs | 30 +- .../Model/AttachmentChangeViewModel.cs | 14 +- ...angeViewModelArrayChangedFieldViewModel.cs | 10 +- .../Model/AttachmentModel.cs | 24 +- ...AttachmentModelAutoTestStepResultsModel.cs | 26 +- .../Model/AttachmentPutModel.cs | 8 +- ...achmentPutModelAutoTestStepResultsModel.cs | 26 +- .../Model/AutoTestAverageDurationModel.cs | 10 +- .../Model/AutoTestChangeViewModel.cs | 14 +- ...angeViewModelArrayChangedFieldViewModel.cs | 10 +- .../Model/AutoTestIdModel.cs | 8 +- .../Model/AutoTestModel.cs | 60 +- .../Model/AutoTestModelV2GetModel.cs | 40 +- .../Model/AutoTestNamespaceModel.cs | 10 +- .../Model/AutoTestPostModel.cs | 38 +- .../Model/AutoTestPutModel.cs | 38 +- .../Model/AutoTestRelatedToTestResult.cs | 40 +- .../Model/AutoTestResultsForTestRunModel.cs | 38 +- .../Model/AutoTestShortModel.cs | 16 +- .../Model/AutoTestStepModel.cs | 12 +- .../Model/AutotestFilterModel.cs | 42 +- .../Model/AutotestFilterModelCreatedDate.cs | 10 +- .../Model/AutotestFilterModelModifiedDate.cs | 10 +- .../AutotestFilterModelStabilityPercentage.cs | 10 +- .../AutotestHistoricalResultSelectModel.cs | 20 +- .../Model/AutotestResultHistoricalGetModel.cs | 38 +- .../Model/AutotestResultOutcome.cs | 6 +- .../Model/AutotestResultReasonSubGetModel.cs | 10 +- .../Model/AutotestSelectModel.cs | 10 +- .../Model/AutotestsExtractionModel.cs | 8 +- .../Model/AutotestsExtractionModelIds.cs | 10 +- .../Model/AutotestsSelectModel.cs | 10 +- .../Model/AutotestsSelectModelFilter.cs | 42 +- .../Model/AutotestsSelectModelIncludes.cs | 12 +- .../Model/AvailableTestResultOutcome.cs | 6 +- .../Model/BackgroundJobAttachmentModel.cs | 12 +- .../Model/BackgroundJobFilterModel.cs | 16 +- .../Model/BackgroundJobGetModel.cs | 26 +- .../Model/BackgroundJobState.cs | 6 +- .../Model/BackgroundJobType.cs | 6 +- .../Model/BooleanChangedFieldViewModel.cs | 10 +- .../BooleanNullableChangedFieldViewModel.cs | 10 +- .../Model/ConfigurationByParametersModel.cs | 10 +- .../Model/ConfigurationExtractionModel.cs | 10 +- .../Model/ConfigurationExtractionModelIds.cs | 10 +- .../ConfigurationExtractionModelProjectIds.cs | 10 +- .../Model/ConfigurationFilterModel.cs | 14 +- .../Model/ConfigurationModel.cs | 30 +- .../Model/ConfigurationPostModel.cs | 16 +- .../Model/ConfigurationPutModel.cs | 18 +- .../Model/ConfigurationSelectModel.cs | 10 +- ...ConfigurationSelectModelExtractionModel.cs | 10 +- .../Model/ConfigurationSelectModelFilter.cs | 14 +- .../Model/CreateAndFillByAutoTestsRequest.cs | 22 +- .../CreateAndFillByConfigurationsRequest.cs | 22 +- .../Model/CreateAndFillByWorkItemsRequest.cs | 24 +- .../Model/CreateAutoTestRequest.cs | 38 +- .../Model/CreateConfigurationRequest.cs | 16 +- .../Model/CreateEmptyRequest.cs | 18 +- .../Model/CreateParameterRequest.cs | 10 +- .../Model/CreateProjectRequest.cs | 12 +- .../Model/CreateProjectsAttributeRequest.cs | 18 +- .../Model/CreateSectionRequest.cs | 16 +- .../Model/CreateTestPlanRequest.cs | 26 +- .../Model/CreateWorkItemRequest.cs | 40 +- .../Model/CustomAttributeChangeModel.cs | 16 +- .../Model/CustomAttributeGetModel.cs | 22 +- .../Model/CustomAttributeModel.cs | 22 +- .../Model/CustomAttributeOptionModel.cs | 14 +- .../Model/CustomAttributeOptionPostModel.cs | 10 +- .../Model/CustomAttributePostModel.cs | 18 +- .../Model/CustomAttributePutModel.cs | 22 +- .../Model/CustomAttributeSearchQueryModel.cs | 18 +- .../Model/CustomAttributeTemplateModel.cs | 12 +- .../Model/CustomAttributeTemplatePostModel.cs | 10 +- .../Model/CustomAttributeTemplatePutModel.cs | 12 +- ...CustomAttributeTemplateSearchQueryModel.cs | 14 +- ...ttributeTestPlanProjectRelationPutModel.cs | 12 +- .../Model/CustomAttributeTypesEnum.cs | 6 +- .../Model/DateTimeRangeSelectorModel.cs | 10 +- .../Model/DeletionState.cs | 6 +- .../Model/ExportProjectJsonRequest.cs | 10 +- .../ExportProjectWithTestPlansJsonRequest.cs | 8 +- .../Model/ExternalLinkModel.cs | 22 +- .../Model/FailureCategoryModel.cs | 6 +- .../Model/FailureClassModel.cs | 24 +- .../Model/FailureClassRegexModel.cs | 14 +- .../Model/FilterModel.cs | 26 +- .../Model/FlakyBulkModel.cs | 10 +- .../Model/GetXlsxTestPointsByTestPlanModel.cs | 34 +- .../Model/GlobalCustomAttributePostModel.cs | 16 +- .../Model/GlobalCustomAttributeUpdateModel.cs | 14 +- .../Model/GlobalSearchItemResult.cs | 16 +- .../Model/GlobalSearchRequest.cs | 14 +- .../Model/GlobalSearchResponse.cs | 12 +- .../Model/GuidChangedFieldViewModel.cs | 10 +- .../Model/GuidExtractionModel.cs | 10 +- .../Model/ImageResizeType.cs | 6 +- .../Model/Int32ChangedFieldViewModel.cs | 10 +- .../Model/Int32RangeSelectorModel.cs | 10 +- .../Model/Int64ChangedFieldViewModel.cs | 10 +- .../Model/Int64RangeSelectorModel.cs | 10 +- .../Model/IterationModel.cs | 10 +- .../Model/IterationPutModel.cs | 10 +- .../Model/LabelPostModel.cs | 8 +- .../Model/LabelShortModel.cs | 10 +- .../Model/LastTestResultModel.cs | 20 +- .../Model/LinkAutoTestToWorkItemRequest.cs | 8 +- .../Model/LinkModel.cs | 18 +- .../Model/LinkPostModel.cs | 16 +- .../Model/LinkPutModel.cs | 18 +- .../Model/LinkShortModel.cs | 12 +- .../Model/LinkSubGetModel.cs | 10 +- .../Model/LinkType.cs | 6 +- .../Model/MoveRequest.cs | 14 +- .../Model/NoContentResult.cs | 8 +- .../Model/NotificationModel.cs | 34 +- .../Model/NotificationQueryFilterModel.cs | 12 +- .../Model/NotificationTypeModel.cs | 6 +- .../Model/Operation.cs | 14 +- .../Model/ParameterFilterModel.cs | 10 +- .../Model/ParameterGroupModel.cs | 12 +- .../Model/ParameterIterationModel.cs | 8 +- .../Model/ParameterModel.cs | 24 +- .../Model/ParameterPostModel.cs | 10 +- .../Model/ParameterPutModel.cs | 12 +- .../Model/ParameterShortModel.cs | 14 +- .../Model/PeriodViewModel.cs | 10 +- .../PeriodViewModelChangedFieldViewModel.cs | 10 +- .../Model/ProblemDetails.cs | 16 +- .../Model/ProjectAttributesFilterModel.cs | 16 +- .../ProjectCustomAttributeTemplateGetModel.cs | 14 +- ...ectCustomAttributesTemplatesFilterModel.cs | 10 +- .../Model/ProjectExportQueryModel.cs | 10 +- .../ProjectExportWithTestPlansPostModel.cs | 8 +- .../Model/ProjectExtractionModel.cs | 8 +- .../Model/ProjectModel.cs | 38 +- .../Model/ProjectPostModel.cs | 12 +- .../Model/ProjectPutModel.cs | 14 +- .../Model/ProjectSelectModel.cs | 10 +- .../Model/ProjectShortestModel.cs | 14 +- .../Model/ProjectTestPlansFilterModel.cs | 38 +- .../Model/ProjectsFilterModel.cs | 26 +- .../ProjectsFilterModelAutotestsCount.cs | 10 +- .../ProjectsFilterModelChecklistsCount.cs | 10 +- .../Model/ProjectsFilterModelCreatedDate.cs | 10 +- .../ProjectsFilterModelSharedStepsCount.cs | 10 +- .../ProjectsFilterModelTestCasesCount.cs | 10 +- .../Model/PublicTestPointModel.cs | 16 +- .../Model/PublicTestRunModel.cs | 26 +- .../Model/RenameRequest.cs | 10 +- .../Model/RequestData.cs | 18 +- .../Model/RequestTypeModel.cs | 6 +- .../Model/SearchAttributesInProjectRequest.cs | 16 +- .../SearchAutoTestsQueryIncludesModel.cs | 12 +- .../SearchCustomAttributeTemplateGetModel.cs | 16 +- .../Model/SearchWebhooksQueryModel.cs | 16 +- .../Model/SearchWorkItemsRequest.cs | 54 +- .../Model/SectionModel.cs | 24 +- .../Model/SectionMoveModel.cs | 14 +- .../Model/SectionPostModel.cs | 16 +- .../Model/SectionPutModel.cs | 18 +- .../Model/SectionRenameModel.cs | 10 +- .../Model/SectionSharedStep.cs | 16 +- .../Model/SectionWithStepsModel.cs | 28 +- .../Model/SetOfAttachmentIds.cs | 10 +- .../Model/SetOfLinks.cs | 10 +- .../Model/SharedStepChangeViewModel.cs | 14 +- .../Model/SharedStepModel.cs | 16 +- .../Model/SharedStepReferenceModel.cs | 42 +- .../Model/SharedStepReferenceSectionModel.cs | 24 +- ...edStepReferenceSectionsQueryFilterModel.cs | 16 +- ...enceSectionsQueryFilterModelCreatedDate.cs | 10 +- ...nceSectionsQueryFilterModelModifiedDate.cs | 10 +- .../SharedStepReferencesQueryFilterModel.cs | 30 +- .../Model/SharedStepResultModel.cs | 10 +- .../Model/ShortConfiguration.cs | 10 +- .../Model/StepCommentModel.cs | 26 +- .../Model/StepModel.cs | 20 +- .../Model/StepPutModel.cs | 18 +- .../Model/StepResultModel.cs | 16 +- .../Model/StringArrayChangedFieldViewModel.cs | 10 +- .../Model/StringChangedFieldViewModel.cs | 10 +- .../StringChangedFieldWithDiffsViewModel.cs | 12 +- .../Model/TagShortModel.cs | 8 +- .../Model/TestPlanChangeModel.cs | 16 +- .../Model/TestPlanChangedFieldsViewModel.cs | 32 +- .../Model/TestPlanExtractionModel.cs | 8 +- .../Model/TestPlanGroupByStatus.cs | 10 +- .../Model/TestPlanGroupByTestSuite.cs | 12 +- .../Model/TestPlanGroupByTester.cs | 10 +- .../Model/TestPlanGroupByTesterAndStatus.cs | 12 +- .../Model/TestPlanLink.cs | 20 +- .../Model/TestPlanModel.cs | 50 +- .../Model/TestPlanPostModel.cs | 26 +- .../Model/TestPlanPutModel.cs | 30 +- .../Model/TestPlanSelectModel.cs | 10 +- .../Model/TestPlanShortModel.cs | 12 +- .../Model/TestPlanStatusModel.cs | 6 +- .../Model/TestPlanWithAnalyticModel.cs | 52 +- .../Model/TestPlanWithTestSuiteTreeModel.cs | 52 +- .../Model/TestPointAnalyticResult.cs | 16 +- .../Model/TestPointByTestSuiteModel.cs | 20 +- .../Model/TestPointChangeViewModel.cs | 12 +- ...intChangeViewModelChangedFieldViewModel.cs | 10 +- .../Model/TestPointFilterModel.cs | 50 +- .../Model/TestPointFilterModelCreatedDate.cs | 10 +- .../Model/TestPointFilterModelDuration.cs | 10 +- .../Model/TestPointFilterModelModifiedDate.cs | 10 +- ...TestPointFilterModelWorkItemCreatedDate.cs | 10 +- ...tPointFilterModelWorkItemMedianDuration.cs | 10 +- ...estPointFilterModelWorkItemModifiedDate.cs | 10 +- .../Model/TestPointPutModel.cs | 24 +- .../Model/TestPointRelatedToTestResult.cs | 22 +- .../Model/TestPointResultModel.cs | 20 +- .../Model/TestPointSelectModel.cs | 10 +- .../Model/TestPointSelector.cs | 10 +- .../Model/TestPointShortGetModel.cs | 68 +- .../TestPointShortGetModelLastTestResult.cs | 20 +- .../Model/TestPointShortModel.cs | 22 +- .../Model/TestPointStatus.cs | 6 +- .../Model/TestPointWithLastResultModel.cs | 54 +- .../Model/TestPointsExtractionModel.cs | 8 +- .../Model/TestPointsExtractionModelIds.cs | 10 +- .../Model/TestResultChangeViewModel.cs | 8 +- ...ultChangeViewModelChangedFieldViewModel.cs | 10 +- .../Model/TestResultChronologyModel.cs | 10 +- .../Model/TestResultConfiguration.cs | 30 +- .../Model/TestResultHistoryReportModel.cs | 58 +- .../Model/TestResultModel.cs | 72 +- .../Model/TestResultOutcome.cs | 6 +- .../Model/TestResultShortGetModel.cs | 32 +- .../Model/TestResultShortModel.cs | 24 +- .../Model/TestResultStepCommentPutModel.cs | 16 +- .../Model/TestResultUpdateModel.cs | 32 +- .../Model/TestResultV2GetModel.cs | 48 +- .../Model/TestResultV2ShortModel.cs | 44 +- .../Model/TestResultsFilterModel.cs | 18 +- .../Model/TestResultsLocalFilterModel.cs | 16 +- .../Model/TestResultsStatisticsGetModel.cs | 10 +- ...ultsStatisticsGetModelFailureCategories.cs | 16 +- .../TestResultsStatisticsGetModelStatuses.cs | 16 +- .../Model/TestRunAnalyticResultModel.cs | 10 +- .../Model/TestRunExtractionModel.cs | 8 +- .../Model/TestRunExtractionModelIds.cs | 10 +- .../Model/TestRunFillByAutoTestsPostModel.cs | 22 +- .../TestRunFillByConfigurationsPostModel.cs | 22 +- .../Model/TestRunFillByWorkItemsPostModel.cs | 24 +- .../Model/TestRunFilterModel.cs | 28 +- .../Model/TestRunFilterModelAutoTestsCount.cs | 10 +- .../Model/TestRunFilterModelCompletedDate.cs | 10 +- .../Model/TestRunFilterModelStartedDate.cs | 10 +- .../Model/TestRunGroupByFailureClassModel.cs | 10 +- .../Model/TestRunGroupByStatusModel.cs | 10 +- .../Model/TestRunModel.cs | 56 +- .../Model/TestRunSearchQueryModel.cs | 18 +- .../Model/TestRunSelectModel.cs | 10 +- .../TestRunSelectModelExtractionModel.cs | 8 +- .../Model/TestRunSelectionModel.cs | 10 +- .../Model/TestRunShortGetModel.cs | 28 +- .../Model/TestRunShortGetModelStatistics.cs | 10 +- .../Model/TestRunShortModel.cs | 20 +- .../Model/TestRunState.cs | 6 +- ...estRunStatisticsErrorCategoriesGetModel.cs | 16 +- .../TestRunStatisticsStatusesGetModel.cs | 16 +- .../TestRunTestResultsPartialBulkSetModel.cs | 16 +- ...nTestResultsPartialBulkSetModelSelector.cs | 10 +- .../Model/TestRunTestResultsSelectModel.cs | 10 +- .../TestRunTestResultsSelectModelFilter.cs | 16 +- ...SelectModelTestResultIdsExtractionModel.cs | 10 +- .../Model/TestRunUpdateMultipleModel.cs | 14 +- .../Model/TestRunV2GetModel.cs | 40 +- .../Model/TestRunV2PostShortModel.cs | 18 +- .../Model/TestRunV2PutModel.cs | 18 +- .../Model/TestSuiteChangeViewModel.cs | 14 +- ...iteChangeViewModelChangedFieldViewModel.cs | 10 +- .../Model/TestSuiteType.cs | 6 +- .../Model/TestSuiteV2GetModel.cs | 22 +- .../Model/TestSuiteV2PostModel.cs | 18 +- .../Model/TestSuiteV2PutModel.cs | 16 +- .../Model/TestSuiteV2TreeModel.cs | 24 +- .../Model/TestSuiteWithChildrenModel.cs | 20 +- .../Model/TestSuiteWorkItemsSearchModel.cs | 54 +- .../TestSuiteWorkItemsSearchModelDuration.cs | 10 +- ...SuiteWorkItemsSearchModelMedianDuration.cs | 10 +- .../Model/UpdateAttachmentShortModel.cs | 10 +- .../Model/UpdateAutoTestRequest.cs | 38 +- ...ttributeTestPlanProjectRelationsRequest.cs | 12 +- .../Model/UpdateEmptyRequest.cs | 18 +- .../Model/UpdateLinkShortModel.cs | 10 +- .../Model/UpdateParameterRequest.cs | 12 +- .../Model/UpdateProjectRequest.cs | 14 +- .../Model/UpdateProjectsAttributeRequest.cs | 22 +- .../Model/UpdateSectionRequest.cs | 18 +- .../Model/UpdateTestPlanRequest.cs | 30 +- .../Model/UpdateWorkItemRequest.cs | 38 +- .../Model/UserRankModel.cs | 18 +- .../Model/UserWithRankModel.cs | 34 +- .../ValidateAntiForgeryTokenAttribute.cs | 12 +- .../Model/ValidationProblemDetails.cs | 18 +- .../Model/WebHookEventType.cs | 6 +- .../Model/WebHookEventTypeModel.cs | 6 +- .../Model/WebHookLogModel.cs | 40 +- .../Model/WebHookModel.cs | 48 +- .../Model/WebHookPostModel.cs | 34 +- .../Model/WebHookTestModel.cs | 10 +- .../Model/WebhookVariablesType.cs | 6 +- .../Model/WorkItemChangeModel.cs | 20 +- .../WorkItemChangedAttributeViewModel.cs | 16 +- .../Model/WorkItemChangedFieldsViewModel.cs | 46 +- .../Model/WorkItemCommentModel.cs | 20 +- .../Model/WorkItemCommentPostModel.cs | 10 +- .../Model/WorkItemCommentPutModel.cs | 10 +- .../Model/WorkItemEntityTypes.cs | 6 +- .../Model/WorkItemFilterModel.cs | 50 +- .../Model/WorkItemIdModel.cs | 8 +- .../Model/WorkItemIdentifierModel.cs | 10 +- .../Model/WorkItemLikeModel.cs | 20 +- .../Model/WorkItemLinkChangeViewModel.cs | 18 +- ...angeViewModelArrayChangedFieldViewModel.cs | 10 +- .../Model/WorkItemModel.cs | 66 +- .../Model/WorkItemMovePostModel.cs | 14 +- .../Model/WorkItemPostModel.cs | 40 +- .../Model/WorkItemPriorityModel.cs | 6 +- .../Model/WorkItemPutModel.cs | 38 +- .../Model/WorkItemSearchQueryModel.cs | 44 +- .../Model/WorkItemSelectModel.cs | 10 +- .../WorkItemSelectModelExtractionModel.cs | 12 +- .../Model/WorkItemSelectModelFilter.cs | 50 +- .../Model/WorkItemShortModel.cs | 6 +- .../Model/WorkItemState.cs | 6 +- .../Model/WorkItemStates.cs | 6 +- .../Model/WorkItemStepChangeViewModel.cs | 6 +- ...odelArrayChangedFieldWithDiffsViewModel.cs | 6 +- .../Model/WorkItemVersionModel.cs | 6 +- .../Model/WorkItemsExtractionModel.cs | 12 +- .../Model/WorkItemsExtractionModelIds.cs | 10 +- .../WorkItemsExtractionModelSectionIds.cs | 10 +- .../TestIT.ApiClient.csproj} | 3 +- src/TestIt.Client.sln | 4 +- 426 files changed, 10603 insertions(+), 10601 deletions(-) rename src/{TestIt.Client => TestIT.ApiClient}/Api/AttachmentsApi.cs (72%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/AutoTestsApi.cs (78%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/BackgroundJobsApi.cs (72%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/ConfigurationsApi.cs (74%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/CustomAttributeTemplatesApi.cs (76%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/CustomAttributesApi.cs (72%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/NotificationsApi.cs (75%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/ParametersApi.cs (75%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/ProjectsApi.cs (74%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/SearchApi.cs (74%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/SectionsApi.cs (78%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/TagsApi.cs (75%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/TestPlansApi.cs (74%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/TestPointsApi.cs (72%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/TestResultsApi.cs (74%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/TestRunsApi.cs (75%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/TestSuitesApi.cs (76%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/WebhooksApi.cs (71%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/WebhooksLogsApi.cs (72%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/WorkItemsApi.cs (75%) rename src/{TestIt.Client => TestIT.ApiClient}/Api/WorkItemsCommentsApi.cs (75%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/ApiClient.cs (98%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/ApiException.cs (98%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/ApiResponse.cs (99%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/ClientUtils.cs (99%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/Configuration.cs (99%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/ExceptionFactory.cs (94%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/FileParameter.cs (98%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/GlobalConfiguration.cs (98%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/IApiAccessor.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/IAsynchronousClient.cs (99%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/IReadableConfiguration.cs (99%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/ISynchronousClient.cs (99%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/Multimap.cs (99%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/OpenAPIDateConverter.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/RequestOptions.cs (98%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/RetryConfiguration.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Client/WebRequestPathBuilder.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AbstractOpenAPISchema.cs (98%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ActionUpdate.cs (89%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2AttachmentsPostRequest.cs (91%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2AutoTestsFlakyBulkPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2AutoTestsIdTestResultsSearchPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2AutoTestsSearchPostRequest.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2BackgroundJobsSearchPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2ConfigurationsCreateByParametersPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2ConfigurationsPurgeBulkPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2ConfigurationsPutRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2ConfigurationsSearchPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2CustomAttributesGlobalIdPutRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2CustomAttributesGlobalPostRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2CustomAttributesSearchPostRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2CustomAttributesTemplatesPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2CustomAttributesTemplatesPutRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2CustomAttributesTemplatesSearchPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2NotificationsSearchPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2ParametersSearchPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2ProjectsIdAttributesTemplatesSearchPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2ProjectsIdTestPlansDeleteBulkPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2ProjectsIdTestPlansSearchPostRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2ProjectsIdWorkItemsSearchPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2ProjectsRestoreBulkPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2ProjectsSearchPostRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2SearchGlobalSearchPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2TestPlansIdExportTestPointsXlsxPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2TestPlansIdTestPointsTesterUserIdPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2TestPlansIdTestRunsSearchPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2TestPointsSearchPostRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2TestResultsIdPutRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2TestResultsSearchPostRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2TestRunsIdStatisticsFilterPostRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2TestRunsIdTestResultsBulkPutRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2TestRunsSearchPostRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2TestRunsUpdateMultiplePostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2TestSuitesPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2TestSuitesPutRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2WebhooksPostRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2WebhooksSearchPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2WebhooksTestPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2WorkItemsCommentsPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2WorkItemsCommentsPutRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2WorkItemsMovePostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AttachmentChangeViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AttachmentChangeViewModelArrayChangedFieldViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AttachmentModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AttachmentModelAutoTestStepResultsModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AttachmentPutModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AttachmentPutModelAutoTestStepResultsModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestAverageDurationModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestChangeViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestChangeViewModelArrayChangedFieldViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestIdModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestModelV2GetModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestNamespaceModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestPostModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestPutModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestRelatedToTestResult.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestResultsForTestRunModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestShortModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutoTestStepModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestFilterModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestFilterModelCreatedDate.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestFilterModelModifiedDate.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestFilterModelStabilityPercentage.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestHistoricalResultSelectModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestResultHistoricalGetModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestResultOutcome.cs (90%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestResultReasonSubGetModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestSelectModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestsExtractionModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestsExtractionModelIds.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestsSelectModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestsSelectModelFilter.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AutotestsSelectModelIncludes.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/AvailableTestResultOutcome.cs (89%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/BackgroundJobAttachmentModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/BackgroundJobFilterModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/BackgroundJobGetModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/BackgroundJobState.cs (90%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/BackgroundJobType.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/BooleanChangedFieldViewModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/BooleanNullableChangedFieldViewModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ConfigurationByParametersModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ConfigurationExtractionModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ConfigurationExtractionModelIds.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ConfigurationExtractionModelProjectIds.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ConfigurationFilterModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ConfigurationModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ConfigurationPostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ConfigurationPutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ConfigurationSelectModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ConfigurationSelectModelExtractionModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ConfigurationSelectModelFilter.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CreateAndFillByAutoTestsRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CreateAndFillByConfigurationsRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CreateAndFillByWorkItemsRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CreateAutoTestRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CreateConfigurationRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CreateEmptyRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CreateParameterRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CreateProjectRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CreateProjectsAttributeRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CreateSectionRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CreateTestPlanRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CreateWorkItemRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributeChangeModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributeGetModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributeModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributeOptionModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributeOptionPostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributePostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributePutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributeSearchQueryModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributeTemplateModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributeTemplatePostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributeTemplatePutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributeTemplateSearchQueryModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributeTestPlanProjectRelationPutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/CustomAttributeTypesEnum.cs (91%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/DateTimeRangeSelectorModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/DeletionState.cs (87%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ExportProjectJsonRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ExportProjectWithTestPlansJsonRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ExternalLinkModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/FailureCategoryModel.cs (90%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/FailureClassModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/FailureClassRegexModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/FilterModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/FlakyBulkModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/GetXlsxTestPointsByTestPlanModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/GlobalCustomAttributePostModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/GlobalCustomAttributeUpdateModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/GlobalSearchItemResult.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/GlobalSearchRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/GlobalSearchResponse.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/GuidChangedFieldViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/GuidExtractionModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ImageResizeType.cs (86%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/Int32ChangedFieldViewModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/Int32RangeSelectorModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/Int64ChangedFieldViewModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/Int64RangeSelectorModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/IterationModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/IterationPutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/LabelPostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/LabelShortModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/LastTestResultModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/LinkAutoTestToWorkItemRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/LinkModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/LinkPostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/LinkPutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/LinkShortModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/LinkSubGetModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/LinkType.cs (90%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/MoveRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/NoContentResult.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/NotificationModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/NotificationQueryFilterModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/NotificationTypeModel.cs (90%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/Operation.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ParameterFilterModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ParameterGroupModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ParameterIterationModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ParameterModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ParameterPostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ParameterPutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ParameterShortModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/PeriodViewModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/PeriodViewModelChangedFieldViewModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProblemDetails.cs (94%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectAttributesFilterModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectCustomAttributeTemplateGetModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectCustomAttributesTemplatesFilterModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectExportQueryModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectExportWithTestPlansPostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectExtractionModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectPostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectPutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectSelectModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectShortestModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectTestPlansFilterModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectsFilterModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectsFilterModelAutotestsCount.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectsFilterModelChecklistsCount.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectsFilterModelCreatedDate.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectsFilterModelSharedStepsCount.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ProjectsFilterModelTestCasesCount.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/PublicTestPointModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/PublicTestRunModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/RenameRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/RequestData.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/RequestTypeModel.cs (87%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SearchAttributesInProjectRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SearchAutoTestsQueryIncludesModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SearchCustomAttributeTemplateGetModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SearchWebhooksQueryModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SearchWorkItemsRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SectionModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SectionMoveModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SectionPostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SectionPutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SectionRenameModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SectionSharedStep.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SectionWithStepsModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SetOfAttachmentIds.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SetOfLinks.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SharedStepChangeViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SharedStepModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SharedStepReferenceModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SharedStepReferenceSectionModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SharedStepReferenceSectionsQueryFilterModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SharedStepReferenceSectionsQueryFilterModelCreatedDate.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SharedStepReferenceSectionsQueryFilterModelModifiedDate.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SharedStepReferencesQueryFilterModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/SharedStepResultModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ShortConfiguration.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/StepCommentModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/StepModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/StepPutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/StepResultModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/StringArrayChangedFieldViewModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/StringChangedFieldViewModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/StringChangedFieldWithDiffsViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TagShortModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanChangeModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanChangedFieldsViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanExtractionModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanGroupByStatus.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanGroupByTestSuite.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanGroupByTester.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanGroupByTesterAndStatus.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanLink.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanPostModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanPutModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanSelectModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanShortModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanStatusModel.cs (89%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanWithAnalyticModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPlanWithTestSuiteTreeModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointAnalyticResult.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointByTestSuiteModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointChangeViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointChangeViewModelChangedFieldViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointFilterModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointFilterModelCreatedDate.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointFilterModelDuration.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointFilterModelModifiedDate.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointFilterModelWorkItemCreatedDate.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointFilterModelWorkItemMedianDuration.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointFilterModelWorkItemModifiedDate.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointPutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointRelatedToTestResult.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointResultModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointSelectModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointSelector.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointShortGetModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointShortGetModelLastTestResult.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointShortModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointStatus.cs (90%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointWithLastResultModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointsExtractionModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestPointsExtractionModelIds.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultChangeViewModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultChangeViewModelChangedFieldViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultChronologyModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultConfiguration.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultHistoryReportModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultOutcome.cs (90%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultShortGetModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultShortModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultStepCommentPutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultUpdateModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultV2GetModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultV2ShortModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultsFilterModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultsLocalFilterModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultsStatisticsGetModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultsStatisticsGetModelFailureCategories.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestResultsStatisticsGetModelStatuses.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunAnalyticResultModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunExtractionModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunExtractionModelIds.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunFillByAutoTestsPostModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunFillByConfigurationsPostModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunFillByWorkItemsPostModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunFilterModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunFilterModelAutoTestsCount.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunFilterModelCompletedDate.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunFilterModelStartedDate.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunGroupByFailureClassModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunGroupByStatusModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunSearchQueryModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunSelectModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunSelectModelExtractionModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunSelectionModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunShortGetModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunShortGetModelStatistics.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunShortModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunState.cs (89%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunStatisticsErrorCategoriesGetModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunStatisticsStatusesGetModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunTestResultsPartialBulkSetModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunTestResultsPartialBulkSetModelSelector.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunTestResultsSelectModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunTestResultsSelectModelFilter.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunTestResultsSelectModelTestResultIdsExtractionModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunUpdateMultipleModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunV2GetModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunV2PostShortModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestRunV2PutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestSuiteChangeViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestSuiteChangeViewModelChangedFieldViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestSuiteType.cs (87%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestSuiteV2GetModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestSuiteV2PostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestSuiteV2PutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestSuiteV2TreeModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestSuiteWithChildrenModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestSuiteWorkItemsSearchModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestSuiteWorkItemsSearchModelDuration.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/TestSuiteWorkItemsSearchModelMedianDuration.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UpdateAttachmentShortModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UpdateAutoTestRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UpdateCustomAttributeTestPlanProjectRelationsRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UpdateEmptyRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UpdateLinkShortModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UpdateParameterRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UpdateProjectRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UpdateProjectsAttributeRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UpdateSectionRequest.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UpdateTestPlanRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UpdateWorkItemRequest.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UserRankModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/UserWithRankModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ValidateAntiForgeryTokenAttribute.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/ValidationProblemDetails.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WebHookEventType.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WebHookEventTypeModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WebHookLogModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WebHookModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WebHookPostModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WebHookTestModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WebhookVariablesType.cs (88%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemChangeModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemChangedAttributeViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemChangedFieldsViewModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemCommentModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemCommentPostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemCommentPutModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemEntityTypes.cs (88%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemFilterModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemIdModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemIdentifierModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemLikeModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemLinkChangeViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemMovePostModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemPostModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemPriorityModel.cs (89%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemPutModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemSearchQueryModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemSelectModel.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemSelectModelExtractionModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemSelectModelFilter.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemShortModel.cs (99%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemState.cs (87%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemStates.cs (88%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemStepChangeViewModel.cs (98%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemVersionModel.cs (97%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemsExtractionModel.cs (96%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemsExtractionModelIds.cs (95%) rename src/{TestIt.Client => TestIT.ApiClient}/Model/WorkItemsExtractionModelSectionIds.cs (95%) rename src/{TestIt.Client/TestIt.Client.csproj => TestIT.ApiClient/TestIT.ApiClient.csproj} (95%) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index a5f2dd33..31fe066a 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,5 +1,5 @@ -name-template: 'v$NEXT_PATCH_VERSION' -tag-template: 'v$NEXT_PATCH_VERSION' +name-template: '$NEXT_PATCH_VERSION' +tag-template: '$NEXT_PATCH_VERSION' categories: - title: '🚀 Features' labels: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bcd4d3c3..734bdb60 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,7 +6,7 @@ on: - released env: - PROJECT_DIR: ./src/TestIt.Client + PROJECT_DIR: ./src/TestIT.ApiClient NUGET_DIR: ./nuget jobs: diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index f9d77fa1..20e9472a 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -4,7 +4,7 @@ on: pull_request env: - PROJECT_DIR: ./src/TestIt.Client + PROJECT_DIR: ./src/TestIT.ApiClient VALIDATION: 1 jobs: diff --git a/src/TestIt.Client/Api/AttachmentsApi.cs b/src/TestIT.ApiClient/Api/AttachmentsApi.cs similarity index 72% rename from src/TestIt.Client/Api/AttachmentsApi.cs rename to src/TestIT.ApiClient/Api/AttachmentsApi.cs index b88ed371..1427a46f 100644 --- a/src/TestIt.Client/Api/AttachmentsApi.cs +++ b/src/TestIT.ApiClient/Api/AttachmentsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -30,7 +30,7 @@ public interface IAttachmentsApiSync : IApiAccessor /// /// Delete attachment file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// void ApiV2AttachmentsIdDelete(Guid id); @@ -39,16 +39,16 @@ public interface IAttachmentsApiSync : IApiAccessor /// Delete attachment file /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse ApiV2AttachmentsIdDeleteWithHttpInfo(Guid id); /// /// Download attachment file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Width of the result image (optional) /// Height of the result image (optional) @@ -62,9 +62,9 @@ public interface IAttachmentsApiSync : IApiAccessor /// Download attachment file /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Width of the result image (optional) /// Height of the result image (optional) @@ -76,7 +76,7 @@ public interface IAttachmentsApiSync : IApiAccessor /// /// Get size of attachments storage in bytes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// long long ApiV2AttachmentsOccupiedFileStorageSizeGet(); @@ -84,9 +84,9 @@ public interface IAttachmentsApiSync : IApiAccessor /// Get size of attachments storage in bytes /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// ApiResponse of long ApiResponse ApiV2AttachmentsOccupiedFileStorageSizeGetWithHttpInfo(); /// @@ -95,7 +95,7 @@ public interface IAttachmentsApiSync : IApiAccessor /// /// File size is restricted to 1 GB (1 073 741 824 bytes) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// AttachmentModel AttachmentModel ApiV2AttachmentsPost(FileParameter file = default(FileParameter)); @@ -106,7 +106,7 @@ public interface IAttachmentsApiSync : IApiAccessor /// /// File size is restricted to 1 GB (1 073 741 824 bytes) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of AttachmentModel ApiResponse ApiV2AttachmentsPostWithHttpInfo(FileParameter file = default(FileParameter)); @@ -123,9 +123,9 @@ public interface IAttachmentsApiAsync : IApiAccessor /// Delete attachment file /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of void @@ -135,9 +135,9 @@ public interface IAttachmentsApiAsync : IApiAccessor /// Delete attachment file /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -146,9 +146,9 @@ public interface IAttachmentsApiAsync : IApiAccessor /// Download attachment file /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Width of the result image (optional) /// Height of the result image (optional) @@ -163,9 +163,9 @@ public interface IAttachmentsApiAsync : IApiAccessor /// Download attachment file /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Width of the result image (optional) /// Height of the result image (optional) @@ -179,9 +179,9 @@ public interface IAttachmentsApiAsync : IApiAccessor /// Get size of attachments storage in bytes /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of long System.Threading.Tasks.Task ApiV2AttachmentsOccupiedFileStorageSizeGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -190,9 +190,9 @@ public interface IAttachmentsApiAsync : IApiAccessor /// Get size of attachments storage in bytes /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (long) System.Threading.Tasks.Task> ApiV2AttachmentsOccupiedFileStorageSizeGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -202,7 +202,7 @@ public interface IAttachmentsApiAsync : IApiAccessor /// /// File size is restricted to 1 GB (1 073 741 824 bytes) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of AttachmentModel @@ -214,7 +214,7 @@ public interface IAttachmentsApiAsync : IApiAccessor /// /// File size is restricted to 1 GB (1 073 741 824 bytes) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (AttachmentModel) @@ -235,7 +235,7 @@ public interface IAttachmentsApi : IAttachmentsApiSync, IAttachmentsApiAsync /// public partial class AttachmentsApi : IDisposable, IAttachmentsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -257,14 +257,14 @@ public AttachmentsApi() : this((string)null) /// public AttachmentsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -275,18 +275,18 @@ public AttachmentsApi(string basePath) /// An instance of Configuration. /// /// - public AttachmentsApi(TestIt.Client.Client.Configuration configuration) + public AttachmentsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -321,14 +321,14 @@ public AttachmentsApi(HttpClient client, string basePath, HttpClientHandler hand { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -343,19 +343,19 @@ public AttachmentsApi(HttpClient client, string basePath, HttpClientHandler hand /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public AttachmentsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public AttachmentsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -366,7 +366,7 @@ public AttachmentsApi(HttpClient client, TestIt.Client.Client.Configuration conf /// The client interface for asynchronous API access. /// The configuration object. /// - public AttachmentsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public AttachmentsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -375,7 +375,7 @@ public AttachmentsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Cli this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -389,17 +389,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -414,12 +414,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -433,9 +433,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Delete attachment file + /// Delete attachment file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// public void ApiV2AttachmentsIdDelete(Guid id) @@ -444,14 +444,14 @@ public void ApiV2AttachmentsIdDelete(Guid id) } /// - /// Delete attachment file + /// Delete attachment file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttpInfo(Guid id) + public ApiResponse ApiV2AttachmentsIdDeleteWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -463,13 +463,13 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp "text/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -490,9 +490,9 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp } /// - /// Delete attachment file + /// Delete attachment file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of void @@ -502,16 +502,16 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp } /// - /// Delete attachment file + /// Delete attachment file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2AttachmentsIdDeleteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2AttachmentsIdDeleteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -524,13 +524,13 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -552,9 +552,9 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp } /// - /// Download attachment file + /// Download attachment file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Width of the result image (optional) /// Height of the result image (optional) @@ -564,14 +564,14 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp /// FileParameter public FileParameter ApiV2AttachmentsIdGet(Guid id, int? width = default(int?), int? height = default(int?), ImageResizeType? resizeType = default(ImageResizeType?), string backgroundColor = default(string), bool? preview = default(bool?)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2AttachmentsIdGetWithHttpInfo(id, width, height, resizeType, backgroundColor, preview); + ApiResponse localVarResponse = ApiV2AttachmentsIdGetWithHttpInfo(id, width, height, resizeType, backgroundColor, preview); return localVarResponse.Data; } /// - /// Download attachment file + /// Download attachment file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Width of the result image (optional) /// Height of the result image (optional) @@ -579,9 +579,9 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp /// Color of the background if the `resizeType` is `AddBackgroundStripes` (optional) /// If image must be converted to a preview (lower quality, no animation) (optional) /// ApiResponse of FileParameter - public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdGetWithHttpInfo(Guid id, int? width = default(int?), int? height = default(int?), ImageResizeType? resizeType = default(ImageResizeType?), string backgroundColor = default(string), bool? preview = default(bool?)) + public ApiResponse ApiV2AttachmentsIdGetWithHttpInfo(Guid id, int? width = default(int?), int? height = default(int?), ImageResizeType? resizeType = default(ImageResizeType?), string backgroundColor = default(string), bool? preview = default(bool?)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -591,32 +591,32 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp "application/octet-stream" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (width != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "width", width)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "width", width)); } if (height != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "height", height)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "height", height)); } if (resizeType != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "resizeType", resizeType)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "resizeType", resizeType)); } if (backgroundColor != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "backgroundColor", backgroundColor)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "backgroundColor", backgroundColor)); } if (preview != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "preview", preview)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "preview", preview)); } // authentication (Bearer or PrivateToken) required @@ -638,9 +638,9 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp } /// - /// Download attachment file + /// Download attachment file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Width of the result image (optional) /// Height of the result image (optional) @@ -651,14 +651,14 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp /// Task of FileParameter public async System.Threading.Tasks.Task ApiV2AttachmentsIdGetAsync(Guid id, int? width = default(int?), int? height = default(int?), ImageResizeType? resizeType = default(ImageResizeType?), string backgroundColor = default(string), bool? preview = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2AttachmentsIdGetWithHttpInfoAsync(id, width, height, resizeType, backgroundColor, preview, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2AttachmentsIdGetWithHttpInfoAsync(id, width, height, resizeType, backgroundColor, preview, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Download attachment file + /// Download attachment file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Width of the result image (optional) /// Height of the result image (optional) @@ -667,10 +667,10 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp /// If image must be converted to a preview (lower quality, no animation) (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (FileParameter) - public async System.Threading.Tasks.Task> ApiV2AttachmentsIdGetWithHttpInfoAsync(Guid id, int? width = default(int?), int? height = default(int?), ImageResizeType? resizeType = default(ImageResizeType?), string backgroundColor = default(string), bool? preview = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2AttachmentsIdGetWithHttpInfoAsync(Guid id, int? width = default(int?), int? height = default(int?), ImageResizeType? resizeType = default(ImageResizeType?), string backgroundColor = default(string), bool? preview = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -681,32 +681,32 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (width != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "width", width)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "width", width)); } if (height != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "height", height)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "height", height)); } if (resizeType != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "resizeType", resizeType)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "resizeType", resizeType)); } if (backgroundColor != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "backgroundColor", backgroundColor)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "backgroundColor", backgroundColor)); } if (preview != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "preview", preview)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "preview", preview)); } // authentication (Bearer or PrivateToken) required @@ -729,24 +729,24 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsIdDeleteWithHttp } /// - /// Get size of attachments storage in bytes + /// Get size of attachments storage in bytes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// long public long ApiV2AttachmentsOccupiedFileStorageSizeGet() { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2AttachmentsOccupiedFileStorageSizeGetWithHttpInfo(); + ApiResponse localVarResponse = ApiV2AttachmentsOccupiedFileStorageSizeGetWithHttpInfo(); return localVarResponse.Data; } /// - /// Get size of attachments storage in bytes + /// Get size of attachments storage in bytes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// ApiResponse of long - public TestIt.Client.Client.ApiResponse ApiV2AttachmentsOccupiedFileStorageSizeGetWithHttpInfo() + public ApiResponse ApiV2AttachmentsOccupiedFileStorageSizeGetWithHttpInfo() { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -756,10 +756,10 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsOccupiedFileStorag "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -782,27 +782,27 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsOccupiedFileStorag } /// - /// Get size of attachments storage in bytes + /// Get size of attachments storage in bytes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of long public async System.Threading.Tasks.Task ApiV2AttachmentsOccupiedFileStorageSizeGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2AttachmentsOccupiedFileStorageSizeGetWithHttpInfoAsync(cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2AttachmentsOccupiedFileStorageSizeGetWithHttpInfoAsync(cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get size of attachments storage in bytes + /// Get size of attachments storage in bytes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (long) - public async System.Threading.Tasks.Task> ApiV2AttachmentsOccupiedFileStorageSizeGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2AttachmentsOccupiedFileStorageSizeGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -813,10 +813,10 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsOccupiedFileStorag }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -842,24 +842,24 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsOccupiedFileStorag /// /// Upload new attachment file File size is restricted to 1 GB (1 073 741 824 bytes) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// AttachmentModel public AttachmentModel ApiV2AttachmentsPost(FileParameter file = default(FileParameter)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2AttachmentsPostWithHttpInfo(file); + ApiResponse localVarResponse = ApiV2AttachmentsPostWithHttpInfo(file); return localVarResponse.Data; } /// /// Upload new attachment file File size is restricted to 1 GB (1 073 741 824 bytes) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of AttachmentModel - public TestIt.Client.Client.ApiResponse ApiV2AttachmentsPostWithHttpInfo(FileParameter file = default(FileParameter)) + public ApiResponse ApiV2AttachmentsPostWithHttpInfo(FileParameter file = default(FileParameter)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -870,10 +870,10 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsOccupiedFileStorag "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (file != null) @@ -902,27 +902,27 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsOccupiedFileStorag /// /// Upload new attachment file File size is restricted to 1 GB (1 073 741 824 bytes) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of AttachmentModel public async System.Threading.Tasks.Task ApiV2AttachmentsPostAsync(FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2AttachmentsPostWithHttpInfoAsync(file, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2AttachmentsPostWithHttpInfoAsync(file, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Upload new attachment file File size is restricted to 1 GB (1 073 741 824 bytes) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (AttachmentModel) - public async System.Threading.Tasks.Task> ApiV2AttachmentsPostWithHttpInfoAsync(FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2AttachmentsPostWithHttpInfoAsync(FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -934,10 +934,10 @@ public TestIt.Client.Client.ApiResponse ApiV2AttachmentsOccupiedFileStorag }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (file != null) diff --git a/src/TestIt.Client/Api/AutoTestsApi.cs b/src/TestIT.ApiClient/Api/AutoTestsApi.cs similarity index 78% rename from src/TestIt.Client/Api/AutoTestsApi.cs rename to src/TestIT.ApiClient/Api/AutoTestsApi.cs index 2f09fa0c..2074c97e 100644 --- a/src/TestIt.Client/Api/AutoTestsApi.cs +++ b/src/TestIT.ApiClient/Api/AutoTestsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -33,7 +33,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -49,7 +49,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -64,7 +64,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Global Id of auto test /// (optional) /// @@ -76,7 +76,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Global Id of auto test /// (optional) /// ApiResponse of Object(void) @@ -87,7 +87,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets getTestResultHistoryReportQuery (listed in the example) <br>User runs method execution <br>System search for test results using filters set by user in getTestResultHistoryReportQuery and id <br>System returns the enumeration of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -104,7 +104,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets getTestResultHistoryReportQuery (listed in the example) <br>User runs method execution <br>System search for test results using filters set by user in getTestResultHistoryReportQuery and id <br>System returns the enumeration of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -120,7 +120,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// List<Guid> List ApiV2AutoTestsIdWorkItemsChangedIdGet(Guid id); @@ -131,7 +131,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of List<Guid> ApiResponse> ApiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfo(Guid id); @@ -141,7 +141,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// @@ -153,7 +153,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// ApiResponse of Object(void) @@ -161,7 +161,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// Search for autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -175,9 +175,9 @@ public interface IAutoTestsApiSync : IApiAccessor /// Search for autotests /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -192,7 +192,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>This method creates a new autotest. <br>To add an autotest to the test plan, link it to a work item using the `POST /api/v2/autoTests/{autoTestId}/workItems` method. <br>Use the `POST /api/v2/testRuns/byAutoTests` method to run autotest outside the test plan. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// AutoTestModel AutoTestModel CreateAutoTest(CreateAutoTestRequest createAutoTestRequest = default(CreateAutoTestRequest)); @@ -203,7 +203,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>This method creates a new autotest. <br>To add an autotest to the test plan, link it to a work item using the `POST /api/v2/autoTests/{autoTestId}/workItems` method. <br>Use the `POST /api/v2/testRuns/byAutoTests` method to run autotest outside the test plan. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of AutoTestModel ApiResponse CreateAutoTestWithHttpInfo(CreateAutoTestRequest createAutoTestRequest = default(CreateAutoTestRequest)); @@ -213,7 +213,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest parameters (listed in the example) and runs method execution <br>System creates autotest <br>[Optional] If steps enumeration is set, system creates step items and relates them to autotest <br>[Optional] If setup enumeration is set, system creates setup items and relates them to autotest <br>[Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest <br>[Optional] If label enumeration is set, system creates labels and relates them to autotest <br>[Optional] If link enumeration is set, system creates links and relates them to autotest <br>System returns autotest model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// List<AutoTestModel> List CreateMultiple(List autoTestPostModel = default(List)); @@ -224,7 +224,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest parameters (listed in the example) and runs method execution <br>System creates autotest <br>[Optional] If steps enumeration is set, system creates step items and relates them to autotest <br>[Optional] If setup enumeration is set, system creates setup items and relates them to autotest <br>[Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest <br>[Optional] If label enumeration is set, system creates labels and relates them to autotest <br>[Optional] If link enumeration is set, system creates links and relates them to autotest <br>System returns autotest model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of List<AutoTestModel> ApiResponse> CreateMultipleWithHttpInfo(List autoTestPostModel = default(List)); @@ -234,7 +234,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier and runs method execution <br>System finds the autotest by the identifier <br>System deletes autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// void DeleteAutoTest(string id); @@ -245,7 +245,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier and runs method execution <br>System finds the autotest by the identifier <br>System deletes autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// ApiResponse of Object(void) ApiResponse DeleteAutoTestWithHttpInfo(string id); @@ -255,7 +255,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>[Optional] User sets workitem internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br> [Optional] if workitem id is set by User, System finds the workitem by the workitem identifier and unlinks it from autotest. <br>[Optional] Otherwise, if workitem id is not specified, System unlinks all workitems linked to autotest. <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Work item internal (UUID) or global (integer) identifier (optional) /// @@ -267,15 +267,15 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>[Optional] User sets workitem internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br> [Optional] if workitem id is set by User, System finds the workitem by the workitem identifier and unlinks it from autotest. <br>[Optional] Otherwise, if workitem id is not specified, System unlinks all workitems linked to autotest. <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Work item internal (UUID) or global (integer) identifier (optional) /// ApiResponse of Object(void) ApiResponse DeleteAutoTestLinkFromWorkItemWithHttpInfo(string id, string workItemId = default(string)); /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal ID (optional) /// Autotest external ID (optional) /// Autotest global ID (optional) @@ -307,12 +307,12 @@ public interface IAutoTestsApiSync : IApiAccessor List GetAllAutoTests(Guid? projectId = default(Guid?), string externalId = default(string), long? globalId = default(long?), string _namespace = default(string), bool? isNamespaceNull = default(bool?), bool? includeEmptyNamespaces = default(bool?), string className = default(string), bool? isClassnameNull = default(bool?), bool? includeEmptyClassNames = default(bool?), bool? isDeleted = default(bool?), bool? deleted = default(bool?), List labels = default(List), int? stabilityMinimal = default(int?), int? minStability = default(int?), int? stabilityMaximal = default(int?), int? maxStability = default(int?), bool? isFlaky = default(bool?), bool? flaky = default(bool?), bool? includeSteps = default(bool?), bool? includeLabels = default(bool?), string externalKey = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal ID (optional) /// Autotest external ID (optional) /// Autotest global ID (optional) @@ -348,7 +348,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System calculates pass average duration and fail average duration of autotest from all related test results <br>System returns pass average duration and fail average duration for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// AutoTestAverageDurationModel AutoTestAverageDurationModel GetAutoTestAverageDuration(string id); @@ -359,7 +359,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System calculates pass average duration and fail average duration of autotest from all related test results <br>System returns pass average duration and fail average duration for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// ApiResponse of AutoTestAverageDurationModel ApiResponse GetAutoTestAverageDurationWithHttpInfo(string id); @@ -369,7 +369,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal or global identifier and runs method execution <br>System returns autotest, which internal or global identifier equals the identifier value set in the previous action /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// AutoTestModel AutoTestModel GetAutoTestById(string id); @@ -380,7 +380,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal or global identifier and runs method execution <br>System returns autotest, which internal or global identifier equals the identifier value set in the previous action /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// ApiResponse of AutoTestModel ApiResponse GetAutoTestByIdWithHttpInfo(string id); @@ -390,7 +390,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search all test results related to autotest (with default limit equal 100) <br>System orders the test results by CompletedOn property descending and then orders by CreatedDate property descending <br>System returns test result chronology for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// List<TestResultChronologyModel> List GetAutoTestChronology(string id); @@ -401,7 +401,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search all test results related to autotest (with default limit equal 100) <br>System orders the test results by CompletedOn property descending and then orders by CreatedDate property descending <br>System returns test result chronology for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// ApiResponse of List<TestResultChronologyModel> ApiResponse> GetAutoTestChronologyWithHttpInfo(string id); @@ -411,7 +411,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search for all test runs related to the autotest <br>System returns the enumeration of test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// List<TestRunShortModel> List GetTestRuns(string id); @@ -422,14 +422,14 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search for all test runs related to the autotest <br>System returns the enumeration of test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// ApiResponse of List<TestRunShortModel> ApiResponse> GetTestRunsWithHttpInfo(string id); /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -450,12 +450,12 @@ public interface IAutoTestsApiSync : IApiAccessor List GetWorkItemResults(string id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -478,9 +478,9 @@ public interface IAutoTestsApiSync : IApiAccessor /// Get work items linked to autotest /// /// - /// <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. + /// <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the autotest entity ID.<br /> You can copy it from the address bar in your web browser or use autotest GUID. /// Specifies that a test is deleted or still relevant. (optional) /// OBSOLETE: Use `isDeleted` instead (optional, default to false) @@ -491,9 +491,9 @@ public interface IAutoTestsApiSync : IApiAccessor /// Get work items linked to autotest /// /// - /// <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. + /// <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the autotest entity ID.<br /> You can copy it from the address bar in your web browser or use autotest GUID. /// Specifies that a test is deleted or still relevant. (optional) /// OBSOLETE: Use `isDeleted` instead (optional, default to false) @@ -505,7 +505,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets work item internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br>System finds the work item by the work item identifier <br>System relates the work item with the autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// (optional) /// @@ -517,7 +517,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets work item internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br>System finds the work item by the work item identifier <br>System relates the work item with the autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// (optional) /// ApiResponse of Object(void) @@ -528,7 +528,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void UpdateAutoTest(UpdateAutoTestRequest updateAutoTestRequest = default(UpdateAutoTestRequest)); @@ -539,7 +539,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse UpdateAutoTestWithHttpInfo(UpdateAutoTestRequest updateAutoTestRequest = default(UpdateAutoTestRequest)); @@ -549,7 +549,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void UpdateMultiple(List autoTestPutModel = default(List)); @@ -560,7 +560,7 @@ public interface IAutoTestsApiSync : IApiAccessor /// /// <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse UpdateMultipleWithHttpInfo(List autoTestPutModel = default(List)); @@ -579,7 +579,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -596,7 +596,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -612,7 +612,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Global Id of auto test /// (optional) /// Cancellation Token to cancel the request. @@ -625,7 +625,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Global Id of auto test /// (optional) /// Cancellation Token to cancel the request. @@ -637,7 +637,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets getTestResultHistoryReportQuery (listed in the example) <br>User runs method execution <br>System search for test results using filters set by user in getTestResultHistoryReportQuery and id <br>System returns the enumeration of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -655,7 +655,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets getTestResultHistoryReportQuery (listed in the example) <br>User runs method execution <br>System search for test results using filters set by user in getTestResultHistoryReportQuery and id <br>System returns the enumeration of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -672,7 +672,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of List<Guid> @@ -684,7 +684,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Guid>) @@ -695,7 +695,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Cancellation Token to cancel the request. @@ -708,7 +708,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Cancellation Token to cancel the request. @@ -718,9 +718,9 @@ public interface IAutoTestsApiAsync : IApiAccessor /// Search for autotests /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -735,9 +735,9 @@ public interface IAutoTestsApiAsync : IApiAccessor /// Search for autotests /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -753,7 +753,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>This method creates a new autotest. <br>To add an autotest to the test plan, link it to a work item using the `POST /api/v2/autoTests/{autoTestId}/workItems` method. <br>Use the `POST /api/v2/testRuns/byAutoTests` method to run autotest outside the test plan. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of AutoTestModel @@ -765,7 +765,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>This method creates a new autotest. <br>To add an autotest to the test plan, link it to a work item using the `POST /api/v2/autoTests/{autoTestId}/workItems` method. <br>Use the `POST /api/v2/testRuns/byAutoTests` method to run autotest outside the test plan. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (AutoTestModel) @@ -776,7 +776,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest parameters (listed in the example) and runs method execution <br>System creates autotest <br>[Optional] If steps enumeration is set, system creates step items and relates them to autotest <br>[Optional] If setup enumeration is set, system creates setup items and relates them to autotest <br>[Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest <br>[Optional] If label enumeration is set, system creates labels and relates them to autotest <br>[Optional] If link enumeration is set, system creates links and relates them to autotest <br>System returns autotest model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of List<AutoTestModel> @@ -788,7 +788,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest parameters (listed in the example) and runs method execution <br>System creates autotest <br>[Optional] If steps enumeration is set, system creates step items and relates them to autotest <br>[Optional] If setup enumeration is set, system creates setup items and relates them to autotest <br>[Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest <br>[Optional] If label enumeration is set, system creates labels and relates them to autotest <br>[Optional] If link enumeration is set, system creates links and relates them to autotest <br>System returns autotest model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AutoTestModel>) @@ -799,7 +799,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier and runs method execution <br>System finds the autotest by the identifier <br>System deletes autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -811,7 +811,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier and runs method execution <br>System finds the autotest by the identifier <br>System deletes autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -822,7 +822,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>[Optional] User sets workitem internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br> [Optional] if workitem id is set by User, System finds the workitem by the workitem identifier and unlinks it from autotest. <br>[Optional] Otherwise, if workitem id is not specified, System unlinks all workitems linked to autotest. <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Work item internal (UUID) or global (integer) identifier (optional) /// Cancellation Token to cancel the request. @@ -835,19 +835,19 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>[Optional] User sets workitem internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br> [Optional] if workitem id is set by User, System finds the workitem by the workitem identifier and unlinks it from autotest. <br>[Optional] Otherwise, if workitem id is not specified, System unlinks all workitems linked to autotest. <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Work item internal (UUID) or global (integer) identifier (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteAutoTestLinkFromWorkItemWithHttpInfoAsync(string id, string workItemId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal ID (optional) /// Autotest external ID (optional) /// Autotest global ID (optional) @@ -880,12 +880,12 @@ public interface IAutoTestsApiAsync : IApiAccessor System.Threading.Tasks.Task> GetAllAutoTestsAsync(Guid? projectId = default(Guid?), string externalId = default(string), long? globalId = default(long?), string _namespace = default(string), bool? isNamespaceNull = default(bool?), bool? includeEmptyNamespaces = default(bool?), string className = default(string), bool? isClassnameNull = default(bool?), bool? includeEmptyClassNames = default(bool?), bool? isDeleted = default(bool?), bool? deleted = default(bool?), List labels = default(List), int? stabilityMinimal = default(int?), int? minStability = default(int?), int? stabilityMaximal = default(int?), int? maxStability = default(int?), bool? isFlaky = default(bool?), bool? flaky = default(bool?), bool? includeSteps = default(bool?), bool? includeLabels = default(bool?), string externalKey = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal ID (optional) /// Autotest external ID (optional) /// Autotest global ID (optional) @@ -922,7 +922,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System calculates pass average duration and fail average duration of autotest from all related test results <br>System returns pass average duration and fail average duration for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of AutoTestAverageDurationModel @@ -934,7 +934,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System calculates pass average duration and fail average duration of autotest from all related test results <br>System returns pass average duration and fail average duration for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (AutoTestAverageDurationModel) @@ -945,7 +945,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal or global identifier and runs method execution <br>System returns autotest, which internal or global identifier equals the identifier value set in the previous action /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of AutoTestModel @@ -957,7 +957,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal or global identifier and runs method execution <br>System returns autotest, which internal or global identifier equals the identifier value set in the previous action /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (AutoTestModel) @@ -968,7 +968,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search all test results related to autotest (with default limit equal 100) <br>System orders the test results by CompletedOn property descending and then orders by CreatedDate property descending <br>System returns test result chronology for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<TestResultChronologyModel> @@ -980,7 +980,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search all test results related to autotest (with default limit equal 100) <br>System orders the test results by CompletedOn property descending and then orders by CreatedDate property descending <br>System returns test result chronology for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestResultChronologyModel>) @@ -991,7 +991,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search for all test runs related to the autotest <br>System returns the enumeration of test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<TestRunShortModel> @@ -1003,18 +1003,18 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search for all test runs related to the autotest <br>System returns the enumeration of test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestRunShortModel>) System.Threading.Tasks.Task>> GetTestRunsWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -1036,12 +1036,12 @@ public interface IAutoTestsApiAsync : IApiAccessor System.Threading.Tasks.Task> GetWorkItemResultsAsync(string id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -1065,9 +1065,9 @@ public interface IAutoTestsApiAsync : IApiAccessor /// Get work items linked to autotest /// /// - /// <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. + /// <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the autotest entity ID.<br /> You can copy it from the address bar in your web browser or use autotest GUID. /// Specifies that a test is deleted or still relevant. (optional) /// OBSOLETE: Use `isDeleted` instead (optional, default to false) @@ -1079,9 +1079,9 @@ public interface IAutoTestsApiAsync : IApiAccessor /// Get work items linked to autotest /// /// - /// <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. + /// <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the autotest entity ID.<br /> You can copy it from the address bar in your web browser or use autotest GUID. /// Specifies that a test is deleted or still relevant. (optional) /// OBSOLETE: Use `isDeleted` instead (optional, default to false) @@ -1094,7 +1094,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets work item internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br>System finds the work item by the work item identifier <br>System relates the work item with the autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -1107,7 +1107,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets work item internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br>System finds the work item by the work item identifier <br>System relates the work item with the autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -1119,7 +1119,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1131,7 +1131,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1142,7 +1142,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1154,7 +1154,7 @@ public interface IAutoTestsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1175,7 +1175,7 @@ public interface IAutoTestsApi : IAutoTestsApiSync, IAutoTestsApiAsync /// public partial class AutoTestsApi : IDisposable, IAutoTestsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -1197,14 +1197,14 @@ public AutoTestsApi() : this((string)null) /// public AutoTestsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1215,18 +1215,18 @@ public AutoTestsApi(string basePath) /// An instance of Configuration. /// /// - public AutoTestsApi(TestIt.Client.Client.Configuration configuration) + public AutoTestsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1261,14 +1261,14 @@ public AutoTestsApi(HttpClient client, string basePath, HttpClientHandler handle { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1283,19 +1283,19 @@ public AutoTestsApi(HttpClient client, string basePath, HttpClientHandler handle /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public AutoTestsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public AutoTestsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1306,7 +1306,7 @@ public AutoTestsApi(HttpClient client, TestIt.Client.Client.Configuration config /// The client interface for asynchronous API access. /// The configuration object. /// - public AutoTestsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public AutoTestsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -1315,7 +1315,7 @@ public AutoTestsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Clien this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1329,17 +1329,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -1354,12 +1354,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -1375,7 +1375,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Set \"Flaky\" status for multiple autotests User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1391,7 +1391,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Set \"Flaky\" status for multiple autotests User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1399,9 +1399,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Value for searching (optional) /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2AutoTestsFlakyBulkPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsFlakyBulkPostRequest apiV2AutoTestsFlakyBulkPostRequest = default(ApiV2AutoTestsFlakyBulkPostRequest)) + public ApiResponse ApiV2AutoTestsFlakyBulkPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsFlakyBulkPostRequest apiV2AutoTestsFlakyBulkPostRequest = default(ApiV2AutoTestsFlakyBulkPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1412,31 +1412,31 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2AutoTestsFlakyBulkPostRequest; @@ -1461,7 +1461,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Set \"Flaky\" status for multiple autotests User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1478,7 +1478,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Set \"Flaky\" status for multiple autotests User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1487,10 +1487,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2AutoTestsFlakyBulkPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsFlakyBulkPostRequest apiV2AutoTestsFlakyBulkPostRequest = default(ApiV2AutoTestsFlakyBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2AutoTestsFlakyBulkPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsFlakyBulkPostRequest apiV2AutoTestsFlakyBulkPostRequest = default(ApiV2AutoTestsFlakyBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1502,31 +1502,31 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2AutoTestsFlakyBulkPostRequest; @@ -1552,7 +1552,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Patch auto test See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Global Id of auto test /// (optional) /// @@ -1564,13 +1564,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Patch auto test See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Global Id of auto test /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdPatchWithHttpInfo(Guid id, List operation = default(List)) + public ApiResponse ApiV2AutoTestsIdPatchWithHttpInfo(Guid id, List operation = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1581,13 +1581,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = operation; // authentication (Bearer or PrivateToken) required @@ -1611,7 +1611,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Patch auto test See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Global Id of auto test /// (optional) /// Cancellation Token to cancel the request. @@ -1624,15 +1624,15 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Patch auto test See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Global Id of auto test /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2AutoTestsIdPatchWithHttpInfoAsync(Guid id, List operation = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2AutoTestsIdPatchWithHttpInfoAsync(Guid id, List operation = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1644,13 +1644,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = operation; // authentication (Bearer or PrivateToken) required @@ -1675,7 +1675,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Get test results history for autotest <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets getTestResultHistoryReportQuery (listed in the example) <br>User runs method execution <br>System search for test results using filters set by user in getTestResultHistoryReportQuery and id <br>System returns the enumeration of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1686,14 +1686,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// List<AutotestResultHistoricalGetModel> public List ApiV2AutoTestsIdTestResultsSearchPost(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsIdTestResultsSearchPostRequest apiV2AutoTestsIdTestResultsSearchPostRequest = default(ApiV2AutoTestsIdTestResultsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2AutoTestsIdTestResultsSearchPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, apiV2AutoTestsIdTestResultsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2AutoTestsIdTestResultsSearchPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, apiV2AutoTestsIdTestResultsSearchPostRequest); return localVarResponse.Data; } /// /// Get test results history for autotest <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets getTestResultHistoryReportQuery (listed in the example) <br>User runs method execution <br>System search for test results using filters set by user in getTestResultHistoryReportQuery and id <br>System returns the enumeration of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1702,13 +1702,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Value for searching (optional) /// (optional) /// ApiResponse of List<AutotestResultHistoricalGetModel> - public TestIt.Client.Client.ApiResponse> ApiV2AutoTestsIdTestResultsSearchPostWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsIdTestResultsSearchPostRequest apiV2AutoTestsIdTestResultsSearchPostRequest = default(ApiV2AutoTestsIdTestResultsSearchPostRequest)) + public ApiResponse> ApiV2AutoTestsIdTestResultsSearchPostWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsIdTestResultsSearchPostRequest apiV2AutoTestsIdTestResultsSearchPostRequest = default(ApiV2AutoTestsIdTestResultsSearchPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->ApiV2AutoTestsIdTestResultsSearchPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->ApiV2AutoTestsIdTestResultsSearchPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1719,32 +1719,32 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2AutoTestsIdTestResultsSearchPostRequest; @@ -1769,7 +1769,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Get test results history for autotest <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets getTestResultHistoryReportQuery (listed in the example) <br>User runs method execution <br>System search for test results using filters set by user in getTestResultHistoryReportQuery and id <br>System returns the enumeration of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1781,14 +1781,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Task of List<AutotestResultHistoricalGetModel> public async System.Threading.Tasks.Task> ApiV2AutoTestsIdTestResultsSearchPostAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsIdTestResultsSearchPostRequest apiV2AutoTestsIdTestResultsSearchPostRequest = default(ApiV2AutoTestsIdTestResultsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2AutoTestsIdTestResultsSearchPostWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, apiV2AutoTestsIdTestResultsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2AutoTestsIdTestResultsSearchPostWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, apiV2AutoTestsIdTestResultsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get test results history for autotest <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets getTestResultHistoryReportQuery (listed in the example) <br>User runs method execution <br>System search for test results using filters set by user in getTestResultHistoryReportQuery and id <br>System returns the enumeration of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1798,14 +1798,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AutotestResultHistoricalGetModel>) - public async System.Threading.Tasks.Task>> ApiV2AutoTestsIdTestResultsSearchPostWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsIdTestResultsSearchPostRequest apiV2AutoTestsIdTestResultsSearchPostRequest = default(ApiV2AutoTestsIdTestResultsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2AutoTestsIdTestResultsSearchPostWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsIdTestResultsSearchPostRequest apiV2AutoTestsIdTestResultsSearchPostRequest = default(ApiV2AutoTestsIdTestResultsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->ApiV2AutoTestsIdTestResultsSearchPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->ApiV2AutoTestsIdTestResultsSearchPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1817,32 +1817,32 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2AutoTestsIdTestResultsSearchPostRequest; @@ -1868,24 +1868,24 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Get identifiers of changed linked work items User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// List<Guid> public List ApiV2AutoTestsIdWorkItemsChangedIdGet(Guid id) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfo(id); + ApiResponse> localVarResponse = ApiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfo(id); return localVarResponse.Data; } /// /// Get identifiers of changed linked work items User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of List<Guid> - public TestIt.Client.Client.ApiResponse> ApiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfo(Guid id) + public ApiResponse> ApiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1895,13 +1895,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2AutoTestsIdWorkItemsCha "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1924,27 +1924,27 @@ public TestIt.Client.Client.ApiResponse> ApiV2AutoTestsIdWorkItemsCha /// /// Get identifiers of changed linked work items User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of List<Guid> public async System.Threading.Tasks.Task> ApiV2AutoTestsIdWorkItemsChangedIdGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get identifiers of changed linked work items User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Guid>) - public async System.Threading.Tasks.Task>> ApiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1955,13 +1955,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2AutoTestsIdWorkItemsCha }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1985,7 +1985,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2AutoTestsIdWorkItemsCha /// /// Approve changes to work items linked to autotest User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// @@ -1997,13 +1997,13 @@ public void ApiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePost(Guid id, Guid /// /// Approve changes to work items linked to autotest User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePostWithHttpInfo(Guid id, Guid workItemId) + public ApiResponse ApiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePostWithHttpInfo(Guid id, Guid workItemId) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2013,14 +2013,14 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("workItemId", TestIt.Client.Client.ClientUtils.ParameterToString(workItemId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("workItemId", ClientUtils.ParameterToString(workItemId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2043,7 +2043,7 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged /// /// Approve changes to work items linked to autotest User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Cancellation Token to cancel the request. @@ -2056,15 +2056,15 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged /// /// Approve changes to work items linked to autotest User permissions for project: - Read only - Execute - Write - Full control /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePostWithHttpInfoAsync(Guid id, Guid workItemId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePostWithHttpInfoAsync(Guid id, Guid workItemId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2075,14 +2075,14 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("workItemId", TestIt.Client.Client.ClientUtils.ParameterToString(workItemId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("workItemId", ClientUtils.ParameterToString(workItemId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2104,9 +2104,9 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged } /// - /// Search for autotests + /// Search for autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -2116,14 +2116,14 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged /// List<AutoTestModel> public List ApiV2AutoTestsSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsSearchPostRequest apiV2AutoTestsSearchPostRequest = default(ApiV2AutoTestsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2AutoTestsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2AutoTestsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2AutoTestsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2AutoTestsSearchPostRequest); return localVarResponse.Data; } /// - /// Search for autotests + /// Search for autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -2131,9 +2131,9 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged /// Value for searching (optional) /// (optional) /// ApiResponse of List<AutoTestModel> - public TestIt.Client.Client.ApiResponse> ApiV2AutoTestsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsSearchPostRequest apiV2AutoTestsSearchPostRequest = default(ApiV2AutoTestsSearchPostRequest)) + public ApiResponse> ApiV2AutoTestsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsSearchPostRequest apiV2AutoTestsSearchPostRequest = default(ApiV2AutoTestsSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2144,31 +2144,31 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2AutoTestsSearchPostRequest; @@ -2191,9 +2191,9 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged } /// - /// Search for autotests + /// Search for autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -2204,14 +2204,14 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged /// Task of List<AutoTestModel> public async System.Threading.Tasks.Task> ApiV2AutoTestsSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsSearchPostRequest apiV2AutoTestsSearchPostRequest = default(ApiV2AutoTestsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2AutoTestsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2AutoTestsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2AutoTestsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2AutoTestsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for autotests + /// Search for autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -2220,10 +2220,10 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AutoTestModel>) - public async System.Threading.Tasks.Task>> ApiV2AutoTestsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsSearchPostRequest apiV2AutoTestsSearchPostRequest = default(ApiV2AutoTestsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2AutoTestsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2AutoTestsSearchPostRequest apiV2AutoTestsSearchPostRequest = default(ApiV2AutoTestsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2235,31 +2235,31 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2AutoTestsSearchPostRequest; @@ -2285,24 +2285,24 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged /// /// Create autotest <br>This method creates a new autotest. <br>To add an autotest to the test plan, link it to a work item using the `POST /api/v2/autoTests/{autoTestId}/workItems` method. <br>Use the `POST /api/v2/testRuns/byAutoTests` method to run autotest outside the test plan. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// AutoTestModel public AutoTestModel CreateAutoTest(CreateAutoTestRequest createAutoTestRequest = default(CreateAutoTestRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateAutoTestWithHttpInfo(createAutoTestRequest); + ApiResponse localVarResponse = CreateAutoTestWithHttpInfo(createAutoTestRequest); return localVarResponse.Data; } /// /// Create autotest <br>This method creates a new autotest. <br>To add an autotest to the test plan, link it to a work item using the `POST /api/v2/autoTests/{autoTestId}/workItems` method. <br>Use the `POST /api/v2/testRuns/byAutoTests` method to run autotest outside the test plan. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of AutoTestModel - public TestIt.Client.Client.ApiResponse CreateAutoTestWithHttpInfo(CreateAutoTestRequest createAutoTestRequest = default(CreateAutoTestRequest)) + public ApiResponse CreateAutoTestWithHttpInfo(CreateAutoTestRequest createAutoTestRequest = default(CreateAutoTestRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2313,10 +2313,10 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createAutoTestRequest; @@ -2342,27 +2342,27 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged /// /// Create autotest <br>This method creates a new autotest. <br>To add an autotest to the test plan, link it to a work item using the `POST /api/v2/autoTests/{autoTestId}/workItems` method. <br>Use the `POST /api/v2/testRuns/byAutoTests` method to run autotest outside the test plan. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of AutoTestModel public async System.Threading.Tasks.Task CreateAutoTestAsync(CreateAutoTestRequest createAutoTestRequest = default(CreateAutoTestRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateAutoTestWithHttpInfoAsync(createAutoTestRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateAutoTestWithHttpInfoAsync(createAutoTestRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create autotest <br>This method creates a new autotest. <br>To add an autotest to the test plan, link it to a work item using the `POST /api/v2/autoTests/{autoTestId}/workItems` method. <br>Use the `POST /api/v2/testRuns/byAutoTests` method to run autotest outside the test plan. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (AutoTestModel) - public async System.Threading.Tasks.Task> CreateAutoTestWithHttpInfoAsync(CreateAutoTestRequest createAutoTestRequest = default(CreateAutoTestRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateAutoTestWithHttpInfoAsync(CreateAutoTestRequest createAutoTestRequest = default(CreateAutoTestRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2374,10 +2374,10 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createAutoTestRequest; @@ -2404,24 +2404,24 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged /// /// Create multiple autotests <br>Use case <br>User sets autotest parameters (listed in the example) and runs method execution <br>System creates autotest <br>[Optional] If steps enumeration is set, system creates step items and relates them to autotest <br>[Optional] If setup enumeration is set, system creates setup items and relates them to autotest <br>[Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest <br>[Optional] If label enumeration is set, system creates labels and relates them to autotest <br>[Optional] If link enumeration is set, system creates links and relates them to autotest <br>System returns autotest model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// List<AutoTestModel> public List CreateMultiple(List autoTestPostModel = default(List)) { - TestIt.Client.Client.ApiResponse> localVarResponse = CreateMultipleWithHttpInfo(autoTestPostModel); + ApiResponse> localVarResponse = CreateMultipleWithHttpInfo(autoTestPostModel); return localVarResponse.Data; } /// /// Create multiple autotests <br>Use case <br>User sets autotest parameters (listed in the example) and runs method execution <br>System creates autotest <br>[Optional] If steps enumeration is set, system creates step items and relates them to autotest <br>[Optional] If setup enumeration is set, system creates setup items and relates them to autotest <br>[Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest <br>[Optional] If label enumeration is set, system creates labels and relates them to autotest <br>[Optional] If link enumeration is set, system creates links and relates them to autotest <br>System returns autotest model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of List<AutoTestModel> - public TestIt.Client.Client.ApiResponse> CreateMultipleWithHttpInfo(List autoTestPostModel = default(List)) + public ApiResponse> CreateMultipleWithHttpInfo(List autoTestPostModel = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2432,10 +2432,10 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = autoTestPostModel; @@ -2461,27 +2461,27 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged /// /// Create multiple autotests <br>Use case <br>User sets autotest parameters (listed in the example) and runs method execution <br>System creates autotest <br>[Optional] If steps enumeration is set, system creates step items and relates them to autotest <br>[Optional] If setup enumeration is set, system creates setup items and relates them to autotest <br>[Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest <br>[Optional] If label enumeration is set, system creates labels and relates them to autotest <br>[Optional] If link enumeration is set, system creates links and relates them to autotest <br>System returns autotest model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of List<AutoTestModel> public async System.Threading.Tasks.Task> CreateMultipleAsync(List autoTestPostModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await CreateMultipleWithHttpInfoAsync(autoTestPostModel, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await CreateMultipleWithHttpInfoAsync(autoTestPostModel, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create multiple autotests <br>Use case <br>User sets autotest parameters (listed in the example) and runs method execution <br>System creates autotest <br>[Optional] If steps enumeration is set, system creates step items and relates them to autotest <br>[Optional] If setup enumeration is set, system creates setup items and relates them to autotest <br>[Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest <br>[Optional] If label enumeration is set, system creates labels and relates them to autotest <br>[Optional] If link enumeration is set, system creates links and relates them to autotest <br>System returns autotest model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AutoTestModel>) - public async System.Threading.Tasks.Task>> CreateMultipleWithHttpInfoAsync(List autoTestPostModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> CreateMultipleWithHttpInfoAsync(List autoTestPostModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2493,10 +2493,10 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = autoTestPostModel; @@ -2523,7 +2523,7 @@ public TestIt.Client.Client.ApiResponse ApiV2AutoTestsIdWorkItemsChanged /// /// Delete autotest <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier and runs method execution <br>System finds the autotest by the identifier <br>System deletes autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// public void DeleteAutoTest(string id) @@ -2534,16 +2534,16 @@ public void DeleteAutoTest(string id) /// /// Delete autotest <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier and runs method execution <br>System finds the autotest by the identifier <br>System deletes autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(string id) + public ApiResponse DeleteAutoTestWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->DeleteAutoTest"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->DeleteAutoTest"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2553,13 +2553,13 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2582,7 +2582,7 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin /// /// Delete autotest <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier and runs method execution <br>System finds the autotest by the identifier <br>System deletes autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -2594,18 +2594,18 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin /// /// Delete autotest <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier and runs method execution <br>System finds the autotest by the identifier <br>System deletes autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteAutoTestWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteAutoTestWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->DeleteAutoTest"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->DeleteAutoTest"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2616,13 +2616,13 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2646,7 +2646,7 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin /// /// Unlink autotest from work item <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>[Optional] User sets workitem internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br> [Optional] if workitem id is set by User, System finds the workitem by the workitem identifier and unlinks it from autotest. <br>[Optional] Otherwise, if workitem id is not specified, System unlinks all workitems linked to autotest. <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Work item internal (UUID) or global (integer) identifier (optional) /// @@ -2658,17 +2658,17 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin /// /// Unlink autotest from work item <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>[Optional] User sets workitem internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br> [Optional] if workitem id is set by User, System finds the workitem by the workitem identifier and unlinks it from autotest. <br>[Optional] Otherwise, if workitem id is not specified, System unlinks all workitems linked to autotest. <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Work item internal (UUID) or global (integer) identifier (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteAutoTestLinkFromWorkItemWithHttpInfo(string id, string workItemId = default(string)) + public ApiResponse DeleteAutoTestLinkFromWorkItemWithHttpInfo(string id, string workItemId = default(string)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->DeleteAutoTestLinkFromWorkItem"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->DeleteAutoTestLinkFromWorkItem"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2678,16 +2678,16 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (workItemId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "workItemId", workItemId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "workItemId", workItemId)); } // authentication (Bearer or PrivateToken) required @@ -2711,7 +2711,7 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin /// /// Unlink autotest from work item <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>[Optional] User sets workitem internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br> [Optional] if workitem id is set by User, System finds the workitem by the workitem identifier and unlinks it from autotest. <br>[Optional] Otherwise, if workitem id is not specified, System unlinks all workitems linked to autotest. <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Work item internal (UUID) or global (integer) identifier (optional) /// Cancellation Token to cancel the request. @@ -2724,19 +2724,19 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin /// /// Unlink autotest from work item <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>[Optional] User sets workitem internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br> [Optional] if workitem id is set by User, System finds the workitem by the workitem identifier and unlinks it from autotest. <br>[Optional] Otherwise, if workitem id is not specified, System unlinks all workitems linked to autotest. <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Work item internal (UUID) or global (integer) identifier (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteAutoTestLinkFromWorkItemWithHttpInfoAsync(string id, string workItemId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteAutoTestLinkFromWorkItemWithHttpInfoAsync(string id, string workItemId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->DeleteAutoTestLinkFromWorkItem"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->DeleteAutoTestLinkFromWorkItem"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2747,16 +2747,16 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (workItemId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "workItemId", workItemId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "workItemId", workItemId)); } // authentication (Bearer or PrivateToken) required @@ -2779,9 +2779,9 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal ID (optional) /// Autotest external ID (optional) /// Autotest global ID (optional) @@ -2812,14 +2812,14 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin [Obsolete] public List GetAllAutoTests(Guid? projectId = default(Guid?), string externalId = default(string), long? globalId = default(long?), string _namespace = default(string), bool? isNamespaceNull = default(bool?), bool? includeEmptyNamespaces = default(bool?), string className = default(string), bool? isClassnameNull = default(bool?), bool? includeEmptyClassNames = default(bool?), bool? isDeleted = default(bool?), bool? deleted = default(bool?), List labels = default(List), int? stabilityMinimal = default(int?), int? minStability = default(int?), int? stabilityMaximal = default(int?), int? maxStability = default(int?), bool? isFlaky = default(bool?), bool? flaky = default(bool?), bool? includeSteps = default(bool?), bool? includeLabels = default(bool?), string externalKey = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetAllAutoTestsWithHttpInfo(projectId, externalId, globalId, _namespace, isNamespaceNull, includeEmptyNamespaces, className, isClassnameNull, includeEmptyClassNames, isDeleted, deleted, labels, stabilityMinimal, minStability, stabilityMaximal, maxStability, isFlaky, flaky, includeSteps, includeLabels, externalKey, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = GetAllAutoTestsWithHttpInfo(projectId, externalId, globalId, _namespace, isNamespaceNull, includeEmptyNamespaces, className, isClassnameNull, includeEmptyClassNames, isDeleted, deleted, labels, stabilityMinimal, minStability, stabilityMaximal, maxStability, isFlaky, flaky, includeSteps, includeLabels, externalKey, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal ID (optional) /// Autotest external ID (optional) /// Autotest global ID (optional) @@ -2848,9 +2848,9 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin /// Value for searching (optional) /// ApiResponse of List<AutoTestModel> [Obsolete] - public TestIt.Client.Client.ApiResponse> GetAllAutoTestsWithHttpInfo(Guid? projectId = default(Guid?), string externalId = default(string), long? globalId = default(long?), string _namespace = default(string), bool? isNamespaceNull = default(bool?), bool? includeEmptyNamespaces = default(bool?), string className = default(string), bool? isClassnameNull = default(bool?), bool? includeEmptyClassNames = default(bool?), bool? isDeleted = default(bool?), bool? deleted = default(bool?), List labels = default(List), int? stabilityMinimal = default(int?), int? minStability = default(int?), int? stabilityMaximal = default(int?), int? maxStability = default(int?), bool? isFlaky = default(bool?), bool? flaky = default(bool?), bool? includeSteps = default(bool?), bool? includeLabels = default(bool?), string externalKey = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> GetAllAutoTestsWithHttpInfo(Guid? projectId = default(Guid?), string externalId = default(string), long? globalId = default(long?), string _namespace = default(string), bool? isNamespaceNull = default(bool?), bool? includeEmptyNamespaces = default(bool?), string className = default(string), bool? isClassnameNull = default(bool?), bool? includeEmptyClassNames = default(bool?), bool? isDeleted = default(bool?), bool? deleted = default(bool?), List labels = default(List), int? stabilityMinimal = default(int?), int? minStability = default(int?), int? stabilityMaximal = default(int?), int? maxStability = default(int?), bool? isFlaky = default(bool?), bool? flaky = default(bool?), bool? includeSteps = default(bool?), bool? includeLabels = default(bool?), string externalKey = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2860,115 +2860,115 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (projectId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "projectId", projectId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "projectId", projectId)); } if (externalId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "externalId", externalId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "externalId", externalId)); } if (globalId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "globalId", globalId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "globalId", globalId)); } if (_namespace != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "namespace", _namespace)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "namespace", _namespace)); } if (isNamespaceNull != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isNamespaceNull", isNamespaceNull)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isNamespaceNull", isNamespaceNull)); } if (includeEmptyNamespaces != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeEmptyNamespaces", includeEmptyNamespaces)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeEmptyNamespaces", includeEmptyNamespaces)); } if (className != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "className", className)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "className", className)); } if (isClassnameNull != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isClassnameNull", isClassnameNull)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isClassnameNull", isClassnameNull)); } if (includeEmptyClassNames != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeEmptyClassNames", includeEmptyClassNames)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeEmptyClassNames", includeEmptyClassNames)); } if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (deleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "deleted", deleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "deleted", deleted)); } if (labels != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "labels", labels)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "labels", labels)); } if (stabilityMinimal != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "stabilityMinimal", stabilityMinimal)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "stabilityMinimal", stabilityMinimal)); } if (minStability != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "minStability", minStability)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "minStability", minStability)); } if (stabilityMaximal != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "stabilityMaximal", stabilityMaximal)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "stabilityMaximal", stabilityMaximal)); } if (maxStability != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "maxStability", maxStability)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "maxStability", maxStability)); } if (isFlaky != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isFlaky", isFlaky)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isFlaky", isFlaky)); } if (flaky != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "flaky", flaky)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "flaky", flaky)); } if (includeSteps != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeSteps", includeSteps)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeSteps", includeSteps)); } if (includeLabels != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeLabels", includeLabels)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeLabels", includeLabels)); } if (externalKey != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "externalKey", externalKey)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "externalKey", externalKey)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -2990,9 +2990,9 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal ID (optional) /// Autotest external ID (optional) /// Autotest global ID (optional) @@ -3024,14 +3024,14 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin [Obsolete] public async System.Threading.Tasks.Task> GetAllAutoTestsAsync(Guid? projectId = default(Guid?), string externalId = default(string), long? globalId = default(long?), string _namespace = default(string), bool? isNamespaceNull = default(bool?), bool? includeEmptyNamespaces = default(bool?), string className = default(string), bool? isClassnameNull = default(bool?), bool? includeEmptyClassNames = default(bool?), bool? isDeleted = default(bool?), bool? deleted = default(bool?), List labels = default(List), int? stabilityMinimal = default(int?), int? minStability = default(int?), int? stabilityMaximal = default(int?), int? maxStability = default(int?), bool? isFlaky = default(bool?), bool? flaky = default(bool?), bool? includeSteps = default(bool?), bool? includeLabels = default(bool?), string externalKey = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetAllAutoTestsWithHttpInfoAsync(projectId, externalId, globalId, _namespace, isNamespaceNull, includeEmptyNamespaces, className, isClassnameNull, includeEmptyClassNames, isDeleted, deleted, labels, stabilityMinimal, minStability, stabilityMaximal, maxStability, isFlaky, flaky, includeSteps, includeLabels, externalKey, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetAllAutoTestsWithHttpInfoAsync(projectId, externalId, globalId, _namespace, isNamespaceNull, includeEmptyNamespaces, className, isClassnameNull, includeEmptyClassNames, isDeleted, deleted, labels, stabilityMinimal, minStability, stabilityMaximal, maxStability, isFlaky, flaky, includeSteps, includeLabels, externalKey, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal ID (optional) /// Autotest external ID (optional) /// Autotest global ID (optional) @@ -3061,10 +3061,10 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AutoTestModel>) [Obsolete] - public async System.Threading.Tasks.Task>> GetAllAutoTestsWithHttpInfoAsync(Guid? projectId = default(Guid?), string externalId = default(string), long? globalId = default(long?), string _namespace = default(string), bool? isNamespaceNull = default(bool?), bool? includeEmptyNamespaces = default(bool?), string className = default(string), bool? isClassnameNull = default(bool?), bool? includeEmptyClassNames = default(bool?), bool? isDeleted = default(bool?), bool? deleted = default(bool?), List labels = default(List), int? stabilityMinimal = default(int?), int? minStability = default(int?), int? stabilityMaximal = default(int?), int? maxStability = default(int?), bool? isFlaky = default(bool?), bool? flaky = default(bool?), bool? includeSteps = default(bool?), bool? includeLabels = default(bool?), string externalKey = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetAllAutoTestsWithHttpInfoAsync(Guid? projectId = default(Guid?), string externalId = default(string), long? globalId = default(long?), string _namespace = default(string), bool? isNamespaceNull = default(bool?), bool? includeEmptyNamespaces = default(bool?), string className = default(string), bool? isClassnameNull = default(bool?), bool? includeEmptyClassNames = default(bool?), bool? isDeleted = default(bool?), bool? deleted = default(bool?), List labels = default(List), int? stabilityMinimal = default(int?), int? minStability = default(int?), int? stabilityMaximal = default(int?), int? maxStability = default(int?), bool? isFlaky = default(bool?), bool? flaky = default(bool?), bool? includeSteps = default(bool?), bool? includeLabels = default(bool?), string externalKey = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3075,115 +3075,115 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (projectId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "projectId", projectId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "projectId", projectId)); } if (externalId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "externalId", externalId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "externalId", externalId)); } if (globalId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "globalId", globalId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "globalId", globalId)); } if (_namespace != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "namespace", _namespace)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "namespace", _namespace)); } if (isNamespaceNull != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isNamespaceNull", isNamespaceNull)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isNamespaceNull", isNamespaceNull)); } if (includeEmptyNamespaces != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeEmptyNamespaces", includeEmptyNamespaces)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeEmptyNamespaces", includeEmptyNamespaces)); } if (className != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "className", className)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "className", className)); } if (isClassnameNull != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isClassnameNull", isClassnameNull)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isClassnameNull", isClassnameNull)); } if (includeEmptyClassNames != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeEmptyClassNames", includeEmptyClassNames)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeEmptyClassNames", includeEmptyClassNames)); } if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (deleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "deleted", deleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "deleted", deleted)); } if (labels != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "labels", labels)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "labels", labels)); } if (stabilityMinimal != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "stabilityMinimal", stabilityMinimal)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "stabilityMinimal", stabilityMinimal)); } if (minStability != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "minStability", minStability)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "minStability", minStability)); } if (stabilityMaximal != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "stabilityMaximal", stabilityMaximal)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "stabilityMaximal", stabilityMaximal)); } if (maxStability != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "maxStability", maxStability)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "maxStability", maxStability)); } if (isFlaky != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isFlaky", isFlaky)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isFlaky", isFlaky)); } if (flaky != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "flaky", flaky)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "flaky", flaky)); } if (includeSteps != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeSteps", includeSteps)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeSteps", includeSteps)); } if (includeLabels != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeLabels", includeLabels)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeLabels", includeLabels)); } if (externalKey != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "externalKey", externalKey)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "externalKey", externalKey)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -3208,28 +3208,28 @@ public TestIt.Client.Client.ApiResponse DeleteAutoTestWithHttpInfo(strin /// /// Get average autotest duration <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System calculates pass average duration and fail average duration of autotest from all related test results <br>System returns pass average duration and fail average duration for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// AutoTestAverageDurationModel public AutoTestAverageDurationModel GetAutoTestAverageDuration(string id) { - TestIt.Client.Client.ApiResponse localVarResponse = GetAutoTestAverageDurationWithHttpInfo(id); + ApiResponse localVarResponse = GetAutoTestAverageDurationWithHttpInfo(id); return localVarResponse.Data; } /// /// Get average autotest duration <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System calculates pass average duration and fail average duration of autotest from all related test results <br>System returns pass average duration and fail average duration for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// ApiResponse of AutoTestAverageDurationModel - public TestIt.Client.Client.ApiResponse GetAutoTestAverageDurationWithHttpInfo(string id) + public ApiResponse GetAutoTestAverageDurationWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetAutoTestAverageDuration"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetAutoTestAverageDuration"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3239,13 +3239,13 @@ public TestIt.Client.Client.ApiResponse GetAutoTes "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3268,31 +3268,31 @@ public TestIt.Client.Client.ApiResponse GetAutoTes /// /// Get average autotest duration <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System calculates pass average duration and fail average duration of autotest from all related test results <br>System returns pass average duration and fail average duration for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of AutoTestAverageDurationModel public async System.Threading.Tasks.Task GetAutoTestAverageDurationAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetAutoTestAverageDurationWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetAutoTestAverageDurationWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get average autotest duration <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System calculates pass average duration and fail average duration of autotest from all related test results <br>System returns pass average duration and fail average duration for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (AutoTestAverageDurationModel) - public async System.Threading.Tasks.Task> GetAutoTestAverageDurationWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetAutoTestAverageDurationWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetAutoTestAverageDuration"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetAutoTestAverageDuration"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3303,13 +3303,13 @@ public TestIt.Client.Client.ApiResponse GetAutoTes }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3333,28 +3333,28 @@ public TestIt.Client.Client.ApiResponse GetAutoTes /// /// Get autotest by internal or global ID <br>Use case <br>User sets autotest internal or global identifier and runs method execution <br>System returns autotest, which internal or global identifier equals the identifier value set in the previous action /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// AutoTestModel public AutoTestModel GetAutoTestById(string id) { - TestIt.Client.Client.ApiResponse localVarResponse = GetAutoTestByIdWithHttpInfo(id); + ApiResponse localVarResponse = GetAutoTestByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get autotest by internal or global ID <br>Use case <br>User sets autotest internal or global identifier and runs method execution <br>System returns autotest, which internal or global identifier equals the identifier value set in the previous action /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// ApiResponse of AutoTestModel - public TestIt.Client.Client.ApiResponse GetAutoTestByIdWithHttpInfo(string id) + public ApiResponse GetAutoTestByIdWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetAutoTestById"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetAutoTestById"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3364,13 +3364,13 @@ public TestIt.Client.Client.ApiResponse GetAutoTestByIdWithHttpIn "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3393,31 +3393,31 @@ public TestIt.Client.Client.ApiResponse GetAutoTestByIdWithHttpIn /// /// Get autotest by internal or global ID <br>Use case <br>User sets autotest internal or global identifier and runs method execution <br>System returns autotest, which internal or global identifier equals the identifier value set in the previous action /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of AutoTestModel public async System.Threading.Tasks.Task GetAutoTestByIdAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetAutoTestByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetAutoTestByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get autotest by internal or global ID <br>Use case <br>User sets autotest internal or global identifier and runs method execution <br>System returns autotest, which internal or global identifier equals the identifier value set in the previous action /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (AutoTestModel) - public async System.Threading.Tasks.Task> GetAutoTestByIdWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetAutoTestByIdWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetAutoTestById"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetAutoTestById"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3428,13 +3428,13 @@ public TestIt.Client.Client.ApiResponse GetAutoTestByIdWithHttpIn }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3458,28 +3458,28 @@ public TestIt.Client.Client.ApiResponse GetAutoTestByIdWithHttpIn /// /// Get autotest chronology <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search all test results related to autotest (with default limit equal 100) <br>System orders the test results by CompletedOn property descending and then orders by CreatedDate property descending <br>System returns test result chronology for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// List<TestResultChronologyModel> public List GetAutoTestChronology(string id) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetAutoTestChronologyWithHttpInfo(id); + ApiResponse> localVarResponse = GetAutoTestChronologyWithHttpInfo(id); return localVarResponse.Data; } /// /// Get autotest chronology <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search all test results related to autotest (with default limit equal 100) <br>System orders the test results by CompletedOn property descending and then orders by CreatedDate property descending <br>System returns test result chronology for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// ApiResponse of List<TestResultChronologyModel> - public TestIt.Client.Client.ApiResponse> GetAutoTestChronologyWithHttpInfo(string id) + public ApiResponse> GetAutoTestChronologyWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetAutoTestChronology"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetAutoTestChronology"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3489,13 +3489,13 @@ public TestIt.Client.Client.ApiResponse> GetAuto "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3518,31 +3518,31 @@ public TestIt.Client.Client.ApiResponse> GetAuto /// /// Get autotest chronology <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search all test results related to autotest (with default limit equal 100) <br>System orders the test results by CompletedOn property descending and then orders by CreatedDate property descending <br>System returns test result chronology for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<TestResultChronologyModel> public async System.Threading.Tasks.Task> GetAutoTestChronologyAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetAutoTestChronologyWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetAutoTestChronologyWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get autotest chronology <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search all test results related to autotest (with default limit equal 100) <br>System orders the test results by CompletedOn property descending and then orders by CreatedDate property descending <br>System returns test result chronology for autotest /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestResultChronologyModel>) - public async System.Threading.Tasks.Task>> GetAutoTestChronologyWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetAutoTestChronologyWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetAutoTestChronology"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetAutoTestChronology"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3553,13 +3553,13 @@ public TestIt.Client.Client.ApiResponse> GetAuto }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3583,28 +3583,28 @@ public TestIt.Client.Client.ApiResponse> GetAuto /// /// Get completed tests runs for autotests <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search for all test runs related to the autotest <br>System returns the enumeration of test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// List<TestRunShortModel> public List GetTestRuns(string id) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetTestRunsWithHttpInfo(id); + ApiResponse> localVarResponse = GetTestRunsWithHttpInfo(id); return localVarResponse.Data; } /// /// Get completed tests runs for autotests <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search for all test runs related to the autotest <br>System returns the enumeration of test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// ApiResponse of List<TestRunShortModel> - public TestIt.Client.Client.ApiResponse> GetTestRunsWithHttpInfo(string id) + public ApiResponse> GetTestRunsWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetTestRuns"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetTestRuns"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3614,13 +3614,13 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3643,31 +3643,31 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Get completed tests runs for autotests <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search for all test runs related to the autotest <br>System returns the enumeration of test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<TestRunShortModel> public async System.Threading.Tasks.Task> GetTestRunsAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetTestRunsWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetTestRunsWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get completed tests runs for autotests <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search for all test runs related to the autotest <br>System returns the enumeration of test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestRunShortModel>) - public async System.Threading.Tasks.Task>> GetTestRunsWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetTestRunsWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetTestRuns"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetTestRuns"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3678,13 +3678,13 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3706,9 +3706,9 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -3728,14 +3728,14 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith [Obsolete] public List GetWorkItemResults(string id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetWorkItemResultsWithHttpInfo(id, from, to, configurationIds, testPlanIds, userIds, outcomes, isAutomated, automated, testRunIds, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = GetWorkItemResultsWithHttpInfo(id, from, to, configurationIds, testPlanIds, userIds, outcomes, isAutomated, automated, testRunIds, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -3753,13 +3753,13 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// Value for searching (optional) /// ApiResponse of List<TestResultHistoryReportModel> [Obsolete] - public TestIt.Client.Client.ApiResponse> GetWorkItemResultsWithHttpInfo(string id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> GetWorkItemResultsWithHttpInfo(string id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetWorkItemResults"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetWorkItemResults"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3769,68 +3769,68 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (from != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "from", from)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "from", from)); } if (to != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "to", to)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "to", to)); } if (configurationIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "configurationIds", configurationIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "configurationIds", configurationIds)); } if (testPlanIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "testPlanIds", testPlanIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "testPlanIds", testPlanIds)); } if (userIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "userIds", userIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "userIds", userIds)); } if (outcomes != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "outcomes", outcomes)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "outcomes", outcomes)); } if (isAutomated != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isAutomated", isAutomated)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isAutomated", isAutomated)); } if (automated != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "automated", automated)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "automated", automated)); } if (testRunIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "testRunIds", testRunIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "testRunIds", testRunIds)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -3852,9 +3852,9 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -3875,14 +3875,14 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith [Obsolete] public async System.Threading.Tasks.Task> GetWorkItemResultsAsync(string id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetWorkItemResultsWithHttpInfoAsync(id, from, to, configurationIds, testPlanIds, userIds, outcomes, isAutomated, automated, testRunIds, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetWorkItemResultsWithHttpInfoAsync(id, from, to, configurationIds, testPlanIds, userIds, outcomes, isAutomated, automated, testRunIds, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -3901,14 +3901,14 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestResultHistoryReportModel>) [Obsolete] - public async System.Threading.Tasks.Task>> GetWorkItemResultsWithHttpInfoAsync(string id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetWorkItemResultsWithHttpInfoAsync(string id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetWorkItemResults"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetWorkItemResults"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3919,68 +3919,68 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (from != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "from", from)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "from", from)); } if (to != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "to", to)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "to", to)); } if (configurationIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "configurationIds", configurationIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "configurationIds", configurationIds)); } if (testPlanIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "testPlanIds", testPlanIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "testPlanIds", testPlanIds)); } if (userIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "userIds", userIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "userIds", userIds)); } if (outcomes != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "outcomes", outcomes)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "outcomes", outcomes)); } if (isAutomated != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isAutomated", isAutomated)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isAutomated", isAutomated)); } if (automated != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "automated", automated)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "automated", automated)); } if (testRunIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "testRunIds", testRunIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "testRunIds", testRunIds)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -4003,34 +4003,34 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith } /// - /// Get work items linked to autotest <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. + /// Get work items linked to autotest <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the autotest entity ID.<br /> You can copy it from the address bar in your web browser or use autotest GUID. /// Specifies that a test is deleted or still relevant. (optional) /// OBSOLETE: Use `isDeleted` instead (optional, default to false) /// List<WorkItemIdentifierModel> public List GetWorkItemsLinkedToAutoTest(string id, bool? isDeleted = default(bool?), bool? isWorkItemDeleted = default(bool?)) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetWorkItemsLinkedToAutoTestWithHttpInfo(id, isDeleted, isWorkItemDeleted); + ApiResponse> localVarResponse = GetWorkItemsLinkedToAutoTestWithHttpInfo(id, isDeleted, isWorkItemDeleted); return localVarResponse.Data; } /// - /// Get work items linked to autotest <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. + /// Get work items linked to autotest <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the autotest entity ID.<br /> You can copy it from the address bar in your web browser or use autotest GUID. /// Specifies that a test is deleted or still relevant. (optional) /// OBSOLETE: Use `isDeleted` instead (optional, default to false) /// ApiResponse of List<WorkItemIdentifierModel> - public TestIt.Client.Client.ApiResponse> GetWorkItemsLinkedToAutoTestWithHttpInfo(string id, bool? isDeleted = default(bool?), bool? isWorkItemDeleted = default(bool?)) + public ApiResponse> GetWorkItemsLinkedToAutoTestWithHttpInfo(string id, bool? isDeleted = default(bool?), bool? isWorkItemDeleted = default(bool?)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetWorkItemsLinkedToAutoTest"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetWorkItemsLinkedToAutoTest"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4040,20 +4040,20 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (isWorkItemDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isWorkItemDeleted", isWorkItemDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isWorkItemDeleted", isWorkItemDeleted)); } // authentication (Bearer or PrivateToken) required @@ -4075,9 +4075,9 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith } /// - /// Get work items linked to autotest <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. + /// Get work items linked to autotest <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the autotest entity ID.<br /> You can copy it from the address bar in your web browser or use autotest GUID. /// Specifies that a test is deleted or still relevant. (optional) /// OBSOLETE: Use `isDeleted` instead (optional, default to false) @@ -4085,27 +4085,27 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// Task of List<WorkItemIdentifierModel> public async System.Threading.Tasks.Task> GetWorkItemsLinkedToAutoTestAsync(string id, bool? isDeleted = default(bool?), bool? isWorkItemDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetWorkItemsLinkedToAutoTestWithHttpInfoAsync(id, isDeleted, isWorkItemDeleted, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetWorkItemsLinkedToAutoTestWithHttpInfoAsync(id, isDeleted, isWorkItemDeleted, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get work items linked to autotest <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. + /// Get work items linked to autotest <br> This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: <br> 1. Open the project in GUI.<br /> 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab.<br /> 3. Select the autotest(s) you want to run using checkboxes.<br /> 4. In the toolbar above the test list, click <b>Run autotests</b>. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the autotest entity ID.<br /> You can copy it from the address bar in your web browser or use autotest GUID. /// Specifies that a test is deleted or still relevant. (optional) /// OBSOLETE: Use `isDeleted` instead (optional, default to false) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WorkItemIdentifierModel>) - public async System.Threading.Tasks.Task>> GetWorkItemsLinkedToAutoTestWithHttpInfoAsync(string id, bool? isDeleted = default(bool?), bool? isWorkItemDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetWorkItemsLinkedToAutoTestWithHttpInfoAsync(string id, bool? isDeleted = default(bool?), bool? isWorkItemDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetWorkItemsLinkedToAutoTest"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->GetWorkItemsLinkedToAutoTest"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4116,20 +4116,20 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (isWorkItemDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isWorkItemDeleted", isWorkItemDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isWorkItemDeleted", isWorkItemDeleted)); } // authentication (Bearer or PrivateToken) required @@ -4154,7 +4154,7 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Link autotest with work items <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets work item internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br>System finds the work item by the work item identifier <br>System relates the work item with the autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// (optional) /// @@ -4166,17 +4166,17 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Link autotest with work items <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets work item internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br>System finds the work item by the work item identifier <br>System relates the work item with the autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse LinkAutoTestToWorkItemWithHttpInfo(string id, LinkAutoTestToWorkItemRequest linkAutoTestToWorkItemRequest = default(LinkAutoTestToWorkItemRequest)) + public ApiResponse LinkAutoTestToWorkItemWithHttpInfo(string id, LinkAutoTestToWorkItemRequest linkAutoTestToWorkItemRequest = default(LinkAutoTestToWorkItemRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->LinkAutoTestToWorkItem"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->LinkAutoTestToWorkItem"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4187,13 +4187,13 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = linkAutoTestToWorkItemRequest; // authentication (Bearer or PrivateToken) required @@ -4217,7 +4217,7 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Link autotest with work items <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets work item internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br>System finds the work item by the work item identifier <br>System relates the work item with the autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -4230,19 +4230,19 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Link autotest with work items <br>Use case <br>User sets autotest internal (guid format) or global (integer format) identifier <br>User sets work item internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System finds the autotest by the autotest identifier <br>System finds the work item by the work item identifier <br>System relates the work item with the autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Autotest internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> LinkAutoTestToWorkItemWithHttpInfoAsync(string id, LinkAutoTestToWorkItemRequest linkAutoTestToWorkItemRequest = default(LinkAutoTestToWorkItemRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> LinkAutoTestToWorkItemWithHttpInfoAsync(string id, LinkAutoTestToWorkItemRequest linkAutoTestToWorkItemRequest = default(LinkAutoTestToWorkItemRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->LinkAutoTestToWorkItem"); + throw new ApiException(400, "Missing required parameter 'id' when calling AutoTestsApi->LinkAutoTestToWorkItem"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4254,13 +4254,13 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = linkAutoTestToWorkItemRequest; // authentication (Bearer or PrivateToken) required @@ -4285,7 +4285,7 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Update autotest <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void UpdateAutoTest(UpdateAutoTestRequest updateAutoTestRequest = default(UpdateAutoTestRequest)) @@ -4296,12 +4296,12 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Update autotest <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse UpdateAutoTestWithHttpInfo(UpdateAutoTestRequest updateAutoTestRequest = default(UpdateAutoTestRequest)) + public ApiResponse UpdateAutoTestWithHttpInfo(UpdateAutoTestRequest updateAutoTestRequest = default(UpdateAutoTestRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4312,10 +4312,10 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateAutoTestRequest; @@ -4341,7 +4341,7 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Update autotest <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -4353,14 +4353,14 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Update autotest <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateAutoTestWithHttpInfoAsync(UpdateAutoTestRequest updateAutoTestRequest = default(UpdateAutoTestRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateAutoTestWithHttpInfoAsync(UpdateAutoTestRequest updateAutoTestRequest = default(UpdateAutoTestRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4372,10 +4372,10 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateAutoTestRequest; @@ -4402,7 +4402,7 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Update multiple autotests <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void UpdateMultiple(List autoTestPutModel = default(List)) @@ -4413,12 +4413,12 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Update multiple autotests <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse UpdateMultipleWithHttpInfo(List autoTestPutModel = default(List)) + public ApiResponse UpdateMultipleWithHttpInfo(List autoTestPutModel = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4429,10 +4429,10 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = autoTestPutModel; @@ -4458,7 +4458,7 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Update multiple autotests <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -4470,14 +4470,14 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith /// /// Update multiple autotests <br>Use case <br>User sets autotest updated parameters values (listed in the example) and runs method execution <br>System finds the autotest by the identifier <br>System updates autotest parameters <br> [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) <br> [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) <br> [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) <br> [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) <br> [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) <br>System updates autotest and returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateMultipleWithHttpInfoAsync(List autoTestPutModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateMultipleWithHttpInfoAsync(List autoTestPutModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4489,10 +4489,10 @@ public TestIt.Client.Client.ApiResponse> GetTestRunsWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = autoTestPutModel; diff --git a/src/TestIt.Client/Api/BackgroundJobsApi.cs b/src/TestIT.ApiClient/Api/BackgroundJobsApi.cs similarity index 72% rename from src/TestIt.Client/Api/BackgroundJobsApi.cs rename to src/TestIT.ApiClient/Api/BackgroundJobsApi.cs index 8964596b..8744ddb6 100644 --- a/src/TestIt.Client/Api/BackgroundJobsApi.cs +++ b/src/TestIT.ApiClient/Api/BackgroundJobsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -28,9 +28,9 @@ public interface IBackgroundJobsApiSync : IApiAccessor { #region Synchronous Operations /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -41,12 +41,12 @@ public interface IBackgroundJobsApiSync : IApiAccessor List ApiV2BackgroundJobsGet(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -58,7 +58,7 @@ public interface IBackgroundJobsApiSync : IApiAccessor /// /// Cancel current user background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// void ApiV2BackgroundJobsIdCancelPost(Guid id); @@ -67,16 +67,16 @@ public interface IBackgroundJobsApiSync : IApiAccessor /// Cancel current user background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse ApiV2BackgroundJobsIdCancelPostWithHttpInfo(Guid id); /// /// Get background job by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the background job /// BackgroundJobGetModel BackgroundJobGetModel ApiV2BackgroundJobsIdGet(Guid id); @@ -85,16 +85,16 @@ public interface IBackgroundJobsApiSync : IApiAccessor /// Get background job by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the background job /// ApiResponse of BackgroundJobGetModel ApiResponse ApiV2BackgroundJobsIdGetWithHttpInfo(Guid id); /// /// Search for user background jobs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -108,9 +108,9 @@ public interface IBackgroundJobsApiSync : IApiAccessor /// Search for user background jobs /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -129,12 +129,12 @@ public interface IBackgroundJobsApiAsync : IApiAccessor { #region Asynchronous Operations /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -146,12 +146,12 @@ public interface IBackgroundJobsApiAsync : IApiAccessor System.Threading.Tasks.Task> ApiV2BackgroundJobsGetAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -165,9 +165,9 @@ public interface IBackgroundJobsApiAsync : IApiAccessor /// Cancel current user background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of void @@ -177,9 +177,9 @@ public interface IBackgroundJobsApiAsync : IApiAccessor /// Cancel current user background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -188,9 +188,9 @@ public interface IBackgroundJobsApiAsync : IApiAccessor /// Get background job by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the background job /// Cancellation Token to cancel the request. /// Task of BackgroundJobGetModel @@ -200,9 +200,9 @@ public interface IBackgroundJobsApiAsync : IApiAccessor /// Get background job by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the background job /// Cancellation Token to cancel the request. /// Task of ApiResponse (BackgroundJobGetModel) @@ -211,9 +211,9 @@ public interface IBackgroundJobsApiAsync : IApiAccessor /// Search for user background jobs /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -228,9 +228,9 @@ public interface IBackgroundJobsApiAsync : IApiAccessor /// Search for user background jobs /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -256,7 +256,7 @@ public interface IBackgroundJobsApi : IBackgroundJobsApiSync, IBackgroundJobsApi /// public partial class BackgroundJobsApi : IDisposable, IBackgroundJobsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -278,14 +278,14 @@ public BackgroundJobsApi() : this((string)null) /// public BackgroundJobsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -296,18 +296,18 @@ public BackgroundJobsApi(string basePath) /// An instance of Configuration. /// /// - public BackgroundJobsApi(TestIt.Client.Client.Configuration configuration) + public BackgroundJobsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -342,14 +342,14 @@ public BackgroundJobsApi(HttpClient client, string basePath, HttpClientHandler h { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -364,19 +364,19 @@ public BackgroundJobsApi(HttpClient client, string basePath, HttpClientHandler h /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public BackgroundJobsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public BackgroundJobsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -387,7 +387,7 @@ public BackgroundJobsApi(HttpClient client, TestIt.Client.Client.Configuration c /// The client interface for asynchronous API access. /// The configuration object. /// - public BackgroundJobsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public BackgroundJobsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -396,7 +396,7 @@ public BackgroundJobsApi(TestIt.Client.Client.ISynchronousClient client, TestIt. this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -410,17 +410,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -435,12 +435,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -454,9 +454,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -466,14 +466,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory [Obsolete] public List ApiV2BackgroundJobsGet(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2BackgroundJobsGetWithHttpInfo(skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = ApiV2BackgroundJobsGetWithHttpInfo(skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -481,9 +481,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Value for searching (optional) /// ApiResponse of List<BackgroundJobGetModel> [Obsolete] - public TestIt.Client.Client.ApiResponse> ApiV2BackgroundJobsGetWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> ApiV2BackgroundJobsGetWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -493,31 +493,31 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -539,9 +539,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -552,14 +552,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory [Obsolete] public async System.Threading.Tasks.Task> ApiV2BackgroundJobsGetAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2BackgroundJobsGetWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2BackgroundJobsGetWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -568,10 +568,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<BackgroundJobGetModel>) [Obsolete] - public async System.Threading.Tasks.Task>> ApiV2BackgroundJobsGetWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2BackgroundJobsGetWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -582,31 +582,31 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -629,9 +629,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Cancel current user background job + /// Cancel current user background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// public void ApiV2BackgroundJobsIdCancelPost(Guid id) @@ -640,14 +640,14 @@ public void ApiV2BackgroundJobsIdCancelPost(Guid id) } /// - /// Cancel current user background job + /// Cancel current user background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2BackgroundJobsIdCancelPostWithHttpInfo(Guid id) + public ApiResponse ApiV2BackgroundJobsIdCancelPostWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -656,13 +656,13 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJobsIdCancelPostW string[] _accepts = new string[] { }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -683,9 +683,9 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJobsIdCancelPostW } /// - /// Cancel current user background job + /// Cancel current user background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of void @@ -695,16 +695,16 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJobsIdCancelPostW } /// - /// Cancel current user background job + /// Cancel current user background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2BackgroundJobsIdCancelPostWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2BackgroundJobsIdCancelPostWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -714,13 +714,13 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJobsIdCancelPostW }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -742,26 +742,26 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJobsIdCancelPostW } /// - /// Get background job by ID + /// Get background job by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the background job /// BackgroundJobGetModel public BackgroundJobGetModel ApiV2BackgroundJobsIdGet(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2BackgroundJobsIdGetWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2BackgroundJobsIdGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get background job by ID + /// Get background job by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the background job /// ApiResponse of BackgroundJobGetModel - public TestIt.Client.Client.ApiResponse ApiV2BackgroundJobsIdGetWithHttpInfo(Guid id) + public ApiResponse ApiV2BackgroundJobsIdGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -771,13 +771,13 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -798,29 +798,29 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJo } /// - /// Get background job by ID + /// Get background job by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the background job /// Cancellation Token to cancel the request. /// Task of BackgroundJobGetModel public async System.Threading.Tasks.Task ApiV2BackgroundJobsIdGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2BackgroundJobsIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2BackgroundJobsIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get background job by ID + /// Get background job by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the background job /// Cancellation Token to cancel the request. /// Task of ApiResponse (BackgroundJobGetModel) - public async System.Threading.Tasks.Task> ApiV2BackgroundJobsIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2BackgroundJobsIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -831,13 +831,13 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -859,9 +859,9 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJo } /// - /// Search for user background jobs + /// Search for user background jobs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -871,14 +871,14 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJo /// List<BackgroundJobGetModel> public List ApiV2BackgroundJobsSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2BackgroundJobsSearchPostRequest apiV2BackgroundJobsSearchPostRequest = default(ApiV2BackgroundJobsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2BackgroundJobsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2BackgroundJobsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2BackgroundJobsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2BackgroundJobsSearchPostRequest); return localVarResponse.Data; } /// - /// Search for user background jobs + /// Search for user background jobs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -886,9 +886,9 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJo /// Value for searching (optional) /// (optional) /// ApiResponse of List<BackgroundJobGetModel> - public TestIt.Client.Client.ApiResponse> ApiV2BackgroundJobsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2BackgroundJobsSearchPostRequest apiV2BackgroundJobsSearchPostRequest = default(ApiV2BackgroundJobsSearchPostRequest)) + public ApiResponse> ApiV2BackgroundJobsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2BackgroundJobsSearchPostRequest apiV2BackgroundJobsSearchPostRequest = default(ApiV2BackgroundJobsSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -899,31 +899,31 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2BackgroundJobsSearchPostRequest; @@ -946,9 +946,9 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJo } /// - /// Search for user background jobs + /// Search for user background jobs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -959,14 +959,14 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJo /// Task of List<BackgroundJobGetModel> public async System.Threading.Tasks.Task> ApiV2BackgroundJobsSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2BackgroundJobsSearchPostRequest apiV2BackgroundJobsSearchPostRequest = default(ApiV2BackgroundJobsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2BackgroundJobsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2BackgroundJobsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2BackgroundJobsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2BackgroundJobsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for user background jobs + /// Search for user background jobs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -975,10 +975,10 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJo /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<BackgroundJobGetModel>) - public async System.Threading.Tasks.Task>> ApiV2BackgroundJobsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2BackgroundJobsSearchPostRequest apiV2BackgroundJobsSearchPostRequest = default(ApiV2BackgroundJobsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2BackgroundJobsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2BackgroundJobsSearchPostRequest apiV2BackgroundJobsSearchPostRequest = default(ApiV2BackgroundJobsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -990,31 +990,31 @@ public TestIt.Client.Client.ApiResponse ApiV2BackgroundJo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2BackgroundJobsSearchPostRequest; diff --git a/src/TestIt.Client/Api/ConfigurationsApi.cs b/src/TestIT.ApiClient/Api/ConfigurationsApi.cs similarity index 74% rename from src/TestIt.Client/Api/ConfigurationsApi.cs rename to src/TestIT.ApiClient/Api/ConfigurationsApi.cs index 467031d8..ef47896d 100644 --- a/src/TestIt.Client/Api/ConfigurationsApi.cs +++ b/src/TestIT.ApiClient/Api/ConfigurationsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -33,7 +33,7 @@ public interface IConfigurationsApiSync : IApiAccessor /// /// <br>Use case <br>User sets request model (listed in the request example) <br>User runs method execution <br>System creates configurations <br>System returns created configuration ids (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void ApiV2ConfigurationsCreateByParametersPost(ApiV2ConfigurationsCreateByParametersPostRequest apiV2ConfigurationsCreateByParametersPostRequest = default(ApiV2ConfigurationsCreateByParametersPostRequest)); @@ -44,14 +44,14 @@ public interface IConfigurationsApiSync : IApiAccessor /// /// <br>Use case <br>User sets request model (listed in the request example) <br>User runs method execution <br>System creates configurations <br>System returns created configuration ids (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse ApiV2ConfigurationsCreateByParametersPostWithHttpInfo(ApiV2ConfigurationsCreateByParametersPostRequest apiV2ConfigurationsCreateByParametersPostRequest = default(ApiV2ConfigurationsCreateByParametersPostRequest)); /// /// Delete multiple configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// int int ApiV2ConfigurationsDeleteBulkPost(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)); @@ -60,16 +60,16 @@ public interface IConfigurationsApiSync : IApiAccessor /// Delete multiple configurations /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of int ApiResponse ApiV2ConfigurationsDeleteBulkPostWithHttpInfo(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)); /// /// Delete configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// void ApiV2ConfigurationsIdDelete(string id); @@ -78,9 +78,9 @@ public interface IConfigurationsApiSync : IApiAccessor /// Delete configuration /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// ApiResponse of Object(void) ApiResponse ApiV2ConfigurationsIdDeleteWithHttpInfo(string id); @@ -90,7 +90,7 @@ public interface IConfigurationsApiSync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the configuration /// (optional) /// @@ -102,7 +102,7 @@ public interface IConfigurationsApiSync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the configuration /// (optional) /// ApiResponse of Object(void) @@ -110,7 +110,7 @@ public interface IConfigurationsApiSync : IApiAccessor /// /// Permanently delete configuration from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// void ApiV2ConfigurationsIdPurgePost(string id); @@ -119,16 +119,16 @@ public interface IConfigurationsApiSync : IApiAccessor /// Permanently delete configuration from archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// ApiResponse of Object(void) ApiResponse ApiV2ConfigurationsIdPurgePostWithHttpInfo(string id); /// /// Restore configuration from the archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// void ApiV2ConfigurationsIdRestorePost(string id); @@ -137,16 +137,16 @@ public interface IConfigurationsApiSync : IApiAccessor /// Restore configuration from the archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// ApiResponse of Object(void) ApiResponse ApiV2ConfigurationsIdRestorePostWithHttpInfo(string id); /// /// Permanently delete multiple archived configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void ApiV2ConfigurationsPurgeBulkPost(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)); @@ -155,16 +155,16 @@ public interface IConfigurationsApiSync : IApiAccessor /// Permanently delete multiple archived configurations /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse ApiV2ConfigurationsPurgeBulkPostWithHttpInfo(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)); /// /// Edit configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void ApiV2ConfigurationsPut(ApiV2ConfigurationsPutRequest apiV2ConfigurationsPutRequest = default(ApiV2ConfigurationsPutRequest)); @@ -173,16 +173,16 @@ public interface IConfigurationsApiSync : IApiAccessor /// Edit configuration /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse ApiV2ConfigurationsPutWithHttpInfo(ApiV2ConfigurationsPutRequest apiV2ConfigurationsPutRequest = default(ApiV2ConfigurationsPutRequest)); /// /// Restore multiple configurations from the archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// int int ApiV2ConfigurationsRestoreBulkPost(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)); @@ -191,16 +191,16 @@ public interface IConfigurationsApiSync : IApiAccessor /// Restore multiple configurations from the archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of int ApiResponse ApiV2ConfigurationsRestoreBulkPostWithHttpInfo(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)); /// /// Search for configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -214,9 +214,9 @@ public interface IConfigurationsApiSync : IApiAccessor /// Search for configurations /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -231,7 +231,7 @@ public interface IConfigurationsApiSync : IApiAccessor /// /// <br>Use case <br>User sets configuration model (listed in the request example) <br>User runs method execution <br>System creates configuration <br>System returns created configuration (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ConfigurationModel ConfigurationModel CreateConfiguration(CreateConfigurationRequest createConfigurationRequest = default(CreateConfigurationRequest)); @@ -242,7 +242,7 @@ public interface IConfigurationsApiSync : IApiAccessor /// /// <br>Use case <br>User sets configuration model (listed in the request example) <br>User runs method execution <br>System creates configuration <br>System returns created configuration (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of ConfigurationModel ApiResponse CreateConfigurationWithHttpInfo(CreateConfigurationRequest createConfigurationRequest = default(CreateConfigurationRequest)); @@ -252,7 +252,7 @@ public interface IConfigurationsApiSync : IApiAccessor /// /// <br>Use case <br>User sets configuration internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search configuration using the identifier <br>System returns configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Configuration internal (guid format) or global (integer format) identifier /// ConfigurationModel ConfigurationModel GetConfigurationById(string id); @@ -263,7 +263,7 @@ public interface IConfigurationsApiSync : IApiAccessor /// /// <br>Use case <br>User sets configuration internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search configuration using the identifier <br>System returns configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Configuration internal (guid format) or global (integer format) identifier /// ApiResponse of ConfigurationModel ApiResponse GetConfigurationByIdWithHttpInfo(string id); @@ -282,7 +282,7 @@ public interface IConfigurationsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets request model (listed in the request example) <br>User runs method execution <br>System creates configurations <br>System returns created configuration ids (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -294,7 +294,7 @@ public interface IConfigurationsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets request model (listed in the request example) <br>User runs method execution <br>System creates configurations <br>System returns created configuration ids (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -303,9 +303,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Delete multiple configurations /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of int @@ -315,9 +315,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Delete multiple configurations /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (int) @@ -326,9 +326,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Delete configuration /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// Cancellation Token to cancel the request. /// Task of void @@ -338,9 +338,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Delete configuration /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -351,7 +351,7 @@ public interface IConfigurationsApiAsync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the configuration /// (optional) /// Cancellation Token to cancel the request. @@ -364,7 +364,7 @@ public interface IConfigurationsApiAsync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the configuration /// (optional) /// Cancellation Token to cancel the request. @@ -374,9 +374,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Permanently delete configuration from archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// Cancellation Token to cancel the request. /// Task of void @@ -386,9 +386,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Permanently delete configuration from archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -397,9 +397,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Restore configuration from the archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// Cancellation Token to cancel the request. /// Task of void @@ -409,9 +409,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Restore configuration from the archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -420,9 +420,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Permanently delete multiple archived configurations /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -432,9 +432,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Permanently delete multiple archived configurations /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -443,9 +443,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Edit configuration /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -455,9 +455,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Edit configuration /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -466,9 +466,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Restore multiple configurations from the archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of int @@ -478,9 +478,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Restore multiple configurations from the archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (int) @@ -489,9 +489,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Search for configurations /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -506,9 +506,9 @@ public interface IConfigurationsApiAsync : IApiAccessor /// Search for configurations /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -524,7 +524,7 @@ public interface IConfigurationsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets configuration model (listed in the request example) <br>User runs method execution <br>System creates configuration <br>System returns created configuration (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ConfigurationModel @@ -536,7 +536,7 @@ public interface IConfigurationsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets configuration model (listed in the request example) <br>User runs method execution <br>System creates configuration <br>System returns created configuration (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConfigurationModel) @@ -547,7 +547,7 @@ public interface IConfigurationsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets configuration internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search configuration using the identifier <br>System returns configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Configuration internal (guid format) or global (integer format) identifier /// Cancellation Token to cancel the request. /// Task of ConfigurationModel @@ -559,7 +559,7 @@ public interface IConfigurationsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets configuration internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search configuration using the identifier <br>System returns configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Configuration internal (guid format) or global (integer format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConfigurationModel) @@ -580,7 +580,7 @@ public interface IConfigurationsApi : IConfigurationsApiSync, IConfigurationsApi /// public partial class ConfigurationsApi : IDisposable, IConfigurationsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -602,14 +602,14 @@ public ConfigurationsApi() : this((string)null) /// public ConfigurationsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -620,18 +620,18 @@ public ConfigurationsApi(string basePath) /// An instance of Configuration. /// /// - public ConfigurationsApi(TestIt.Client.Client.Configuration configuration) + public ConfigurationsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -666,14 +666,14 @@ public ConfigurationsApi(HttpClient client, string basePath, HttpClientHandler h { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -688,19 +688,19 @@ public ConfigurationsApi(HttpClient client, string basePath, HttpClientHandler h /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public ConfigurationsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public ConfigurationsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -711,7 +711,7 @@ public ConfigurationsApi(HttpClient client, TestIt.Client.Client.Configuration c /// The client interface for asynchronous API access. /// The configuration object. /// - public ConfigurationsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public ConfigurationsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -720,7 +720,7 @@ public ConfigurationsApi(TestIt.Client.Client.ISynchronousClient client, TestIt. this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -734,17 +734,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -759,12 +759,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -780,7 +780,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Create Configurations by parameters <br>Use case <br>User sets request model (listed in the request example) <br>User runs method execution <br>System creates configurations <br>System returns created configuration ids (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void ApiV2ConfigurationsCreateByParametersPost(ApiV2ConfigurationsCreateByParametersPostRequest apiV2ConfigurationsCreateByParametersPostRequest = default(ApiV2ConfigurationsCreateByParametersPostRequest)) @@ -791,12 +791,12 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Create Configurations by parameters <br>Use case <br>User sets request model (listed in the request example) <br>User runs method execution <br>System creates configurations <br>System returns created configuration ids (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsCreateByParametersPostWithHttpInfo(ApiV2ConfigurationsCreateByParametersPostRequest apiV2ConfigurationsCreateByParametersPostRequest = default(ApiV2ConfigurationsCreateByParametersPostRequest)) + public ApiResponse ApiV2ConfigurationsCreateByParametersPostWithHttpInfo(ApiV2ConfigurationsCreateByParametersPostRequest apiV2ConfigurationsCreateByParametersPostRequest = default(ApiV2ConfigurationsCreateByParametersPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -807,10 +807,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ConfigurationsCreateByParametersPostRequest; @@ -836,7 +836,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Create Configurations by parameters <br>Use case <br>User sets request model (listed in the request example) <br>User runs method execution <br>System creates configurations <br>System returns created configuration ids (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -848,14 +848,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Create Configurations by parameters <br>Use case <br>User sets request model (listed in the request example) <br>User runs method execution <br>System creates configurations <br>System returns created configuration ids (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ConfigurationsCreateByParametersPostWithHttpInfoAsync(ApiV2ConfigurationsCreateByParametersPostRequest apiV2ConfigurationsCreateByParametersPostRequest = default(ApiV2ConfigurationsCreateByParametersPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ConfigurationsCreateByParametersPostWithHttpInfoAsync(ApiV2ConfigurationsCreateByParametersPostRequest apiV2ConfigurationsCreateByParametersPostRequest = default(ApiV2ConfigurationsCreateByParametersPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -867,10 +867,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ConfigurationsCreateByParametersPostRequest; @@ -895,26 +895,26 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Delete multiple configurations + /// Delete multiple configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// int public int ApiV2ConfigurationsDeleteBulkPost(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2ConfigurationsDeleteBulkPostWithHttpInfo(apiV2ConfigurationsPurgeBulkPostRequest); + ApiResponse localVarResponse = ApiV2ConfigurationsDeleteBulkPostWithHttpInfo(apiV2ConfigurationsPurgeBulkPostRequest); return localVarResponse.Data; } /// - /// Delete multiple configurations + /// Delete multiple configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of int - public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsDeleteBulkPostWithHttpInfo(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)) + public ApiResponse ApiV2ConfigurationsDeleteBulkPostWithHttpInfo(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -925,10 +925,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ConfigurationsPurgeBulkPostRequest; @@ -952,29 +952,29 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Delete multiple configurations + /// Delete multiple configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of int public async System.Threading.Tasks.Task ApiV2ConfigurationsDeleteBulkPostAsync(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2ConfigurationsDeleteBulkPostWithHttpInfoAsync(apiV2ConfigurationsPurgeBulkPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2ConfigurationsDeleteBulkPostWithHttpInfoAsync(apiV2ConfigurationsPurgeBulkPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete multiple configurations + /// Delete multiple configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (int) - public async System.Threading.Tasks.Task> ApiV2ConfigurationsDeleteBulkPostWithHttpInfoAsync(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ConfigurationsDeleteBulkPostWithHttpInfoAsync(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -986,10 +986,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ConfigurationsPurgeBulkPostRequest; @@ -1014,9 +1014,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Delete configuration + /// Delete configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// public void ApiV2ConfigurationsIdDelete(string id) @@ -1025,18 +1025,18 @@ public void ApiV2ConfigurationsIdDelete(string id) } /// - /// Delete configuration + /// Delete configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdDeleteWithHttpInfo(string id) + public ApiResponse ApiV2ConfigurationsIdDeleteWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->ApiV2ConfigurationsIdDelete"); + throw new ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->ApiV2ConfigurationsIdDelete"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1046,13 +1046,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdDeleteWithH "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1073,9 +1073,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdDeleteWithH } /// - /// Delete configuration + /// Delete configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// Cancellation Token to cancel the request. /// Task of void @@ -1085,20 +1085,20 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdDeleteWithH } /// - /// Delete configuration + /// Delete configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ConfigurationsIdDeleteWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ConfigurationsIdDeleteWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->ApiV2ConfigurationsIdDelete"); + throw new ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->ApiV2ConfigurationsIdDelete"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1109,13 +1109,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdDeleteWithH }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1139,7 +1139,7 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdDeleteWithH /// /// Patch configuration See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the configuration /// (optional) /// @@ -1151,13 +1151,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdDeleteWithH /// /// Patch configuration See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the configuration /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdPatchWithHttpInfo(Guid id, List operation = default(List)) + public ApiResponse ApiV2ConfigurationsIdPatchWithHttpInfo(Guid id, List operation = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1168,13 +1168,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdDeleteWithH "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = operation; // authentication (Bearer or PrivateToken) required @@ -1198,7 +1198,7 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdDeleteWithH /// /// Patch configuration See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the configuration /// (optional) /// Cancellation Token to cancel the request. @@ -1211,15 +1211,15 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdDeleteWithH /// /// Patch configuration See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the configuration /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ConfigurationsIdPatchWithHttpInfoAsync(Guid id, List operation = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ConfigurationsIdPatchWithHttpInfoAsync(Guid id, List operation = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1231,13 +1231,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdDeleteWithH }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = operation; // authentication (Bearer or PrivateToken) required @@ -1260,9 +1260,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdDeleteWithH } /// - /// Permanently delete configuration from archive + /// Permanently delete configuration from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// public void ApiV2ConfigurationsIdPurgePost(string id) @@ -1271,18 +1271,18 @@ public void ApiV2ConfigurationsIdPurgePost(string id) } /// - /// Permanently delete configuration from archive + /// Permanently delete configuration from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdPurgePostWithHttpInfo(string id) + public ApiResponse ApiV2ConfigurationsIdPurgePostWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->ApiV2ConfigurationsIdPurgePost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->ApiV2ConfigurationsIdPurgePost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1292,13 +1292,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdPurgePostWi "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1319,9 +1319,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdPurgePostWi } /// - /// Permanently delete configuration from archive + /// Permanently delete configuration from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// Cancellation Token to cancel the request. /// Task of void @@ -1331,20 +1331,20 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdPurgePostWi } /// - /// Permanently delete configuration from archive + /// Permanently delete configuration from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ConfigurationsIdPurgePostWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ConfigurationsIdPurgePostWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->ApiV2ConfigurationsIdPurgePost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->ApiV2ConfigurationsIdPurgePost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1355,13 +1355,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdPurgePostWi }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1383,9 +1383,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdPurgePostWi } /// - /// Restore configuration from the archive + /// Restore configuration from the archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// public void ApiV2ConfigurationsIdRestorePost(string id) @@ -1394,18 +1394,18 @@ public void ApiV2ConfigurationsIdRestorePost(string id) } /// - /// Restore configuration from the archive + /// Restore configuration from the archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePostWithHttpInfo(string id) + public ApiResponse ApiV2ConfigurationsIdRestorePostWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->ApiV2ConfigurationsIdRestorePost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->ApiV2ConfigurationsIdRestorePost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1415,13 +1415,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1442,9 +1442,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Restore configuration from the archive + /// Restore configuration from the archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// Cancellation Token to cancel the request. /// Task of void @@ -1454,20 +1454,20 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Restore configuration from the archive + /// Restore configuration from the archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the configuration /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ConfigurationsIdRestorePostWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ConfigurationsIdRestorePostWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->ApiV2ConfigurationsIdRestorePost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->ApiV2ConfigurationsIdRestorePost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1478,13 +1478,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1506,9 +1506,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Permanently delete multiple archived configurations + /// Permanently delete multiple archived configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void ApiV2ConfigurationsPurgeBulkPost(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)) @@ -1517,14 +1517,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Permanently delete multiple archived configurations + /// Permanently delete multiple archived configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsPurgeBulkPostWithHttpInfo(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)) + public ApiResponse ApiV2ConfigurationsPurgeBulkPostWithHttpInfo(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1535,10 +1535,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ConfigurationsPurgeBulkPostRequest; @@ -1562,9 +1562,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Permanently delete multiple archived configurations + /// Permanently delete multiple archived configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1574,16 +1574,16 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Permanently delete multiple archived configurations + /// Permanently delete multiple archived configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ConfigurationsPurgeBulkPostWithHttpInfoAsync(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ConfigurationsPurgeBulkPostWithHttpInfoAsync(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1595,10 +1595,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ConfigurationsPurgeBulkPostRequest; @@ -1623,9 +1623,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Edit configuration + /// Edit configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void ApiV2ConfigurationsPut(ApiV2ConfigurationsPutRequest apiV2ConfigurationsPutRequest = default(ApiV2ConfigurationsPutRequest)) @@ -1634,14 +1634,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Edit configuration + /// Edit configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsPutWithHttpInfo(ApiV2ConfigurationsPutRequest apiV2ConfigurationsPutRequest = default(ApiV2ConfigurationsPutRequest)) + public ApiResponse ApiV2ConfigurationsPutWithHttpInfo(ApiV2ConfigurationsPutRequest apiV2ConfigurationsPutRequest = default(ApiV2ConfigurationsPutRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1652,10 +1652,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ConfigurationsPutRequest; @@ -1679,9 +1679,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Edit configuration + /// Edit configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1691,16 +1691,16 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Edit configuration + /// Edit configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ConfigurationsPutWithHttpInfoAsync(ApiV2ConfigurationsPutRequest apiV2ConfigurationsPutRequest = default(ApiV2ConfigurationsPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ConfigurationsPutWithHttpInfoAsync(ApiV2ConfigurationsPutRequest apiV2ConfigurationsPutRequest = default(ApiV2ConfigurationsPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1712,10 +1712,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ConfigurationsPutRequest; @@ -1740,26 +1740,26 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Restore multiple configurations from the archive + /// Restore multiple configurations from the archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// int public int ApiV2ConfigurationsRestoreBulkPost(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2ConfigurationsRestoreBulkPostWithHttpInfo(apiV2ConfigurationsPurgeBulkPostRequest); + ApiResponse localVarResponse = ApiV2ConfigurationsRestoreBulkPostWithHttpInfo(apiV2ConfigurationsPurgeBulkPostRequest); return localVarResponse.Data; } /// - /// Restore multiple configurations from the archive + /// Restore multiple configurations from the archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of int - public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsRestoreBulkPostWithHttpInfo(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)) + public ApiResponse ApiV2ConfigurationsRestoreBulkPostWithHttpInfo(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1770,10 +1770,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ConfigurationsPurgeBulkPostRequest; @@ -1797,29 +1797,29 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Restore multiple configurations from the archive + /// Restore multiple configurations from the archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of int public async System.Threading.Tasks.Task ApiV2ConfigurationsRestoreBulkPostAsync(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2ConfigurationsRestoreBulkPostWithHttpInfoAsync(apiV2ConfigurationsPurgeBulkPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2ConfigurationsRestoreBulkPostWithHttpInfoAsync(apiV2ConfigurationsPurgeBulkPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Restore multiple configurations from the archive + /// Restore multiple configurations from the archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (int) - public async System.Threading.Tasks.Task> ApiV2ConfigurationsRestoreBulkPostWithHttpInfoAsync(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ConfigurationsRestoreBulkPostWithHttpInfoAsync(ApiV2ConfigurationsPurgeBulkPostRequest apiV2ConfigurationsPurgeBulkPostRequest = default(ApiV2ConfigurationsPurgeBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1831,10 +1831,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ConfigurationsPurgeBulkPostRequest; @@ -1859,9 +1859,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Search for configurations + /// Search for configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1871,14 +1871,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost /// List<ConfigurationModel> public List ApiV2ConfigurationsSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ConfigurationsSearchPostRequest apiV2ConfigurationsSearchPostRequest = default(ApiV2ConfigurationsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ConfigurationsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2ConfigurationsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2ConfigurationsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2ConfigurationsSearchPostRequest); return localVarResponse.Data; } /// - /// Search for configurations + /// Search for configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1886,9 +1886,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost /// Value for searching (optional) /// Model containing all the filters (optional) /// ApiResponse of List<ConfigurationModel> - public TestIt.Client.Client.ApiResponse> ApiV2ConfigurationsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ConfigurationsSearchPostRequest apiV2ConfigurationsSearchPostRequest = default(ApiV2ConfigurationsSearchPostRequest)) + public ApiResponse> ApiV2ConfigurationsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ConfigurationsSearchPostRequest apiV2ConfigurationsSearchPostRequest = default(ApiV2ConfigurationsSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1899,31 +1899,31 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ConfigurationsSearchPostRequest; @@ -1946,9 +1946,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost } /// - /// Search for configurations + /// Search for configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1959,14 +1959,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost /// Task of List<ConfigurationModel> public async System.Threading.Tasks.Task> ApiV2ConfigurationsSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ConfigurationsSearchPostRequest apiV2ConfigurationsSearchPostRequest = default(ApiV2ConfigurationsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ConfigurationsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2ConfigurationsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ConfigurationsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2ConfigurationsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for configurations + /// Search for configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1975,10 +1975,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost /// Model containing all the filters (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ConfigurationModel>) - public async System.Threading.Tasks.Task>> ApiV2ConfigurationsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ConfigurationsSearchPostRequest apiV2ConfigurationsSearchPostRequest = default(ApiV2ConfigurationsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ConfigurationsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ConfigurationsSearchPostRequest apiV2ConfigurationsSearchPostRequest = default(ApiV2ConfigurationsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1990,31 +1990,31 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ConfigurationsSearchPostRequest; @@ -2040,24 +2040,24 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost /// /// Create Configuration <br>Use case <br>User sets configuration model (listed in the request example) <br>User runs method execution <br>System creates configuration <br>System returns created configuration (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ConfigurationModel public ConfigurationModel CreateConfiguration(CreateConfigurationRequest createConfigurationRequest = default(CreateConfigurationRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateConfigurationWithHttpInfo(createConfigurationRequest); + ApiResponse localVarResponse = CreateConfigurationWithHttpInfo(createConfigurationRequest); return localVarResponse.Data; } /// /// Create Configuration <br>Use case <br>User sets configuration model (listed in the request example) <br>User runs method execution <br>System creates configuration <br>System returns created configuration (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of ConfigurationModel - public TestIt.Client.Client.ApiResponse CreateConfigurationWithHttpInfo(CreateConfigurationRequest createConfigurationRequest = default(CreateConfigurationRequest)) + public ApiResponse CreateConfigurationWithHttpInfo(CreateConfigurationRequest createConfigurationRequest = default(CreateConfigurationRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2068,10 +2068,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createConfigurationRequest; @@ -2097,27 +2097,27 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost /// /// Create Configuration <br>Use case <br>User sets configuration model (listed in the request example) <br>User runs method execution <br>System creates configuration <br>System returns created configuration (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ConfigurationModel public async System.Threading.Tasks.Task CreateConfigurationAsync(CreateConfigurationRequest createConfigurationRequest = default(CreateConfigurationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateConfigurationWithHttpInfoAsync(createConfigurationRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateConfigurationWithHttpInfoAsync(createConfigurationRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create Configuration <br>Use case <br>User sets configuration model (listed in the request example) <br>User runs method execution <br>System creates configuration <br>System returns created configuration (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConfigurationModel) - public async System.Threading.Tasks.Task> CreateConfigurationWithHttpInfoAsync(CreateConfigurationRequest createConfigurationRequest = default(CreateConfigurationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateConfigurationWithHttpInfoAsync(CreateConfigurationRequest createConfigurationRequest = default(CreateConfigurationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2129,10 +2129,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createConfigurationRequest; @@ -2159,28 +2159,28 @@ public TestIt.Client.Client.ApiResponse ApiV2ConfigurationsIdRestorePost /// /// Get configuration by internal or global ID <br>Use case <br>User sets configuration internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search configuration using the identifier <br>System returns configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Configuration internal (guid format) or global (integer format) identifier /// ConfigurationModel public ConfigurationModel GetConfigurationById(string id) { - TestIt.Client.Client.ApiResponse localVarResponse = GetConfigurationByIdWithHttpInfo(id); + ApiResponse localVarResponse = GetConfigurationByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get configuration by internal or global ID <br>Use case <br>User sets configuration internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search configuration using the identifier <br>System returns configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Configuration internal (guid format) or global (integer format) identifier /// ApiResponse of ConfigurationModel - public TestIt.Client.Client.ApiResponse GetConfigurationByIdWithHttpInfo(string id) + public ApiResponse GetConfigurationByIdWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->GetConfigurationById"); + throw new ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->GetConfigurationById"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2190,13 +2190,13 @@ public TestIt.Client.Client.ApiResponse GetConfigurationById "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2219,31 +2219,31 @@ public TestIt.Client.Client.ApiResponse GetConfigurationById /// /// Get configuration by internal or global ID <br>Use case <br>User sets configuration internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search configuration using the identifier <br>System returns configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Configuration internal (guid format) or global (integer format) identifier /// Cancellation Token to cancel the request. /// Task of ConfigurationModel public async System.Threading.Tasks.Task GetConfigurationByIdAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetConfigurationByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetConfigurationByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get configuration by internal or global ID <br>Use case <br>User sets configuration internal (guid format) or global (integer format) identifier <br>User runs method execution <br>System search configuration using the identifier <br>System returns configuration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Configuration internal (guid format) or global (integer format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConfigurationModel) - public async System.Threading.Tasks.Task> GetConfigurationByIdWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetConfigurationByIdWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->GetConfigurationById"); + throw new ApiException(400, "Missing required parameter 'id' when calling ConfigurationsApi->GetConfigurationById"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2254,13 +2254,13 @@ public TestIt.Client.Client.ApiResponse GetConfigurationById }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) diff --git a/src/TestIt.Client/Api/CustomAttributeTemplatesApi.cs b/src/TestIT.ApiClient/Api/CustomAttributeTemplatesApi.cs similarity index 76% rename from src/TestIt.Client/Api/CustomAttributeTemplatesApi.cs rename to src/TestIT.ApiClient/Api/CustomAttributeTemplatesApi.cs index fbea0225..78ac0ea8 100644 --- a/src/TestIt.Client/Api/CustomAttributeTemplatesApi.cs +++ b/src/TestIT.ApiClient/Api/CustomAttributeTemplatesApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -33,7 +33,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System delete attributes from attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// @@ -45,7 +45,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System delete attributes from attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// ApiResponse of Object(void) @@ -56,7 +56,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System add attributes to attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// @@ -68,7 +68,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System add attributes to attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// ApiResponse of Object(void) @@ -79,7 +79,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System search and delete attribute template <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// NoContentResult NoContentResult ApiV2CustomAttributesTemplatesIdDelete(Guid id); @@ -90,7 +90,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System search and delete attribute template <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// ApiResponse of NoContentResult ApiResponse ApiV2CustomAttributesTemplatesIdDeleteWithHttpInfo(Guid id); @@ -100,7 +100,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System return attribute template (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate internal (UUID) identifier /// CustomAttributeTemplateModel CustomAttributeTemplateModel ApiV2CustomAttributesTemplatesIdGet(Guid id); @@ -111,7 +111,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System return attribute template (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate internal (UUID) identifier /// ApiResponse of CustomAttributeTemplateModel ApiResponse ApiV2CustomAttributesTemplatesIdGetWithHttpInfo(Guid id); @@ -121,7 +121,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute template name <br>User runs method execution <br>System search and return list of attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate name for search /// CustomAttributeTemplateModel CustomAttributeTemplateModel ApiV2CustomAttributesTemplatesNameGet(string name); @@ -132,7 +132,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute template name <br>User runs method execution <br>System search and return list of attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate name for search /// ApiResponse of CustomAttributeTemplateModel ApiResponse ApiV2CustomAttributesTemplatesNameGetWithHttpInfo(string name); @@ -142,7 +142,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute template parameters (listed in request example) <br>User runs method execution <br>System creates attribute template <br>System returns attribute template model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// CustomAttributeTemplateModel CustomAttributeTemplateModel ApiV2CustomAttributesTemplatesPost(ApiV2CustomAttributesTemplatesPostRequest apiV2CustomAttributesTemplatesPostRequest = default(ApiV2CustomAttributesTemplatesPostRequest)); @@ -153,14 +153,14 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute template parameters (listed in request example) <br>User runs method execution <br>System creates attribute template <br>System returns attribute template model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of CustomAttributeTemplateModel ApiResponse ApiV2CustomAttributesTemplatesPostWithHttpInfo(ApiV2CustomAttributesTemplatesPostRequest apiV2CustomAttributesTemplatesPostRequest = default(ApiV2CustomAttributesTemplatesPostRequest)); /// /// Update custom attributes template /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void ApiV2CustomAttributesTemplatesPut(ApiV2CustomAttributesTemplatesPutRequest apiV2CustomAttributesTemplatesPutRequest = default(ApiV2CustomAttributesTemplatesPutRequest)); @@ -169,9 +169,9 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// Update custom attributes template /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse ApiV2CustomAttributesTemplatesPutWithHttpInfo(ApiV2CustomAttributesTemplatesPutRequest apiV2CustomAttributesTemplatesPutRequest = default(ApiV2CustomAttributesTemplatesPutRequest)); @@ -181,7 +181,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets search params model (listed in request example) <br>User runs method execution <br>System return attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -197,7 +197,7 @@ public interface ICustomAttributeTemplatesApiSync : IApiAccessor /// /// <br>Use case <br>User sets search params model (listed in request example) <br>User runs method execution <br>System return attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -221,7 +221,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System delete attributes from attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -234,7 +234,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System delete attributes from attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -246,7 +246,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System add attributes to attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -259,7 +259,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System add attributes to attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -271,7 +271,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System search and delete attribute template <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of NoContentResult @@ -283,7 +283,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System search and delete attribute template <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (NoContentResult) @@ -294,7 +294,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System return attribute template (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of CustomAttributeTemplateModel @@ -306,7 +306,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System return attribute template (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeTemplateModel) @@ -317,7 +317,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute template name <br>User runs method execution <br>System search and return list of attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate name for search /// Cancellation Token to cancel the request. /// Task of CustomAttributeTemplateModel @@ -329,7 +329,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute template name <br>User runs method execution <br>System search and return list of attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate name for search /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeTemplateModel) @@ -340,7 +340,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute template parameters (listed in request example) <br>User runs method execution <br>System creates attribute template <br>System returns attribute template model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of CustomAttributeTemplateModel @@ -352,7 +352,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute template parameters (listed in request example) <br>User runs method execution <br>System creates attribute template <br>System returns attribute template model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeTemplateModel) @@ -361,9 +361,9 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// Update custom attributes template /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -373,9 +373,9 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// Update custom attributes template /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -386,7 +386,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets search params model (listed in request example) <br>User runs method execution <br>System return attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -403,7 +403,7 @@ public interface ICustomAttributeTemplatesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets search params model (listed in request example) <br>User runs method execution <br>System return attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -429,7 +429,7 @@ public interface ICustomAttributeTemplatesApi : ICustomAttributeTemplatesApiSync /// public partial class CustomAttributeTemplatesApi : IDisposable, ICustomAttributeTemplatesApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -451,14 +451,14 @@ public CustomAttributeTemplatesApi() : this((string)null) /// public CustomAttributeTemplatesApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -469,18 +469,18 @@ public CustomAttributeTemplatesApi(string basePath) /// An instance of Configuration. /// /// - public CustomAttributeTemplatesApi(TestIt.Client.Client.Configuration configuration) + public CustomAttributeTemplatesApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -515,14 +515,14 @@ public CustomAttributeTemplatesApi(HttpClient client, string basePath, HttpClien { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -537,19 +537,19 @@ public CustomAttributeTemplatesApi(HttpClient client, string basePath, HttpClien /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public CustomAttributeTemplatesApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public CustomAttributeTemplatesApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -560,7 +560,7 @@ public CustomAttributeTemplatesApi(HttpClient client, TestIt.Client.Client.Confi /// The client interface for asynchronous API access. /// The configuration object. /// - public CustomAttributeTemplatesApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public CustomAttributeTemplatesApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -569,7 +569,7 @@ public CustomAttributeTemplatesApi(TestIt.Client.Client.ISynchronousClient clien this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -583,17 +583,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -608,12 +608,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -629,7 +629,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Exclude CustomAttributes from CustomAttributeTemplate <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System delete attributes from attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// @@ -641,13 +641,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Exclude CustomAttributes from CustomAttributeTemplate <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System delete attributes from attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesTemplatesIdCustomAttributesExcludePostWithHttpInfo(Guid id, List requestBody = default(List)) + public ApiResponse ApiV2CustomAttributesTemplatesIdCustomAttributesExcludePostWithHttpInfo(Guid id, List requestBody = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -658,13 +658,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -688,7 +688,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Exclude CustomAttributes from CustomAttributeTemplate <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System delete attributes from attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -701,15 +701,15 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Exclude CustomAttributes from CustomAttributeTemplate <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System delete attributes from attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesIdCustomAttributesExcludePostWithHttpInfoAsync(Guid id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesIdCustomAttributesExcludePostWithHttpInfoAsync(Guid id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -721,13 +721,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -752,7 +752,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Include CustomAttributes to CustomAttributeTemplate <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System add attributes to attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// @@ -764,13 +764,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Include CustomAttributes to CustomAttributeTemplate <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System add attributes to attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesTemplatesIdCustomAttributesIncludePostWithHttpInfo(Guid id, List requestBody = default(List)) + public ApiResponse ApiV2CustomAttributesTemplatesIdCustomAttributesIncludePostWithHttpInfo(Guid id, List requestBody = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -781,13 +781,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -811,7 +811,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Include CustomAttributes to CustomAttributeTemplate <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System add attributes to attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -824,15 +824,15 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Include CustomAttributes to CustomAttributeTemplate <br>Use case <br>User sets attribute template internal identifier <br>User sets attribute internal identifiers <br>User runs method execution <br>System add attributes to attributes tempalte /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesIdCustomAttributesIncludePostWithHttpInfoAsync(Guid id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesIdCustomAttributesIncludePostWithHttpInfoAsync(Guid id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -844,13 +844,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -875,24 +875,24 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Delete CustomAttributeTemplate <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System search and delete attribute template <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// NoContentResult public NoContentResult ApiV2CustomAttributesTemplatesIdDelete(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2CustomAttributesTemplatesIdDeleteWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2CustomAttributesTemplatesIdDeleteWithHttpInfo(id); return localVarResponse.Data; } /// /// Delete CustomAttributeTemplate <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System search and delete attribute template <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// ApiResponse of NoContentResult - public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesTemplatesIdDeleteWithHttpInfo(Guid id) + public ApiResponse ApiV2CustomAttributesTemplatesIdDeleteWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -902,13 +902,13 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesTe "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -931,27 +931,27 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesTe /// /// Delete CustomAttributeTemplate <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System search and delete attribute template <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of NoContentResult public async System.Threading.Tasks.Task ApiV2CustomAttributesTemplatesIdDeleteAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2CustomAttributesTemplatesIdDeleteWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2CustomAttributesTemplatesIdDeleteWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Delete CustomAttributeTemplate <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System search and delete attribute template <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attribute template internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (NoContentResult) - public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesIdDeleteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesIdDeleteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -962,13 +962,13 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesTe }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -992,24 +992,24 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesTe /// /// Get CustomAttributeTemplate by ID <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System return attribute template (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate internal (UUID) identifier /// CustomAttributeTemplateModel public CustomAttributeTemplateModel ApiV2CustomAttributesTemplatesIdGet(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2CustomAttributesTemplatesIdGetWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2CustomAttributesTemplatesIdGetWithHttpInfo(id); return localVarResponse.Data; } /// /// Get CustomAttributeTemplate by ID <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System return attribute template (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate internal (UUID) identifier /// ApiResponse of CustomAttributeTemplateModel - public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesTemplatesIdGetWithHttpInfo(Guid id) + public ApiResponse ApiV2CustomAttributesTemplatesIdGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1019,13 +1019,13 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1048,27 +1048,27 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo /// /// Get CustomAttributeTemplate by ID <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System return attribute template (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of CustomAttributeTemplateModel public async System.Threading.Tasks.Task ApiV2CustomAttributesTemplatesIdGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2CustomAttributesTemplatesIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2CustomAttributesTemplatesIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get CustomAttributeTemplate by ID <br>Use case <br>User sets attribute template internal identifier <br>User runs method execution <br>System return attribute template (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeTemplateModel) - public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1079,13 +1079,13 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1109,28 +1109,28 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo /// /// Get CustomAttributeTemplate by name <br>Use case <br>User sets attribute template name <br>User runs method execution <br>System search and return list of attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate name for search /// CustomAttributeTemplateModel public CustomAttributeTemplateModel ApiV2CustomAttributesTemplatesNameGet(string name) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2CustomAttributesTemplatesNameGetWithHttpInfo(name); + ApiResponse localVarResponse = ApiV2CustomAttributesTemplatesNameGetWithHttpInfo(name); return localVarResponse.Data; } /// /// Get CustomAttributeTemplate by name <br>Use case <br>User sets attribute template name <br>User runs method execution <br>System search and return list of attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate name for search /// ApiResponse of CustomAttributeTemplateModel - public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesTemplatesNameGetWithHttpInfo(string name) + public ApiResponse ApiV2CustomAttributesTemplatesNameGetWithHttpInfo(string name) { // verify the required parameter 'name' is set if (name == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'name' when calling CustomAttributeTemplatesApi->ApiV2CustomAttributesTemplatesNameGet"); + throw new ApiException(400, "Missing required parameter 'name' when calling CustomAttributeTemplatesApi->ApiV2CustomAttributesTemplatesNameGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1140,13 +1140,13 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("name", TestIt.Client.Client.ClientUtils.ParameterToString(name)); // path parameter + localVarRequestOptions.PathParameters.Add("name", ClientUtils.ParameterToString(name)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1169,31 +1169,31 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo /// /// Get CustomAttributeTemplate by name <br>Use case <br>User sets attribute template name <br>User runs method execution <br>System search and return list of attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate name for search /// Cancellation Token to cancel the request. /// Task of CustomAttributeTemplateModel public async System.Threading.Tasks.Task ApiV2CustomAttributesTemplatesNameGetAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2CustomAttributesTemplatesNameGetWithHttpInfoAsync(name, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2CustomAttributesTemplatesNameGetWithHttpInfoAsync(name, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get CustomAttributeTemplate by name <br>Use case <br>User sets attribute template name <br>User runs method execution <br>System search and return list of attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// CustomAttributeTemplate name for search /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeTemplateModel) - public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesNameGetWithHttpInfoAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesNameGetWithHttpInfoAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'name' when calling CustomAttributeTemplatesApi->ApiV2CustomAttributesTemplatesNameGet"); + throw new ApiException(400, "Missing required parameter 'name' when calling CustomAttributeTemplatesApi->ApiV2CustomAttributesTemplatesNameGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1204,13 +1204,13 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("name", TestIt.Client.Client.ClientUtils.ParameterToString(name)); // path parameter + localVarRequestOptions.PathParameters.Add("name", ClientUtils.ParameterToString(name)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1234,24 +1234,24 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo /// /// Create CustomAttributeTemplate <br>Use case <br>User sets attribute template parameters (listed in request example) <br>User runs method execution <br>System creates attribute template <br>System returns attribute template model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// CustomAttributeTemplateModel public CustomAttributeTemplateModel ApiV2CustomAttributesTemplatesPost(ApiV2CustomAttributesTemplatesPostRequest apiV2CustomAttributesTemplatesPostRequest = default(ApiV2CustomAttributesTemplatesPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2CustomAttributesTemplatesPostWithHttpInfo(apiV2CustomAttributesTemplatesPostRequest); + ApiResponse localVarResponse = ApiV2CustomAttributesTemplatesPostWithHttpInfo(apiV2CustomAttributesTemplatesPostRequest); return localVarResponse.Data; } /// /// Create CustomAttributeTemplate <br>Use case <br>User sets attribute template parameters (listed in request example) <br>User runs method execution <br>System creates attribute template <br>System returns attribute template model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of CustomAttributeTemplateModel - public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesTemplatesPostWithHttpInfo(ApiV2CustomAttributesTemplatesPostRequest apiV2CustomAttributesTemplatesPostRequest = default(ApiV2CustomAttributesTemplatesPostRequest)) + public ApiResponse ApiV2CustomAttributesTemplatesPostWithHttpInfo(ApiV2CustomAttributesTemplatesPostRequest apiV2CustomAttributesTemplatesPostRequest = default(ApiV2CustomAttributesTemplatesPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1262,10 +1262,10 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2CustomAttributesTemplatesPostRequest; @@ -1291,27 +1291,27 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo /// /// Create CustomAttributeTemplate <br>Use case <br>User sets attribute template parameters (listed in request example) <br>User runs method execution <br>System creates attribute template <br>System returns attribute template model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of CustomAttributeTemplateModel public async System.Threading.Tasks.Task ApiV2CustomAttributesTemplatesPostAsync(ApiV2CustomAttributesTemplatesPostRequest apiV2CustomAttributesTemplatesPostRequest = default(ApiV2CustomAttributesTemplatesPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2CustomAttributesTemplatesPostWithHttpInfoAsync(apiV2CustomAttributesTemplatesPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2CustomAttributesTemplatesPostWithHttpInfoAsync(apiV2CustomAttributesTemplatesPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create CustomAttributeTemplate <br>Use case <br>User sets attribute template parameters (listed in request example) <br>User runs method execution <br>System creates attribute template <br>System returns attribute template model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeTemplateModel) - public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesPostWithHttpInfoAsync(ApiV2CustomAttributesTemplatesPostRequest apiV2CustomAttributesTemplatesPostRequest = default(ApiV2CustomAttributesTemplatesPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesPostWithHttpInfoAsync(ApiV2CustomAttributesTemplatesPostRequest apiV2CustomAttributesTemplatesPostRequest = default(ApiV2CustomAttributesTemplatesPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1323,10 +1323,10 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2CustomAttributesTemplatesPostRequest; @@ -1351,9 +1351,9 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo } /// - /// Update custom attributes template + /// Update custom attributes template /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void ApiV2CustomAttributesTemplatesPut(ApiV2CustomAttributesTemplatesPutRequest apiV2CustomAttributesTemplatesPutRequest = default(ApiV2CustomAttributesTemplatesPutRequest)) @@ -1362,14 +1362,14 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo } /// - /// Update custom attributes template + /// Update custom attributes template /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesTemplatesPutWithHttpInfo(ApiV2CustomAttributesTemplatesPutRequest apiV2CustomAttributesTemplatesPutRequest = default(ApiV2CustomAttributesTemplatesPutRequest)) + public ApiResponse ApiV2CustomAttributesTemplatesPutWithHttpInfo(ApiV2CustomAttributesTemplatesPutRequest apiV2CustomAttributesTemplatesPutRequest = default(ApiV2CustomAttributesTemplatesPutRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1380,10 +1380,10 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2CustomAttributesTemplatesPutRequest; @@ -1407,9 +1407,9 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo } /// - /// Update custom attributes template + /// Update custom attributes template /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1419,16 +1419,16 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo } /// - /// Update custom attributes template + /// Update custom attributes template /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesPutWithHttpInfoAsync(ApiV2CustomAttributesTemplatesPutRequest apiV2CustomAttributesTemplatesPutRequest = default(ApiV2CustomAttributesTemplatesPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesPutWithHttpInfoAsync(ApiV2CustomAttributesTemplatesPutRequest apiV2CustomAttributesTemplatesPutRequest = default(ApiV2CustomAttributesTemplatesPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1440,10 +1440,10 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2CustomAttributesTemplatesPutRequest; @@ -1470,7 +1470,7 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo /// /// Search CustomAttributeTemplates <br>Use case <br>User sets search params model (listed in request example) <br>User runs method execution <br>System return attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1480,14 +1480,14 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo /// List<SearchCustomAttributeTemplateGetModel> public List ApiV2CustomAttributesTemplatesSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2CustomAttributesTemplatesSearchPostRequest apiV2CustomAttributesTemplatesSearchPostRequest = default(ApiV2CustomAttributesTemplatesSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2CustomAttributesTemplatesSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2CustomAttributesTemplatesSearchPostRequest); + ApiResponse> localVarResponse = ApiV2CustomAttributesTemplatesSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2CustomAttributesTemplatesSearchPostRequest); return localVarResponse.Data; } /// /// Search CustomAttributeTemplates <br>Use case <br>User sets search params model (listed in request example) <br>User runs method execution <br>System return attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1495,9 +1495,9 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo /// Value for searching (optional) /// (optional) /// ApiResponse of List<SearchCustomAttributeTemplateGetModel> - public TestIt.Client.Client.ApiResponse> ApiV2CustomAttributesTemplatesSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2CustomAttributesTemplatesSearchPostRequest apiV2CustomAttributesTemplatesSearchPostRequest = default(ApiV2CustomAttributesTemplatesSearchPostRequest)) + public ApiResponse> ApiV2CustomAttributesTemplatesSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2CustomAttributesTemplatesSearchPostRequest apiV2CustomAttributesTemplatesSearchPostRequest = default(ApiV2CustomAttributesTemplatesSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1508,31 +1508,31 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2CustomAttributesTemplatesSearchPostRequest; @@ -1557,7 +1557,7 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo /// /// Search CustomAttributeTemplates <br>Use case <br>User sets search params model (listed in request example) <br>User runs method execution <br>System return attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1568,14 +1568,14 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo /// Task of List<SearchCustomAttributeTemplateGetModel> public async System.Threading.Tasks.Task> ApiV2CustomAttributesTemplatesSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2CustomAttributesTemplatesSearchPostRequest apiV2CustomAttributesTemplatesSearchPostRequest = default(ApiV2CustomAttributesTemplatesSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2CustomAttributesTemplatesSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2CustomAttributesTemplatesSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2CustomAttributesTemplatesSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2CustomAttributesTemplatesSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Search CustomAttributeTemplates <br>Use case <br>User sets search params model (listed in request example) <br>User runs method execution <br>System return attribute templates (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1584,10 +1584,10 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<SearchCustomAttributeTemplateGetModel>) - public async System.Threading.Tasks.Task>> ApiV2CustomAttributesTemplatesSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2CustomAttributesTemplatesSearchPostRequest apiV2CustomAttributesTemplatesSearchPostRequest = default(ApiV2CustomAttributesTemplatesSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2CustomAttributesTemplatesSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2CustomAttributesTemplatesSearchPostRequest apiV2CustomAttributesTemplatesSearchPostRequest = default(ApiV2CustomAttributesTemplatesSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1599,31 +1599,31 @@ public TestIt.Client.Client.ApiResponse ApiV2Custo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2CustomAttributesTemplatesSearchPostRequest; diff --git a/src/TestIt.Client/Api/CustomAttributesApi.cs b/src/TestIT.ApiClient/Api/CustomAttributesApi.cs similarity index 72% rename from src/TestIt.Client/Api/CustomAttributesApi.cs rename to src/TestIT.ApiClient/Api/CustomAttributesApi.cs index b3fdd13c..79f0c331 100644 --- a/src/TestIt.Client/Api/CustomAttributesApi.cs +++ b/src/TestIT.ApiClient/Api/CustomAttributesApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -30,7 +30,7 @@ public interface ICustomAttributesApiSync : IApiAccessor /// /// Delete global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// void ApiV2CustomAttributesGlobalIdDelete(Guid id); @@ -39,16 +39,16 @@ public interface ICustomAttributesApiSync : IApiAccessor /// Delete global attribute /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// ApiResponse of Object(void) ApiResponse ApiV2CustomAttributesGlobalIdDeleteWithHttpInfo(Guid id); /// /// Edit global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// (optional) /// CustomAttributeModel @@ -58,9 +58,9 @@ public interface ICustomAttributesApiSync : IApiAccessor /// Edit global attribute /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// (optional) /// ApiResponse of CustomAttributeModel @@ -68,7 +68,7 @@ public interface ICustomAttributesApiSync : IApiAccessor /// /// Create global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// CustomAttributeModel CustomAttributeModel ApiV2CustomAttributesGlobalPost(ApiV2CustomAttributesGlobalPostRequest apiV2CustomAttributesGlobalPostRequest = default(ApiV2CustomAttributesGlobalPostRequest)); @@ -77,16 +77,16 @@ public interface ICustomAttributesApiSync : IApiAccessor /// Create global attribute /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of CustomAttributeModel ApiResponse ApiV2CustomAttributesGlobalPostWithHttpInfo(ApiV2CustomAttributesGlobalPostRequest apiV2CustomAttributesGlobalPostRequest = default(ApiV2CustomAttributesGlobalPostRequest)); /// /// Get attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// CustomAttributeModel CustomAttributeModel ApiV2CustomAttributesIdGet(Guid id); @@ -95,16 +95,16 @@ public interface ICustomAttributesApiSync : IApiAccessor /// Get attribute /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// ApiResponse of CustomAttributeModel ApiResponse ApiV2CustomAttributesIdGetWithHttpInfo(Guid id); /// /// Search for attributes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -118,9 +118,9 @@ public interface ICustomAttributesApiSync : IApiAccessor /// Search for attributes /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -142,9 +142,9 @@ public interface ICustomAttributesApiAsync : IApiAccessor /// Delete global attribute /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// Cancellation Token to cancel the request. /// Task of void @@ -154,9 +154,9 @@ public interface ICustomAttributesApiAsync : IApiAccessor /// Delete global attribute /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -165,9 +165,9 @@ public interface ICustomAttributesApiAsync : IApiAccessor /// Edit global attribute /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// (optional) /// Cancellation Token to cancel the request. @@ -178,9 +178,9 @@ public interface ICustomAttributesApiAsync : IApiAccessor /// Edit global attribute /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// (optional) /// Cancellation Token to cancel the request. @@ -190,9 +190,9 @@ public interface ICustomAttributesApiAsync : IApiAccessor /// Create global attribute /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of CustomAttributeModel @@ -202,9 +202,9 @@ public interface ICustomAttributesApiAsync : IApiAccessor /// Create global attribute /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeModel) @@ -213,9 +213,9 @@ public interface ICustomAttributesApiAsync : IApiAccessor /// Get attribute /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// Cancellation Token to cancel the request. /// Task of CustomAttributeModel @@ -225,9 +225,9 @@ public interface ICustomAttributesApiAsync : IApiAccessor /// Get attribute /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeModel) @@ -236,9 +236,9 @@ public interface ICustomAttributesApiAsync : IApiAccessor /// Search for attributes /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -253,9 +253,9 @@ public interface ICustomAttributesApiAsync : IApiAccessor /// Search for attributes /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -281,7 +281,7 @@ public interface ICustomAttributesApi : ICustomAttributesApiSync, ICustomAttribu /// public partial class CustomAttributesApi : IDisposable, ICustomAttributesApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -303,14 +303,14 @@ public CustomAttributesApi() : this((string)null) /// public CustomAttributesApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -321,18 +321,18 @@ public CustomAttributesApi(string basePath) /// An instance of Configuration. /// /// - public CustomAttributesApi(TestIt.Client.Client.Configuration configuration) + public CustomAttributesApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -367,14 +367,14 @@ public CustomAttributesApi(HttpClient client, string basePath, HttpClientHandler { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -389,19 +389,19 @@ public CustomAttributesApi(HttpClient client, string basePath, HttpClientHandler /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public CustomAttributesApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public CustomAttributesApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -412,7 +412,7 @@ public CustomAttributesApi(HttpClient client, TestIt.Client.Client.Configuration /// The client interface for asynchronous API access. /// The configuration object. /// - public CustomAttributesApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public CustomAttributesApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -421,7 +421,7 @@ public CustomAttributesApi(TestIt.Client.Client.ISynchronousClient client, TestI this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -435,17 +435,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -460,12 +460,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -479,9 +479,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Delete global attribute + /// Delete global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// public void ApiV2CustomAttributesGlobalIdDelete(Guid id) @@ -490,14 +490,14 @@ public void ApiV2CustomAttributesGlobalIdDelete(Guid id) } /// - /// Delete global attribute + /// Delete global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDeleteWithHttpInfo(Guid id) + public ApiResponse ApiV2CustomAttributesGlobalIdDeleteWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -507,13 +507,13 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -534,9 +534,9 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel } /// - /// Delete global attribute + /// Delete global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// Cancellation Token to cancel the request. /// Task of void @@ -546,16 +546,16 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel } /// - /// Delete global attribute + /// Delete global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2CustomAttributesGlobalIdDeleteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2CustomAttributesGlobalIdDeleteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -566,13 +566,13 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -594,28 +594,28 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel } /// - /// Edit global attribute + /// Edit global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// (optional) /// CustomAttributeModel public CustomAttributeModel ApiV2CustomAttributesGlobalIdPut(Guid id, ApiV2CustomAttributesGlobalIdPutRequest apiV2CustomAttributesGlobalIdPutRequest = default(ApiV2CustomAttributesGlobalIdPutRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2CustomAttributesGlobalIdPutWithHttpInfo(id, apiV2CustomAttributesGlobalIdPutRequest); + ApiResponse localVarResponse = ApiV2CustomAttributesGlobalIdPutWithHttpInfo(id, apiV2CustomAttributesGlobalIdPutRequest); return localVarResponse.Data; } /// - /// Edit global attribute + /// Edit global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// (optional) /// ApiResponse of CustomAttributeModel - public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdPutWithHttpInfo(Guid id, ApiV2CustomAttributesGlobalIdPutRequest apiV2CustomAttributesGlobalIdPutRequest = default(ApiV2CustomAttributesGlobalIdPutRequest)) + public ApiResponse ApiV2CustomAttributesGlobalIdPutWithHttpInfo(Guid id, ApiV2CustomAttributesGlobalIdPutRequest apiV2CustomAttributesGlobalIdPutRequest = default(ApiV2CustomAttributesGlobalIdPutRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -626,13 +626,13 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2CustomAttributesGlobalIdPutRequest; // authentication (Bearer or PrivateToken) required @@ -654,31 +654,31 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel } /// - /// Edit global attribute + /// Edit global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// (optional) /// Cancellation Token to cancel the request. /// Task of CustomAttributeModel public async System.Threading.Tasks.Task ApiV2CustomAttributesGlobalIdPutAsync(Guid id, ApiV2CustomAttributesGlobalIdPutRequest apiV2CustomAttributesGlobalIdPutRequest = default(ApiV2CustomAttributesGlobalIdPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2CustomAttributesGlobalIdPutWithHttpInfoAsync(id, apiV2CustomAttributesGlobalIdPutRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2CustomAttributesGlobalIdPutWithHttpInfoAsync(id, apiV2CustomAttributesGlobalIdPutRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Edit global attribute + /// Edit global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeModel) - public async System.Threading.Tasks.Task> ApiV2CustomAttributesGlobalIdPutWithHttpInfoAsync(Guid id, ApiV2CustomAttributesGlobalIdPutRequest apiV2CustomAttributesGlobalIdPutRequest = default(ApiV2CustomAttributesGlobalIdPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2CustomAttributesGlobalIdPutWithHttpInfoAsync(Guid id, ApiV2CustomAttributesGlobalIdPutRequest apiV2CustomAttributesGlobalIdPutRequest = default(ApiV2CustomAttributesGlobalIdPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -690,13 +690,13 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2CustomAttributesGlobalIdPutRequest; // authentication (Bearer or PrivateToken) required @@ -719,26 +719,26 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel } /// - /// Create global attribute + /// Create global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// CustomAttributeModel public CustomAttributeModel ApiV2CustomAttributesGlobalPost(ApiV2CustomAttributesGlobalPostRequest apiV2CustomAttributesGlobalPostRequest = default(ApiV2CustomAttributesGlobalPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2CustomAttributesGlobalPostWithHttpInfo(apiV2CustomAttributesGlobalPostRequest); + ApiResponse localVarResponse = ApiV2CustomAttributesGlobalPostWithHttpInfo(apiV2CustomAttributesGlobalPostRequest); return localVarResponse.Data; } /// - /// Create global attribute + /// Create global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of CustomAttributeModel - public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalPostWithHttpInfo(ApiV2CustomAttributesGlobalPostRequest apiV2CustomAttributesGlobalPostRequest = default(ApiV2CustomAttributesGlobalPostRequest)) + public ApiResponse ApiV2CustomAttributesGlobalPostWithHttpInfo(ApiV2CustomAttributesGlobalPostRequest apiV2CustomAttributesGlobalPostRequest = default(ApiV2CustomAttributesGlobalPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -749,10 +749,10 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2CustomAttributesGlobalPostRequest; @@ -776,29 +776,29 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel } /// - /// Create global attribute + /// Create global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of CustomAttributeModel public async System.Threading.Tasks.Task ApiV2CustomAttributesGlobalPostAsync(ApiV2CustomAttributesGlobalPostRequest apiV2CustomAttributesGlobalPostRequest = default(ApiV2CustomAttributesGlobalPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2CustomAttributesGlobalPostWithHttpInfoAsync(apiV2CustomAttributesGlobalPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2CustomAttributesGlobalPostWithHttpInfoAsync(apiV2CustomAttributesGlobalPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create global attribute + /// Create global attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeModel) - public async System.Threading.Tasks.Task> ApiV2CustomAttributesGlobalPostWithHttpInfoAsync(ApiV2CustomAttributesGlobalPostRequest apiV2CustomAttributesGlobalPostRequest = default(ApiV2CustomAttributesGlobalPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2CustomAttributesGlobalPostWithHttpInfoAsync(ApiV2CustomAttributesGlobalPostRequest apiV2CustomAttributesGlobalPostRequest = default(ApiV2CustomAttributesGlobalPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -810,10 +810,10 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2CustomAttributesGlobalPostRequest; @@ -838,26 +838,26 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesGlobalIdDel } /// - /// Get attribute + /// Get attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// CustomAttributeModel public CustomAttributeModel ApiV2CustomAttributesIdGet(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2CustomAttributesIdGetWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2CustomAttributesIdGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get attribute + /// Get attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// ApiResponse of CustomAttributeModel - public TestIt.Client.Client.ApiResponse ApiV2CustomAttributesIdGetWithHttpInfo(Guid id) + public ApiResponse ApiV2CustomAttributesIdGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -867,13 +867,13 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttribu "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -894,29 +894,29 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttribu } /// - /// Get attribute + /// Get attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// Cancellation Token to cancel the request. /// Task of CustomAttributeModel public async System.Threading.Tasks.Task ApiV2CustomAttributesIdGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2CustomAttributesIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2CustomAttributesIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get attribute + /// Get attribute /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of attribute /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeModel) - public async System.Threading.Tasks.Task> ApiV2CustomAttributesIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2CustomAttributesIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -927,13 +927,13 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttribu }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -955,9 +955,9 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttribu } /// - /// Search for attributes + /// Search for attributes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -967,14 +967,14 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttribu /// List<CustomAttributeModel> public List ApiV2CustomAttributesSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2CustomAttributesSearchPostRequest apiV2CustomAttributesSearchPostRequest = default(ApiV2CustomAttributesSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2CustomAttributesSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2CustomAttributesSearchPostRequest); + ApiResponse> localVarResponse = ApiV2CustomAttributesSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2CustomAttributesSearchPostRequest); return localVarResponse.Data; } /// - /// Search for attributes + /// Search for attributes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -982,9 +982,9 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttribu /// Value for searching (optional) /// (optional) /// ApiResponse of List<CustomAttributeModel> - public TestIt.Client.Client.ApiResponse> ApiV2CustomAttributesSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2CustomAttributesSearchPostRequest apiV2CustomAttributesSearchPostRequest = default(ApiV2CustomAttributesSearchPostRequest)) + public ApiResponse> ApiV2CustomAttributesSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2CustomAttributesSearchPostRequest apiV2CustomAttributesSearchPostRequest = default(ApiV2CustomAttributesSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -995,31 +995,31 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttribu "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2CustomAttributesSearchPostRequest; @@ -1042,9 +1042,9 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttribu } /// - /// Search for attributes + /// Search for attributes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1055,14 +1055,14 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttribu /// Task of List<CustomAttributeModel> public async System.Threading.Tasks.Task> ApiV2CustomAttributesSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2CustomAttributesSearchPostRequest apiV2CustomAttributesSearchPostRequest = default(ApiV2CustomAttributesSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2CustomAttributesSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2CustomAttributesSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2CustomAttributesSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2CustomAttributesSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for attributes + /// Search for attributes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1071,10 +1071,10 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttribu /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<CustomAttributeModel>) - public async System.Threading.Tasks.Task>> ApiV2CustomAttributesSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2CustomAttributesSearchPostRequest apiV2CustomAttributesSearchPostRequest = default(ApiV2CustomAttributesSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2CustomAttributesSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2CustomAttributesSearchPostRequest apiV2CustomAttributesSearchPostRequest = default(ApiV2CustomAttributesSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1086,31 +1086,31 @@ public TestIt.Client.Client.ApiResponse ApiV2CustomAttribu }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2CustomAttributesSearchPostRequest; diff --git a/src/TestIt.Client/Api/NotificationsApi.cs b/src/TestIT.ApiClient/Api/NotificationsApi.cs similarity index 75% rename from src/TestIt.Client/Api/NotificationsApi.cs rename to src/TestIT.ApiClient/Api/NotificationsApi.cs index a24318fb..ed26813f 100644 --- a/src/TestIt.Client/Api/NotificationsApi.cs +++ b/src/TestIT.ApiClient/Api/NotificationsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -33,7 +33,7 @@ public interface INotificationsApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns unread notifications total (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// int int ApiV2NotificationsCountGet(bool? isRead = default(bool?)); @@ -44,7 +44,7 @@ public interface INotificationsApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns unread notifications total (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of int ApiResponse ApiV2NotificationsCountGetWithHttpInfo(bool? isRead = default(bool?)); @@ -54,7 +54,7 @@ public interface INotificationsApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -70,7 +70,7 @@ public interface INotificationsApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -85,7 +85,7 @@ public interface INotificationsApiSync : IApiAccessor /// /// <br>Use case <br>User sets notification internal (guid format) identifier <br>User runs method execution <br>System set notification as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// void ApiV2NotificationsIdReadPost(Guid id); @@ -96,7 +96,7 @@ public interface INotificationsApiSync : IApiAccessor /// /// <br>Use case <br>User sets notification internal (guid format) identifier <br>User runs method execution <br>System set notification as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse ApiV2NotificationsIdReadPostWithHttpInfo(Guid id); @@ -106,7 +106,7 @@ public interface INotificationsApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System set all notifications as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// void ApiV2NotificationsReadPost(); @@ -116,7 +116,7 @@ public interface INotificationsApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System set all notifications as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// ApiResponse of Object(void) ApiResponse ApiV2NotificationsReadPostWithHttpInfo(); /// @@ -125,7 +125,7 @@ public interface INotificationsApiSync : IApiAccessor /// /// <br>Use case <br>User set filter and runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -141,7 +141,7 @@ public interface INotificationsApiSync : IApiAccessor /// /// <br>Use case <br>User set filter and runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -165,7 +165,7 @@ public interface INotificationsApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns unread notifications total (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of int @@ -177,7 +177,7 @@ public interface INotificationsApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns unread notifications total (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (int) @@ -188,7 +188,7 @@ public interface INotificationsApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -205,7 +205,7 @@ public interface INotificationsApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -221,7 +221,7 @@ public interface INotificationsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets notification internal (guid format) identifier <br>User runs method execution <br>System set notification as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of void @@ -233,7 +233,7 @@ public interface INotificationsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets notification internal (guid format) identifier <br>User runs method execution <br>System set notification as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -244,7 +244,7 @@ public interface INotificationsApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System set all notifications as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task ApiV2NotificationsReadPostAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -255,7 +255,7 @@ public interface INotificationsApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System set all notifications as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> ApiV2NotificationsReadPostWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -265,7 +265,7 @@ public interface INotificationsApiAsync : IApiAccessor /// /// <br>Use case <br>User set filter and runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -282,7 +282,7 @@ public interface INotificationsApiAsync : IApiAccessor /// /// <br>Use case <br>User set filter and runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -308,7 +308,7 @@ public interface INotificationsApi : INotificationsApiSync, INotificationsApiAsy /// public partial class NotificationsApi : IDisposable, INotificationsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -330,14 +330,14 @@ public NotificationsApi() : this((string)null) /// public NotificationsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -348,18 +348,18 @@ public NotificationsApi(string basePath) /// An instance of Configuration. /// /// - public NotificationsApi(TestIt.Client.Client.Configuration configuration) + public NotificationsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -394,14 +394,14 @@ public NotificationsApi(HttpClient client, string basePath, HttpClientHandler ha { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -416,19 +416,19 @@ public NotificationsApi(HttpClient client, string basePath, HttpClientHandler ha /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public NotificationsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public NotificationsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -439,7 +439,7 @@ public NotificationsApi(HttpClient client, TestIt.Client.Client.Configuration co /// The client interface for asynchronous API access. /// The configuration object. /// - public NotificationsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public NotificationsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -448,7 +448,7 @@ public NotificationsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.C this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -462,17 +462,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -487,12 +487,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -508,24 +508,24 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Get unread Notifications total in last 7 days <br>Use case <br>User runs method execution <br>System returns unread notifications total (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// int public int ApiV2NotificationsCountGet(bool? isRead = default(bool?)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2NotificationsCountGetWithHttpInfo(isRead); + ApiResponse localVarResponse = ApiV2NotificationsCountGetWithHttpInfo(isRead); return localVarResponse.Data; } /// /// Get unread Notifications total in last 7 days <br>Use case <br>User runs method execution <br>System returns unread notifications total (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of int - public TestIt.Client.Client.ApiResponse ApiV2NotificationsCountGetWithHttpInfo(bool? isRead = default(bool?)) + public ApiResponse ApiV2NotificationsCountGetWithHttpInfo(bool? isRead = default(bool?)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -535,15 +535,15 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (isRead != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isRead", isRead)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isRead", isRead)); } // authentication (Bearer or PrivateToken) required @@ -567,27 +567,27 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Get unread Notifications total in last 7 days <br>Use case <br>User runs method execution <br>System returns unread notifications total (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of int public async System.Threading.Tasks.Task ApiV2NotificationsCountGetAsync(bool? isRead = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2NotificationsCountGetWithHttpInfoAsync(isRead, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2NotificationsCountGetWithHttpInfoAsync(isRead, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get unread Notifications total in last 7 days <br>Use case <br>User runs method execution <br>System returns unread notifications total (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (int) - public async System.Threading.Tasks.Task> ApiV2NotificationsCountGetWithHttpInfoAsync(bool? isRead = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2NotificationsCountGetWithHttpInfoAsync(bool? isRead = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -598,15 +598,15 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (isRead != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isRead", isRead)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isRead", isRead)); } // authentication (Bearer or PrivateToken) required @@ -631,7 +631,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Get all Notifications for current User <br>Use case <br>User runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -641,14 +641,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// List<NotificationModel> public List ApiV2NotificationsGet(NotificationTypeModel? notificationType = default(NotificationTypeModel?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2NotificationsGetWithHttpInfo(notificationType, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = ApiV2NotificationsGetWithHttpInfo(notificationType, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get all Notifications for current User <br>Use case <br>User runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -656,9 +656,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<NotificationModel> - public TestIt.Client.Client.ApiResponse> ApiV2NotificationsGetWithHttpInfo(NotificationTypeModel? notificationType = default(NotificationTypeModel?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> ApiV2NotificationsGetWithHttpInfo(NotificationTypeModel? notificationType = default(NotificationTypeModel?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -668,35 +668,35 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (notificationType != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "notificationType", notificationType)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "notificationType", notificationType)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -720,7 +720,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Get all Notifications for current User <br>Use case <br>User runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -731,14 +731,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Task of List<NotificationModel> public async System.Threading.Tasks.Task> ApiV2NotificationsGetAsync(NotificationTypeModel? notificationType = default(NotificationTypeModel?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2NotificationsGetWithHttpInfoAsync(notificationType, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2NotificationsGetWithHttpInfoAsync(notificationType, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get all Notifications for current User <br>Use case <br>User runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -747,10 +747,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<NotificationModel>) - public async System.Threading.Tasks.Task>> ApiV2NotificationsGetWithHttpInfoAsync(NotificationTypeModel? notificationType = default(NotificationTypeModel?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2NotificationsGetWithHttpInfoAsync(NotificationTypeModel? notificationType = default(NotificationTypeModel?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -761,35 +761,35 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (notificationType != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "notificationType", notificationType)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "notificationType", notificationType)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -814,7 +814,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Set Notification as read <br>Use case <br>User sets notification internal (guid format) identifier <br>User runs method execution <br>System set notification as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// public void ApiV2NotificationsIdReadPost(Guid id) @@ -825,12 +825,12 @@ public void ApiV2NotificationsIdReadPost(Guid id) /// /// Set Notification as read <br>Use case <br>User sets notification internal (guid format) identifier <br>User runs method execution <br>System set notification as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2NotificationsIdReadPostWithHttpInfo(Guid id) + public ApiResponse ApiV2NotificationsIdReadPostWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -840,13 +840,13 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsIdReadPostWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -869,7 +869,7 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsIdReadPostWith /// /// Set Notification as read <br>Use case <br>User sets notification internal (guid format) identifier <br>User runs method execution <br>System set notification as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of void @@ -881,14 +881,14 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsIdReadPostWith /// /// Set Notification as read <br>Use case <br>User sets notification internal (guid format) identifier <br>User runs method execution <br>System set notification as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2NotificationsIdReadPostWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2NotificationsIdReadPostWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -899,13 +899,13 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsIdReadPostWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -929,7 +929,7 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsIdReadPostWith /// /// Set all Notifications as read <br>Use case <br>User runs method execution <br>System set all notifications as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// public void ApiV2NotificationsReadPost() { @@ -939,11 +939,11 @@ public void ApiV2NotificationsReadPost() /// /// Set all Notifications as read <br>Use case <br>User runs method execution <br>System set all notifications as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHttpInfo() + public ApiResponse ApiV2NotificationsReadPostWithHttpInfo() { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -953,10 +953,10 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -981,7 +981,7 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHt /// /// Set all Notifications as read <br>Use case <br>User runs method execution <br>System set all notifications as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task ApiV2NotificationsReadPostAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -992,13 +992,13 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHt /// /// Set all Notifications as read <br>Use case <br>User runs method execution <br>System set all notifications as read /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2NotificationsReadPostWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2NotificationsReadPostWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1009,10 +1009,10 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1038,7 +1038,7 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHt /// /// Search Notifications for current User <br>Use case <br>User set filter and runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1048,14 +1048,14 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHt /// List<NotificationModel> public List ApiV2NotificationsSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2NotificationsSearchPostRequest apiV2NotificationsSearchPostRequest = default(ApiV2NotificationsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2NotificationsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2NotificationsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2NotificationsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2NotificationsSearchPostRequest); return localVarResponse.Data; } /// /// Search Notifications for current User <br>Use case <br>User set filter and runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1063,9 +1063,9 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHt /// Value for searching (optional) /// (optional) /// ApiResponse of List<NotificationModel> - public TestIt.Client.Client.ApiResponse> ApiV2NotificationsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2NotificationsSearchPostRequest apiV2NotificationsSearchPostRequest = default(ApiV2NotificationsSearchPostRequest)) + public ApiResponse> ApiV2NotificationsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2NotificationsSearchPostRequest apiV2NotificationsSearchPostRequest = default(ApiV2NotificationsSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1076,31 +1076,31 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2NotificationsSearchPostRequest; @@ -1125,7 +1125,7 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHt /// /// Search Notifications for current User <br>Use case <br>User set filter and runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1136,14 +1136,14 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHt /// Task of List<NotificationModel> public async System.Threading.Tasks.Task> ApiV2NotificationsSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2NotificationsSearchPostRequest apiV2NotificationsSearchPostRequest = default(ApiV2NotificationsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2NotificationsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2NotificationsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2NotificationsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2NotificationsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Search Notifications for current User <br>Use case <br>User set filter and runs method execution <br>System returns notifications (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1152,10 +1152,10 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHt /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<NotificationModel>) - public async System.Threading.Tasks.Task>> ApiV2NotificationsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2NotificationsSearchPostRequest apiV2NotificationsSearchPostRequest = default(ApiV2NotificationsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2NotificationsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2NotificationsSearchPostRequest apiV2NotificationsSearchPostRequest = default(ApiV2NotificationsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1167,31 +1167,31 @@ public TestIt.Client.Client.ApiResponse ApiV2NotificationsReadPostWithHt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2NotificationsSearchPostRequest; diff --git a/src/TestIt.Client/Api/ParametersApi.cs b/src/TestIT.ApiClient/Api/ParametersApi.cs similarity index 75% rename from src/TestIt.Client/Api/ParametersApi.cs rename to src/TestIT.ApiClient/Api/ParametersApi.cs index 65404ff1..b4d7334d 100644 --- a/src/TestIt.Client/Api/ParametersApi.cs +++ b/src/TestIT.ApiClient/Api/ParametersApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -33,7 +33,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System creates parameters <br>System returns list of parameter model (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// List<ParameterModel> List ApiV2ParametersBulkPost(List parameterPostModel = default(List)); @@ -44,7 +44,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System creates parameters <br>System returns list of parameter model (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of List<ParameterModel> ApiResponse> ApiV2ParametersBulkPostWithHttpInfo(List parameterPostModel = default(List)); @@ -54,7 +54,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System updates parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void ApiV2ParametersBulkPut(List parameterPutModel = default(List)); @@ -65,7 +65,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System updates parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse ApiV2ParametersBulkPutWithHttpInfo(List parameterPutModel = default(List)); @@ -75,7 +75,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System search parameters <br>System returns parameters models as groups (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -92,7 +92,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System search parameters <br>System returns parameters models as groups (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -108,7 +108,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets name of parameter key <br>User runs method execution <br>System search parameter key <br>System returns the flag for the existence of the parameter key in the system /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// bool bool ApiV2ParametersKeyNameNameExistsGet(string name); @@ -119,7 +119,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets name of parameter key <br>User runs method execution <br>System search parameter key <br>System returns the flag for the existence of the parameter key in the system /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of bool ApiResponse ApiV2ParametersKeyNameNameExistsGetWithHttpInfo(string name); @@ -129,7 +129,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets parameter key (string format) <br>User runs method execution <br>System search parameter values using the key <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter key (string format) /// List<string> List ApiV2ParametersKeyValuesGet(string key); @@ -140,7 +140,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets parameter key (string format) <br>User runs method execution <br>System search parameter values using the key <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter key (string format) /// ApiResponse of List<string> ApiResponse> ApiV2ParametersKeyValuesGetWithHttpInfo(string key); @@ -150,7 +150,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System search all parameter keys <br>System returns parameter keys /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// List<string> List ApiV2ParametersKeysGet(); @@ -160,13 +160,13 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System search all parameter keys <br>System returns parameter keys /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// ApiResponse of List<string> ApiResponse> ApiV2ParametersKeysGetWithHttpInfo(); /// /// Search for parameters as group /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -180,9 +180,9 @@ public interface IParametersApiSync : IApiAccessor /// Search for parameters as group /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -194,7 +194,7 @@ public interface IParametersApiSync : IApiAccessor /// /// Search for parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -208,9 +208,9 @@ public interface IParametersApiSync : IApiAccessor /// Search for parameters /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -225,7 +225,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets parameter model (listed in the request example) <br>User runs method execution <br>System creates parameter <br>System returns parameter model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ParameterModel ParameterModel CreateParameter(CreateParameterRequest createParameterRequest = default(CreateParameterRequest)); @@ -236,7 +236,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets parameter model (listed in the request example) <br>User runs method execution <br>System creates parameter <br>System returns parameter model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of ParameterModel ApiResponse CreateParameterWithHttpInfo(CreateParameterRequest createParameterRequest = default(CreateParameterRequest)); @@ -246,7 +246,7 @@ public interface IParametersApiSync : IApiAccessor /// /// Deletes parameter and all it's values /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Name of the parameter /// void DeleteByName(string name); @@ -257,7 +257,7 @@ public interface IParametersApiSync : IApiAccessor /// /// Deletes parameter and all it's values /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Name of the parameter /// ApiResponse of Object(void) ApiResponse DeleteByNameWithHttpInfo(string name); @@ -267,7 +267,7 @@ public interface IParametersApiSync : IApiAccessor /// /// Deletes parameter and all it's values by parameter key identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// void DeleteByParameterKeyId(Guid keyId); @@ -278,7 +278,7 @@ public interface IParametersApiSync : IApiAccessor /// /// Deletes parameter and all it's values by parameter key identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse DeleteByParameterKeyIdWithHttpInfo(Guid keyId); @@ -288,7 +288,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets parameter internal (guid format) identifier <br>System search and delete parameter <br>System returns deleted parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// void DeleteParameter(Guid id); @@ -299,7 +299,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets parameter internal (guid format) identifier <br>System search and delete parameter <br>System returns deleted parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// ApiResponse of Object(void) ApiResponse DeleteParameterWithHttpInfo(Guid id); @@ -309,7 +309,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted parameters <br>[Optional] If User sets isDeleted field value as false, System search all parameters which are not deleted <br>If User did not set isDeleted field value, System search all parameters <br>System returns array of all found parameters(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -325,7 +325,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted parameters <br>[Optional] If User sets isDeleted field value as false, System search all parameters which are not deleted <br>If User did not set isDeleted field value, System search all parameters <br>System returns array of all found parameters(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -340,7 +340,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets parameter internal (guid format) identifier <br>User runs method execution <br>System search parameter using the identifier <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// ParameterModel ParameterModel GetParameterById(Guid id); @@ -351,7 +351,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets parameter internal (guid format) identifier <br>User runs method execution <br>System search parameter using the identifier <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// ApiResponse of ParameterModel ApiResponse GetParameterByIdWithHttpInfo(Guid id); @@ -361,7 +361,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets parameter updated properties(listed in the request example) <br>User runs method execution <br>System updated parameter using updated properties <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void UpdateParameter(UpdateParameterRequest updateParameterRequest = default(UpdateParameterRequest)); @@ -372,7 +372,7 @@ public interface IParametersApiSync : IApiAccessor /// /// <br>Use case <br>User sets parameter updated properties(listed in the request example) <br>User runs method execution <br>System updated parameter using updated properties <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse UpdateParameterWithHttpInfo(UpdateParameterRequest updateParameterRequest = default(UpdateParameterRequest)); @@ -391,7 +391,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System creates parameters <br>System returns list of parameter model (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of List<ParameterModel> @@ -403,7 +403,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System creates parameters <br>System returns list of parameter model (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ParameterModel>) @@ -414,7 +414,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System updates parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -426,7 +426,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System updates parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -437,7 +437,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System search parameters <br>System returns parameters models as groups (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -455,7 +455,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System search parameters <br>System returns parameters models as groups (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -472,7 +472,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets name of parameter key <br>User runs method execution <br>System search parameter key <br>System returns the flag for the existence of the parameter key in the system /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of bool @@ -484,7 +484,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets name of parameter key <br>User runs method execution <br>System search parameter key <br>System returns the flag for the existence of the parameter key in the system /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (bool) @@ -495,7 +495,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets parameter key (string format) <br>User runs method execution <br>System search parameter values using the key <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter key (string format) /// Cancellation Token to cancel the request. /// Task of List<string> @@ -507,7 +507,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets parameter key (string format) <br>User runs method execution <br>System search parameter values using the key <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter key (string format) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<string>) @@ -518,7 +518,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System search all parameter keys <br>System returns parameter keys /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of List<string> System.Threading.Tasks.Task> ApiV2ParametersKeysGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -529,7 +529,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System search all parameter keys <br>System returns parameter keys /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<string>) System.Threading.Tasks.Task>> ApiV2ParametersKeysGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -537,9 +537,9 @@ public interface IParametersApiAsync : IApiAccessor /// Search for parameters as group /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -554,9 +554,9 @@ public interface IParametersApiAsync : IApiAccessor /// Search for parameters as group /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -570,9 +570,9 @@ public interface IParametersApiAsync : IApiAccessor /// Search for parameters /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -587,9 +587,9 @@ public interface IParametersApiAsync : IApiAccessor /// Search for parameters /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -605,7 +605,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets parameter model (listed in the request example) <br>User runs method execution <br>System creates parameter <br>System returns parameter model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ParameterModel @@ -617,7 +617,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets parameter model (listed in the request example) <br>User runs method execution <br>System creates parameter <br>System returns parameter model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (ParameterModel) @@ -628,7 +628,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// Deletes parameter and all it's values /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Name of the parameter /// Cancellation Token to cancel the request. /// Task of void @@ -640,7 +640,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// Deletes parameter and all it's values /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Name of the parameter /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -651,7 +651,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// Deletes parameter and all it's values by parameter key identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of void @@ -663,7 +663,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// Deletes parameter and all it's values by parameter key identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -674,7 +674,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets parameter internal (guid format) identifier <br>System search and delete parameter <br>System returns deleted parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -686,7 +686,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets parameter internal (guid format) identifier <br>System search and delete parameter <br>System returns deleted parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -697,7 +697,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted parameters <br>[Optional] If User sets isDeleted field value as false, System search all parameters which are not deleted <br>If User did not set isDeleted field value, System search all parameters <br>System returns array of all found parameters(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -714,7 +714,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted parameters <br>[Optional] If User sets isDeleted field value as false, System search all parameters which are not deleted <br>If User did not set isDeleted field value, System search all parameters <br>System returns array of all found parameters(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -730,7 +730,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets parameter internal (guid format) identifier <br>User runs method execution <br>System search parameter using the identifier <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ParameterModel @@ -742,7 +742,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets parameter internal (guid format) identifier <br>User runs method execution <br>System search parameter using the identifier <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (ParameterModel) @@ -753,7 +753,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets parameter updated properties(listed in the request example) <br>User runs method execution <br>System updated parameter using updated properties <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -765,7 +765,7 @@ public interface IParametersApiAsync : IApiAccessor /// /// <br>Use case <br>User sets parameter updated properties(listed in the request example) <br>User runs method execution <br>System updated parameter using updated properties <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -786,7 +786,7 @@ public interface IParametersApi : IParametersApiSync, IParametersApiAsync /// public partial class ParametersApi : IDisposable, IParametersApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -808,14 +808,14 @@ public ParametersApi() : this((string)null) /// public ParametersApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -826,18 +826,18 @@ public ParametersApi(string basePath) /// An instance of Configuration. /// /// - public ParametersApi(TestIt.Client.Client.Configuration configuration) + public ParametersApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -872,14 +872,14 @@ public ParametersApi(HttpClient client, string basePath, HttpClientHandler handl { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -894,19 +894,19 @@ public ParametersApi(HttpClient client, string basePath, HttpClientHandler handl /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public ParametersApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public ParametersApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -917,7 +917,7 @@ public ParametersApi(HttpClient client, TestIt.Client.Client.Configuration confi /// The client interface for asynchronous API access. /// The configuration object. /// - public ParametersApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public ParametersApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -926,7 +926,7 @@ public ParametersApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Clie this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -940,17 +940,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -965,12 +965,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -986,24 +986,24 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Create multiple parameters <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System creates parameters <br>System returns list of parameter model (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// List<ParameterModel> public List ApiV2ParametersBulkPost(List parameterPostModel = default(List)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ParametersBulkPostWithHttpInfo(parameterPostModel); + ApiResponse> localVarResponse = ApiV2ParametersBulkPostWithHttpInfo(parameterPostModel); return localVarResponse.Data; } /// /// Create multiple parameters <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System creates parameters <br>System returns list of parameter model (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of List<ParameterModel> - public TestIt.Client.Client.ApiResponse> ApiV2ParametersBulkPostWithHttpInfo(List parameterPostModel = default(List)) + public ApiResponse> ApiV2ParametersBulkPostWithHttpInfo(List parameterPostModel = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1014,10 +1014,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = parameterPostModel; @@ -1043,27 +1043,27 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Create multiple parameters <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System creates parameters <br>System returns list of parameter model (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of List<ParameterModel> public async System.Threading.Tasks.Task> ApiV2ParametersBulkPostAsync(List parameterPostModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ParametersBulkPostWithHttpInfoAsync(parameterPostModel, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ParametersBulkPostWithHttpInfoAsync(parameterPostModel, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create multiple parameters <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System creates parameters <br>System returns list of parameter model (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ParameterModel>) - public async System.Threading.Tasks.Task>> ApiV2ParametersBulkPostWithHttpInfoAsync(List parameterPostModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ParametersBulkPostWithHttpInfoAsync(List parameterPostModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1075,10 +1075,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = parameterPostModel; @@ -1105,7 +1105,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Update multiple parameters <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System updates parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void ApiV2ParametersBulkPut(List parameterPutModel = default(List)) @@ -1116,12 +1116,12 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Update multiple parameters <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System updates parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ParametersBulkPutWithHttpInfo(List parameterPutModel = default(List)) + public ApiResponse ApiV2ParametersBulkPutWithHttpInfo(List parameterPutModel = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1132,10 +1132,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = parameterPutModel; @@ -1161,7 +1161,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Update multiple parameters <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System updates parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1173,14 +1173,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Update multiple parameters <br>Use case <br>User sets list of parameter model (listed in the request example) <br>User runs method execution <br>System updates parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ParametersBulkPutWithHttpInfoAsync(List parameterPutModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ParametersBulkPutWithHttpInfoAsync(List parameterPutModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1192,10 +1192,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = parameterPutModel; @@ -1222,7 +1222,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Get parameters as group <br>Use case <br>User runs method execution <br>System search parameters <br>System returns parameters models as groups (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -1233,14 +1233,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// List<ParameterGroupModel> public List ApiV2ParametersGroupsGet(bool? isDeleted = default(bool?), List parameterKeyIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ParametersGroupsGetWithHttpInfo(isDeleted, parameterKeyIds, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = ApiV2ParametersGroupsGetWithHttpInfo(isDeleted, parameterKeyIds, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get parameters as group <br>Use case <br>User runs method execution <br>System search parameters <br>System returns parameters models as groups (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -1249,9 +1249,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<ParameterGroupModel> - public TestIt.Client.Client.ApiResponse> ApiV2ParametersGroupsGetWithHttpInfo(bool? isDeleted = default(bool?), List parameterKeyIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> ApiV2ParametersGroupsGetWithHttpInfo(bool? isDeleted = default(bool?), List parameterKeyIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1261,39 +1261,39 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (parameterKeyIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "parameterKeyIds", parameterKeyIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "parameterKeyIds", parameterKeyIds)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -1317,7 +1317,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Get parameters as group <br>Use case <br>User runs method execution <br>System search parameters <br>System returns parameters models as groups (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -1329,14 +1329,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Task of List<ParameterGroupModel> public async System.Threading.Tasks.Task> ApiV2ParametersGroupsGetAsync(bool? isDeleted = default(bool?), List parameterKeyIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ParametersGroupsGetWithHttpInfoAsync(isDeleted, parameterKeyIds, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ParametersGroupsGetWithHttpInfoAsync(isDeleted, parameterKeyIds, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get parameters as group <br>Use case <br>User runs method execution <br>System search parameters <br>System returns parameters models as groups (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -1346,10 +1346,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ParameterGroupModel>) - public async System.Threading.Tasks.Task>> ApiV2ParametersGroupsGetWithHttpInfoAsync(bool? isDeleted = default(bool?), List parameterKeyIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ParametersGroupsGetWithHttpInfoAsync(bool? isDeleted = default(bool?), List parameterKeyIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1360,39 +1360,39 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (parameterKeyIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "parameterKeyIds", parameterKeyIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "parameterKeyIds", parameterKeyIds)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -1417,28 +1417,28 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Check existence parameter key in system <br>Use case <br>User sets name of parameter key <br>User runs method execution <br>System search parameter key <br>System returns the flag for the existence of the parameter key in the system /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// bool public bool ApiV2ParametersKeyNameNameExistsGet(string name) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2ParametersKeyNameNameExistsGetWithHttpInfo(name); + ApiResponse localVarResponse = ApiV2ParametersKeyNameNameExistsGetWithHttpInfo(name); return localVarResponse.Data; } /// /// Check existence parameter key in system <br>Use case <br>User sets name of parameter key <br>User runs method execution <br>System search parameter key <br>System returns the flag for the existence of the parameter key in the system /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of bool - public TestIt.Client.Client.ApiResponse ApiV2ParametersKeyNameNameExistsGetWithHttpInfo(string name) + public ApiResponse ApiV2ParametersKeyNameNameExistsGetWithHttpInfo(string name) { // verify the required parameter 'name' is set if (name == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'name' when calling ParametersApi->ApiV2ParametersKeyNameNameExistsGet"); + throw new ApiException(400, "Missing required parameter 'name' when calling ParametersApi->ApiV2ParametersKeyNameNameExistsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1448,13 +1448,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ParametersKeyNameNameExistsGe "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("name", TestIt.Client.Client.ClientUtils.ParameterToString(name)); // path parameter + localVarRequestOptions.PathParameters.Add("name", ClientUtils.ParameterToString(name)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1477,31 +1477,31 @@ public TestIt.Client.Client.ApiResponse ApiV2ParametersKeyNameNameExistsGe /// /// Check existence parameter key in system <br>Use case <br>User sets name of parameter key <br>User runs method execution <br>System search parameter key <br>System returns the flag for the existence of the parameter key in the system /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of bool public async System.Threading.Tasks.Task ApiV2ParametersKeyNameNameExistsGetAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2ParametersKeyNameNameExistsGetWithHttpInfoAsync(name, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2ParametersKeyNameNameExistsGetWithHttpInfoAsync(name, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Check existence parameter key in system <br>Use case <br>User sets name of parameter key <br>User runs method execution <br>System search parameter key <br>System returns the flag for the existence of the parameter key in the system /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (bool) - public async System.Threading.Tasks.Task> ApiV2ParametersKeyNameNameExistsGetWithHttpInfoAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ParametersKeyNameNameExistsGetWithHttpInfoAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'name' when calling ParametersApi->ApiV2ParametersKeyNameNameExistsGet"); + throw new ApiException(400, "Missing required parameter 'name' when calling ParametersApi->ApiV2ParametersKeyNameNameExistsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1512,13 +1512,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ParametersKeyNameNameExistsGe }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("name", TestIt.Client.Client.ClientUtils.ParameterToString(name)); // path parameter + localVarRequestOptions.PathParameters.Add("name", ClientUtils.ParameterToString(name)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1542,28 +1542,28 @@ public TestIt.Client.Client.ApiResponse ApiV2ParametersKeyNameNameExistsGe /// /// Get all parameter key values <br>Use case <br>User sets parameter key (string format) <br>User runs method execution <br>System search parameter values using the key <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter key (string format) /// List<string> public List ApiV2ParametersKeyValuesGet(string key) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ParametersKeyValuesGetWithHttpInfo(key); + ApiResponse> localVarResponse = ApiV2ParametersKeyValuesGetWithHttpInfo(key); return localVarResponse.Data; } /// /// Get all parameter key values <br>Use case <br>User sets parameter key (string format) <br>User runs method execution <br>System search parameter values using the key <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter key (string format) /// ApiResponse of List<string> - public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeyValuesGetWithHttpInfo(string key) + public ApiResponse> ApiV2ParametersKeyValuesGetWithHttpInfo(string key) { // verify the required parameter 'key' is set if (key == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'key' when calling ParametersApi->ApiV2ParametersKeyValuesGet"); + throw new ApiException(400, "Missing required parameter 'key' when calling ParametersApi->ApiV2ParametersKeyValuesGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1573,13 +1573,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeyValuesGe "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("key", TestIt.Client.Client.ClientUtils.ParameterToString(key)); // path parameter + localVarRequestOptions.PathParameters.Add("key", ClientUtils.ParameterToString(key)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1602,31 +1602,31 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeyValuesGe /// /// Get all parameter key values <br>Use case <br>User sets parameter key (string format) <br>User runs method execution <br>System search parameter values using the key <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter key (string format) /// Cancellation Token to cancel the request. /// Task of List<string> public async System.Threading.Tasks.Task> ApiV2ParametersKeyValuesGetAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ParametersKeyValuesGetWithHttpInfoAsync(key, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ParametersKeyValuesGetWithHttpInfoAsync(key, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get all parameter key values <br>Use case <br>User sets parameter key (string format) <br>User runs method execution <br>System search parameter values using the key <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter key (string format) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<string>) - public async System.Threading.Tasks.Task>> ApiV2ParametersKeyValuesGetWithHttpInfoAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ParametersKeyValuesGetWithHttpInfoAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'key' is set if (key == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'key' when calling ParametersApi->ApiV2ParametersKeyValuesGet"); + throw new ApiException(400, "Missing required parameter 'key' when calling ParametersApi->ApiV2ParametersKeyValuesGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1637,13 +1637,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeyValuesGe }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("key", TestIt.Client.Client.ClientUtils.ParameterToString(key)); // path parameter + localVarRequestOptions.PathParameters.Add("key", ClientUtils.ParameterToString(key)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1667,22 +1667,22 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeyValuesGe /// /// Get all parameter keys <br>Use case <br>User runs method execution <br>System search all parameter keys <br>System returns parameter keys /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// List<string> public List ApiV2ParametersKeysGet() { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ParametersKeysGetWithHttpInfo(); + ApiResponse> localVarResponse = ApiV2ParametersKeysGetWithHttpInfo(); return localVarResponse.Data; } /// /// Get all parameter keys <br>Use case <br>User runs method execution <br>System search all parameter keys <br>System returns parameter keys /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// ApiResponse of List<string> - public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWithHttpInfo() + public ApiResponse> ApiV2ParametersKeysGetWithHttpInfo() { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1692,10 +1692,10 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1720,25 +1720,25 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith /// /// Get all parameter keys <br>Use case <br>User runs method execution <br>System search all parameter keys <br>System returns parameter keys /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of List<string> public async System.Threading.Tasks.Task> ApiV2ParametersKeysGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ParametersKeysGetWithHttpInfoAsync(cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ParametersKeysGetWithHttpInfoAsync(cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get all parameter keys <br>Use case <br>User runs method execution <br>System search all parameter keys <br>System returns parameter keys /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<string>) - public async System.Threading.Tasks.Task>> ApiV2ParametersKeysGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ParametersKeysGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1749,10 +1749,10 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1776,9 +1776,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith } /// - /// Search for parameters as group + /// Search for parameters as group /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1788,14 +1788,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith /// List<ParameterGroupModel> public List ApiV2ParametersSearchGroupsPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ParametersSearchPostRequest apiV2ParametersSearchPostRequest = default(ApiV2ParametersSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ParametersSearchGroupsPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2ParametersSearchPostRequest); + ApiResponse> localVarResponse = ApiV2ParametersSearchGroupsPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2ParametersSearchPostRequest); return localVarResponse.Data; } /// - /// Search for parameters as group + /// Search for parameters as group /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1803,9 +1803,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith /// Value for searching (optional) /// (optional) /// ApiResponse of List<ParameterGroupModel> - public TestIt.Client.Client.ApiResponse> ApiV2ParametersSearchGroupsPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ParametersSearchPostRequest apiV2ParametersSearchPostRequest = default(ApiV2ParametersSearchPostRequest)) + public ApiResponse> ApiV2ParametersSearchGroupsPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ParametersSearchPostRequest apiV2ParametersSearchPostRequest = default(ApiV2ParametersSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1816,31 +1816,31 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ParametersSearchPostRequest; @@ -1863,9 +1863,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith } /// - /// Search for parameters as group + /// Search for parameters as group /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1876,14 +1876,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith /// Task of List<ParameterGroupModel> public async System.Threading.Tasks.Task> ApiV2ParametersSearchGroupsPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ParametersSearchPostRequest apiV2ParametersSearchPostRequest = default(ApiV2ParametersSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ParametersSearchGroupsPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2ParametersSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ParametersSearchGroupsPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2ParametersSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for parameters as group + /// Search for parameters as group /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1892,10 +1892,10 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ParameterGroupModel>) - public async System.Threading.Tasks.Task>> ApiV2ParametersSearchGroupsPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ParametersSearchPostRequest apiV2ParametersSearchPostRequest = default(ApiV2ParametersSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ParametersSearchGroupsPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ParametersSearchPostRequest apiV2ParametersSearchPostRequest = default(ApiV2ParametersSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1907,31 +1907,31 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ParametersSearchPostRequest; @@ -1955,9 +1955,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith } /// - /// Search for parameters + /// Search for parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1967,14 +1967,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith /// List<ParameterModel> public List ApiV2ParametersSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ParametersSearchPostRequest apiV2ParametersSearchPostRequest = default(ApiV2ParametersSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ParametersSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2ParametersSearchPostRequest); + ApiResponse> localVarResponse = ApiV2ParametersSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2ParametersSearchPostRequest); return localVarResponse.Data; } /// - /// Search for parameters + /// Search for parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1982,9 +1982,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith /// Value for searching (optional) /// (optional) /// ApiResponse of List<ParameterModel> - public TestIt.Client.Client.ApiResponse> ApiV2ParametersSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ParametersSearchPostRequest apiV2ParametersSearchPostRequest = default(ApiV2ParametersSearchPostRequest)) + public ApiResponse> ApiV2ParametersSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ParametersSearchPostRequest apiV2ParametersSearchPostRequest = default(ApiV2ParametersSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1995,31 +1995,31 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ParametersSearchPostRequest; @@ -2042,9 +2042,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith } /// - /// Search for parameters + /// Search for parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -2055,14 +2055,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith /// Task of List<ParameterModel> public async System.Threading.Tasks.Task> ApiV2ParametersSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ParametersSearchPostRequest apiV2ParametersSearchPostRequest = default(ApiV2ParametersSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ParametersSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2ParametersSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ParametersSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2ParametersSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for parameters + /// Search for parameters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -2071,10 +2071,10 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ParameterModel>) - public async System.Threading.Tasks.Task>> ApiV2ParametersSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ParametersSearchPostRequest apiV2ParametersSearchPostRequest = default(ApiV2ParametersSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ParametersSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ParametersSearchPostRequest apiV2ParametersSearchPostRequest = default(ApiV2ParametersSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2086,31 +2086,31 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ParametersSearchPostRequest; @@ -2136,24 +2136,24 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith /// /// Create parameter <br>Use case <br>User sets parameter model (listed in the request example) <br>User runs method execution <br>System creates parameter <br>System returns parameter model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ParameterModel public ParameterModel CreateParameter(CreateParameterRequest createParameterRequest = default(CreateParameterRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateParameterWithHttpInfo(createParameterRequest); + ApiResponse localVarResponse = CreateParameterWithHttpInfo(createParameterRequest); return localVarResponse.Data; } /// /// Create parameter <br>Use case <br>User sets parameter model (listed in the request example) <br>User runs method execution <br>System creates parameter <br>System returns parameter model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of ParameterModel - public TestIt.Client.Client.ApiResponse CreateParameterWithHttpInfo(CreateParameterRequest createParameterRequest = default(CreateParameterRequest)) + public ApiResponse CreateParameterWithHttpInfo(CreateParameterRequest createParameterRequest = default(CreateParameterRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2164,10 +2164,10 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createParameterRequest; @@ -2193,27 +2193,27 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith /// /// Create parameter <br>Use case <br>User sets parameter model (listed in the request example) <br>User runs method execution <br>System creates parameter <br>System returns parameter model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ParameterModel public async System.Threading.Tasks.Task CreateParameterAsync(CreateParameterRequest createParameterRequest = default(CreateParameterRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateParameterWithHttpInfoAsync(createParameterRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateParameterWithHttpInfoAsync(createParameterRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create parameter <br>Use case <br>User sets parameter model (listed in the request example) <br>User runs method execution <br>System creates parameter <br>System returns parameter model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (ParameterModel) - public async System.Threading.Tasks.Task> CreateParameterWithHttpInfoAsync(CreateParameterRequest createParameterRequest = default(CreateParameterRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateParameterWithHttpInfoAsync(CreateParameterRequest createParameterRequest = default(CreateParameterRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2225,10 +2225,10 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createParameterRequest; @@ -2255,7 +2255,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2ParametersKeysGetWith /// /// Delete parameter by name Deletes parameter and all it's values /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Name of the parameter /// public void DeleteByName(string name) @@ -2266,16 +2266,16 @@ public void DeleteByName(string name) /// /// Delete parameter by name Deletes parameter and all it's values /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Name of the parameter /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteByNameWithHttpInfo(string name) + public ApiResponse DeleteByNameWithHttpInfo(string name) { // verify the required parameter 'name' is set if (name == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'name' when calling ParametersApi->DeleteByName"); + throw new ApiException(400, "Missing required parameter 'name' when calling ParametersApi->DeleteByName"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2285,13 +2285,13 @@ public TestIt.Client.Client.ApiResponse DeleteByNameWithHttpInfo(string "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("name", TestIt.Client.Client.ClientUtils.ParameterToString(name)); // path parameter + localVarRequestOptions.PathParameters.Add("name", ClientUtils.ParameterToString(name)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2314,7 +2314,7 @@ public TestIt.Client.Client.ApiResponse DeleteByNameWithHttpInfo(string /// /// Delete parameter by name Deletes parameter and all it's values /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Name of the parameter /// Cancellation Token to cancel the request. /// Task of void @@ -2326,18 +2326,18 @@ public TestIt.Client.Client.ApiResponse DeleteByNameWithHttpInfo(string /// /// Delete parameter by name Deletes parameter and all it's values /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Name of the parameter /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteByNameWithHttpInfoAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteByNameWithHttpInfoAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'name' when calling ParametersApi->DeleteByName"); + throw new ApiException(400, "Missing required parameter 'name' when calling ParametersApi->DeleteByName"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2348,13 +2348,13 @@ public TestIt.Client.Client.ApiResponse DeleteByNameWithHttpInfo(string }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("name", TestIt.Client.Client.ClientUtils.ParameterToString(name)); // path parameter + localVarRequestOptions.PathParameters.Add("name", ClientUtils.ParameterToString(name)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2378,7 +2378,7 @@ public TestIt.Client.Client.ApiResponse DeleteByNameWithHttpInfo(string /// /// Delete parameters by parameter key identifier Deletes parameter and all it's values by parameter key identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// public void DeleteByParameterKeyId(Guid keyId) @@ -2389,12 +2389,12 @@ public void DeleteByParameterKeyId(Guid keyId) /// /// Delete parameters by parameter key identifier Deletes parameter and all it's values by parameter key identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteByParameterKeyIdWithHttpInfo(Guid keyId) + public ApiResponse DeleteByParameterKeyIdWithHttpInfo(Guid keyId) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2404,13 +2404,13 @@ public TestIt.Client.Client.ApiResponse DeleteByParameterKeyIdWithHttpIn "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("keyId", TestIt.Client.Client.ClientUtils.ParameterToString(keyId)); // path parameter + localVarRequestOptions.PathParameters.Add("keyId", ClientUtils.ParameterToString(keyId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2433,7 +2433,7 @@ public TestIt.Client.Client.ApiResponse DeleteByParameterKeyIdWithHttpIn /// /// Delete parameters by parameter key identifier Deletes parameter and all it's values by parameter key identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of void @@ -2445,14 +2445,14 @@ public TestIt.Client.Client.ApiResponse DeleteByParameterKeyIdWithHttpIn /// /// Delete parameters by parameter key identifier Deletes parameter and all it's values by parameter key identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteByParameterKeyIdWithHttpInfoAsync(Guid keyId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteByParameterKeyIdWithHttpInfoAsync(Guid keyId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2463,13 +2463,13 @@ public TestIt.Client.Client.ApiResponse DeleteByParameterKeyIdWithHttpIn }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("keyId", TestIt.Client.Client.ClientUtils.ParameterToString(keyId)); // path parameter + localVarRequestOptions.PathParameters.Add("keyId", ClientUtils.ParameterToString(keyId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2493,7 +2493,7 @@ public TestIt.Client.Client.ApiResponse DeleteByParameterKeyIdWithHttpIn /// /// Delete parameter <br>Use case <br>User sets parameter internal (guid format) identifier <br>System search and delete parameter <br>System returns deleted parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// public void DeleteParameter(Guid id) @@ -2504,12 +2504,12 @@ public void DeleteParameter(Guid id) /// /// Delete parameter <br>Use case <br>User sets parameter internal (guid format) identifier <br>System search and delete parameter <br>System returns deleted parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid id) + public ApiResponse DeleteParameterWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2519,13 +2519,13 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2548,7 +2548,7 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid /// /// Delete parameter <br>Use case <br>User sets parameter internal (guid format) identifier <br>System search and delete parameter <br>System returns deleted parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -2560,14 +2560,14 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid /// /// Delete parameter <br>Use case <br>User sets parameter internal (guid format) identifier <br>System search and delete parameter <br>System returns deleted parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteParameterWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteParameterWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2578,13 +2578,13 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2608,7 +2608,7 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid /// /// Get all parameters <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted parameters <br>[Optional] If User sets isDeleted field value as false, System search all parameters which are not deleted <br>If User did not set isDeleted field value, System search all parameters <br>System returns array of all found parameters(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2618,14 +2618,14 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid /// ParameterModel public ParameterModel GetAllParameters(bool? isDeleted = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse localVarResponse = GetAllParametersWithHttpInfo(isDeleted, skip, take, orderBy, searchField, searchValue); + ApiResponse localVarResponse = GetAllParametersWithHttpInfo(isDeleted, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get all parameters <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted parameters <br>[Optional] If User sets isDeleted field value as false, System search all parameters which are not deleted <br>If User did not set isDeleted field value, System search all parameters <br>System returns array of all found parameters(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2633,9 +2633,9 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of ParameterModel - public TestIt.Client.Client.ApiResponse GetAllParametersWithHttpInfo(bool? isDeleted = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse GetAllParametersWithHttpInfo(bool? isDeleted = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2645,35 +2645,35 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -2697,7 +2697,7 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid /// /// Get all parameters <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted parameters <br>[Optional] If User sets isDeleted field value as false, System search all parameters which are not deleted <br>If User did not set isDeleted field value, System search all parameters <br>System returns array of all found parameters(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2708,14 +2708,14 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid /// Task of ParameterModel public async System.Threading.Tasks.Task GetAllParametersAsync(bool? isDeleted = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetAllParametersWithHttpInfoAsync(isDeleted, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetAllParametersWithHttpInfoAsync(isDeleted, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get all parameters <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted parameters <br>[Optional] If User sets isDeleted field value as false, System search all parameters which are not deleted <br>If User did not set isDeleted field value, System search all parameters <br>System returns array of all found parameters(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2724,10 +2724,10 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (ParameterModel) - public async System.Threading.Tasks.Task> GetAllParametersWithHttpInfoAsync(bool? isDeleted = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetAllParametersWithHttpInfoAsync(bool? isDeleted = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2738,35 +2738,35 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -2791,24 +2791,24 @@ public TestIt.Client.Client.ApiResponse DeleteParameterWithHttpInfo(Guid /// /// Get parameter by ID <br>Use case <br>User sets parameter internal (guid format) identifier <br>User runs method execution <br>System search parameter using the identifier <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// ParameterModel public ParameterModel GetParameterById(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = GetParameterByIdWithHttpInfo(id); + ApiResponse localVarResponse = GetParameterByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get parameter by ID <br>Use case <br>User sets parameter internal (guid format) identifier <br>User runs method execution <br>System search parameter using the identifier <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// ApiResponse of ParameterModel - public TestIt.Client.Client.ApiResponse GetParameterByIdWithHttpInfo(Guid id) + public ApiResponse GetParameterByIdWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2818,13 +2818,13 @@ public TestIt.Client.Client.ApiResponse GetParameterByIdWithHttp "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2847,27 +2847,27 @@ public TestIt.Client.Client.ApiResponse GetParameterByIdWithHttp /// /// Get parameter by ID <br>Use case <br>User sets parameter internal (guid format) identifier <br>User runs method execution <br>System search parameter using the identifier <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ParameterModel public async System.Threading.Tasks.Task GetParameterByIdAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetParameterByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetParameterByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get parameter by ID <br>Use case <br>User sets parameter internal (guid format) identifier <br>User runs method execution <br>System search parameter using the identifier <br>System returns parameter /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Parameter internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (ParameterModel) - public async System.Threading.Tasks.Task> GetParameterByIdWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetParameterByIdWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2878,13 +2878,13 @@ public TestIt.Client.Client.ApiResponse GetParameterByIdWithHttp }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2908,7 +2908,7 @@ public TestIt.Client.Client.ApiResponse GetParameterByIdWithHttp /// /// Update parameter <br>Use case <br>User sets parameter updated properties(listed in the request example) <br>User runs method execution <br>System updated parameter using updated properties <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void UpdateParameter(UpdateParameterRequest updateParameterRequest = default(UpdateParameterRequest)) @@ -2919,12 +2919,12 @@ public TestIt.Client.Client.ApiResponse GetParameterByIdWithHttp /// /// Update parameter <br>Use case <br>User sets parameter updated properties(listed in the request example) <br>User runs method execution <br>System updated parameter using updated properties <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse UpdateParameterWithHttpInfo(UpdateParameterRequest updateParameterRequest = default(UpdateParameterRequest)) + public ApiResponse UpdateParameterWithHttpInfo(UpdateParameterRequest updateParameterRequest = default(UpdateParameterRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2935,10 +2935,10 @@ public TestIt.Client.Client.ApiResponse GetParameterByIdWithHttp "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateParameterRequest; @@ -2964,7 +2964,7 @@ public TestIt.Client.Client.ApiResponse GetParameterByIdWithHttp /// /// Update parameter <br>Use case <br>User sets parameter updated properties(listed in the request example) <br>User runs method execution <br>System updated parameter using updated properties <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -2976,14 +2976,14 @@ public TestIt.Client.Client.ApiResponse GetParameterByIdWithHttp /// /// Update parameter <br>Use case <br>User sets parameter updated properties(listed in the request example) <br>User runs method execution <br>System updated parameter using updated properties <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateParameterWithHttpInfoAsync(UpdateParameterRequest updateParameterRequest = default(UpdateParameterRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateParameterWithHttpInfoAsync(UpdateParameterRequest updateParameterRequest = default(UpdateParameterRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2995,10 +2995,10 @@ public TestIt.Client.Client.ApiResponse GetParameterByIdWithHttp }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateParameterRequest; diff --git a/src/TestIt.Client/Api/ProjectsApi.cs b/src/TestIT.ApiClient/Api/ProjectsApi.cs similarity index 74% rename from src/TestIt.Client/Api/ProjectsApi.cs rename to src/TestIT.ApiClient/Api/ProjectsApi.cs index 8cbd729b..508f84ce 100644 --- a/src/TestIt.Client/Api/ProjectsApi.cs +++ b/src/TestIT.ApiClient/Api/ProjectsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -33,7 +33,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>System search project <br>System relates global attributes with project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// @@ -45,7 +45,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>System search project <br>System relates global attributes with project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// ApiResponse of Object(void) @@ -53,7 +53,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Search for custom attributes templates /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -68,9 +68,9 @@ public interface IProjectsApiSync : IApiAccessor /// Search for custom attributes templates /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -86,7 +86,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System delete attribute template from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// @@ -98,7 +98,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System delete attribute template from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// ApiResponse of Object(void) @@ -109,7 +109,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System add attribute template to project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// @@ -121,7 +121,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System add attribute template to project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// ApiResponse of Object(void) @@ -129,7 +129,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Archive project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// void ApiV2ProjectsIdDelete(string id); @@ -138,16 +138,16 @@ public interface IProjectsApiSync : IApiAccessor /// Archive project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// ApiResponse of Object(void) ApiResponse ApiV2ProjectsIdDeleteWithHttpInfo(string id); /// /// Get failure classes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// List<FailureClassModel> @@ -157,9 +157,9 @@ public interface IProjectsApiSync : IApiAccessor /// Get failure classes /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// ApiResponse of List<FailureClassModel> @@ -167,7 +167,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Mark Project as favorite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// void ApiV2ProjectsIdFavoritePut(string id); @@ -176,9 +176,9 @@ public interface IProjectsApiSync : IApiAccessor /// Mark Project as favorite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of Object(void) ApiResponse ApiV2ProjectsIdFavoritePutWithHttpInfo(string id); @@ -188,7 +188,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns project filters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// List<FilterModel> List ApiV2ProjectsIdFiltersGet(string id); @@ -199,7 +199,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns project filters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of List<FilterModel> ApiResponse> ApiV2ProjectsIdFiltersGetWithHttpInfo(string id); @@ -209,7 +209,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global Id of project /// (optional) /// @@ -221,7 +221,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global Id of project /// (optional) /// ApiResponse of Object(void) @@ -229,7 +229,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Purge archived project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// void ApiV2ProjectsIdPurgePost(string id); @@ -238,16 +238,16 @@ public interface IProjectsApiSync : IApiAccessor /// Purge archived project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// ApiResponse of Object(void) ApiResponse ApiV2ProjectsIdPurgePostWithHttpInfo(string id); /// /// Restore archived project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// void ApiV2ProjectsIdRestorePost(string id); @@ -256,9 +256,9 @@ public interface IProjectsApiSync : IApiAccessor /// Restore archived project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// ApiResponse of Object(void) ApiResponse ApiV2ProjectsIdRestorePostWithHttpInfo(string id); @@ -268,7 +268,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal identifier <br>User sets query params <br>User runs method execution <br>System return analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// (optional, default to false) @@ -286,7 +286,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal identifier <br>User sets query params <br>User runs method execution <br>System return analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// (optional, default to false) @@ -300,7 +300,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Delete multiple test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// List<Guid> @@ -310,9 +310,9 @@ public interface IProjectsApiSync : IApiAccessor /// Delete multiple test plans /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// ApiResponse of List<Guid> @@ -323,7 +323,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System purge delete project workitems /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// TestPlan name to check /// bool @@ -335,7 +335,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System purge delete project workitems /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// TestPlan name to check /// ApiResponse of bool @@ -343,7 +343,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Permanently delete multiple archived test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// @@ -353,9 +353,9 @@ public interface IProjectsApiSync : IApiAccessor /// Permanently delete multiple archived test plans /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// ApiResponse of Object(void) @@ -363,7 +363,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Restore multiple test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// @@ -373,9 +373,9 @@ public interface IProjectsApiSync : IApiAccessor /// Restore multiple test plans /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// ApiResponse of Object(void) @@ -386,7 +386,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets request body <br>User runs method execution <br>System returns project testplans with analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// Amount of items to be skipped (offset) (optional) @@ -404,7 +404,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets request body <br>User runs method execution <br>System returns project testplans with analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// Amount of items to be skipped (offset) (optional) @@ -421,7 +421,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns active testruns /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// List<PublicTestRunModel> List ApiV2ProjectsIdTestRunsActiveGet(string id); @@ -432,7 +432,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns active testruns /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of List<PublicTestRunModel> ApiResponse> ApiV2ProjectsIdTestRunsActiveGetWithHttpInfo(string id); @@ -442,7 +442,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets query params <br>User runs method execution <br>System returns project test runs full models /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// (optional, default to true) @@ -467,7 +467,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets query params <br>User runs method execution <br>System returns project test runs full models /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// (optional, default to true) @@ -488,7 +488,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Search for work items and extract IDs only /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -503,9 +503,9 @@ public interface IProjectsApiSync : IApiAccessor /// Search for work items and extract IDs only /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -518,7 +518,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Search for work items /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -533,9 +533,9 @@ public interface IProjectsApiSync : IApiAccessor /// Search for work items /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -551,7 +551,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal identifier <br>User runs method execution <br>System returns work items tags /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// List<TagShortModel> @@ -563,33 +563,33 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal identifier <br>User runs method execution <br>System returns work items tags /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// ApiResponse of List<TagShortModel> ApiResponse> ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfo(Guid id, bool? isDeleted = default(bool?)); /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// bool bool ApiV2ProjectsNameNameExistsGet(string name); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of bool ApiResponse ApiV2ProjectsNameNameExistsGetWithHttpInfo(string name); /// /// Purge multiple projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// long long ApiV2ProjectsPurgeBulkPost(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest)); @@ -598,16 +598,16 @@ public interface IProjectsApiSync : IApiAccessor /// Purge multiple projects /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of long ApiResponse ApiV2ProjectsPurgeBulkPostWithHttpInfo(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest)); /// /// Restore multiple projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// long long ApiV2ProjectsRestoreBulkPost(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest)); @@ -616,16 +616,16 @@ public interface IProjectsApiSync : IApiAccessor /// Restore multiple projects /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of long ApiResponse ApiV2ProjectsRestoreBulkPostWithHttpInfo(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest)); /// /// Search for projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -639,9 +639,9 @@ public interface IProjectsApiSync : IApiAccessor /// Search for projects /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -653,7 +653,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Import project from JSON file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Guid Guid BackgroundImportProject(FileParameter file = default(FileParameter)); @@ -662,16 +662,16 @@ public interface IProjectsApiSync : IApiAccessor /// Import project from JSON file in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Guid ApiResponse BackgroundImportProjectWithHttpInfo(FileParameter file = default(FileParameter)); /// /// Import project from JSON file into existing project in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// Guid @@ -681,9 +681,9 @@ public interface IProjectsApiSync : IApiAccessor /// Import project from JSON file into existing project in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// ApiResponse of Guid @@ -691,7 +691,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Import project from Zip file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Guid Guid BackgroundImportZipProject(FileParameter file = default(FileParameter)); @@ -700,16 +700,16 @@ public interface IProjectsApiSync : IApiAccessor /// Import project from Zip file in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Guid ApiResponse BackgroundImportZipProjectWithHttpInfo(FileParameter file = default(FileParameter)); /// /// Import project from Zip file into existing project in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// Guid @@ -719,9 +719,9 @@ public interface IProjectsApiSync : IApiAccessor /// Import project from Zip file into existing project in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// ApiResponse of Guid @@ -732,7 +732,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>User runs method execution <br>System updates project and add attributes to project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// @@ -744,7 +744,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>User runs method execution <br>System updates project and add attributes to project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// ApiResponse of Object(void) @@ -755,7 +755,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System creates project <br>System returns project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ProjectModel ProjectModel CreateProject(CreateProjectRequest createProjectRequest = default(CreateProjectRequest)); @@ -766,7 +766,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System creates project <br>System returns project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of ProjectModel ApiResponse CreateProjectWithHttpInfo(CreateProjectRequest createProjectRequest = default(CreateProjectRequest)); @@ -776,7 +776,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute parameters (listed in request example) and runs method execution <br>System search project <br>System creates attribute and relates it to the project <br>System returns project attribute properties (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// CustomAttributeModel @@ -788,7 +788,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets attribute parameters (listed in request example) and runs method execution <br>System search project <br>System creates attribute and relates it to the project <br>System returns project attribute properties (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// ApiResponse of CustomAttributeModel @@ -799,7 +799,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attribute identifier <br>User runs method execution <br>System updates project and delete attribute from project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// /// @@ -811,7 +811,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attribute identifier <br>User runs method execution <br>System updates project and delete attribute from project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// /// ApiResponse of Object(void) @@ -819,7 +819,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Delete all autotests from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// void DeleteProjectAutoTests(string id); @@ -828,9 +828,9 @@ public interface IProjectsApiSync : IApiAccessor /// Delete all autotests from project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// ApiResponse of Object(void) ApiResponse DeleteProjectAutoTestsWithHttpInfo(string id); @@ -840,7 +840,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project identifier and runs method execution <br>User sets attribute identifier <br>User runs method execution <br>System search project <br>System search and delete attribute <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) /// @@ -852,7 +852,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project identifier and runs method execution <br>User sets attribute identifier <br>User runs method execution <br>System search project <br>System search and delete attribute <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) /// ApiResponse of Object(void) @@ -861,9 +861,9 @@ public interface IProjectsApiSync : IApiAccessor /// Export project as JSON file /// /// - /// <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. + /// <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) @@ -875,9 +875,9 @@ public interface IProjectsApiSync : IApiAccessor /// Export project as JSON file /// /// - /// <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. + /// <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) @@ -887,7 +887,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Export project as JSON file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -898,9 +898,9 @@ public interface IProjectsApiSync : IApiAccessor /// Export project as JSON file in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -909,7 +909,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Export project as JSON file with test plans in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -920,9 +920,9 @@ public interface IProjectsApiSync : IApiAccessor /// Export project as JSON file with test plans in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -931,7 +931,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Export project as Zip file with test plans in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -942,9 +942,9 @@ public interface IProjectsApiSync : IApiAccessor /// Export project as Zip file with test plans in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -953,7 +953,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Export project as Zip file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -964,9 +964,9 @@ public interface IProjectsApiSync : IApiAccessor /// Export project as Zip file in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -976,9 +976,9 @@ public interface IProjectsApiSync : IApiAccessor /// Export project with test plans, test suites and test points as JSON file /// /// - /// <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. + /// <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) @@ -990,9 +990,9 @@ public interface IProjectsApiSync : IApiAccessor /// Export project with test plans, test suites and test points as JSON file /// /// - /// <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. + /// <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) @@ -1005,7 +1005,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted projects <br>[Optional] If User sets isDeleted field value as false, System search all projects which are not deleted <br>If User did not set isDeleted field value, System search all projects <br>System returns array of all found projects(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -1023,7 +1023,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted projects <br>[Optional] If User sets isDeleted field value as false, System search all projects which are not deleted <br>If User did not set isDeleted field value, System search all projects <br>System returns array of all found projects(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -1040,7 +1040,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets project attribute identifier <br>User runs method execution <br>System search project <br>System search project attribute <br>System returns project attribute (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) or global (integer) identifier /// CustomAttributeModel @@ -1052,7 +1052,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets project attribute identifier <br>User runs method execution <br>System search project <br>System search project attribute <br>System returns project attribute (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) or global (integer) identifier /// ApiResponse of CustomAttributeModel @@ -1063,7 +1063,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted attributes related to project <br>[Optional] If User sets isDeleted field value as false, System search all attributes related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all attributes related to project <br>System returns array of found attributes (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// List<CustomAttributeModel> @@ -1075,7 +1075,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted attributes related to project <br>[Optional] If User sets isDeleted field value as false, System search all attributes related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all attributes related to project <br>System returns array of found attributes (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// ApiResponse of List<CustomAttributeModel> @@ -1086,7 +1086,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all autotest related to the project <br>System returns array of autotest with namespaces and classnames (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// List<AutoTestNamespaceModel> List GetAutoTestsNamespaces(string id); @@ -1097,7 +1097,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all autotest related to the project <br>System returns array of autotest with namespaces and classnames (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of List<AutoTestNamespaceModel> ApiResponse> GetAutoTestsNamespacesWithHttpInfo(string id); @@ -1107,7 +1107,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all configurations related to project <br>System returns array of found configurations (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// List<ConfigurationModel> List GetConfigurationsByProjectId(string id); @@ -1118,7 +1118,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all configurations related to project <br>System returns array of found configurations (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of List<ConfigurationModel> ApiResponse> GetConfigurationsByProjectIdWithHttpInfo(string id); @@ -1128,7 +1128,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns project for test plans attributes by project identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// List<CustomAttributeModel> List GetCustomAttributeTestPlanProjectRelations(string id); @@ -1139,7 +1139,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns project for test plans attributes by project identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of List<CustomAttributeModel> ApiResponse> GetCustomAttributeTestPlanProjectRelationsWithHttpInfo(string id); @@ -1149,7 +1149,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System returns project (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ProjectModel ProjectModel GetProjectById(string id); @@ -1160,7 +1160,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System returns project (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of ProjectModel ApiResponse GetProjectByIdWithHttpInfo(string id); @@ -1170,7 +1170,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all sections related to the project <br>System returns array of sections (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1186,7 +1186,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all sections related to the project <br>System returns array of sections (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1201,7 +1201,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted test plans related to project <br>[Optional] If User sets isDeleted field value as false, System search all test plans related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all v related to project <br>System returns array of found test plans (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/archived test plans (optional) /// List<TestPlanModel> @@ -1213,7 +1213,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted test plans related to project <br>[Optional] If User sets isDeleted field value as false, System search all test plans related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all v related to project <br>System returns array of found test plans (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/archived test plans (optional) /// ApiResponse of List<TestPlanModel> @@ -1224,7 +1224,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all test runs related to project <br>System returns array of found test runs (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -1247,7 +1247,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all test runs related to project <br>System returns array of found test runs (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -1269,7 +1269,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted workitems related to project <br>[Optional] If User sets isDeleted field value as false, System search all workitems related to project which are not deleted <br>If User did not set isDeleted field value, System search all workitems related to project <br>System returns array of found workitems (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/deleted work items (optional, default to false) /// List of tags to filter by (optional) @@ -1289,7 +1289,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted workitems related to project <br>[Optional] If User sets isDeleted field value as false, System search all workitems related to project which are not deleted <br>If User did not set isDeleted field value, System search all workitems related to project <br>System returns array of found workitems (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/deleted work items (optional, default to false) /// List of tags to filter by (optional) @@ -1308,7 +1308,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br> <b>A project can only be exported to another TMS instance, different from the one it was imported from.</b> <br>This method imports a `.json` file with a project to the test management system. <br>In the body of the request, send the `.json` file received by the `POST /api/v2/projects/export` method: <br> ``` curl -X POST \"http://{domain.com}/api/v2/projects/import\" \\ -H \"accept: /\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: multipart/form-data\" \\ -F \"file=@import.txt;type=text/plain\" ``` <br> In the second instance, a project with the name of the imported one is created. User attributes and the test library (along with content and structure) are imported. <br>Test plan execution history from the first instance of TMS cannot be transferred. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Enables attachment import. (optional, default to false) /// Select file (optional) /// @@ -1321,7 +1321,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br> <b>A project can only be exported to another TMS instance, different from the one it was imported from.</b> <br>This method imports a `.json` file with a project to the test management system. <br>In the body of the request, send the `.json` file received by the `POST /api/v2/projects/export` method: <br> ``` curl -X POST \"http://{domain.com}/api/v2/projects/import\" \\ -H \"accept: /\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: multipart/form-data\" \\ -F \"file=@import.txt;type=text/plain\" ``` <br> In the second instance, a project with the name of the imported one is created. User attributes and the test library (along with content and structure) are imported. <br>Test plan execution history from the first instance of TMS cannot be transferred. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Enables attachment import. (optional, default to false) /// Select file (optional) /// ApiResponse of Object(void) @@ -1333,7 +1333,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User attaches project as json file taken from export or export-by-testPlans method <br>User runs method execution <br>System updates project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Select file (optional) @@ -1347,7 +1347,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User attaches project as json file taken from export or export-by-testPlans method <br>User runs method execution <br>System updates project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Select file (optional) @@ -1357,7 +1357,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Search for attributes used in the project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1372,9 +1372,9 @@ public interface IProjectsApiSync : IApiAccessor /// Search for attributes used in the project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1387,7 +1387,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// Search for attributes used in the project test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1402,9 +1402,9 @@ public interface IProjectsApiSync : IApiAccessor /// Search for attributes used in the project test plans /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1420,7 +1420,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attribute model <br>User runs method execution <br>System updates project and project attribute for test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// @@ -1432,7 +1432,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attribute model <br>User runs method execution <br>System updates project and project attribute for test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// ApiResponse of Object(void) @@ -1443,7 +1443,7 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System updates project <br>System returns updated project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void UpdateProject(UpdateProjectRequest updateProjectRequest = default(UpdateProjectRequest)); @@ -1454,14 +1454,14 @@ public interface IProjectsApiSync : IApiAccessor /// /// <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System updates project <br>System returns updated project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse UpdateProjectWithHttpInfo(UpdateProjectRequest updateProjectRequest = default(UpdateProjectRequest)); /// /// Edit attribute of the project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// (optional) /// @@ -1471,9 +1471,9 @@ public interface IProjectsApiSync : IApiAccessor /// Edit attribute of the project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// (optional) /// ApiResponse of Object(void) @@ -1493,7 +1493,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>System search project <br>System relates global attributes with project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -1506,7 +1506,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>System search project <br>System relates global attributes with project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -1516,9 +1516,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Search for custom attributes templates /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1534,9 +1534,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Search for custom attributes templates /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1553,7 +1553,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System delete attribute template from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// Cancellation Token to cancel the request. @@ -1566,7 +1566,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System delete attribute template from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// Cancellation Token to cancel the request. @@ -1578,7 +1578,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System add attribute template to project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// Cancellation Token to cancel the request. @@ -1591,7 +1591,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System add attribute template to project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// Cancellation Token to cancel the request. @@ -1601,9 +1601,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Archive project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of void @@ -1613,9 +1613,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Archive project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1624,9 +1624,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Get failure classes /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. @@ -1637,9 +1637,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Get failure classes /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. @@ -1649,9 +1649,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Mark Project as favorite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -1661,9 +1661,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Mark Project as favorite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1674,7 +1674,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns project filters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<FilterModel> @@ -1686,7 +1686,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns project filters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<FilterModel>) @@ -1697,7 +1697,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global Id of project /// (optional) /// Cancellation Token to cancel the request. @@ -1710,7 +1710,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global Id of project /// (optional) /// Cancellation Token to cancel the request. @@ -1720,9 +1720,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Purge archived project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of void @@ -1732,9 +1732,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Purge archived project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1743,9 +1743,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Restore archived project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of void @@ -1755,9 +1755,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Restore archived project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1768,7 +1768,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal identifier <br>User sets query params <br>User runs method execution <br>System return analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// (optional, default to false) @@ -1787,7 +1787,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal identifier <br>User sets query params <br>User runs method execution <br>System return analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// (optional, default to false) @@ -1803,9 +1803,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Delete multiple test plans /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. @@ -1816,9 +1816,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Delete multiple test plans /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. @@ -1830,7 +1830,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System purge delete project workitems /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// TestPlan name to check /// Cancellation Token to cancel the request. @@ -1843,7 +1843,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System purge delete project workitems /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// TestPlan name to check /// Cancellation Token to cancel the request. @@ -1853,9 +1853,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Permanently delete multiple archived test plans /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. @@ -1866,9 +1866,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Permanently delete multiple archived test plans /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. @@ -1878,9 +1878,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Restore multiple test plans /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. @@ -1891,9 +1891,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Restore multiple test plans /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. @@ -1905,7 +1905,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets request body <br>User runs method execution <br>System returns project testplans with analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// Amount of items to be skipped (offset) (optional) @@ -1924,7 +1924,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets request body <br>User runs method execution <br>System returns project testplans with analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// Amount of items to be skipped (offset) (optional) @@ -1942,7 +1942,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns active testruns /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<PublicTestRunModel> @@ -1954,7 +1954,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns active testruns /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<PublicTestRunModel>) @@ -1965,7 +1965,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets query params <br>User runs method execution <br>System returns project test runs full models /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// (optional, default to true) @@ -1991,7 +1991,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets query params <br>User runs method execution <br>System returns project test runs full models /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// (optional, default to true) @@ -2014,9 +2014,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Search for work items and extract IDs only /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2032,9 +2032,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Search for work items and extract IDs only /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2049,9 +2049,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Search for work items /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2067,9 +2067,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Search for work items /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2086,7 +2086,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal identifier <br>User runs method execution <br>System returns work items tags /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -2099,31 +2099,31 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal identifier <br>User runs method execution <br>System returns work items tags /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TagShortModel>) System.Threading.Tasks.Task>> ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfoAsync(Guid id, bool? isDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of bool System.Threading.Tasks.Task ApiV2ProjectsNameNameExistsGetAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (bool) @@ -2132,9 +2132,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Purge multiple projects /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of long @@ -2144,9 +2144,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Purge multiple projects /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (long) @@ -2155,9 +2155,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Restore multiple projects /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of long @@ -2167,9 +2167,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Restore multiple projects /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (long) @@ -2178,9 +2178,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Search for projects /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -2195,9 +2195,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Search for projects /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -2211,9 +2211,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Import project from JSON file in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of Guid @@ -2223,9 +2223,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Import project from JSON file in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (Guid) @@ -2234,9 +2234,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Import project from JSON file into existing project in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// Cancellation Token to cancel the request. @@ -2247,9 +2247,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Import project from JSON file into existing project in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// Cancellation Token to cancel the request. @@ -2259,9 +2259,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Import project from Zip file in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of Guid @@ -2271,9 +2271,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Import project from Zip file in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (Guid) @@ -2282,9 +2282,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Import project from Zip file into existing project in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// Cancellation Token to cancel the request. @@ -2295,9 +2295,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Import project from Zip file into existing project in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// Cancellation Token to cancel the request. @@ -2309,7 +2309,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>User runs method execution <br>System updates project and add attributes to project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -2322,7 +2322,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>User runs method execution <br>System updates project and add attributes to project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -2334,7 +2334,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System creates project <br>System returns project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ProjectModel @@ -2346,7 +2346,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System creates project <br>System returns project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (ProjectModel) @@ -2357,7 +2357,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute parameters (listed in request example) and runs method execution <br>System search project <br>System creates attribute and relates it to the project <br>System returns project attribute properties (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -2370,7 +2370,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attribute parameters (listed in request example) and runs method execution <br>System search project <br>System creates attribute and relates it to the project <br>System returns project attribute properties (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -2382,7 +2382,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attribute identifier <br>User runs method execution <br>System updates project and delete attribute from project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// /// Cancellation Token to cancel the request. @@ -2395,7 +2395,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attribute identifier <br>User runs method execution <br>System updates project and delete attribute from project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// /// Cancellation Token to cancel the request. @@ -2405,9 +2405,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Delete all autotests from project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of void @@ -2417,9 +2417,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Delete all autotests from project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -2430,7 +2430,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project identifier and runs method execution <br>User sets attribute identifier <br>User runs method execution <br>System search project <br>System search and delete attribute <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) /// Cancellation Token to cancel the request. @@ -2443,7 +2443,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project identifier and runs method execution <br>User sets attribute identifier <br>User runs method execution <br>System search project <br>System search and delete attribute <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) /// Cancellation Token to cancel the request. @@ -2453,9 +2453,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Export project as JSON file /// /// - /// <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. + /// <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) @@ -2468,9 +2468,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Export project as JSON file /// /// - /// <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. + /// <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) @@ -2482,9 +2482,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Export project as JSON file in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -2496,9 +2496,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Export project as JSON file in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -2509,9 +2509,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Export project as JSON file with test plans in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -2523,9 +2523,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Export project as JSON file with test plans in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -2536,9 +2536,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Export project as Zip file with test plans in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -2550,9 +2550,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Export project as Zip file with test plans in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -2563,9 +2563,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Export project as Zip file in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -2577,9 +2577,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Export project as Zip file in background job /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -2590,9 +2590,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Export project with test plans, test suites and test points as JSON file /// /// - /// <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. + /// <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) @@ -2605,9 +2605,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Export project with test plans, test suites and test points as JSON file /// /// - /// <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. + /// <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) @@ -2621,7 +2621,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted projects <br>[Optional] If User sets isDeleted field value as false, System search all projects which are not deleted <br>If User did not set isDeleted field value, System search all projects <br>System returns array of all found projects(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -2640,7 +2640,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted projects <br>[Optional] If User sets isDeleted field value as false, System search all projects which are not deleted <br>If User did not set isDeleted field value, System search all projects <br>System returns array of all found projects(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -2658,7 +2658,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets project attribute identifier <br>User runs method execution <br>System search project <br>System search project attribute <br>System returns project attribute (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. @@ -2671,7 +2671,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User sets project attribute identifier <br>User runs method execution <br>System search project <br>System search project attribute <br>System returns project attribute (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. @@ -2683,7 +2683,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted attributes related to project <br>[Optional] If User sets isDeleted field value as false, System search all attributes related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all attributes related to project <br>System returns array of found attributes (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -2696,7 +2696,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted attributes related to project <br>[Optional] If User sets isDeleted field value as false, System search all attributes related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all attributes related to project <br>System returns array of found attributes (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -2708,7 +2708,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all autotest related to the project <br>System returns array of autotest with namespaces and classnames (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<AutoTestNamespaceModel> @@ -2720,7 +2720,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all autotest related to the project <br>System returns array of autotest with namespaces and classnames (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AutoTestNamespaceModel>) @@ -2731,7 +2731,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all configurations related to project <br>System returns array of found configurations (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<ConfigurationModel> @@ -2743,7 +2743,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all configurations related to project <br>System returns array of found configurations (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ConfigurationModel>) @@ -2754,7 +2754,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns project for test plans attributes by project identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<CustomAttributeModel> @@ -2766,7 +2766,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns project for test plans attributes by project identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<CustomAttributeModel>) @@ -2777,7 +2777,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System returns project (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ProjectModel @@ -2789,7 +2789,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System returns project (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (ProjectModel) @@ -2800,7 +2800,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all sections related to the project <br>System returns array of sections (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2817,7 +2817,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all sections related to the project <br>System returns array of sections (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2833,7 +2833,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted test plans related to project <br>[Optional] If User sets isDeleted field value as false, System search all test plans related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all v related to project <br>System returns array of found test plans (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/archived test plans (optional) /// Cancellation Token to cancel the request. @@ -2846,7 +2846,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted test plans related to project <br>[Optional] If User sets isDeleted field value as false, System search all test plans related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all v related to project <br>System returns array of found test plans (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/archived test plans (optional) /// Cancellation Token to cancel the request. @@ -2858,7 +2858,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all test runs related to project <br>System returns array of found test runs (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -2882,7 +2882,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all test runs related to project <br>System returns array of found test runs (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -2905,7 +2905,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted workitems related to project <br>[Optional] If User sets isDeleted field value as false, System search all workitems related to project which are not deleted <br>If User did not set isDeleted field value, System search all workitems related to project <br>System returns array of found workitems (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/deleted work items (optional, default to false) /// List of tags to filter by (optional) @@ -2926,7 +2926,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted workitems related to project <br>[Optional] If User sets isDeleted field value as false, System search all workitems related to project which are not deleted <br>If User did not set isDeleted field value, System search all workitems related to project <br>System returns array of found workitems (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/deleted work items (optional, default to false) /// List of tags to filter by (optional) @@ -2946,7 +2946,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br> <b>A project can only be exported to another TMS instance, different from the one it was imported from.</b> <br>This method imports a `.json` file with a project to the test management system. <br>In the body of the request, send the `.json` file received by the `POST /api/v2/projects/export` method: <br> ``` curl -X POST \"http://{domain.com}/api/v2/projects/import\" \\ -H \"accept: /\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: multipart/form-data\" \\ -F \"file=@import.txt;type=text/plain\" ``` <br> In the second instance, a project with the name of the imported one is created. User attributes and the test library (along with content and structure) are imported. <br>Test plan execution history from the first instance of TMS cannot be transferred. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Enables attachment import. (optional, default to false) /// Select file (optional) /// Cancellation Token to cancel the request. @@ -2960,7 +2960,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br> <b>A project can only be exported to another TMS instance, different from the one it was imported from.</b> <br>This method imports a `.json` file with a project to the test management system. <br>In the body of the request, send the `.json` file received by the `POST /api/v2/projects/export` method: <br> ``` curl -X POST \"http://{domain.com}/api/v2/projects/import\" \\ -H \"accept: /\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: multipart/form-data\" \\ -F \"file=@import.txt;type=text/plain\" ``` <br> In the second instance, a project with the name of the imported one is created. User attributes and the test library (along with content and structure) are imported. <br>Test plan execution history from the first instance of TMS cannot be transferred. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Enables attachment import. (optional, default to false) /// Select file (optional) /// Cancellation Token to cancel the request. @@ -2973,7 +2973,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User attaches project as json file taken from export or export-by-testPlans method <br>User runs method execution <br>System updates project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Select file (optional) @@ -2988,7 +2988,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User attaches project as json file taken from export or export-by-testPlans method <br>User runs method execution <br>System updates project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Select file (optional) @@ -3000,9 +3000,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Search for attributes used in the project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3018,9 +3018,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Search for attributes used in the project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3035,9 +3035,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Search for attributes used in the project test plans /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3053,9 +3053,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Search for attributes used in the project test plans /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3072,7 +3072,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attribute model <br>User runs method execution <br>System updates project and project attribute for test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -3085,7 +3085,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project internal or global identifier and attribute model <br>User runs method execution <br>System updates project and project attribute for test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -3097,7 +3097,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System updates project <br>System returns updated project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -3109,7 +3109,7 @@ public interface IProjectsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System updates project <br>System returns updated project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -3118,9 +3118,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Edit attribute of the project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// (optional) /// Cancellation Token to cancel the request. @@ -3131,9 +3131,9 @@ public interface IProjectsApiAsync : IApiAccessor /// Edit attribute of the project /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// (optional) /// Cancellation Token to cancel the request. @@ -3155,7 +3155,7 @@ public interface IProjectsApi : IProjectsApiSync, IProjectsApiAsync /// public partial class ProjectsApi : IDisposable, IProjectsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -3177,14 +3177,14 @@ public ProjectsApi() : this((string)null) /// public ProjectsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -3195,18 +3195,18 @@ public ProjectsApi(string basePath) /// An instance of Configuration. /// /// - public ProjectsApi(TestIt.Client.Client.Configuration configuration) + public ProjectsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -3241,14 +3241,14 @@ public ProjectsApi(HttpClient client, string basePath, HttpClientHandler handler { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -3263,19 +3263,19 @@ public ProjectsApi(HttpClient client, string basePath, HttpClientHandler handler /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public ProjectsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public ProjectsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -3286,7 +3286,7 @@ public ProjectsApi(HttpClient client, TestIt.Client.Client.Configuration configu /// The client interface for asynchronous API access. /// The configuration object. /// - public ProjectsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public ProjectsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -3295,7 +3295,7 @@ public ProjectsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -3309,17 +3309,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -3334,12 +3334,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -3355,7 +3355,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Add global attributes to project <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>System search project <br>System relates global attributes with project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// @@ -3367,17 +3367,17 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Add global attributes to project <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>System search project <br>System relates global attributes with project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse AddGlobaAttributesToProjectWithHttpInfo(string id, List requestBody = default(List)) + public ApiResponse AddGlobaAttributesToProjectWithHttpInfo(string id, List requestBody = default(List)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->AddGlobaAttributesToProject"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->AddGlobaAttributesToProject"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3388,13 +3388,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -3418,7 +3418,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Add global attributes to project <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>System search project <br>System relates global attributes with project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -3431,19 +3431,19 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Add global attributes to project <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>System search project <br>System relates global attributes with project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> AddGlobaAttributesToProjectWithHttpInfoAsync(string id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> AddGlobaAttributesToProjectWithHttpInfoAsync(string id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->AddGlobaAttributesToProject"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->AddGlobaAttributesToProject"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3455,13 +3455,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -3484,9 +3484,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Search for custom attributes templates + /// Search for custom attributes templates /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3497,14 +3497,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// List<ProjectCustomAttributeTemplateGetModel> public List ApiV2ProjectsIdAttributesTemplatesSearchPost(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdAttributesTemplatesSearchPostRequest apiV2ProjectsIdAttributesTemplatesSearchPostRequest = default(ApiV2ProjectsIdAttributesTemplatesSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ProjectsIdAttributesTemplatesSearchPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdAttributesTemplatesSearchPostRequest); + ApiResponse> localVarResponse = ApiV2ProjectsIdAttributesTemplatesSearchPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdAttributesTemplatesSearchPostRequest); return localVarResponse.Data; } /// - /// Search for custom attributes templates + /// Search for custom attributes templates /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3513,13 +3513,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Value for searching (optional) /// (optional) /// ApiResponse of List<ProjectCustomAttributeTemplateGetModel> - public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdAttributesTemplatesSearchPostWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdAttributesTemplatesSearchPostRequest apiV2ProjectsIdAttributesTemplatesSearchPostRequest = default(ApiV2ProjectsIdAttributesTemplatesSearchPostRequest)) + public ApiResponse> ApiV2ProjectsIdAttributesTemplatesSearchPostWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdAttributesTemplatesSearchPostRequest apiV2ProjectsIdAttributesTemplatesSearchPostRequest = default(ApiV2ProjectsIdAttributesTemplatesSearchPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdAttributesTemplatesSearchPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdAttributesTemplatesSearchPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3530,32 +3530,32 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ProjectsIdAttributesTemplatesSearchPostRequest; @@ -3578,9 +3578,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Search for custom attributes templates + /// Search for custom attributes templates /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3592,14 +3592,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Task of List<ProjectCustomAttributeTemplateGetModel> public async System.Threading.Tasks.Task> ApiV2ProjectsIdAttributesTemplatesSearchPostAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdAttributesTemplatesSearchPostRequest apiV2ProjectsIdAttributesTemplatesSearchPostRequest = default(ApiV2ProjectsIdAttributesTemplatesSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ProjectsIdAttributesTemplatesSearchPostWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdAttributesTemplatesSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ProjectsIdAttributesTemplatesSearchPostWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdAttributesTemplatesSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for custom attributes templates + /// Search for custom attributes templates /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3609,14 +3609,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ProjectCustomAttributeTemplateGetModel>) - public async System.Threading.Tasks.Task>> ApiV2ProjectsIdAttributesTemplatesSearchPostWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdAttributesTemplatesSearchPostRequest apiV2ProjectsIdAttributesTemplatesSearchPostRequest = default(ApiV2ProjectsIdAttributesTemplatesSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ProjectsIdAttributesTemplatesSearchPostWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdAttributesTemplatesSearchPostRequest apiV2ProjectsIdAttributesTemplatesSearchPostRequest = default(ApiV2ProjectsIdAttributesTemplatesSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdAttributesTemplatesSearchPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdAttributesTemplatesSearchPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3628,32 +3628,32 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ProjectsIdAttributesTemplatesSearchPostRequest; @@ -3679,7 +3679,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Delete CustomAttributeTemplate from Project <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System delete attribute template from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// @@ -3691,17 +3691,17 @@ public void ApiV2ProjectsIdAttributesTemplatesTemplateIdDelete(string id, Guid t /// /// Delete CustomAttributeTemplate from Project <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System delete attribute template from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdAttributesTemplatesTemplateIdDeleteWithHttpInfo(string id, Guid templateId) + public ApiResponse ApiV2ProjectsIdAttributesTemplatesTemplateIdDeleteWithHttpInfo(string id, Guid templateId) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdAttributesTemplatesTemplateIdDelete"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdAttributesTemplatesTemplateIdDelete"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3711,14 +3711,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdAttributesTemplat "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("templateId", TestIt.Client.Client.ClientUtils.ParameterToString(templateId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("templateId", ClientUtils.ParameterToString(templateId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3741,7 +3741,7 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdAttributesTemplat /// /// Delete CustomAttributeTemplate from Project <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System delete attribute template from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// Cancellation Token to cancel the request. @@ -3754,19 +3754,19 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdAttributesTemplat /// /// Delete CustomAttributeTemplate from Project <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System delete attribute template from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ProjectsIdAttributesTemplatesTemplateIdDeleteWithHttpInfoAsync(string id, Guid templateId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsIdAttributesTemplatesTemplateIdDeleteWithHttpInfoAsync(string id, Guid templateId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdAttributesTemplatesTemplateIdDelete"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdAttributesTemplatesTemplateIdDelete"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3777,14 +3777,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdAttributesTemplat }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("templateId", TestIt.Client.Client.ClientUtils.ParameterToString(templateId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("templateId", ClientUtils.ParameterToString(templateId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3808,7 +3808,7 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdAttributesTemplat /// /// Add CustomAttributeTemplate to Project <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System add attribute template to project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// @@ -3820,17 +3820,17 @@ public void ApiV2ProjectsIdAttributesTemplatesTemplateIdPost(string id, Guid tem /// /// Add CustomAttributeTemplate to Project <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System add attribute template to project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdAttributesTemplatesTemplateIdPostWithHttpInfo(string id, Guid templateId) + public ApiResponse ApiV2ProjectsIdAttributesTemplatesTemplateIdPostWithHttpInfo(string id, Guid templateId) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdAttributesTemplatesTemplateIdPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdAttributesTemplatesTemplateIdPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3840,14 +3840,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdAttributesTemplat "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("templateId", TestIt.Client.Client.ClientUtils.ParameterToString(templateId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("templateId", ClientUtils.ParameterToString(templateId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3870,7 +3870,7 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdAttributesTemplat /// /// Add CustomAttributeTemplate to Project <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System add attribute template to project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// Cancellation Token to cancel the request. @@ -3883,19 +3883,19 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdAttributesTemplat /// /// Add CustomAttributeTemplate to Project <br>Use case <br>User sets project internal or global identifier <br>User sets attribute template internal identifier <br>User runs method execution <br>System add attribute template to project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// CustomAttributeTemplate internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ProjectsIdAttributesTemplatesTemplateIdPostWithHttpInfoAsync(string id, Guid templateId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsIdAttributesTemplatesTemplateIdPostWithHttpInfoAsync(string id, Guid templateId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdAttributesTemplatesTemplateIdPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdAttributesTemplatesTemplateIdPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3906,14 +3906,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdAttributesTemplat }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("templateId", TestIt.Client.Client.ClientUtils.ParameterToString(templateId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("templateId", ClientUtils.ParameterToString(templateId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3935,9 +3935,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdAttributesTemplat } /// - /// Archive project + /// Archive project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// public void ApiV2ProjectsIdDelete(string id) @@ -3946,18 +3946,18 @@ public void ApiV2ProjectsIdDelete(string id) } /// - /// Archive project + /// Archive project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdDeleteWithHttpInfo(string id) + public ApiResponse ApiV2ProjectsIdDeleteWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdDelete"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdDelete"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3967,13 +3967,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdDeleteWithHttpInf "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3994,9 +3994,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdDeleteWithHttpInf } /// - /// Archive project + /// Archive project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of void @@ -4006,20 +4006,20 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdDeleteWithHttpInf } /// - /// Archive project + /// Archive project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ProjectsIdDeleteWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsIdDeleteWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdDelete"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdDelete"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4030,13 +4030,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdDeleteWithHttpInf }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4058,32 +4058,32 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdDeleteWithHttpInf } /// - /// Get failure classes + /// Get failure classes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// List<FailureClassModel> public List ApiV2ProjectsIdFailureClassesGet(string id, bool? isDeleted = default(bool?)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ProjectsIdFailureClassesGetWithHttpInfo(id, isDeleted); + ApiResponse> localVarResponse = ApiV2ProjectsIdFailureClassesGetWithHttpInfo(id, isDeleted); return localVarResponse.Data; } /// - /// Get failure classes + /// Get failure classes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// ApiResponse of List<FailureClassModel> - public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdFailureClassesGetWithHttpInfo(string id, bool? isDeleted = default(bool?)) + public ApiResponse> ApiV2ProjectsIdFailureClassesGetWithHttpInfo(string id, bool? isDeleted = default(bool?)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdFailureClassesGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdFailureClassesGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4093,16 +4093,16 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdDeleteWithHttpInf "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } // authentication (Bearer or PrivateToken) required @@ -4124,35 +4124,35 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdDeleteWithHttpInf } /// - /// Get failure classes + /// Get failure classes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. /// Task of List<FailureClassModel> public async System.Threading.Tasks.Task> ApiV2ProjectsIdFailureClassesGetAsync(string id, bool? isDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ProjectsIdFailureClassesGetWithHttpInfoAsync(id, isDeleted, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ProjectsIdFailureClassesGetWithHttpInfoAsync(id, isDeleted, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get failure classes + /// Get failure classes /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<FailureClassModel>) - public async System.Threading.Tasks.Task>> ApiV2ProjectsIdFailureClassesGetWithHttpInfoAsync(string id, bool? isDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ProjectsIdFailureClassesGetWithHttpInfoAsync(string id, bool? isDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdFailureClassesGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdFailureClassesGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4163,16 +4163,16 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdDeleteWithHttpInf }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } // authentication (Bearer or PrivateToken) required @@ -4195,9 +4195,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdDeleteWithHttpInf } /// - /// Mark Project as favorite + /// Mark Project as favorite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// public void ApiV2ProjectsIdFavoritePut(string id) @@ -4206,18 +4206,18 @@ public void ApiV2ProjectsIdFavoritePut(string id) } /// - /// Mark Project as favorite + /// Mark Project as favorite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdFavoritePutWithHttpInfo(string id) + public ApiResponse ApiV2ProjectsIdFavoritePutWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdFavoritePut"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdFavoritePut"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4227,13 +4227,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdFavoritePutWithHt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4254,9 +4254,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdFavoritePutWithHt } /// - /// Mark Project as favorite + /// Mark Project as favorite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -4266,20 +4266,20 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdFavoritePutWithHt } /// - /// Mark Project as favorite + /// Mark Project as favorite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ProjectsIdFavoritePutWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsIdFavoritePutWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdFavoritePut"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdFavoritePut"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4290,13 +4290,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdFavoritePutWithHt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4320,28 +4320,28 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdFavoritePutWithHt /// /// Get Project filters <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns project filters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// List<FilterModel> public List ApiV2ProjectsIdFiltersGet(string id) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ProjectsIdFiltersGetWithHttpInfo(id); + ApiResponse> localVarResponse = ApiV2ProjectsIdFiltersGetWithHttpInfo(id); return localVarResponse.Data; } /// /// Get Project filters <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns project filters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of List<FilterModel> - public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdFiltersGetWithHttpInfo(string id) + public ApiResponse> ApiV2ProjectsIdFiltersGetWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdFiltersGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdFiltersGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4351,13 +4351,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdFilter "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4380,31 +4380,31 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdFilter /// /// Get Project filters <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns project filters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<FilterModel> public async System.Threading.Tasks.Task> ApiV2ProjectsIdFiltersGetAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ProjectsIdFiltersGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ProjectsIdFiltersGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get Project filters <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns project filters /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<FilterModel>) - public async System.Threading.Tasks.Task>> ApiV2ProjectsIdFiltersGetWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ProjectsIdFiltersGetWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdFiltersGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdFiltersGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4415,13 +4415,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdFilter }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4445,7 +4445,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdFilter /// /// Patch project See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global Id of project /// (optional) /// @@ -4457,13 +4457,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdFilter /// /// Patch project See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global Id of project /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdPatchWithHttpInfo(Guid id, List operation = default(List)) + public ApiResponse ApiV2ProjectsIdPatchWithHttpInfo(Guid id, List operation = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4474,13 +4474,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdFilter "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = operation; // authentication (Bearer or PrivateToken) required @@ -4504,7 +4504,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdFilter /// /// Patch project See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global Id of project /// (optional) /// Cancellation Token to cancel the request. @@ -4517,15 +4517,15 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdFilter /// /// Patch project See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global Id of project /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ProjectsIdPatchWithHttpInfoAsync(Guid id, List operation = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsIdPatchWithHttpInfoAsync(Guid id, List operation = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4537,13 +4537,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdFilter }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = operation; // authentication (Bearer or PrivateToken) required @@ -4566,9 +4566,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdFilter } /// - /// Purge archived project + /// Purge archived project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// public void ApiV2ProjectsIdPurgePost(string id) @@ -4577,18 +4577,18 @@ public void ApiV2ProjectsIdPurgePost(string id) } /// - /// Purge archived project + /// Purge archived project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdPurgePostWithHttpInfo(string id) + public ApiResponse ApiV2ProjectsIdPurgePostWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdPurgePost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdPurgePost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4598,13 +4598,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdPurgePostWithHttp "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4625,9 +4625,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdPurgePostWithHttp } /// - /// Purge archived project + /// Purge archived project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of void @@ -4637,20 +4637,20 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdPurgePostWithHttp } /// - /// Purge archived project + /// Purge archived project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ProjectsIdPurgePostWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsIdPurgePostWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdPurgePost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdPurgePost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4661,13 +4661,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdPurgePostWithHttp }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4689,9 +4689,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdPurgePostWithHttp } /// - /// Restore archived project + /// Restore archived project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// public void ApiV2ProjectsIdRestorePost(string id) @@ -4700,18 +4700,18 @@ public void ApiV2ProjectsIdRestorePost(string id) } /// - /// Restore archived project + /// Restore archived project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHttpInfo(string id) + public ApiResponse ApiV2ProjectsIdRestorePostWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdRestorePost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdRestorePost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4721,13 +4721,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4748,9 +4748,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt } /// - /// Restore archived project + /// Restore archived project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of void @@ -4760,20 +4760,20 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt } /// - /// Restore archived project + /// Restore archived project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ProjectsIdRestorePostWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsIdRestorePostWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdRestorePost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdRestorePost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4784,13 +4784,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4814,7 +4814,7 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt /// /// Get TestPlans analytics <br>Use case <br>User sets project internal identifier <br>User sets query params <br>User runs method execution <br>System return analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// (optional, default to false) @@ -4826,14 +4826,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt /// List<TestPlanWithAnalyticModel> public List ApiV2ProjectsIdTestPlansAnalyticsGet(Guid id, bool? isDeleted = default(bool?), bool? mustUpdateCache = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfo(id, isDeleted, mustUpdateCache, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfo(id, isDeleted, mustUpdateCache, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get TestPlans analytics <br>Use case <br>User sets project internal identifier <br>User sets query params <br>User runs method execution <br>System return analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// (optional, default to false) @@ -4843,9 +4843,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<TestPlanWithAnalyticModel> - public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfo(Guid id, bool? isDeleted = default(bool?), bool? mustUpdateCache = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfo(Guid id, bool? isDeleted = default(bool?), bool? mustUpdateCache = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4855,40 +4855,40 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (mustUpdateCache != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "mustUpdateCache", mustUpdateCache)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "mustUpdateCache", mustUpdateCache)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -4912,7 +4912,7 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt /// /// Get TestPlans analytics <br>Use case <br>User sets project internal identifier <br>User sets query params <br>User runs method execution <br>System return analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// (optional, default to false) @@ -4925,14 +4925,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt /// Task of List<TestPlanWithAnalyticModel> public async System.Threading.Tasks.Task> ApiV2ProjectsIdTestPlansAnalyticsGetAsync(Guid id, bool? isDeleted = default(bool?), bool? mustUpdateCache = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfoAsync(id, isDeleted, mustUpdateCache, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfoAsync(id, isDeleted, mustUpdateCache, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get TestPlans analytics <br>Use case <br>User sets project internal identifier <br>User sets query params <br>User runs method execution <br>System return analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// (optional, default to false) @@ -4943,10 +4943,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestPlanWithAnalyticModel>) - public async System.Threading.Tasks.Task>> ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfoAsync(Guid id, bool? isDeleted = default(bool?), bool? mustUpdateCache = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfoAsync(Guid id, bool? isDeleted = default(bool?), bool? mustUpdateCache = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4957,40 +4957,40 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (mustUpdateCache != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "mustUpdateCache", mustUpdateCache)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "mustUpdateCache", mustUpdateCache)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -5013,32 +5013,32 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt } /// - /// Delete multiple test plans + /// Delete multiple test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// List<Guid> public List ApiV2ProjectsIdTestPlansDeleteBulkPost(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ProjectsIdTestPlansDeleteBulkPostWithHttpInfo(id, apiV2ProjectsIdTestPlansDeleteBulkPostRequest); + ApiResponse> localVarResponse = ApiV2ProjectsIdTestPlansDeleteBulkPostWithHttpInfo(id, apiV2ProjectsIdTestPlansDeleteBulkPostRequest); return localVarResponse.Data; } /// - /// Delete multiple test plans + /// Delete multiple test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// ApiResponse of List<Guid> - public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdTestPlansDeleteBulkPostWithHttpInfo(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest)) + public ApiResponse> ApiV2ProjectsIdTestPlansDeleteBulkPostWithHttpInfo(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansDeleteBulkPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansDeleteBulkPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -5049,13 +5049,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2ProjectsIdTestPlansDeleteBulkPostRequest; // authentication (Bearer or PrivateToken) required @@ -5077,35 +5077,35 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt } /// - /// Delete multiple test plans + /// Delete multiple test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. /// Task of List<Guid> public async System.Threading.Tasks.Task> ApiV2ProjectsIdTestPlansDeleteBulkPostAsync(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ProjectsIdTestPlansDeleteBulkPostWithHttpInfoAsync(id, apiV2ProjectsIdTestPlansDeleteBulkPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ProjectsIdTestPlansDeleteBulkPostWithHttpInfoAsync(id, apiV2ProjectsIdTestPlansDeleteBulkPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Delete multiple test plans + /// Delete multiple test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Guid>) - public async System.Threading.Tasks.Task>> ApiV2ProjectsIdTestPlansDeleteBulkPostWithHttpInfoAsync(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ProjectsIdTestPlansDeleteBulkPostWithHttpInfoAsync(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansDeleteBulkPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansDeleteBulkPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -5117,13 +5117,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2ProjectsIdTestPlansDeleteBulkPostRequest; // authentication (Bearer or PrivateToken) required @@ -5148,30 +5148,30 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdRestorePostWithHt /// /// Checks if TestPlan exists with the specified name exists for the project <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System purge delete project workitems /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// TestPlan name to check /// bool public bool ApiV2ProjectsIdTestPlansNameExistsGet(Guid id, string name) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfo(id, name); + ApiResponse localVarResponse = ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfo(id, name); return localVarResponse.Data; } /// /// Checks if TestPlan exists with the specified name exists for the project <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System purge delete project workitems /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// TestPlan name to check /// ApiResponse of bool - public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfo(Guid id, string name) + public ApiResponse ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfo(Guid id, string name) { // verify the required parameter 'name' is set if (name == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'name' when calling ProjectsApi->ApiV2ProjectsIdTestPlansNameExistsGet"); + throw new ApiException(400, "Missing required parameter 'name' when calling ProjectsApi->ApiV2ProjectsIdTestPlansNameExistsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5181,14 +5181,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("name", TestIt.Client.Client.ClientUtils.ParameterToString(name)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("name", ClientUtils.ParameterToString(name)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5211,33 +5211,33 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists /// /// Checks if TestPlan exists with the specified name exists for the project <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System purge delete project workitems /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// TestPlan name to check /// Cancellation Token to cancel the request. /// Task of bool public async System.Threading.Tasks.Task ApiV2ProjectsIdTestPlansNameExistsGetAsync(Guid id, string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfoAsync(id, name, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfoAsync(id, name, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Checks if TestPlan exists with the specified name exists for the project <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System purge delete project workitems /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// TestPlan name to check /// Cancellation Token to cancel the request. /// Task of ApiResponse (bool) - public async System.Threading.Tasks.Task> ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfoAsync(Guid id, string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfoAsync(Guid id, string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'name' when calling ProjectsApi->ApiV2ProjectsIdTestPlansNameExistsGet"); + throw new ApiException(400, "Missing required parameter 'name' when calling ProjectsApi->ApiV2ProjectsIdTestPlansNameExistsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5248,14 +5248,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("name", TestIt.Client.Client.ClientUtils.ParameterToString(name)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("name", ClientUtils.ParameterToString(name)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5277,9 +5277,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists } /// - /// Permanently delete multiple archived test plans + /// Permanently delete multiple archived test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// @@ -5289,19 +5289,19 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists } /// - /// Permanently delete multiple archived test plans + /// Permanently delete multiple archived test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansPurgeBulkPostWithHttpInfo(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest)) + public ApiResponse ApiV2ProjectsIdTestPlansPurgeBulkPostWithHttpInfo(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansPurgeBulkPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansPurgeBulkPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -5312,13 +5312,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2ProjectsIdTestPlansDeleteBulkPostRequest; // authentication (Bearer or PrivateToken) required @@ -5340,9 +5340,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists } /// - /// Permanently delete multiple archived test plans + /// Permanently delete multiple archived test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. @@ -5353,21 +5353,21 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists } /// - /// Permanently delete multiple archived test plans + /// Permanently delete multiple archived test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ProjectsIdTestPlansPurgeBulkPostWithHttpInfoAsync(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsIdTestPlansPurgeBulkPostWithHttpInfoAsync(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansPurgeBulkPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansPurgeBulkPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -5379,13 +5379,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2ProjectsIdTestPlansDeleteBulkPostRequest; // authentication (Bearer or PrivateToken) required @@ -5408,9 +5408,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists } /// - /// Restore multiple test plans + /// Restore multiple test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// @@ -5420,19 +5420,19 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists } /// - /// Restore multiple test plans + /// Restore multiple test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansRestoreBulkPostWithHttpInfo(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest)) + public ApiResponse ApiV2ProjectsIdTestPlansRestoreBulkPostWithHttpInfo(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansRestoreBulkPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansRestoreBulkPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -5443,13 +5443,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2ProjectsIdTestPlansDeleteBulkPostRequest; // authentication (Bearer or PrivateToken) required @@ -5471,9 +5471,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists } /// - /// Restore multiple test plans + /// Restore multiple test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. @@ -5484,21 +5484,21 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists } /// - /// Restore multiple test plans + /// Restore multiple test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2ProjectsIdTestPlansRestoreBulkPostWithHttpInfoAsync(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsIdTestPlansRestoreBulkPostWithHttpInfoAsync(string id, ApiV2ProjectsIdTestPlansDeleteBulkPostRequest apiV2ProjectsIdTestPlansDeleteBulkPostRequest = default(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansRestoreBulkPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansRestoreBulkPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -5510,13 +5510,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2ProjectsIdTestPlansDeleteBulkPostRequest; // authentication (Bearer or PrivateToken) required @@ -5541,7 +5541,7 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists /// /// Get Project TestPlans with analytics <br>Use case <br>User sets project internal or global identifier <br>User sets request body <br>User runs method execution <br>System returns project testplans with analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// Amount of items to be skipped (offset) (optional) @@ -5553,14 +5553,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists /// List<TestPlanWithAnalyticModel> public List ApiV2ProjectsIdTestPlansSearchPost(string id, bool? mustUpdateCache = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdTestPlansSearchPostRequest apiV2ProjectsIdTestPlansSearchPostRequest = default(ApiV2ProjectsIdTestPlansSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ProjectsIdTestPlansSearchPostWithHttpInfo(id, mustUpdateCache, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdTestPlansSearchPostRequest); + ApiResponse> localVarResponse = ApiV2ProjectsIdTestPlansSearchPostWithHttpInfo(id, mustUpdateCache, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdTestPlansSearchPostRequest); return localVarResponse.Data; } /// /// Get Project TestPlans with analytics <br>Use case <br>User sets project internal or global identifier <br>User sets request body <br>User runs method execution <br>System returns project testplans with analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// Amount of items to be skipped (offset) (optional) @@ -5570,13 +5570,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists /// Value for searching (optional) /// (optional) /// ApiResponse of List<TestPlanWithAnalyticModel> - public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdTestPlansSearchPostWithHttpInfo(string id, bool? mustUpdateCache = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdTestPlansSearchPostRequest apiV2ProjectsIdTestPlansSearchPostRequest = default(ApiV2ProjectsIdTestPlansSearchPostRequest)) + public ApiResponse> ApiV2ProjectsIdTestPlansSearchPostWithHttpInfo(string id, bool? mustUpdateCache = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdTestPlansSearchPostRequest apiV2ProjectsIdTestPlansSearchPostRequest = default(ApiV2ProjectsIdTestPlansSearchPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansSearchPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansSearchPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -5587,36 +5587,36 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (mustUpdateCache != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "mustUpdateCache", mustUpdateCache)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "mustUpdateCache", mustUpdateCache)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ProjectsIdTestPlansSearchPostRequest; @@ -5641,7 +5641,7 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists /// /// Get Project TestPlans with analytics <br>Use case <br>User sets project internal or global identifier <br>User sets request body <br>User runs method execution <br>System returns project testplans with analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// Amount of items to be skipped (offset) (optional) @@ -5654,14 +5654,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists /// Task of List<TestPlanWithAnalyticModel> public async System.Threading.Tasks.Task> ApiV2ProjectsIdTestPlansSearchPostAsync(string id, bool? mustUpdateCache = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdTestPlansSearchPostRequest apiV2ProjectsIdTestPlansSearchPostRequest = default(ApiV2ProjectsIdTestPlansSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ProjectsIdTestPlansSearchPostWithHttpInfoAsync(id, mustUpdateCache, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdTestPlansSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ProjectsIdTestPlansSearchPostWithHttpInfoAsync(id, mustUpdateCache, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdTestPlansSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get Project TestPlans with analytics <br>Use case <br>User sets project internal or global identifier <br>User sets request body <br>User runs method execution <br>System returns project testplans with analytics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// Amount of items to be skipped (offset) (optional) @@ -5672,14 +5672,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestPlanWithAnalyticModel>) - public async System.Threading.Tasks.Task>> ApiV2ProjectsIdTestPlansSearchPostWithHttpInfoAsync(string id, bool? mustUpdateCache = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdTestPlansSearchPostRequest apiV2ProjectsIdTestPlansSearchPostRequest = default(ApiV2ProjectsIdTestPlansSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ProjectsIdTestPlansSearchPostWithHttpInfoAsync(string id, bool? mustUpdateCache = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdTestPlansSearchPostRequest apiV2ProjectsIdTestPlansSearchPostRequest = default(ApiV2ProjectsIdTestPlansSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansSearchPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestPlansSearchPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -5691,36 +5691,36 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (mustUpdateCache != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "mustUpdateCache", mustUpdateCache)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "mustUpdateCache", mustUpdateCache)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ProjectsIdTestPlansSearchPostRequest; @@ -5746,28 +5746,28 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsIdTestPlansNameExists /// /// Get active Project TestRuns <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns active testruns /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// List<PublicTestRunModel> public List ApiV2ProjectsIdTestRunsActiveGet(string id) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ProjectsIdTestRunsActiveGetWithHttpInfo(id); + ApiResponse> localVarResponse = ApiV2ProjectsIdTestRunsActiveGetWithHttpInfo(id); return localVarResponse.Data; } /// /// Get active Project TestRuns <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns active testruns /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of List<PublicTestRunModel> - public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdTestRunsActiveGetWithHttpInfo(string id) + public ApiResponse> ApiV2ProjectsIdTestRunsActiveGetWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestRunsActiveGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestRunsActiveGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5777,13 +5777,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5806,31 +5806,31 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// /// Get active Project TestRuns <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns active testruns /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<PublicTestRunModel> public async System.Threading.Tasks.Task> ApiV2ProjectsIdTestRunsActiveGetAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ProjectsIdTestRunsActiveGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ProjectsIdTestRunsActiveGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get active Project TestRuns <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System returns active testruns /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<PublicTestRunModel>) - public async System.Threading.Tasks.Task>> ApiV2ProjectsIdTestRunsActiveGetWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ProjectsIdTestRunsActiveGetWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestRunsActiveGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestRunsActiveGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5841,13 +5841,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5871,7 +5871,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// /// Get Project TestRuns full models <br>Use case <br>User sets project internal or global identifier <br>User sets query params <br>User runs method execution <br>System returns project test runs full models /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// (optional, default to true) @@ -5890,14 +5890,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// List<TestRunModel> public List ApiV2ProjectsIdTestRunsFullGet(string id, bool? includeTestResults = default(bool?), bool? mustAggregateTestResults = default(bool?), bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), DateTime? createdDateFrom = default(DateTime?), DateTime? createdDateTo = default(DateTime?), Guid? testPlanId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ProjectsIdTestRunsFullGetWithHttpInfo(id, includeTestResults, mustAggregateTestResults, notStarted, inProgress, stopped, completed, createdDateFrom, createdDateTo, testPlanId, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = ApiV2ProjectsIdTestRunsFullGetWithHttpInfo(id, includeTestResults, mustAggregateTestResults, notStarted, inProgress, stopped, completed, createdDateFrom, createdDateTo, testPlanId, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get Project TestRuns full models <br>Use case <br>User sets project internal or global identifier <br>User sets query params <br>User runs method execution <br>System returns project test runs full models /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// (optional, default to true) @@ -5914,13 +5914,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<TestRunModel> - public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdTestRunsFullGetWithHttpInfo(string id, bool? includeTestResults = default(bool?), bool? mustAggregateTestResults = default(bool?), bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), DateTime? createdDateFrom = default(DateTime?), DateTime? createdDateTo = default(DateTime?), Guid? testPlanId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> ApiV2ProjectsIdTestRunsFullGetWithHttpInfo(string id, bool? includeTestResults = default(bool?), bool? mustAggregateTestResults = default(bool?), bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), DateTime? createdDateFrom = default(DateTime?), DateTime? createdDateTo = default(DateTime?), Guid? testPlanId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestRunsFullGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestRunsFullGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5930,68 +5930,68 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (includeTestResults != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeTestResults", includeTestResults)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeTestResults", includeTestResults)); } if (mustAggregateTestResults != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "mustAggregateTestResults", mustAggregateTestResults)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "mustAggregateTestResults", mustAggregateTestResults)); } if (notStarted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "notStarted", notStarted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "notStarted", notStarted)); } if (inProgress != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "inProgress", inProgress)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "inProgress", inProgress)); } if (stopped != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "stopped", stopped)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "stopped", stopped)); } if (completed != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "completed", completed)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "completed", completed)); } if (createdDateFrom != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "createdDateFrom", createdDateFrom)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "createdDateFrom", createdDateFrom)); } if (createdDateTo != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "createdDateTo", createdDateTo)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "createdDateTo", createdDateTo)); } if (testPlanId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "testPlanId", testPlanId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "testPlanId", testPlanId)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -6015,7 +6015,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// /// Get Project TestRuns full models <br>Use case <br>User sets project internal or global identifier <br>User sets query params <br>User runs method execution <br>System returns project test runs full models /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// (optional, default to true) @@ -6035,14 +6035,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// Task of List<TestRunModel> public async System.Threading.Tasks.Task> ApiV2ProjectsIdTestRunsFullGetAsync(string id, bool? includeTestResults = default(bool?), bool? mustAggregateTestResults = default(bool?), bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), DateTime? createdDateFrom = default(DateTime?), DateTime? createdDateTo = default(DateTime?), Guid? testPlanId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ProjectsIdTestRunsFullGetWithHttpInfoAsync(id, includeTestResults, mustAggregateTestResults, notStarted, inProgress, stopped, completed, createdDateFrom, createdDateTo, testPlanId, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ProjectsIdTestRunsFullGetWithHttpInfoAsync(id, includeTestResults, mustAggregateTestResults, notStarted, inProgress, stopped, completed, createdDateFrom, createdDateTo, testPlanId, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get Project TestRuns full models <br>Use case <br>User sets project internal or global identifier <br>User sets query params <br>User runs method execution <br>System returns project test runs full models /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional, default to false) /// (optional, default to true) @@ -6060,14 +6060,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestRunModel>) - public async System.Threading.Tasks.Task>> ApiV2ProjectsIdTestRunsFullGetWithHttpInfoAsync(string id, bool? includeTestResults = default(bool?), bool? mustAggregateTestResults = default(bool?), bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), DateTime? createdDateFrom = default(DateTime?), DateTime? createdDateTo = default(DateTime?), Guid? testPlanId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ProjectsIdTestRunsFullGetWithHttpInfoAsync(string id, bool? includeTestResults = default(bool?), bool? mustAggregateTestResults = default(bool?), bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), DateTime? createdDateFrom = default(DateTime?), DateTime? createdDateTo = default(DateTime?), Guid? testPlanId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestRunsFullGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdTestRunsFullGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6078,68 +6078,68 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (includeTestResults != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeTestResults", includeTestResults)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeTestResults", includeTestResults)); } if (mustAggregateTestResults != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "mustAggregateTestResults", mustAggregateTestResults)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "mustAggregateTestResults", mustAggregateTestResults)); } if (notStarted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "notStarted", notStarted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "notStarted", notStarted)); } if (inProgress != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "inProgress", inProgress)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "inProgress", inProgress)); } if (stopped != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "stopped", stopped)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "stopped", stopped)); } if (completed != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "completed", completed)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "completed", completed)); } if (createdDateFrom != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "createdDateFrom", createdDateFrom)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "createdDateFrom", createdDateFrom)); } if (createdDateTo != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "createdDateTo", createdDateTo)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "createdDateTo", createdDateTo)); } if (testPlanId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "testPlanId", testPlanId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "testPlanId", testPlanId)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -6162,9 +6162,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI } /// - /// Search for work items and extract IDs only + /// Search for work items and extract IDs only /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -6175,14 +6175,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// List<Guid> public List ApiV2ProjectsIdWorkItemsSearchIdPost(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdWorkItemsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdWorkItemsSearchPostRequest); return localVarResponse.Data; } /// - /// Search for work items and extract IDs only + /// Search for work items and extract IDs only /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -6191,13 +6191,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// Value for searching (optional) /// (optional) /// ApiResponse of List<Guid> - public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) + public ApiResponse> ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdWorkItemsSearchIdPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdWorkItemsSearchIdPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -6208,32 +6208,32 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ProjectsIdWorkItemsSearchPostRequest; @@ -6256,9 +6256,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI } /// - /// Search for work items and extract IDs only + /// Search for work items and extract IDs only /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -6270,14 +6270,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// Task of List<Guid> public async System.Threading.Tasks.Task> ApiV2ProjectsIdWorkItemsSearchIdPostAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdWorkItemsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdWorkItemsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for work items and extract IDs only + /// Search for work items and extract IDs only /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -6287,14 +6287,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Guid>) - public async System.Threading.Tasks.Task>> ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdWorkItemsSearchIdPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdWorkItemsSearchIdPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -6306,32 +6306,32 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ProjectsIdWorkItemsSearchPostRequest; @@ -6355,9 +6355,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI } /// - /// Search for work items + /// Search for work items /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -6368,14 +6368,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// List<WorkItemShortModel> public List ApiV2ProjectsIdWorkItemsSearchPost(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdWorkItemsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdWorkItemsSearchPostRequest); return localVarResponse.Data; } /// - /// Search for work items + /// Search for work items /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -6384,13 +6384,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// Value for searching (optional) /// (optional) /// ApiResponse of List<WorkItemShortModel> - public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) + public ApiResponse> ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdWorkItemsSearchPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdWorkItemsSearchPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -6401,32 +6401,32 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ProjectsIdWorkItemsSearchPostRequest; @@ -6449,9 +6449,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI } /// - /// Search for work items + /// Search for work items /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -6463,14 +6463,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// Task of List<WorkItemShortModel> public async System.Threading.Tasks.Task> ApiV2ProjectsIdWorkItemsSearchPostAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdWorkItemsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdWorkItemsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for work items + /// Search for work items /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -6480,14 +6480,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WorkItemShortModel>) - public async System.Threading.Tasks.Task>> ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdWorkItemsSearchPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ApiV2ProjectsIdWorkItemsSearchPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -6499,32 +6499,32 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ProjectsIdWorkItemsSearchPostRequest; @@ -6550,26 +6550,26 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// /// Get WorkItems Tags <br>Use case <br>User sets project internal identifier <br>User runs method execution <br>System returns work items tags /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// List<TagShortModel> public List ApiV2ProjectsIdWorkItemsTagsGet(Guid id, bool? isDeleted = default(bool?)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfo(id, isDeleted); + ApiResponse> localVarResponse = ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfo(id, isDeleted); return localVarResponse.Data; } /// /// Get WorkItems Tags <br>Use case <br>User sets project internal identifier <br>User runs method execution <br>System returns work items tags /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// ApiResponse of List<TagShortModel> - public TestIt.Client.Client.ApiResponse> ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfo(Guid id, bool? isDeleted = default(bool?)) + public ApiResponse> ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfo(Guid id, bool? isDeleted = default(bool?)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6579,16 +6579,16 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } // authentication (Bearer or PrivateToken) required @@ -6612,29 +6612,29 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI /// /// Get WorkItems Tags <br>Use case <br>User sets project internal identifier <br>User runs method execution <br>System returns work items tags /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of List<TagShortModel> public async System.Threading.Tasks.Task> ApiV2ProjectsIdWorkItemsTagsGetAsync(Guid id, bool? isDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfoAsync(id, isDeleted, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfoAsync(id, isDeleted, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get WorkItems Tags <br>Use case <br>User sets project internal identifier <br>User runs method execution <br>System returns work items tags /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TagShortModel>) - public async System.Threading.Tasks.Task>> ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfoAsync(Guid id, bool? isDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfoAsync(Guid id, bool? isDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6645,16 +6645,16 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } // authentication (Bearer or PrivateToken) required @@ -6677,30 +6677,30 @@ public TestIt.Client.Client.ApiResponse> ApiV2ProjectsI } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// bool public bool ApiV2ProjectsNameNameExistsGet(string name) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2ProjectsNameNameExistsGetWithHttpInfo(name); + ApiResponse localVarResponse = ApiV2ProjectsNameNameExistsGetWithHttpInfo(name); return localVarResponse.Data; } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of bool - public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWithHttpInfo(string name) + public ApiResponse ApiV2ProjectsNameNameExistsGetWithHttpInfo(string name) { // verify the required parameter 'name' is set if (name == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'name' when calling ProjectsApi->ApiV2ProjectsNameNameExistsGet"); + throw new ApiException(400, "Missing required parameter 'name' when calling ProjectsApi->ApiV2ProjectsNameNameExistsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6710,13 +6710,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("name", TestIt.Client.Client.ClientUtils.ParameterToString(name)); // path parameter + localVarRequestOptions.PathParameters.Add("name", ClientUtils.ParameterToString(name)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -6737,33 +6737,33 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of bool public async System.Threading.Tasks.Task ApiV2ProjectsNameNameExistsGetAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2ProjectsNameNameExistsGetWithHttpInfoAsync(name, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2ProjectsNameNameExistsGetWithHttpInfoAsync(name, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (bool) - public async System.Threading.Tasks.Task> ApiV2ProjectsNameNameExistsGetWithHttpInfoAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsNameNameExistsGetWithHttpInfoAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'name' when calling ProjectsApi->ApiV2ProjectsNameNameExistsGet"); + throw new ApiException(400, "Missing required parameter 'name' when calling ProjectsApi->ApiV2ProjectsNameNameExistsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6774,13 +6774,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("name", TestIt.Client.Client.ClientUtils.ParameterToString(name)); // path parameter + localVarRequestOptions.PathParameters.Add("name", ClientUtils.ParameterToString(name)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -6802,26 +6802,26 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Purge multiple projects + /// Purge multiple projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// long public long ApiV2ProjectsPurgeBulkPost(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2ProjectsPurgeBulkPostWithHttpInfo(apiV2ProjectsRestoreBulkPostRequest); + ApiResponse localVarResponse = ApiV2ProjectsPurgeBulkPostWithHttpInfo(apiV2ProjectsRestoreBulkPostRequest); return localVarResponse.Data; } /// - /// Purge multiple projects + /// Purge multiple projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of long - public TestIt.Client.Client.ApiResponse ApiV2ProjectsPurgeBulkPostWithHttpInfo(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest)) + public ApiResponse ApiV2ProjectsPurgeBulkPostWithHttpInfo(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -6832,10 +6832,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ProjectsRestoreBulkPostRequest; @@ -6859,29 +6859,29 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Purge multiple projects + /// Purge multiple projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of long public async System.Threading.Tasks.Task ApiV2ProjectsPurgeBulkPostAsync(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2ProjectsPurgeBulkPostWithHttpInfoAsync(apiV2ProjectsRestoreBulkPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2ProjectsPurgeBulkPostWithHttpInfoAsync(apiV2ProjectsRestoreBulkPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Purge multiple projects + /// Purge multiple projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (long) - public async System.Threading.Tasks.Task> ApiV2ProjectsPurgeBulkPostWithHttpInfoAsync(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsPurgeBulkPostWithHttpInfoAsync(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -6893,10 +6893,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ProjectsRestoreBulkPostRequest; @@ -6921,26 +6921,26 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Restore multiple projects + /// Restore multiple projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// long public long ApiV2ProjectsRestoreBulkPost(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2ProjectsRestoreBulkPostWithHttpInfo(apiV2ProjectsRestoreBulkPostRequest); + ApiResponse localVarResponse = ApiV2ProjectsRestoreBulkPostWithHttpInfo(apiV2ProjectsRestoreBulkPostRequest); return localVarResponse.Data; } /// - /// Restore multiple projects + /// Restore multiple projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of long - public TestIt.Client.Client.ApiResponse ApiV2ProjectsRestoreBulkPostWithHttpInfo(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest)) + public ApiResponse ApiV2ProjectsRestoreBulkPostWithHttpInfo(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -6951,10 +6951,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ProjectsRestoreBulkPostRequest; @@ -6978,29 +6978,29 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Restore multiple projects + /// Restore multiple projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of long public async System.Threading.Tasks.Task ApiV2ProjectsRestoreBulkPostAsync(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2ProjectsRestoreBulkPostWithHttpInfoAsync(apiV2ProjectsRestoreBulkPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2ProjectsRestoreBulkPostWithHttpInfoAsync(apiV2ProjectsRestoreBulkPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Restore multiple projects + /// Restore multiple projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (long) - public async System.Threading.Tasks.Task> ApiV2ProjectsRestoreBulkPostWithHttpInfoAsync(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2ProjectsRestoreBulkPostWithHttpInfoAsync(ApiV2ProjectsRestoreBulkPostRequest apiV2ProjectsRestoreBulkPostRequest = default(ApiV2ProjectsRestoreBulkPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -7012,10 +7012,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2ProjectsRestoreBulkPostRequest; @@ -7040,9 +7040,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Search for projects + /// Search for projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -7052,14 +7052,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// List<ProjectModel> public List ApiV2ProjectsSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsSearchPostRequest apiV2ProjectsSearchPostRequest = default(ApiV2ProjectsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2ProjectsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2ProjectsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2ProjectsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2ProjectsSearchPostRequest); return localVarResponse.Data; } /// - /// Search for projects + /// Search for projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -7067,9 +7067,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// Value for searching (optional) /// (optional) /// ApiResponse of List<ProjectModel> - public TestIt.Client.Client.ApiResponse> ApiV2ProjectsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsSearchPostRequest apiV2ProjectsSearchPostRequest = default(ApiV2ProjectsSearchPostRequest)) + public ApiResponse> ApiV2ProjectsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsSearchPostRequest apiV2ProjectsSearchPostRequest = default(ApiV2ProjectsSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -7080,31 +7080,31 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ProjectsSearchPostRequest; @@ -7127,9 +7127,9 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Search for projects + /// Search for projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -7140,14 +7140,14 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// Task of List<ProjectModel> public async System.Threading.Tasks.Task> ApiV2ProjectsSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsSearchPostRequest apiV2ProjectsSearchPostRequest = default(ApiV2ProjectsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2ProjectsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2ProjectsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2ProjectsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2ProjectsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for projects + /// Search for projects /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -7156,10 +7156,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ProjectModel>) - public async System.Threading.Tasks.Task>> ApiV2ProjectsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsSearchPostRequest apiV2ProjectsSearchPostRequest = default(ApiV2ProjectsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2ProjectsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsSearchPostRequest apiV2ProjectsSearchPostRequest = default(ApiV2ProjectsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -7171,31 +7171,31 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ProjectsSearchPostRequest; @@ -7219,26 +7219,26 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Import project from JSON file in background job + /// Import project from JSON file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Guid public Guid BackgroundImportProject(FileParameter file = default(FileParameter)) { - TestIt.Client.Client.ApiResponse localVarResponse = BackgroundImportProjectWithHttpInfo(file); + ApiResponse localVarResponse = BackgroundImportProjectWithHttpInfo(file); return localVarResponse.Data; } /// - /// Import project from JSON file in background job + /// Import project from JSON file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Guid - public TestIt.Client.Client.ApiResponse BackgroundImportProjectWithHttpInfo(FileParameter file = default(FileParameter)) + public ApiResponse BackgroundImportProjectWithHttpInfo(FileParameter file = default(FileParameter)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data", @@ -7250,10 +7250,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (file != null) @@ -7280,32 +7280,32 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Import project from JSON file in background job + /// Import project from JSON file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of Guid public async System.Threading.Tasks.Task BackgroundImportProjectAsync(FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await BackgroundImportProjectWithHttpInfoAsync(file, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await BackgroundImportProjectWithHttpInfoAsync(file, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Import project from JSON file in background job + /// Import project from JSON file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (Guid) - public async System.Threading.Tasks.Task> BackgroundImportProjectWithHttpInfoAsync(FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> BackgroundImportProjectWithHttpInfoAsync(FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { - "multipart/form-data", + "multipart/form-data", "application/json" }; @@ -7315,10 +7315,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (file != null) @@ -7346,32 +7346,32 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Import project from JSON file into existing project in background job + /// Import project from JSON file into existing project in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// Guid public Guid BackgroundImportToExistingProject(string id, FileParameter file = default(FileParameter)) { - TestIt.Client.Client.ApiResponse localVarResponse = BackgroundImportToExistingProjectWithHttpInfo(id, file); + ApiResponse localVarResponse = BackgroundImportToExistingProjectWithHttpInfo(id, file); return localVarResponse.Data; } /// - /// Import project from JSON file into existing project in background job + /// Import project from JSON file into existing project in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// ApiResponse of Guid - public TestIt.Client.Client.ApiResponse BackgroundImportToExistingProjectWithHttpInfo(string id, FileParameter file = default(FileParameter)) + public ApiResponse BackgroundImportToExistingProjectWithHttpInfo(string id, FileParameter file = default(FileParameter)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->BackgroundImportToExistingProject"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->BackgroundImportToExistingProject"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -7382,13 +7382,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (file != null) { localVarRequestOptions.FileParameters.Add("file", file); @@ -7413,35 +7413,35 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Import project from JSON file into existing project in background job + /// Import project from JSON file into existing project in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// Cancellation Token to cancel the request. /// Task of Guid public async System.Threading.Tasks.Task BackgroundImportToExistingProjectAsync(string id, FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await BackgroundImportToExistingProjectWithHttpInfoAsync(id, file, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await BackgroundImportToExistingProjectWithHttpInfoAsync(id, file, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Import project from JSON file into existing project in background job + /// Import project from JSON file into existing project in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (Guid) - public async System.Threading.Tasks.Task> BackgroundImportToExistingProjectWithHttpInfoAsync(string id, FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> BackgroundImportToExistingProjectWithHttpInfoAsync(string id, FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->BackgroundImportToExistingProject"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->BackgroundImportToExistingProject"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -7453,13 +7453,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (file != null) { localVarRequestOptions.FileParameters.Add("file", file); @@ -7485,26 +7485,26 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Import project from Zip file in background job + /// Import project from Zip file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Guid public Guid BackgroundImportZipProject(FileParameter file = default(FileParameter)) { - TestIt.Client.Client.ApiResponse localVarResponse = BackgroundImportZipProjectWithHttpInfo(file); + ApiResponse localVarResponse = BackgroundImportZipProjectWithHttpInfo(file); return localVarResponse.Data; } /// - /// Import project from Zip file in background job + /// Import project from Zip file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Guid - public TestIt.Client.Client.ApiResponse BackgroundImportZipProjectWithHttpInfo(FileParameter file = default(FileParameter)) + public ApiResponse BackgroundImportZipProjectWithHttpInfo(FileParameter file = default(FileParameter)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data", @@ -7516,10 +7516,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (file != null) @@ -7546,32 +7546,32 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Import project from Zip file in background job + /// Import project from Zip file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of Guid public async System.Threading.Tasks.Task BackgroundImportZipProjectAsync(FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await BackgroundImportZipProjectWithHttpInfoAsync(file, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await BackgroundImportZipProjectWithHttpInfoAsync(file, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Import project from Zip file in background job + /// Import project from Zip file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (Guid) - public async System.Threading.Tasks.Task> BackgroundImportZipProjectWithHttpInfoAsync(FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> BackgroundImportZipProjectWithHttpInfoAsync(FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { - "multipart/form-data", + "multipart/form-data", "application/json" }; @@ -7581,10 +7581,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (file != null) @@ -7612,32 +7612,32 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Import project from Zip file into existing project in background job + /// Import project from Zip file into existing project in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// Guid public Guid BackgroundImportZipToExistingProject(string id, FileParameter file = default(FileParameter)) { - TestIt.Client.Client.ApiResponse localVarResponse = BackgroundImportZipToExistingProjectWithHttpInfo(id, file); + ApiResponse localVarResponse = BackgroundImportZipToExistingProjectWithHttpInfo(id, file); return localVarResponse.Data; } /// - /// Import project from Zip file into existing project in background job + /// Import project from Zip file into existing project in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// ApiResponse of Guid - public TestIt.Client.Client.ApiResponse BackgroundImportZipToExistingProjectWithHttpInfo(string id, FileParameter file = default(FileParameter)) + public ApiResponse BackgroundImportZipToExistingProjectWithHttpInfo(string id, FileParameter file = default(FileParameter)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->BackgroundImportZipToExistingProject"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->BackgroundImportZipToExistingProject"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -7648,13 +7648,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (file != null) { localVarRequestOptions.FileParameters.Add("file", file); @@ -7679,35 +7679,35 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith } /// - /// Import project from Zip file into existing project in background job + /// Import project from Zip file into existing project in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// Cancellation Token to cancel the request. /// Task of Guid public async System.Threading.Tasks.Task BackgroundImportZipToExistingProjectAsync(string id, FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await BackgroundImportZipToExistingProjectWithHttpInfoAsync(id, file, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await BackgroundImportZipToExistingProjectWithHttpInfoAsync(id, file, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Import project from Zip file into existing project in background job + /// Import project from Zip file into existing project in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Select file (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (Guid) - public async System.Threading.Tasks.Task> BackgroundImportZipToExistingProjectWithHttpInfoAsync(string id, FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> BackgroundImportZipToExistingProjectWithHttpInfoAsync(string id, FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->BackgroundImportZipToExistingProject"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->BackgroundImportZipToExistingProject"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -7719,13 +7719,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (file != null) { localVarRequestOptions.FileParameters.Add("file", file); @@ -7753,7 +7753,7 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// /// Add attributes to project's test plans <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>User runs method execution <br>System updates project and add attributes to project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// @@ -7765,17 +7765,17 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// /// Add attributes to project's test plans <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>User runs method execution <br>System updates project and add attributes to project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse CreateCustomAttributeTestPlanProjectRelationsWithHttpInfo(string id, List requestBody = default(List)) + public ApiResponse CreateCustomAttributeTestPlanProjectRelationsWithHttpInfo(string id, List requestBody = default(List)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->CreateCustomAttributeTestPlanProjectRelations"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->CreateCustomAttributeTestPlanProjectRelations"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -7786,13 +7786,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -7816,7 +7816,7 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// /// Add attributes to project's test plans <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>User runs method execution <br>System updates project and add attributes to project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -7829,19 +7829,19 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// /// Add attributes to project's test plans <br>Use case <br>User sets project internal or global identifier and attributes identifiers <br>User runs method execution <br>System updates project and add attributes to project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> CreateCustomAttributeTestPlanProjectRelationsWithHttpInfoAsync(string id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateCustomAttributeTestPlanProjectRelationsWithHttpInfoAsync(string id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->CreateCustomAttributeTestPlanProjectRelations"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->CreateCustomAttributeTestPlanProjectRelations"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -7853,13 +7853,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -7884,24 +7884,24 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// /// Create project <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System creates project <br>System returns project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ProjectModel public ProjectModel CreateProject(CreateProjectRequest createProjectRequest = default(CreateProjectRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateProjectWithHttpInfo(createProjectRequest); + ApiResponse localVarResponse = CreateProjectWithHttpInfo(createProjectRequest); return localVarResponse.Data; } /// /// Create project <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System creates project <br>System returns project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of ProjectModel - public TestIt.Client.Client.ApiResponse CreateProjectWithHttpInfo(CreateProjectRequest createProjectRequest = default(CreateProjectRequest)) + public ApiResponse CreateProjectWithHttpInfo(CreateProjectRequest createProjectRequest = default(CreateProjectRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -7912,10 +7912,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createProjectRequest; @@ -7941,27 +7941,27 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// /// Create project <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System creates project <br>System returns project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ProjectModel public async System.Threading.Tasks.Task CreateProjectAsync(CreateProjectRequest createProjectRequest = default(CreateProjectRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateProjectWithHttpInfoAsync(createProjectRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateProjectWithHttpInfoAsync(createProjectRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create project <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System creates project <br>System returns project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (ProjectModel) - public async System.Threading.Tasks.Task> CreateProjectWithHttpInfoAsync(CreateProjectRequest createProjectRequest = default(CreateProjectRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateProjectWithHttpInfoAsync(CreateProjectRequest createProjectRequest = default(CreateProjectRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -7973,10 +7973,10 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createProjectRequest; @@ -8003,30 +8003,30 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// /// Create project attribute <br>Use case <br>User sets attribute parameters (listed in request example) and runs method execution <br>System search project <br>System creates attribute and relates it to the project <br>System returns project attribute properties (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// CustomAttributeModel public CustomAttributeModel CreateProjectsAttribute(string id, CreateProjectsAttributeRequest createProjectsAttributeRequest = default(CreateProjectsAttributeRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateProjectsAttributeWithHttpInfo(id, createProjectsAttributeRequest); + ApiResponse localVarResponse = CreateProjectsAttributeWithHttpInfo(id, createProjectsAttributeRequest); return localVarResponse.Data; } /// /// Create project attribute <br>Use case <br>User sets attribute parameters (listed in request example) and runs method execution <br>System search project <br>System creates attribute and relates it to the project <br>System returns project attribute properties (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// ApiResponse of CustomAttributeModel - public TestIt.Client.Client.ApiResponse CreateProjectsAttributeWithHttpInfo(string id, CreateProjectsAttributeRequest createProjectsAttributeRequest = default(CreateProjectsAttributeRequest)) + public ApiResponse CreateProjectsAttributeWithHttpInfo(string id, CreateProjectsAttributeRequest createProjectsAttributeRequest = default(CreateProjectsAttributeRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->CreateProjectsAttribute"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->CreateProjectsAttribute"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -8037,13 +8037,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = createProjectsAttributeRequest; // authentication (Bearer or PrivateToken) required @@ -8067,33 +8067,33 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// /// Create project attribute <br>Use case <br>User sets attribute parameters (listed in request example) and runs method execution <br>System search project <br>System creates attribute and relates it to the project <br>System returns project attribute properties (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of CustomAttributeModel public async System.Threading.Tasks.Task CreateProjectsAttributeAsync(string id, CreateProjectsAttributeRequest createProjectsAttributeRequest = default(CreateProjectsAttributeRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateProjectsAttributeWithHttpInfoAsync(id, createProjectsAttributeRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateProjectsAttributeWithHttpInfoAsync(id, createProjectsAttributeRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create project attribute <br>Use case <br>User sets attribute parameters (listed in request example) and runs method execution <br>System search project <br>System creates attribute and relates it to the project <br>System returns project attribute properties (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeModel) - public async System.Threading.Tasks.Task> CreateProjectsAttributeWithHttpInfoAsync(string id, CreateProjectsAttributeRequest createProjectsAttributeRequest = default(CreateProjectsAttributeRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateProjectsAttributeWithHttpInfoAsync(string id, CreateProjectsAttributeRequest createProjectsAttributeRequest = default(CreateProjectsAttributeRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->CreateProjectsAttribute"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->CreateProjectsAttribute"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -8105,13 +8105,13 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = createProjectsAttributeRequest; // authentication (Bearer or PrivateToken) required @@ -8136,7 +8136,7 @@ public TestIt.Client.Client.ApiResponse ApiV2ProjectsNameNameExistsGetWith /// /// Delete attribute from project's test plans <br>Use case <br>User sets project internal or global identifier and attribute identifier <br>User runs method execution <br>System updates project and delete attribute from project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// /// @@ -8148,17 +8148,17 @@ public void DeleteCustomAttributeTestPlanProjectRelations(string id, Guid attrib /// /// Delete attribute from project's test plans <br>Use case <br>User sets project internal or global identifier and attribute identifier <br>User runs method execution <br>System updates project and delete attribute from project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteCustomAttributeTestPlanProjectRelationsWithHttpInfo(string id, Guid attributeId) + public ApiResponse DeleteCustomAttributeTestPlanProjectRelationsWithHttpInfo(string id, Guid attributeId) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->DeleteCustomAttributeTestPlanProjectRelations"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->DeleteCustomAttributeTestPlanProjectRelations"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8168,14 +8168,14 @@ public TestIt.Client.Client.ApiResponse DeleteCustomAttributeTestPlanPro "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("attributeId", TestIt.Client.Client.ClientUtils.ParameterToString(attributeId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attributeId", ClientUtils.ParameterToString(attributeId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -8198,7 +8198,7 @@ public TestIt.Client.Client.ApiResponse DeleteCustomAttributeTestPlanPro /// /// Delete attribute from project's test plans <br>Use case <br>User sets project internal or global identifier and attribute identifier <br>User runs method execution <br>System updates project and delete attribute from project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// /// Cancellation Token to cancel the request. @@ -8211,19 +8211,19 @@ public TestIt.Client.Client.ApiResponse DeleteCustomAttributeTestPlanPro /// /// Delete attribute from project's test plans <br>Use case <br>User sets project internal or global identifier and attribute identifier <br>User runs method execution <br>System updates project and delete attribute from project for test plans <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteCustomAttributeTestPlanProjectRelationsWithHttpInfoAsync(string id, Guid attributeId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteCustomAttributeTestPlanProjectRelationsWithHttpInfoAsync(string id, Guid attributeId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->DeleteCustomAttributeTestPlanProjectRelations"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->DeleteCustomAttributeTestPlanProjectRelations"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8234,14 +8234,14 @@ public TestIt.Client.Client.ApiResponse DeleteCustomAttributeTestPlanPro }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("attributeId", TestIt.Client.Client.ClientUtils.ParameterToString(attributeId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attributeId", ClientUtils.ParameterToString(attributeId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -8263,9 +8263,9 @@ public TestIt.Client.Client.ApiResponse DeleteCustomAttributeTestPlanPro } /// - /// Delete all autotests from project + /// Delete all autotests from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// public void DeleteProjectAutoTests(string id) @@ -8274,18 +8274,18 @@ public void DeleteProjectAutoTests(string id) } /// - /// Delete all autotests from project + /// Delete all autotests from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteProjectAutoTestsWithHttpInfo(string id) + public ApiResponse DeleteProjectAutoTestsWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->DeleteProjectAutoTests"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->DeleteProjectAutoTests"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8295,13 +8295,13 @@ public TestIt.Client.Client.ApiResponse DeleteProjectAutoTestsWithHttpIn "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -8322,9 +8322,9 @@ public TestIt.Client.Client.ApiResponse DeleteProjectAutoTestsWithHttpIn } /// - /// Delete all autotests from project + /// Delete all autotests from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of void @@ -8334,20 +8334,20 @@ public TestIt.Client.Client.ApiResponse DeleteProjectAutoTestsWithHttpIn } /// - /// Delete all autotests from project + /// Delete all autotests from project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the project /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteProjectAutoTestsWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteProjectAutoTestsWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->DeleteProjectAutoTests"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->DeleteProjectAutoTests"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8358,13 +8358,13 @@ public TestIt.Client.Client.ApiResponse DeleteProjectAutoTestsWithHttpIn }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -8388,7 +8388,7 @@ public TestIt.Client.Client.ApiResponse DeleteProjectAutoTestsWithHttpIn /// /// Delete project attribute <br>Use case <br>User sets project identifier and runs method execution <br>User sets attribute identifier <br>User runs method execution <br>System search project <br>System search and delete attribute <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) /// @@ -8400,17 +8400,17 @@ public void DeleteProjectsAttribute(string id, Guid attributeId) /// /// Delete project attribute <br>Use case <br>User sets project identifier and runs method execution <br>User sets attribute identifier <br>User runs method execution <br>System search project <br>System search and delete attribute <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpInfo(string id, Guid attributeId) + public ApiResponse DeleteProjectsAttributeWithHttpInfo(string id, Guid attributeId) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->DeleteProjectsAttribute"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->DeleteProjectsAttribute"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8420,14 +8420,14 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("attributeId", TestIt.Client.Client.ClientUtils.ParameterToString(attributeId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attributeId", ClientUtils.ParameterToString(attributeId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -8450,7 +8450,7 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI /// /// Delete project attribute <br>Use case <br>User sets project identifier and runs method execution <br>User sets attribute identifier <br>User runs method execution <br>System search project <br>System search and delete attribute <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) /// Cancellation Token to cancel the request. @@ -8463,19 +8463,19 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI /// /// Delete project attribute <br>Use case <br>User sets project identifier and runs method execution <br>User sets attribute identifier <br>User runs method execution <br>System search project <br>System search and delete attribute <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteProjectsAttributeWithHttpInfoAsync(string id, Guid attributeId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteProjectsAttributeWithHttpInfoAsync(string id, Guid attributeId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->DeleteProjectsAttribute"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->DeleteProjectsAttribute"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8486,14 +8486,14 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("attributeId", TestIt.Client.Client.ClientUtils.ParameterToString(attributeId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attributeId", ClientUtils.ParameterToString(attributeId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -8515,9 +8515,9 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI } /// - /// Export project as JSON file <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. + /// Export project as JSON file <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) @@ -8525,26 +8525,26 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI [Obsolete] public FileParameter Export(string id, bool? includeAttachments = default(bool?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ExportWithHttpInfo(id, includeAttachments, exportProjectJsonRequest); + ApiResponse localVarResponse = ExportWithHttpInfo(id, includeAttachments, exportProjectJsonRequest); return localVarResponse.Data; } /// - /// Export project as JSON file <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. + /// Export project as JSON file <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) /// ApiResponse of FileParameter [Obsolete] - public TestIt.Client.Client.ApiResponse ExportWithHttpInfo(string id, bool? includeAttachments = default(bool?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest)) + public ApiResponse ExportWithHttpInfo(string id, bool? includeAttachments = default(bool?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->Export"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->Export"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -8555,16 +8555,16 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (includeAttachments != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); } localVarRequestOptions.Data = exportProjectJsonRequest; @@ -8587,9 +8587,9 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI } /// - /// Export project as JSON file <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. + /// Export project as JSON file <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) @@ -8598,28 +8598,28 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI [Obsolete] public async System.Threading.Tasks.Task ExportAsync(string id, bool? includeAttachments = default(bool?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ExportWithHttpInfoAsync(id, includeAttachments, exportProjectJsonRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ExportWithHttpInfoAsync(id, includeAttachments, exportProjectJsonRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Export project as JSON file <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. + /// Export project as JSON file <br>This method exports the selected project or its part (sections, work items) to a `.json` file. <br>In the request body, you can specify sections and test cases to be exported. <br>Example of a request to export two sections and two test cases: <br> ``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ``` <br>In the response, you get: <br> - A `.zip` file with attachments and a.json file if you enable attachments export.<br /> - A `.json` file with the project if you do not enable attachments export. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (FileParameter) [Obsolete] - public async System.Threading.Tasks.Task> ExportWithHttpInfoAsync(string id, bool? includeAttachments = default(bool?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ExportWithHttpInfoAsync(string id, bool? includeAttachments = default(bool?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->Export"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->Export"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -8631,16 +8631,16 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (includeAttachments != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); } localVarRequestOptions.Data = exportProjectJsonRequest; @@ -8664,34 +8664,34 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI } /// - /// Export project as JSON file in background job + /// Export project as JSON file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) /// Guid public Guid ExportProjectJson(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ExportProjectJsonWithHttpInfo(id, timeZoneOffsetInMinutes, exportProjectJsonRequest); + ApiResponse localVarResponse = ExportProjectJsonWithHttpInfo(id, timeZoneOffsetInMinutes, exportProjectJsonRequest); return localVarResponse.Data; } /// - /// Export project as JSON file in background job + /// Export project as JSON file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) /// ApiResponse of Guid - public TestIt.Client.Client.ApiResponse ExportProjectJsonWithHttpInfo(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest)) + public ApiResponse ExportProjectJsonWithHttpInfo(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectJson"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectJson"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -8702,16 +8702,16 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (timeZoneOffsetInMinutes != null) { - localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", TestIt.Client.Client.ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter + localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter } localVarRequestOptions.Data = exportProjectJsonRequest; @@ -8734,9 +8734,9 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI } /// - /// Export project as JSON file in background job + /// Export project as JSON file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -8744,27 +8744,27 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI /// Task of Guid public async System.Threading.Tasks.Task ExportProjectJsonAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ExportProjectJsonWithHttpInfoAsync(id, timeZoneOffsetInMinutes, exportProjectJsonRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ExportProjectJsonWithHttpInfoAsync(id, timeZoneOffsetInMinutes, exportProjectJsonRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Export project as JSON file in background job + /// Export project as JSON file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (Guid) - public async System.Threading.Tasks.Task> ExportProjectJsonWithHttpInfoAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ExportProjectJsonWithHttpInfoAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectJson"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectJson"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -8776,16 +8776,16 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (timeZoneOffsetInMinutes != null) { - localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", TestIt.Client.Client.ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter + localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter } localVarRequestOptions.Data = exportProjectJsonRequest; @@ -8809,34 +8809,34 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI } /// - /// Export project as JSON file with test plans in background job + /// Export project as JSON file with test plans in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) /// Guid public Guid ExportProjectWithTestPlansJson(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ExportProjectWithTestPlansJsonWithHttpInfo(id, timeZoneOffsetInMinutes, exportProjectWithTestPlansJsonRequest); + ApiResponse localVarResponse = ExportProjectWithTestPlansJsonWithHttpInfo(id, timeZoneOffsetInMinutes, exportProjectWithTestPlansJsonRequest); return localVarResponse.Data; } /// - /// Export project as JSON file with test plans in background job + /// Export project as JSON file with test plans in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) /// ApiResponse of Guid - public TestIt.Client.Client.ApiResponse ExportProjectWithTestPlansJsonWithHttpInfo(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest)) + public ApiResponse ExportProjectWithTestPlansJsonWithHttpInfo(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectWithTestPlansJson"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectWithTestPlansJson"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -8847,16 +8847,16 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (timeZoneOffsetInMinutes != null) { - localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", TestIt.Client.Client.ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter + localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter } localVarRequestOptions.Data = exportProjectWithTestPlansJsonRequest; @@ -8879,9 +8879,9 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI } /// - /// Export project as JSON file with test plans in background job + /// Export project as JSON file with test plans in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -8889,27 +8889,27 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI /// Task of Guid public async System.Threading.Tasks.Task ExportProjectWithTestPlansJsonAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ExportProjectWithTestPlansJsonWithHttpInfoAsync(id, timeZoneOffsetInMinutes, exportProjectWithTestPlansJsonRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ExportProjectWithTestPlansJsonWithHttpInfoAsync(id, timeZoneOffsetInMinutes, exportProjectWithTestPlansJsonRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Export project as JSON file with test plans in background job + /// Export project as JSON file with test plans in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (Guid) - public async System.Threading.Tasks.Task> ExportProjectWithTestPlansJsonWithHttpInfoAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ExportProjectWithTestPlansJsonWithHttpInfoAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectWithTestPlansJson"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectWithTestPlansJson"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -8921,16 +8921,16 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (timeZoneOffsetInMinutes != null) { - localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", TestIt.Client.Client.ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter + localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter } localVarRequestOptions.Data = exportProjectWithTestPlansJsonRequest; @@ -8954,34 +8954,34 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI } /// - /// Export project as Zip file with test plans in background job + /// Export project as Zip file with test plans in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) /// Guid public Guid ExportProjectWithTestPlansZip(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ExportProjectWithTestPlansZipWithHttpInfo(id, timeZoneOffsetInMinutes, exportProjectWithTestPlansJsonRequest); + ApiResponse localVarResponse = ExportProjectWithTestPlansZipWithHttpInfo(id, timeZoneOffsetInMinutes, exportProjectWithTestPlansJsonRequest); return localVarResponse.Data; } /// - /// Export project as Zip file with test plans in background job + /// Export project as Zip file with test plans in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) /// ApiResponse of Guid - public TestIt.Client.Client.ApiResponse ExportProjectWithTestPlansZipWithHttpInfo(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest)) + public ApiResponse ExportProjectWithTestPlansZipWithHttpInfo(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectWithTestPlansZip"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectWithTestPlansZip"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -8992,16 +8992,16 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (timeZoneOffsetInMinutes != null) { - localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", TestIt.Client.Client.ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter + localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter } localVarRequestOptions.Data = exportProjectWithTestPlansJsonRequest; @@ -9024,9 +9024,9 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI } /// - /// Export project as Zip file with test plans in background job + /// Export project as Zip file with test plans in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -9034,27 +9034,27 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI /// Task of Guid public async System.Threading.Tasks.Task ExportProjectWithTestPlansZipAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ExportProjectWithTestPlansZipWithHttpInfoAsync(id, timeZoneOffsetInMinutes, exportProjectWithTestPlansJsonRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ExportProjectWithTestPlansZipWithHttpInfoAsync(id, timeZoneOffsetInMinutes, exportProjectWithTestPlansJsonRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Export project as Zip file with test plans in background job + /// Export project as Zip file with test plans in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (Guid) - public async System.Threading.Tasks.Task> ExportProjectWithTestPlansZipWithHttpInfoAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ExportProjectWithTestPlansZipWithHttpInfoAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectWithTestPlansZip"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectWithTestPlansZip"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -9066,16 +9066,16 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (timeZoneOffsetInMinutes != null) { - localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", TestIt.Client.Client.ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter + localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter } localVarRequestOptions.Data = exportProjectWithTestPlansJsonRequest; @@ -9099,34 +9099,34 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI } /// - /// Export project as Zip file in background job + /// Export project as Zip file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) /// Guid public Guid ExportProjectZip(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ExportProjectZipWithHttpInfo(id, timeZoneOffsetInMinutes, exportProjectJsonRequest); + ApiResponse localVarResponse = ExportProjectZipWithHttpInfo(id, timeZoneOffsetInMinutes, exportProjectJsonRequest); return localVarResponse.Data; } /// - /// Export project as Zip file in background job + /// Export project as Zip file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) /// ApiResponse of Guid - public TestIt.Client.Client.ApiResponse ExportProjectZipWithHttpInfo(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest)) + public ApiResponse ExportProjectZipWithHttpInfo(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectZip"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectZip"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -9137,16 +9137,16 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (timeZoneOffsetInMinutes != null) { - localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", TestIt.Client.Client.ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter + localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter } localVarRequestOptions.Data = exportProjectJsonRequest; @@ -9169,9 +9169,9 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI } /// - /// Export project as Zip file in background job + /// Export project as Zip file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -9179,27 +9179,27 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI /// Task of Guid public async System.Threading.Tasks.Task ExportProjectZipAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ExportProjectZipWithHttpInfoAsync(id, timeZoneOffsetInMinutes, exportProjectJsonRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ExportProjectZipWithHttpInfoAsync(id, timeZoneOffsetInMinutes, exportProjectJsonRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Export project as Zip file in background job + /// Export project as Zip file in background job /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (Guid) - public async System.Threading.Tasks.Task> ExportProjectZipWithHttpInfoAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ExportProjectZipWithHttpInfoAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ExportProjectJsonRequest exportProjectJsonRequest = default(ExportProjectJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectZip"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportProjectZip"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -9211,16 +9211,16 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (timeZoneOffsetInMinutes != null) { - localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", TestIt.Client.Client.ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter + localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter } localVarRequestOptions.Data = exportProjectJsonRequest; @@ -9244,9 +9244,9 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI } /// - /// Export project with test plans, test suites and test points as JSON file <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. + /// Export project with test plans, test suites and test points as JSON file <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) @@ -9254,26 +9254,26 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI [Obsolete] public FileParameter ExportWithTestPlansAndConfigurations(string id, bool? includeAttachments = default(bool?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ExportWithTestPlansAndConfigurationsWithHttpInfo(id, includeAttachments, exportProjectWithTestPlansJsonRequest); + ApiResponse localVarResponse = ExportWithTestPlansAndConfigurationsWithHttpInfo(id, includeAttachments, exportProjectWithTestPlansJsonRequest); return localVarResponse.Data; } /// - /// Export project with test plans, test suites and test points as JSON file <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. + /// Export project with test plans, test suites and test points as JSON file <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) /// ApiResponse of FileParameter [Obsolete] - public TestIt.Client.Client.ApiResponse ExportWithTestPlansAndConfigurationsWithHttpInfo(string id, bool? includeAttachments = default(bool?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest)) + public ApiResponse ExportWithTestPlansAndConfigurationsWithHttpInfo(string id, bool? includeAttachments = default(bool?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportWithTestPlansAndConfigurations"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportWithTestPlansAndConfigurations"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -9284,16 +9284,16 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (includeAttachments != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); } localVarRequestOptions.Data = exportProjectWithTestPlansJsonRequest; @@ -9316,9 +9316,9 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI } /// - /// Export project with test plans, test suites and test points as JSON file <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. + /// Export project with test plans, test suites and test points as JSON file <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) @@ -9327,28 +9327,28 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI [Obsolete] public async System.Threading.Tasks.Task ExportWithTestPlansAndConfigurationsAsync(string id, bool? includeAttachments = default(bool?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ExportWithTestPlansAndConfigurationsWithHttpInfoAsync(id, includeAttachments, exportProjectWithTestPlansJsonRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ExportWithTestPlansAndConfigurationsWithHttpInfoAsync(id, includeAttachments, exportProjectWithTestPlansJsonRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Export project with test plans, test suites and test points as JSON file <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. + /// Export project with test plans, test suites and test points as JSON file <br> <b>You cannot export test cases execution history.</b> <br>This method exports the project with the test library and specified test plans to another TMS instance. <br> After sending a correct request, the project is exported to a `.json` file. If you enable attachment export, the `.json` file and the attachments are placed in a `.zip` file. You can import such a project by using the `POST /api/v2/projects/import` method. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Specifies the ID of the project you want to export. /// Enables attachment export. (optional, default to false) /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (FileParameter) [Obsolete] - public async System.Threading.Tasks.Task> ExportWithTestPlansAndConfigurationsWithHttpInfoAsync(string id, bool? includeAttachments = default(bool?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ExportWithTestPlansAndConfigurationsWithHttpInfoAsync(string id, bool? includeAttachments = default(bool?), ExportProjectWithTestPlansJsonRequest exportProjectWithTestPlansJsonRequest = default(ExportProjectWithTestPlansJsonRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportWithTestPlansAndConfigurations"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ExportWithTestPlansAndConfigurations"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -9360,16 +9360,16 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (includeAttachments != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); } localVarRequestOptions.Data = exportProjectWithTestPlansJsonRequest; @@ -9395,7 +9395,7 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI /// /// Get all projects <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted projects <br>[Optional] If User sets isDeleted field value as false, System search all projects which are not deleted <br>If User did not set isDeleted field value, System search all projects <br>System returns array of all found projects(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -9407,14 +9407,14 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI [Obsolete] public List GetAllProjects(bool? isDeleted = default(bool?), string projectName = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetAllProjectsWithHttpInfo(isDeleted, projectName, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = GetAllProjectsWithHttpInfo(isDeleted, projectName, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get all projects <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted projects <br>[Optional] If User sets isDeleted field value as false, System search all projects which are not deleted <br>If User did not set isDeleted field value, System search all projects <br>System returns array of all found projects(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -9424,9 +9424,9 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI /// Value for searching (optional) /// ApiResponse of List<ProjectModel> [Obsolete] - public TestIt.Client.Client.ApiResponse> GetAllProjectsWithHttpInfo(bool? isDeleted = default(bool?), string projectName = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> GetAllProjectsWithHttpInfo(bool? isDeleted = default(bool?), string projectName = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9436,39 +9436,39 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (projectName != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "projectName", projectName)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "projectName", projectName)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -9492,7 +9492,7 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI /// /// Get all projects <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted projects <br>[Optional] If User sets isDeleted field value as false, System search all projects which are not deleted <br>If User did not set isDeleted field value, System search all projects <br>System returns array of all found projects(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -9505,14 +9505,14 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI [Obsolete] public async System.Threading.Tasks.Task> GetAllProjectsAsync(bool? isDeleted = default(bool?), string projectName = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetAllProjectsWithHttpInfoAsync(isDeleted, projectName, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetAllProjectsWithHttpInfoAsync(isDeleted, projectName, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get all projects <br>Use case <br>[Optional] User sets isDeleted field value <br>[Optional] If User sets isDeleted field value as true, System search all deleted projects <br>[Optional] If User sets isDeleted field value as false, System search all projects which are not deleted <br>If User did not set isDeleted field value, System search all projects <br>System returns array of all found projects(listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// If result must consist of only actual/deleted parameters (optional) /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -9523,10 +9523,10 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ProjectModel>) [Obsolete] - public async System.Threading.Tasks.Task>> GetAllProjectsWithHttpInfoAsync(bool? isDeleted = default(bool?), string projectName = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetAllProjectsWithHttpInfoAsync(bool? isDeleted = default(bool?), string projectName = default(string), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9537,39 +9537,39 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (projectName != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "projectName", projectName)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "projectName", projectName)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -9594,30 +9594,30 @@ public TestIt.Client.Client.ApiResponse DeleteProjectsAttributeWithHttpI /// /// Get project attribute <br>Use case <br>User sets project internal or global identifier <br>User sets project attribute identifier <br>User runs method execution <br>System search project <br>System search project attribute <br>System returns project attribute (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) or global (integer) identifier /// CustomAttributeModel public CustomAttributeModel GetAttributeByProjectId(string id, Guid attributeId) { - TestIt.Client.Client.ApiResponse localVarResponse = GetAttributeByProjectIdWithHttpInfo(id, attributeId); + ApiResponse localVarResponse = GetAttributeByProjectIdWithHttpInfo(id, attributeId); return localVarResponse.Data; } /// /// Get project attribute <br>Use case <br>User sets project internal or global identifier <br>User sets project attribute identifier <br>User runs method execution <br>System search project <br>System search project attribute <br>System returns project attribute (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) or global (integer) identifier /// ApiResponse of CustomAttributeModel - public TestIt.Client.Client.ApiResponse GetAttributeByProjectIdWithHttpInfo(string id, Guid attributeId) + public ApiResponse GetAttributeByProjectIdWithHttpInfo(string id, Guid attributeId) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetAttributeByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetAttributeByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9627,14 +9627,14 @@ public TestIt.Client.Client.ApiResponse GetAttributeByProj "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("attributeId", TestIt.Client.Client.ClientUtils.ParameterToString(attributeId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attributeId", ClientUtils.ParameterToString(attributeId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -9657,33 +9657,33 @@ public TestIt.Client.Client.ApiResponse GetAttributeByProj /// /// Get project attribute <br>Use case <br>User sets project internal or global identifier <br>User sets project attribute identifier <br>User runs method execution <br>System search project <br>System search project attribute <br>System returns project attribute (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of CustomAttributeModel public async System.Threading.Tasks.Task GetAttributeByProjectIdAsync(string id, Guid attributeId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetAttributeByProjectIdWithHttpInfoAsync(id, attributeId, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetAttributeByProjectIdWithHttpInfoAsync(id, attributeId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get project attribute <br>Use case <br>User sets project internal or global identifier <br>User sets project attribute identifier <br>User runs method execution <br>System search project <br>System search project attribute <br>System returns project attribute (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Project attribute internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (CustomAttributeModel) - public async System.Threading.Tasks.Task> GetAttributeByProjectIdWithHttpInfoAsync(string id, Guid attributeId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetAttributeByProjectIdWithHttpInfoAsync(string id, Guid attributeId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetAttributeByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetAttributeByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9694,14 +9694,14 @@ public TestIt.Client.Client.ApiResponse GetAttributeByProj }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("attributeId", TestIt.Client.Client.ClientUtils.ParameterToString(attributeId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attributeId", ClientUtils.ParameterToString(attributeId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -9725,30 +9725,30 @@ public TestIt.Client.Client.ApiResponse GetAttributeByProj /// /// Get project attributes <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted attributes related to project <br>[Optional] If User sets isDeleted field value as false, System search all attributes related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all attributes related to project <br>System returns array of found attributes (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// List<CustomAttributeModel> public List GetAttributesByProjectId(string id, DeletionState? isDeleted = default(DeletionState?)) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetAttributesByProjectIdWithHttpInfo(id, isDeleted); + ApiResponse> localVarResponse = GetAttributesByProjectIdWithHttpInfo(id, isDeleted); return localVarResponse.Data; } /// /// Get project attributes <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted attributes related to project <br>[Optional] If User sets isDeleted field value as false, System search all attributes related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all attributes related to project <br>System returns array of found attributes (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// ApiResponse of List<CustomAttributeModel> - public TestIt.Client.Client.ApiResponse> GetAttributesByProjectIdWithHttpInfo(string id, DeletionState? isDeleted = default(DeletionState?)) + public ApiResponse> GetAttributesByProjectIdWithHttpInfo(string id, DeletionState? isDeleted = default(DeletionState?)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetAttributesByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetAttributesByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9758,16 +9758,16 @@ public TestIt.Client.Client.ApiResponse GetAttributeByProj "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } // authentication (Bearer or PrivateToken) required @@ -9791,33 +9791,33 @@ public TestIt.Client.Client.ApiResponse GetAttributeByProj /// /// Get project attributes <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted attributes related to project <br>[Optional] If User sets isDeleted field value as false, System search all attributes related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all attributes related to project <br>System returns array of found attributes (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of List<CustomAttributeModel> public async System.Threading.Tasks.Task> GetAttributesByProjectIdAsync(string id, DeletionState? isDeleted = default(DeletionState?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetAttributesByProjectIdWithHttpInfoAsync(id, isDeleted, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetAttributesByProjectIdWithHttpInfoAsync(id, isDeleted, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get project attributes <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted attributes related to project <br>[Optional] If User sets isDeleted field value as false, System search all attributes related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all attributes related to project <br>System returns array of found attributes (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<CustomAttributeModel>) - public async System.Threading.Tasks.Task>> GetAttributesByProjectIdWithHttpInfoAsync(string id, DeletionState? isDeleted = default(DeletionState?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetAttributesByProjectIdWithHttpInfoAsync(string id, DeletionState? isDeleted = default(DeletionState?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetAttributesByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetAttributesByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9828,16 +9828,16 @@ public TestIt.Client.Client.ApiResponse GetAttributeByProj }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } // authentication (Bearer or PrivateToken) required @@ -9862,28 +9862,28 @@ public TestIt.Client.Client.ApiResponse GetAttributeByProj /// /// Get namespaces of autotests in project <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all autotest related to the project <br>System returns array of autotest with namespaces and classnames (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// List<AutoTestNamespaceModel> public List GetAutoTestsNamespaces(string id) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetAutoTestsNamespacesWithHttpInfo(id); + ApiResponse> localVarResponse = GetAutoTestsNamespacesWithHttpInfo(id); return localVarResponse.Data; } /// /// Get namespaces of autotests in project <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all autotest related to the project <br>System returns array of autotest with namespaces and classnames (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of List<AutoTestNamespaceModel> - public TestIt.Client.Client.ApiResponse> GetAutoTestsNamespacesWithHttpInfo(string id) + public ApiResponse> GetAutoTestsNamespacesWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetAutoTestsNamespaces"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetAutoTestsNamespaces"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9893,13 +9893,13 @@ public TestIt.Client.Client.ApiResponse> GetAutoTes "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -9922,31 +9922,31 @@ public TestIt.Client.Client.ApiResponse> GetAutoTes /// /// Get namespaces of autotests in project <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all autotest related to the project <br>System returns array of autotest with namespaces and classnames (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<AutoTestNamespaceModel> public async System.Threading.Tasks.Task> GetAutoTestsNamespacesAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetAutoTestsNamespacesWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetAutoTestsNamespacesWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get namespaces of autotests in project <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all autotest related to the project <br>System returns array of autotest with namespaces and classnames (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AutoTestNamespaceModel>) - public async System.Threading.Tasks.Task>> GetAutoTestsNamespacesWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetAutoTestsNamespacesWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetAutoTestsNamespaces"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetAutoTestsNamespaces"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9957,13 +9957,13 @@ public TestIt.Client.Client.ApiResponse> GetAutoTes }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -9987,28 +9987,28 @@ public TestIt.Client.Client.ApiResponse> GetAutoTes /// /// Get project configurations <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all configurations related to project <br>System returns array of found configurations (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// List<ConfigurationModel> public List GetConfigurationsByProjectId(string id) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetConfigurationsByProjectIdWithHttpInfo(id); + ApiResponse> localVarResponse = GetConfigurationsByProjectIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get project configurations <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all configurations related to project <br>System returns array of found configurations (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of List<ConfigurationModel> - public TestIt.Client.Client.ApiResponse> GetConfigurationsByProjectIdWithHttpInfo(string id) + public ApiResponse> GetConfigurationsByProjectIdWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetConfigurationsByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetConfigurationsByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10018,13 +10018,13 @@ public TestIt.Client.Client.ApiResponse> GetConfigurati "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -10047,31 +10047,31 @@ public TestIt.Client.Client.ApiResponse> GetConfigurati /// /// Get project configurations <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all configurations related to project <br>System returns array of found configurations (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<ConfigurationModel> public async System.Threading.Tasks.Task> GetConfigurationsByProjectIdAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetConfigurationsByProjectIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetConfigurationsByProjectIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get project configurations <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all configurations related to project <br>System returns array of found configurations (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ConfigurationModel>) - public async System.Threading.Tasks.Task>> GetConfigurationsByProjectIdWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetConfigurationsByProjectIdWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetConfigurationsByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetConfigurationsByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10082,13 +10082,13 @@ public TestIt.Client.Client.ApiResponse> GetConfigurati }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -10112,28 +10112,28 @@ public TestIt.Client.Client.ApiResponse> GetConfigurati /// /// Get project's test plan attributes <br>Use case <br>User runs method execution <br>System returns project for test plans attributes by project identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// List<CustomAttributeModel> public List GetCustomAttributeTestPlanProjectRelations(string id) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetCustomAttributeTestPlanProjectRelationsWithHttpInfo(id); + ApiResponse> localVarResponse = GetCustomAttributeTestPlanProjectRelationsWithHttpInfo(id); return localVarResponse.Data; } /// /// Get project's test plan attributes <br>Use case <br>User runs method execution <br>System returns project for test plans attributes by project identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of List<CustomAttributeModel> - public TestIt.Client.Client.ApiResponse> GetCustomAttributeTestPlanProjectRelationsWithHttpInfo(string id) + public ApiResponse> GetCustomAttributeTestPlanProjectRelationsWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetCustomAttributeTestPlanProjectRelations"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetCustomAttributeTestPlanProjectRelations"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10143,13 +10143,13 @@ public TestIt.Client.Client.ApiResponse> GetCustomAtt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -10172,31 +10172,31 @@ public TestIt.Client.Client.ApiResponse> GetCustomAtt /// /// Get project's test plan attributes <br>Use case <br>User runs method execution <br>System returns project for test plans attributes by project identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of List<CustomAttributeModel> public async System.Threading.Tasks.Task> GetCustomAttributeTestPlanProjectRelationsAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetCustomAttributeTestPlanProjectRelationsWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetCustomAttributeTestPlanProjectRelationsWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get project's test plan attributes <br>Use case <br>User runs method execution <br>System returns project for test plans attributes by project identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<CustomAttributeModel>) - public async System.Threading.Tasks.Task>> GetCustomAttributeTestPlanProjectRelationsWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetCustomAttributeTestPlanProjectRelationsWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetCustomAttributeTestPlanProjectRelations"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetCustomAttributeTestPlanProjectRelations"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10207,13 +10207,13 @@ public TestIt.Client.Client.ApiResponse> GetCustomAtt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -10237,28 +10237,28 @@ public TestIt.Client.Client.ApiResponse> GetCustomAtt /// /// Get project by ID <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System returns project (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ProjectModel public ProjectModel GetProjectById(string id) { - TestIt.Client.Client.ApiResponse localVarResponse = GetProjectByIdWithHttpInfo(id); + ApiResponse localVarResponse = GetProjectByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get project by ID <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System returns project (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// ApiResponse of ProjectModel - public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo(string id) + public ApiResponse GetProjectByIdWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetProjectById"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetProjectById"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10268,13 +10268,13 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -10297,31 +10297,31 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Get project by ID <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System returns project (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ProjectModel public async System.Threading.Tasks.Task GetProjectByIdAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetProjectByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetProjectByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get project by ID <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System returns project (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (ProjectModel) - public async System.Threading.Tasks.Task> GetProjectByIdWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetProjectByIdWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetProjectById"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetProjectById"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10332,13 +10332,13 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -10362,7 +10362,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Get project sections <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all sections related to the project <br>System returns array of sections (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -10372,14 +10372,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// List<SectionModel> public List GetSectionsByProjectId(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetSectionsByProjectIdWithHttpInfo(id, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = GetSectionsByProjectIdWithHttpInfo(id, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get project sections <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all sections related to the project <br>System returns array of sections (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -10387,13 +10387,13 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<SectionModel> - public TestIt.Client.Client.ApiResponse> GetSectionsByProjectIdWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> GetSectionsByProjectIdWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetSectionsByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetSectionsByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10403,32 +10403,32 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -10452,7 +10452,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Get project sections <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all sections related to the project <br>System returns array of sections (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -10463,14 +10463,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// Task of List<SectionModel> public async System.Threading.Tasks.Task> GetSectionsByProjectIdAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetSectionsByProjectIdWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetSectionsByProjectIdWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get project sections <br>Use case <br>User sets project internal or global identifier and runs method execution <br>System search project <br>System search all sections related to the project <br>System returns array of sections (listed in response) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -10479,14 +10479,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<SectionModel>) - public async System.Threading.Tasks.Task>> GetSectionsByProjectIdWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetSectionsByProjectIdWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetSectionsByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetSectionsByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10497,32 +10497,32 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -10547,30 +10547,30 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Get project test plans <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted test plans related to project <br>[Optional] If User sets isDeleted field value as false, System search all test plans related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all v related to project <br>System returns array of found test plans (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/archived test plans (optional) /// List<TestPlanModel> public List GetTestPlansByProjectId(string id, bool? isDeleted = default(bool?)) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetTestPlansByProjectIdWithHttpInfo(id, isDeleted); + ApiResponse> localVarResponse = GetTestPlansByProjectIdWithHttpInfo(id, isDeleted); return localVarResponse.Data; } /// /// Get project test plans <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted test plans related to project <br>[Optional] If User sets isDeleted field value as false, System search all test plans related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all v related to project <br>System returns array of found test plans (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/archived test plans (optional) /// ApiResponse of List<TestPlanModel> - public TestIt.Client.Client.ApiResponse> GetTestPlansByProjectIdWithHttpInfo(string id, bool? isDeleted = default(bool?)) + public ApiResponse> GetTestPlansByProjectIdWithHttpInfo(string id, bool? isDeleted = default(bool?)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetTestPlansByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetTestPlansByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10580,16 +10580,16 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } // authentication (Bearer or PrivateToken) required @@ -10613,33 +10613,33 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Get project test plans <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted test plans related to project <br>[Optional] If User sets isDeleted field value as false, System search all test plans related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all v related to project <br>System returns array of found test plans (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/archived test plans (optional) /// Cancellation Token to cancel the request. /// Task of List<TestPlanModel> public async System.Threading.Tasks.Task> GetTestPlansByProjectIdAsync(string id, bool? isDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetTestPlansByProjectIdWithHttpInfoAsync(id, isDeleted, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetTestPlansByProjectIdWithHttpInfoAsync(id, isDeleted, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get project test plans <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted test plans related to project <br>[Optional] If User sets isDeleted field value as false, System search all test plans related to project which are not deleted <br>[Optional] If User did not set isDeleted field value, System search all v related to project <br>System returns array of found test plans (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/archived test plans (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestPlanModel>) - public async System.Threading.Tasks.Task>> GetTestPlansByProjectIdWithHttpInfoAsync(string id, bool? isDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetTestPlansByProjectIdWithHttpInfoAsync(string id, bool? isDeleted = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetTestPlansByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetTestPlansByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10650,16 +10650,16 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } // authentication (Bearer or PrivateToken) required @@ -10684,7 +10684,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Get project test runs <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all test runs related to project <br>System returns array of found test runs (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -10701,14 +10701,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// List<TestRunV2GetModel> public List GetTestRunsByProjectId(string id, bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), DateTime? createdDateFrom = default(DateTime?), DateTime? createdDateTo = default(DateTime?), Guid? testPlanId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetTestRunsByProjectIdWithHttpInfo(id, notStarted, inProgress, stopped, completed, createdDateFrom, createdDateTo, testPlanId, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = GetTestRunsByProjectIdWithHttpInfo(id, notStarted, inProgress, stopped, completed, createdDateFrom, createdDateTo, testPlanId, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get project test runs <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all test runs related to project <br>System returns array of found test runs (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -10723,13 +10723,13 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<TestRunV2GetModel> - public TestIt.Client.Client.ApiResponse> GetTestRunsByProjectIdWithHttpInfo(string id, bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), DateTime? createdDateFrom = default(DateTime?), DateTime? createdDateTo = default(DateTime?), Guid? testPlanId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> GetTestRunsByProjectIdWithHttpInfo(string id, bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), DateTime? createdDateFrom = default(DateTime?), DateTime? createdDateTo = default(DateTime?), Guid? testPlanId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetTestRunsByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetTestRunsByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10739,60 +10739,60 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (notStarted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "notStarted", notStarted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "notStarted", notStarted)); } if (inProgress != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "inProgress", inProgress)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "inProgress", inProgress)); } if (stopped != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "stopped", stopped)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "stopped", stopped)); } if (completed != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "completed", completed)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "completed", completed)); } if (createdDateFrom != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "createdDateFrom", createdDateFrom)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "createdDateFrom", createdDateFrom)); } if (createdDateTo != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "createdDateTo", createdDateTo)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "createdDateTo", createdDateTo)); } if (testPlanId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "testPlanId", testPlanId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "testPlanId", testPlanId)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -10816,7 +10816,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Get project test runs <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all test runs related to project <br>System returns array of found test runs (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -10834,14 +10834,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// Task of List<TestRunV2GetModel> public async System.Threading.Tasks.Task> GetTestRunsByProjectIdAsync(string id, bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), DateTime? createdDateFrom = default(DateTime?), DateTime? createdDateTo = default(DateTime?), Guid? testPlanId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetTestRunsByProjectIdWithHttpInfoAsync(id, notStarted, inProgress, stopped, completed, createdDateFrom, createdDateTo, testPlanId, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetTestRunsByProjectIdWithHttpInfoAsync(id, notStarted, inProgress, stopped, completed, createdDateFrom, createdDateTo, testPlanId, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get project test runs <br>Use case <br>User sets project internal or global identifier <br>User runs method execution <br>System search project <br>System search all test runs related to project <br>System returns array of found test runs (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// (optional) @@ -10857,14 +10857,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestRunV2GetModel>) - public async System.Threading.Tasks.Task>> GetTestRunsByProjectIdWithHttpInfoAsync(string id, bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), DateTime? createdDateFrom = default(DateTime?), DateTime? createdDateTo = default(DateTime?), Guid? testPlanId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetTestRunsByProjectIdWithHttpInfoAsync(string id, bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), DateTime? createdDateFrom = default(DateTime?), DateTime? createdDateTo = default(DateTime?), Guid? testPlanId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetTestRunsByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetTestRunsByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10875,60 +10875,60 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (notStarted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "notStarted", notStarted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "notStarted", notStarted)); } if (inProgress != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "inProgress", inProgress)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "inProgress", inProgress)); } if (stopped != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "stopped", stopped)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "stopped", stopped)); } if (completed != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "completed", completed)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "completed", completed)); } if (createdDateFrom != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "createdDateFrom", createdDateFrom)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "createdDateFrom", createdDateFrom)); } if (createdDateTo != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "createdDateTo", createdDateTo)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "createdDateTo", createdDateTo)); } if (testPlanId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "testPlanId", testPlanId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "testPlanId", testPlanId)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -10953,7 +10953,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Get project work items <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted workitems related to project <br>[Optional] If User sets isDeleted field value as false, System search all workitems related to project which are not deleted <br>If User did not set isDeleted field value, System search all workitems related to project <br>System returns array of found workitems (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/deleted work items (optional, default to false) /// List of tags to filter by (optional) @@ -10967,14 +10967,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo [Obsolete] public List GetWorkItemsByProjectId(string id, bool? isDeleted = default(bool?), List tagNames = default(List), bool? includeIterations = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetWorkItemsByProjectIdWithHttpInfo(id, isDeleted, tagNames, includeIterations, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = GetWorkItemsByProjectIdWithHttpInfo(id, isDeleted, tagNames, includeIterations, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get project work items <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted workitems related to project <br>[Optional] If User sets isDeleted field value as false, System search all workitems related to project which are not deleted <br>If User did not set isDeleted field value, System search all workitems related to project <br>System returns array of found workitems (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/deleted work items (optional, default to false) /// List of tags to filter by (optional) @@ -10986,13 +10986,13 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// Value for searching (optional) /// ApiResponse of List<WorkItemShortModel> [Obsolete] - public TestIt.Client.Client.ApiResponse> GetWorkItemsByProjectIdWithHttpInfo(string id, bool? isDeleted = default(bool?), List tagNames = default(List), bool? includeIterations = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> GetWorkItemsByProjectIdWithHttpInfo(string id, bool? isDeleted = default(bool?), List tagNames = default(List), bool? includeIterations = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetWorkItemsByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetWorkItemsByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11002,44 +11002,44 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (tagNames != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "tagNames", tagNames)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "tagNames", tagNames)); } if (includeIterations != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeIterations", includeIterations)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeIterations", includeIterations)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -11063,7 +11063,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Get project work items <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted workitems related to project <br>[Optional] If User sets isDeleted field value as false, System search all workitems related to project which are not deleted <br>If User did not set isDeleted field value, System search all workitems related to project <br>System returns array of found workitems (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/deleted work items (optional, default to false) /// List of tags to filter by (optional) @@ -11078,14 +11078,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo [Obsolete] public async System.Threading.Tasks.Task> GetWorkItemsByProjectIdAsync(string id, bool? isDeleted = default(bool?), List tagNames = default(List), bool? includeIterations = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetWorkItemsByProjectIdWithHttpInfoAsync(id, isDeleted, tagNames, includeIterations, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetWorkItemsByProjectIdWithHttpInfoAsync(id, isDeleted, tagNames, includeIterations, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get project work items <br>Use case <br>User sets project internal or global identifier <br>[Optional] User sets isDeleted field value <br>User runs method execution <br>System search project <br>[Optional] If User sets isDeleted field value as true, System search all deleted workitems related to project <br>[Optional] If User sets isDeleted field value as false, System search all workitems related to project which are not deleted <br>If User did not set isDeleted field value, System search all workitems related to project <br>System returns array of found workitems (listed in response model) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// If result must consist of only actual/deleted work items (optional, default to false) /// List of tags to filter by (optional) @@ -11098,14 +11098,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WorkItemShortModel>) [Obsolete] - public async System.Threading.Tasks.Task>> GetWorkItemsByProjectIdWithHttpInfoAsync(string id, bool? isDeleted = default(bool?), List tagNames = default(List), bool? includeIterations = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetWorkItemsByProjectIdWithHttpInfoAsync(string id, bool? isDeleted = default(bool?), List tagNames = default(List), bool? includeIterations = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetWorkItemsByProjectId"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->GetWorkItemsByProjectId"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11116,44 +11116,44 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (tagNames != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "tagNames", tagNames)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "tagNames", tagNames)); } if (includeIterations != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeIterations", includeIterations)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeIterations", includeIterations)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -11178,7 +11178,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Import project from JSON file <br> <b>A project can only be exported to another TMS instance, different from the one it was imported from.</b> <br>This method imports a `.json` file with a project to the test management system. <br>In the body of the request, send the `.json` file received by the `POST /api/v2/projects/export` method: <br> ``` curl -X POST \"http://{domain.com}/api/v2/projects/import\" \\ -H \"accept: /\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: multipart/form-data\" \\ -F \"file=@import.txt;type=text/plain\" ``` <br> In the second instance, a project with the name of the imported one is created. User attributes and the test library (along with content and structure) are imported. <br>Test plan execution history from the first instance of TMS cannot be transferred. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Enables attachment import. (optional, default to false) /// Select file (optional) /// @@ -11191,14 +11191,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Import project from JSON file <br> <b>A project can only be exported to another TMS instance, different from the one it was imported from.</b> <br>This method imports a `.json` file with a project to the test management system. <br>In the body of the request, send the `.json` file received by the `POST /api/v2/projects/export` method: <br> ``` curl -X POST \"http://{domain.com}/api/v2/projects/import\" \\ -H \"accept: /\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: multipart/form-data\" \\ -F \"file=@import.txt;type=text/plain\" ``` <br> In the second instance, a project with the name of the imported one is created. User attributes and the test library (along with content and structure) are imported. <br>Test plan execution history from the first instance of TMS cannot be transferred. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Enables attachment import. (optional, default to false) /// Select file (optional) /// ApiResponse of Object(void) [Obsolete] - public TestIt.Client.Client.ApiResponse ImportWithHttpInfo(bool? includeAttachments = default(bool?), FileParameter file = default(FileParameter)) + public ApiResponse ImportWithHttpInfo(bool? includeAttachments = default(bool?), FileParameter file = default(FileParameter)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -11209,15 +11209,15 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (includeAttachments != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); } if (file != null) { @@ -11245,7 +11245,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Import project from JSON file <br> <b>A project can only be exported to another TMS instance, different from the one it was imported from.</b> <br>This method imports a `.json` file with a project to the test management system. <br>In the body of the request, send the `.json` file received by the `POST /api/v2/projects/export` method: <br> ``` curl -X POST \"http://{domain.com}/api/v2/projects/import\" \\ -H \"accept: /\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: multipart/form-data\" \\ -F \"file=@import.txt;type=text/plain\" ``` <br> In the second instance, a project with the name of the imported one is created. User attributes and the test library (along with content and structure) are imported. <br>Test plan execution history from the first instance of TMS cannot be transferred. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Enables attachment import. (optional, default to false) /// Select file (optional) /// Cancellation Token to cancel the request. @@ -11259,16 +11259,16 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Import project from JSON file <br> <b>A project can only be exported to another TMS instance, different from the one it was imported from.</b> <br>This method imports a `.json` file with a project to the test management system. <br>In the body of the request, send the `.json` file received by the `POST /api/v2/projects/export` method: <br> ``` curl -X POST \"http://{domain.com}/api/v2/projects/import\" \\ -H \"accept: /\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: multipart/form-data\" \\ -F \"file=@import.txt;type=text/plain\" ``` <br> In the second instance, a project with the name of the imported one is created. User attributes and the test library (along with content and structure) are imported. <br>Test plan execution history from the first instance of TMS cannot be transferred. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Enables attachment import. (optional, default to false) /// Select file (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse [Obsolete] - public async System.Threading.Tasks.Task> ImportWithHttpInfoAsync(bool? includeAttachments = default(bool?), FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ImportWithHttpInfoAsync(bool? includeAttachments = default(bool?), FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -11280,15 +11280,15 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (includeAttachments != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); } if (file != null) { @@ -11317,7 +11317,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Import project from JSON file into existing project <br>Use case <br>User attaches project as json file taken from export or export-by-testPlans method <br>User runs method execution <br>System updates project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Select file (optional) @@ -11331,19 +11331,19 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Import project from JSON file into existing project <br>Use case <br>User attaches project as json file taken from export or export-by-testPlans method <br>User runs method execution <br>System updates project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Select file (optional) /// ApiResponse of Object(void) [Obsolete] - public TestIt.Client.Client.ApiResponse ImportToExistingProjectWithHttpInfo(string id, bool? includeAttachments = default(bool?), FileParameter file = default(FileParameter)) + public ApiResponse ImportToExistingProjectWithHttpInfo(string id, bool? includeAttachments = default(bool?), FileParameter file = default(FileParameter)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ImportToExistingProject"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ImportToExistingProject"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -11354,16 +11354,16 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (includeAttachments != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); } if (file != null) { @@ -11391,7 +11391,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Import project from JSON file into existing project <br>Use case <br>User attaches project as json file taken from export or export-by-testPlans method <br>User runs method execution <br>System updates project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Select file (optional) @@ -11406,21 +11406,21 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Import project from JSON file into existing project <br>Use case <br>User attaches project as json file taken from export or export-by-testPlans method <br>User runs method execution <br>System updates project <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Select file (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse [Obsolete] - public async System.Threading.Tasks.Task> ImportToExistingProjectWithHttpInfoAsync(string id, bool? includeAttachments = default(bool?), FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ImportToExistingProjectWithHttpInfoAsync(string id, bool? includeAttachments = default(bool?), FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ImportToExistingProject"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->ImportToExistingProject"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -11432,16 +11432,16 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (includeAttachments != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeAttachments", includeAttachments)); } if (file != null) { @@ -11468,9 +11468,9 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo } /// - /// Search for attributes used in the project + /// Search for attributes used in the project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -11481,14 +11481,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// List<CustomAttributeGetModel> public List SearchAttributesInProject(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchAttributesInProjectRequest searchAttributesInProjectRequest = default(SearchAttributesInProjectRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = SearchAttributesInProjectWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, searchAttributesInProjectRequest); + ApiResponse> localVarResponse = SearchAttributesInProjectWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, searchAttributesInProjectRequest); return localVarResponse.Data; } /// - /// Search for attributes used in the project + /// Search for attributes used in the project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -11497,13 +11497,13 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// Value for searching (optional) /// (optional) /// ApiResponse of List<CustomAttributeGetModel> - public TestIt.Client.Client.ApiResponse> SearchAttributesInProjectWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchAttributesInProjectRequest searchAttributesInProjectRequest = default(SearchAttributesInProjectRequest)) + public ApiResponse> SearchAttributesInProjectWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchAttributesInProjectRequest searchAttributesInProjectRequest = default(SearchAttributesInProjectRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->SearchAttributesInProject"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->SearchAttributesInProject"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -11514,32 +11514,32 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = searchAttributesInProjectRequest; @@ -11562,9 +11562,9 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo } /// - /// Search for attributes used in the project + /// Search for attributes used in the project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -11576,14 +11576,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// Task of List<CustomAttributeGetModel> public async System.Threading.Tasks.Task> SearchAttributesInProjectAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchAttributesInProjectRequest searchAttributesInProjectRequest = default(SearchAttributesInProjectRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await SearchAttributesInProjectWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, searchAttributesInProjectRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await SearchAttributesInProjectWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, searchAttributesInProjectRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for attributes used in the project + /// Search for attributes used in the project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -11593,14 +11593,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<CustomAttributeGetModel>) - public async System.Threading.Tasks.Task>> SearchAttributesInProjectWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchAttributesInProjectRequest searchAttributesInProjectRequest = default(SearchAttributesInProjectRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> SearchAttributesInProjectWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchAttributesInProjectRequest searchAttributesInProjectRequest = default(SearchAttributesInProjectRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->SearchAttributesInProject"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->SearchAttributesInProject"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -11612,32 +11612,32 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = searchAttributesInProjectRequest; @@ -11661,9 +11661,9 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo } /// - /// Search for attributes used in the project test plans + /// Search for attributes used in the project test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -11674,14 +11674,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// List<CustomAttributeGetModel> public List SearchTestPlanAttributesInProject(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchAttributesInProjectRequest searchAttributesInProjectRequest = default(SearchAttributesInProjectRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = SearchTestPlanAttributesInProjectWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, searchAttributesInProjectRequest); + ApiResponse> localVarResponse = SearchTestPlanAttributesInProjectWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, searchAttributesInProjectRequest); return localVarResponse.Data; } /// - /// Search for attributes used in the project test plans + /// Search for attributes used in the project test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -11690,13 +11690,13 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// Value for searching (optional) /// (optional) /// ApiResponse of List<CustomAttributeGetModel> - public TestIt.Client.Client.ApiResponse> SearchTestPlanAttributesInProjectWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchAttributesInProjectRequest searchAttributesInProjectRequest = default(SearchAttributesInProjectRequest)) + public ApiResponse> SearchTestPlanAttributesInProjectWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchAttributesInProjectRequest searchAttributesInProjectRequest = default(SearchAttributesInProjectRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->SearchTestPlanAttributesInProject"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->SearchTestPlanAttributesInProject"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -11707,32 +11707,32 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = searchAttributesInProjectRequest; @@ -11755,9 +11755,9 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo } /// - /// Search for attributes used in the project test plans + /// Search for attributes used in the project test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -11769,14 +11769,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// Task of List<CustomAttributeGetModel> public async System.Threading.Tasks.Task> SearchTestPlanAttributesInProjectAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchAttributesInProjectRequest searchAttributesInProjectRequest = default(SearchAttributesInProjectRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await SearchTestPlanAttributesInProjectWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, searchAttributesInProjectRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await SearchTestPlanAttributesInProjectWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, searchAttributesInProjectRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for attributes used in the project test plans + /// Search for attributes used in the project test plans /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -11786,14 +11786,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<CustomAttributeGetModel>) - public async System.Threading.Tasks.Task>> SearchTestPlanAttributesInProjectWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchAttributesInProjectRequest searchAttributesInProjectRequest = default(SearchAttributesInProjectRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> SearchTestPlanAttributesInProjectWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchAttributesInProjectRequest searchAttributesInProjectRequest = default(SearchAttributesInProjectRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->SearchTestPlanAttributesInProject"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->SearchTestPlanAttributesInProject"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -11805,32 +11805,32 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = searchAttributesInProjectRequest; @@ -11856,7 +11856,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Update attribute of project's test plans <br>Use case <br>User sets project internal or global identifier and attribute model <br>User runs method execution <br>System updates project and project attribute for test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// @@ -11868,17 +11868,17 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Update attribute of project's test plans <br>Use case <br>User sets project internal or global identifier and attribute model <br>User runs method execution <br>System updates project and project attribute for test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse UpdateCustomAttributeTestPlanProjectRelationsWithHttpInfo(string id, UpdateCustomAttributeTestPlanProjectRelationsRequest updateCustomAttributeTestPlanProjectRelationsRequest = default(UpdateCustomAttributeTestPlanProjectRelationsRequest)) + public ApiResponse UpdateCustomAttributeTestPlanProjectRelationsWithHttpInfo(string id, UpdateCustomAttributeTestPlanProjectRelationsRequest updateCustomAttributeTestPlanProjectRelationsRequest = default(UpdateCustomAttributeTestPlanProjectRelationsRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->UpdateCustomAttributeTestPlanProjectRelations"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->UpdateCustomAttributeTestPlanProjectRelations"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -11889,13 +11889,13 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateCustomAttributeTestPlanProjectRelationsRequest; // authentication (Bearer or PrivateToken) required @@ -11919,7 +11919,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Update attribute of project's test plans <br>Use case <br>User sets project internal or global identifier and attribute model <br>User runs method execution <br>System updates project and project attribute for test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -11932,19 +11932,19 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Update attribute of project's test plans <br>Use case <br>User sets project internal or global identifier and attribute model <br>User runs method execution <br>System updates project and project attribute for test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project internal (UUID) or global (integer) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateCustomAttributeTestPlanProjectRelationsWithHttpInfoAsync(string id, UpdateCustomAttributeTestPlanProjectRelationsRequest updateCustomAttributeTestPlanProjectRelationsRequest = default(UpdateCustomAttributeTestPlanProjectRelationsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateCustomAttributeTestPlanProjectRelationsWithHttpInfoAsync(string id, UpdateCustomAttributeTestPlanProjectRelationsRequest updateCustomAttributeTestPlanProjectRelationsRequest = default(UpdateCustomAttributeTestPlanProjectRelationsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->UpdateCustomAttributeTestPlanProjectRelations"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->UpdateCustomAttributeTestPlanProjectRelations"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -11956,13 +11956,13 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateCustomAttributeTestPlanProjectRelationsRequest; // authentication (Bearer or PrivateToken) required @@ -11987,7 +11987,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Update project <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System updates project <br>System returns updated project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void UpdateProject(UpdateProjectRequest updateProjectRequest = default(UpdateProjectRequest)) @@ -11998,12 +11998,12 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Update project <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System updates project <br>System returns updated project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse UpdateProjectWithHttpInfo(UpdateProjectRequest updateProjectRequest = default(UpdateProjectRequest)) + public ApiResponse UpdateProjectWithHttpInfo(UpdateProjectRequest updateProjectRequest = default(UpdateProjectRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -12014,10 +12014,10 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateProjectRequest; @@ -12043,7 +12043,7 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Update project <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System updates project <br>System returns updated project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -12055,14 +12055,14 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo /// /// Update project <br>Use case <br>User sets project parameters (listed in request example) and runs method execution <br>System updates project <br>System returns updated project model (example listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateProjectWithHttpInfoAsync(UpdateProjectRequest updateProjectRequest = default(UpdateProjectRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateProjectWithHttpInfoAsync(UpdateProjectRequest updateProjectRequest = default(UpdateProjectRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -12074,10 +12074,10 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateProjectRequest; @@ -12102,9 +12102,9 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo } /// - /// Edit attribute of the project + /// Edit attribute of the project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// (optional) /// @@ -12114,19 +12114,19 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo } /// - /// Edit attribute of the project + /// Edit attribute of the project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse UpdateProjectsAttributeWithHttpInfo(string id, UpdateProjectsAttributeRequest updateProjectsAttributeRequest = default(UpdateProjectsAttributeRequest)) + public ApiResponse UpdateProjectsAttributeWithHttpInfo(string id, UpdateProjectsAttributeRequest updateProjectsAttributeRequest = default(UpdateProjectsAttributeRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->UpdateProjectsAttribute"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->UpdateProjectsAttribute"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -12137,13 +12137,13 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateProjectsAttributeRequest; // authentication (Bearer or PrivateToken) required @@ -12165,9 +12165,9 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo } /// - /// Edit attribute of the project + /// Edit attribute of the project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// (optional) /// Cancellation Token to cancel the request. @@ -12178,21 +12178,21 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo } /// - /// Edit attribute of the project + /// Edit attribute of the project /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global project ID /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateProjectsAttributeWithHttpInfoAsync(string id, UpdateProjectsAttributeRequest updateProjectsAttributeRequest = default(UpdateProjectsAttributeRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateProjectsAttributeWithHttpInfoAsync(string id, UpdateProjectsAttributeRequest updateProjectsAttributeRequest = default(UpdateProjectsAttributeRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->UpdateProjectsAttribute"); + throw new ApiException(400, "Missing required parameter 'id' when calling ProjectsApi->UpdateProjectsAttribute"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -12204,13 +12204,13 @@ public TestIt.Client.Client.ApiResponse GetProjectByIdWithHttpInfo }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateProjectsAttributeRequest; // authentication (Bearer or PrivateToken) required diff --git a/src/TestIt.Client/Api/SearchApi.cs b/src/TestIT.ApiClient/Api/SearchApi.cs similarity index 74% rename from src/TestIt.Client/Api/SearchApi.cs rename to src/TestIT.ApiClient/Api/SearchApi.cs index 8f625c35..2426c95e 100644 --- a/src/TestIt.Client/Api/SearchApi.cs +++ b/src/TestIT.ApiClient/Api/SearchApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -28,20 +28,20 @@ public interface ISearchApiSync : IApiAccessor { #region Synchronous Operations /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// GlobalSearchResponse GlobalSearchResponse ApiV2SearchGlobalSearchPost(ApiV2SearchGlobalSearchPostRequest apiV2SearchGlobalSearchPostRequest = default(ApiV2SearchGlobalSearchPostRequest)); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of GlobalSearchResponse ApiResponse ApiV2SearchGlobalSearchPostWithHttpInfo(ApiV2SearchGlobalSearchPostRequest apiV2SearchGlobalSearchPostRequest = default(ApiV2SearchGlobalSearchPostRequest)); @@ -55,24 +55,24 @@ public interface ISearchApiAsync : IApiAccessor { #region Asynchronous Operations /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of GlobalSearchResponse System.Threading.Tasks.Task ApiV2SearchGlobalSearchPostAsync(ApiV2SearchGlobalSearchPostRequest apiV2SearchGlobalSearchPostRequest = default(ApiV2SearchGlobalSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// + /// /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (GlobalSearchResponse) @@ -93,7 +93,7 @@ public interface ISearchApi : ISearchApiSync, ISearchApiAsync /// public partial class SearchApi : IDisposable, ISearchApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -115,14 +115,14 @@ public SearchApi() : this((string)null) /// public SearchApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -133,18 +133,18 @@ public SearchApi(string basePath) /// An instance of Configuration. /// /// - public SearchApi(TestIt.Client.Client.Configuration configuration) + public SearchApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -179,14 +179,14 @@ public SearchApi(HttpClient client, string basePath, HttpClientHandler handler = { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -201,19 +201,19 @@ public SearchApi(HttpClient client, string basePath, HttpClientHandler handler = /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public SearchApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public SearchApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -224,7 +224,7 @@ public SearchApi(HttpClient client, TestIt.Client.Client.Configuration configura /// The client interface for asynchronous API access. /// The configuration object. /// - public SearchApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public SearchApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -233,7 +233,7 @@ public SearchApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.C this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -247,17 +247,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -272,12 +272,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -291,26 +291,26 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// GlobalSearchResponse public GlobalSearchResponse ApiV2SearchGlobalSearchPost(ApiV2SearchGlobalSearchPostRequest apiV2SearchGlobalSearchPostRequest = default(ApiV2SearchGlobalSearchPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2SearchGlobalSearchPostWithHttpInfo(apiV2SearchGlobalSearchPostRequest); + ApiResponse localVarResponse = ApiV2SearchGlobalSearchPostWithHttpInfo(apiV2SearchGlobalSearchPostRequest); return localVarResponse.Data; } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of GlobalSearchResponse - public TestIt.Client.Client.ApiResponse ApiV2SearchGlobalSearchPostWithHttpInfo(ApiV2SearchGlobalSearchPostRequest apiV2SearchGlobalSearchPostRequest = default(ApiV2SearchGlobalSearchPostRequest)) + public ApiResponse ApiV2SearchGlobalSearchPostWithHttpInfo(ApiV2SearchGlobalSearchPostRequest apiV2SearchGlobalSearchPostRequest = default(ApiV2SearchGlobalSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -321,10 +321,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2SearchGlobalSearchPostRequest; @@ -348,29 +348,29 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of GlobalSearchResponse public async System.Threading.Tasks.Task ApiV2SearchGlobalSearchPostAsync(ApiV2SearchGlobalSearchPostRequest apiV2SearchGlobalSearchPostRequest = default(ApiV2SearchGlobalSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2SearchGlobalSearchPostWithHttpInfoAsync(apiV2SearchGlobalSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2SearchGlobalSearchPostWithHttpInfoAsync(apiV2SearchGlobalSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (GlobalSearchResponse) - public async System.Threading.Tasks.Task> ApiV2SearchGlobalSearchPostWithHttpInfoAsync(ApiV2SearchGlobalSearchPostRequest apiV2SearchGlobalSearchPostRequest = default(ApiV2SearchGlobalSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2SearchGlobalSearchPostWithHttpInfoAsync(ApiV2SearchGlobalSearchPostRequest apiV2SearchGlobalSearchPostRequest = default(ApiV2SearchGlobalSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -382,10 +382,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2SearchGlobalSearchPostRequest; diff --git a/src/TestIt.Client/Api/SectionsApi.cs b/src/TestIT.ApiClient/Api/SectionsApi.cs similarity index 78% rename from src/TestIt.Client/Api/SectionsApi.cs rename to src/TestIT.ApiClient/Api/SectionsApi.cs index c209a540..bcf8dd87 100644 --- a/src/TestIt.Client/Api/SectionsApi.cs +++ b/src/TestIT.ApiClient/Api/SectionsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -33,7 +33,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// @@ -45,7 +45,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// ApiResponse of Object(void) @@ -56,7 +56,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System creates section property values <br>System returns section (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// SectionWithStepsModel SectionWithStepsModel CreateSection(CreateSectionRequest createSectionRequest = default(CreateSectionRequest)); @@ -67,7 +67,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System creates section property values <br>System returns section (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of SectionWithStepsModel ApiResponse CreateSectionWithHttpInfo(CreateSectionRequest createSectionRequest = default(CreateSectionRequest)); @@ -77,7 +77,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search and delete nested sections of the found section <br>System search and delete workitems related to the found nested sections <br>System deletes initial section and related workitem <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// void DeleteSection(Guid id); @@ -88,7 +88,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search and delete nested sections of the found section <br>System search and delete workitems related to the found nested sections <br>System deletes initial section and related workitem <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// ApiResponse of Object(void) ApiResponse DeleteSectionWithHttpInfo(Guid id); @@ -98,7 +98,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// <br>Use case <br>User sets section internal (guid format) identifier <br>User runs method execution <br>System search section by the section identifier <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// SectionWithStepsModel @@ -110,7 +110,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// <br>Use case <br>User sets section internal (guid format) identifier <br>User runs method execution <br>System search section by the section identifier <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// ApiResponse of SectionWithStepsModel @@ -121,7 +121,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search work items related to the section <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns work item collection /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// Requested section is deleted (optional, default to false) /// List of work item tags (optional) @@ -141,7 +141,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search work items related to the section <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns work item collection /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// Requested section is deleted (optional, default to false) /// List of work item tags (optional) @@ -157,7 +157,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// Move section with all work items into another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void Move(MoveRequest moveRequest = default(MoveRequest)); @@ -166,9 +166,9 @@ public interface ISectionsApiSync : IApiAccessor /// Move section with all work items into another section /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse MoveWithHttpInfo(MoveRequest moveRequest = default(MoveRequest)); @@ -178,7 +178,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// <br>Use case <br>User sets section identifier and new name (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section name using the new name <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void Rename(RenameRequest renameRequest = default(RenameRequest)); @@ -189,7 +189,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// <br>Use case <br>User sets section identifier and new name (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section name using the new name <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse RenameWithHttpInfo(RenameRequest renameRequest = default(RenameRequest)); @@ -199,7 +199,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section using the property values <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void UpdateSection(UpdateSectionRequest updateSectionRequest = default(UpdateSectionRequest)); @@ -210,7 +210,7 @@ public interface ISectionsApiSync : IApiAccessor /// /// <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section using the property values <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse UpdateSectionWithHttpInfo(UpdateSectionRequest updateSectionRequest = default(UpdateSectionRequest)); @@ -229,7 +229,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -242,7 +242,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -254,7 +254,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System creates section property values <br>System returns section (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of SectionWithStepsModel @@ -266,7 +266,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System creates section property values <br>System returns section (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (SectionWithStepsModel) @@ -277,7 +277,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search and delete nested sections of the found section <br>System search and delete workitems related to the found nested sections <br>System deletes initial section and related workitem <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -289,7 +289,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search and delete nested sections of the found section <br>System search and delete workitems related to the found nested sections <br>System deletes initial section and related workitem <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -300,7 +300,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets section internal (guid format) identifier <br>User runs method execution <br>System search section by the section identifier <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -313,7 +313,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets section internal (guid format) identifier <br>User runs method execution <br>System search section by the section identifier <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -325,7 +325,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search work items related to the section <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns work item collection /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// Requested section is deleted (optional, default to false) /// List of work item tags (optional) @@ -346,7 +346,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search work items related to the section <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns work item collection /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// Requested section is deleted (optional, default to false) /// List of work item tags (optional) @@ -364,9 +364,9 @@ public interface ISectionsApiAsync : IApiAccessor /// Move section with all work items into another section /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -376,9 +376,9 @@ public interface ISectionsApiAsync : IApiAccessor /// Move section with all work items into another section /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -389,7 +389,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets section identifier and new name (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section name using the new name <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -401,7 +401,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets section identifier and new name (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section name using the new name <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -412,7 +412,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section using the property values <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -424,7 +424,7 @@ public interface ISectionsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section using the property values <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -445,7 +445,7 @@ public interface ISectionsApi : ISectionsApiSync, ISectionsApiAsync /// public partial class SectionsApi : IDisposable, ISectionsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -467,14 +467,14 @@ public SectionsApi() : this((string)null) /// public SectionsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -485,18 +485,18 @@ public SectionsApi(string basePath) /// An instance of Configuration. /// /// - public SectionsApi(TestIt.Client.Client.Configuration configuration) + public SectionsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -531,14 +531,14 @@ public SectionsApi(HttpClient client, string basePath, HttpClientHandler handler { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -553,19 +553,19 @@ public SectionsApi(HttpClient client, string basePath, HttpClientHandler handler /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public SectionsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public SectionsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -576,7 +576,7 @@ public SectionsApi(HttpClient client, TestIt.Client.Client.Configuration configu /// The client interface for asynchronous API access. /// The configuration object. /// - public SectionsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public SectionsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -585,7 +585,7 @@ public SectionsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -599,17 +599,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -624,12 +624,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -645,7 +645,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Patch section See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// @@ -657,13 +657,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Patch section See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2SectionsIdPatchWithHttpInfo(Guid id, List operation = default(List)) + public ApiResponse ApiV2SectionsIdPatchWithHttpInfo(Guid id, List operation = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -674,13 +674,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = operation; // authentication (Bearer or PrivateToken) required @@ -704,7 +704,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Patch section See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -717,15 +717,15 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Patch section See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2SectionsIdPatchWithHttpInfoAsync(Guid id, List operation = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2SectionsIdPatchWithHttpInfoAsync(Guid id, List operation = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -737,13 +737,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = operation; // authentication (Bearer or PrivateToken) required @@ -768,24 +768,24 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Create section <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System creates section property values <br>System returns section (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// SectionWithStepsModel public SectionWithStepsModel CreateSection(CreateSectionRequest createSectionRequest = default(CreateSectionRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateSectionWithHttpInfo(createSectionRequest); + ApiResponse localVarResponse = CreateSectionWithHttpInfo(createSectionRequest); return localVarResponse.Data; } /// /// Create section <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System creates section property values <br>System returns section (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of SectionWithStepsModel - public TestIt.Client.Client.ApiResponse CreateSectionWithHttpInfo(CreateSectionRequest createSectionRequest = default(CreateSectionRequest)) + public ApiResponse CreateSectionWithHttpInfo(CreateSectionRequest createSectionRequest = default(CreateSectionRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -796,10 +796,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createSectionRequest; @@ -825,27 +825,27 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Create section <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System creates section property values <br>System returns section (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of SectionWithStepsModel public async System.Threading.Tasks.Task CreateSectionAsync(CreateSectionRequest createSectionRequest = default(CreateSectionRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateSectionWithHttpInfoAsync(createSectionRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateSectionWithHttpInfoAsync(createSectionRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create section <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System creates section property values <br>System returns section (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (SectionWithStepsModel) - public async System.Threading.Tasks.Task> CreateSectionWithHttpInfoAsync(CreateSectionRequest createSectionRequest = default(CreateSectionRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateSectionWithHttpInfoAsync(CreateSectionRequest createSectionRequest = default(CreateSectionRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -857,10 +857,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createSectionRequest; @@ -887,7 +887,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Delete section <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search and delete nested sections of the found section <br>System search and delete workitems related to the found nested sections <br>System deletes initial section and related workitem <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// public void DeleteSection(Guid id) @@ -898,12 +898,12 @@ public void DeleteSection(Guid id) /// /// Delete section <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search and delete nested sections of the found section <br>System search and delete workitems related to the found nested sections <br>System deletes initial section and related workitem <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid id) + public ApiResponse DeleteSectionWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -913,13 +913,13 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -942,7 +942,7 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Delete section <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search and delete nested sections of the found section <br>System search and delete workitems related to the found nested sections <br>System deletes initial section and related workitem <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -954,14 +954,14 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Delete section <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search and delete nested sections of the found section <br>System search and delete workitems related to the found nested sections <br>System deletes initial section and related workitem <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteSectionWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteSectionWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -972,13 +972,13 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1002,26 +1002,26 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Get section <br>Use case <br>User sets section internal (guid format) identifier <br>User runs method execution <br>System search section by the section identifier <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// SectionWithStepsModel public SectionWithStepsModel GetSectionById(Guid id, DeletionState? isDeleted = default(DeletionState?)) { - TestIt.Client.Client.ApiResponse localVarResponse = GetSectionByIdWithHttpInfo(id, isDeleted); + ApiResponse localVarResponse = GetSectionByIdWithHttpInfo(id, isDeleted); return localVarResponse.Data; } /// /// Get section <br>Use case <br>User sets section internal (guid format) identifier <br>User runs method execution <br>System search section by the section identifier <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// ApiResponse of SectionWithStepsModel - public TestIt.Client.Client.ApiResponse GetSectionByIdWithHttpInfo(Guid id, DeletionState? isDeleted = default(DeletionState?)) + public ApiResponse GetSectionByIdWithHttpInfo(Guid id, DeletionState? isDeleted = default(DeletionState?)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1031,16 +1031,16 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } // authentication (Bearer or PrivateToken) required @@ -1064,29 +1064,29 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Get section <br>Use case <br>User sets section internal (guid format) identifier <br>User runs method execution <br>System search section by the section identifier <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of SectionWithStepsModel public async System.Threading.Tasks.Task GetSectionByIdAsync(Guid id, DeletionState? isDeleted = default(DeletionState?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetSectionByIdWithHttpInfoAsync(id, isDeleted, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetSectionByIdWithHttpInfoAsync(id, isDeleted, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get section <br>Use case <br>User sets section internal (guid format) identifier <br>User runs method execution <br>System search section by the section identifier <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (SectionWithStepsModel) - public async System.Threading.Tasks.Task> GetSectionByIdWithHttpInfoAsync(Guid id, DeletionState? isDeleted = default(DeletionState?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetSectionByIdWithHttpInfoAsync(Guid id, DeletionState? isDeleted = default(DeletionState?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1097,16 +1097,16 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } // authentication (Bearer or PrivateToken) required @@ -1131,7 +1131,7 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Get section work items <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search work items related to the section <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns work item collection /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// Requested section is deleted (optional, default to false) /// List of work item tags (optional) @@ -1145,14 +1145,14 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i [Obsolete] public List GetWorkItemsBySectionId(Guid id, bool? isDeleted = default(bool?), List tagNames = default(List), bool? includeIterations = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetWorkItemsBySectionIdWithHttpInfo(id, isDeleted, tagNames, includeIterations, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = GetWorkItemsBySectionIdWithHttpInfo(id, isDeleted, tagNames, includeIterations, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get section work items <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search work items related to the section <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns work item collection /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// Requested section is deleted (optional, default to false) /// List of work item tags (optional) @@ -1164,9 +1164,9 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// Value for searching (optional) /// ApiResponse of List<WorkItemShortModel> [Obsolete] - public TestIt.Client.Client.ApiResponse> GetWorkItemsBySectionIdWithHttpInfo(Guid id, bool? isDeleted = default(bool?), List tagNames = default(List), bool? includeIterations = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> GetWorkItemsBySectionIdWithHttpInfo(Guid id, bool? isDeleted = default(bool?), List tagNames = default(List), bool? includeIterations = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1176,44 +1176,44 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (tagNames != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "tagNames", tagNames)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "tagNames", tagNames)); } if (includeIterations != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeIterations", includeIterations)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeIterations", includeIterations)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -1237,7 +1237,7 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Get section work items <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search work items related to the section <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns work item collection /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// Requested section is deleted (optional, default to false) /// List of work item tags (optional) @@ -1252,14 +1252,14 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i [Obsolete] public async System.Threading.Tasks.Task> GetWorkItemsBySectionIdAsync(Guid id, bool? isDeleted = default(bool?), List tagNames = default(List), bool? includeIterations = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetWorkItemsBySectionIdWithHttpInfoAsync(id, isDeleted, tagNames, includeIterations, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetWorkItemsBySectionIdWithHttpInfoAsync(id, isDeleted, tagNames, includeIterations, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get section work items <br>Use case <br>User sets section identifier <br>User runs method execution <br>System search section by the identifier <br>System search work items related to the section <br> [Optional] If isDeleted flag equals false, deleted work items are not being searched. If true, deleted work items are also being searched, null for all work items. <br>System returns work item collection /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Section internal (UUID) identifier /// Requested section is deleted (optional, default to false) /// List of work item tags (optional) @@ -1272,10 +1272,10 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WorkItemShortModel>) [Obsolete] - public async System.Threading.Tasks.Task>> GetWorkItemsBySectionIdWithHttpInfoAsync(Guid id, bool? isDeleted = default(bool?), List tagNames = default(List), bool? includeIterations = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetWorkItemsBySectionIdWithHttpInfoAsync(Guid id, bool? isDeleted = default(bool?), List tagNames = default(List), bool? includeIterations = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1286,44 +1286,44 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } if (tagNames != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "tagNames", tagNames)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "tagNames", tagNames)); } if (includeIterations != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeIterations", includeIterations)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeIterations", includeIterations)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -1346,9 +1346,9 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i } /// - /// Move section with all work items into another section + /// Move section with all work items into another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void Move(MoveRequest moveRequest = default(MoveRequest)) @@ -1357,14 +1357,14 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i } /// - /// Move section with all work items into another section + /// Move section with all work items into another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse MoveWithHttpInfo(MoveRequest moveRequest = default(MoveRequest)) + public ApiResponse MoveWithHttpInfo(MoveRequest moveRequest = default(MoveRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1375,10 +1375,10 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = moveRequest; @@ -1402,9 +1402,9 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i } /// - /// Move section with all work items into another section + /// Move section with all work items into another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1414,16 +1414,16 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i } /// - /// Move section with all work items into another section + /// Move section with all work items into another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> MoveWithHttpInfoAsync(MoveRequest moveRequest = default(MoveRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> MoveWithHttpInfoAsync(MoveRequest moveRequest = default(MoveRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1435,10 +1435,10 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = moveRequest; @@ -1465,7 +1465,7 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Rename section <br>Use case <br>User sets section identifier and new name (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section name using the new name <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void Rename(RenameRequest renameRequest = default(RenameRequest)) @@ -1476,12 +1476,12 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Rename section <br>Use case <br>User sets section identifier and new name (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section name using the new name <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse RenameWithHttpInfo(RenameRequest renameRequest = default(RenameRequest)) + public ApiResponse RenameWithHttpInfo(RenameRequest renameRequest = default(RenameRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1492,10 +1492,10 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = renameRequest; @@ -1521,7 +1521,7 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Rename section <br>Use case <br>User sets section identifier and new name (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section name using the new name <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1533,14 +1533,14 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Rename section <br>Use case <br>User sets section identifier and new name (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section name using the new name <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> RenameWithHttpInfoAsync(RenameRequest renameRequest = default(RenameRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> RenameWithHttpInfoAsync(RenameRequest renameRequest = default(RenameRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1552,10 +1552,10 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = renameRequest; @@ -1582,7 +1582,7 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Update section <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section using the property values <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void UpdateSection(UpdateSectionRequest updateSectionRequest = default(UpdateSectionRequest)) @@ -1593,12 +1593,12 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Update section <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section using the property values <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse UpdateSectionWithHttpInfo(UpdateSectionRequest updateSectionRequest = default(UpdateSectionRequest)) + public ApiResponse UpdateSectionWithHttpInfo(UpdateSectionRequest updateSectionRequest = default(UpdateSectionRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1609,10 +1609,10 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateSectionRequest; @@ -1638,7 +1638,7 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Update section <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section using the property values <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1650,14 +1650,14 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i /// /// Update section <br>Use case <br>User sets section properties (listed in request example) <br>User runs method execution <br>System search section by the identifier <br>System updates section using the property values <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateSectionWithHttpInfoAsync(UpdateSectionRequest updateSectionRequest = default(UpdateSectionRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateSectionWithHttpInfoAsync(UpdateSectionRequest updateSectionRequest = default(UpdateSectionRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1669,10 +1669,10 @@ public TestIt.Client.Client.ApiResponse DeleteSectionWithHttpInfo(Guid i }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateSectionRequest; diff --git a/src/TestIt.Client/Api/TagsApi.cs b/src/TestIT.ApiClient/Api/TagsApi.cs similarity index 75% rename from src/TestIt.Client/Api/TagsApi.cs rename to src/TestIT.ApiClient/Api/TagsApi.cs index ad45e707..9c6cc912 100644 --- a/src/TestIt.Client/Api/TagsApi.cs +++ b/src/TestIT.ApiClient/Api/TagsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -33,7 +33,7 @@ public interface ITagsApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// List<TagShortModel> List ApiV2TagsGet(); @@ -43,7 +43,7 @@ public interface ITagsApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// ApiResponse of List<TagShortModel> ApiResponse> ApiV2TagsGetWithHttpInfo(); /// @@ -52,7 +52,7 @@ public interface ITagsApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -67,7 +67,7 @@ public interface ITagsApiSync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -90,7 +90,7 @@ public interface ITagsApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of List<TagShortModel> System.Threading.Tasks.Task> ApiV2TagsGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -101,7 +101,7 @@ public interface ITagsApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TagShortModel>) System.Threading.Tasks.Task>> ApiV2TagsGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -111,7 +111,7 @@ public interface ITagsApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -127,7 +127,7 @@ public interface ITagsApiAsync : IApiAccessor /// /// <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -152,7 +152,7 @@ public interface ITagsApi : ITagsApiSync, ITagsApiAsync /// public partial class TagsApi : IDisposable, ITagsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -174,14 +174,14 @@ public TagsApi() : this((string)null) /// public TagsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -192,18 +192,18 @@ public TagsApi(string basePath) /// An instance of Configuration. /// /// - public TagsApi(TestIt.Client.Client.Configuration configuration) + public TagsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -238,14 +238,14 @@ public TagsApi(HttpClient client, string basePath, HttpClientHandler handler = n { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -260,19 +260,19 @@ public TagsApi(HttpClient client, string basePath, HttpClientHandler handler = n /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public TagsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public TagsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -283,7 +283,7 @@ public TagsApi(HttpClient client, TestIt.Client.Client.Configuration configurati /// The client interface for asynchronous API access. /// The configuration object. /// - public TagsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public TagsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -292,7 +292,7 @@ public TagsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Cli this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -306,17 +306,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -331,12 +331,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -352,22 +352,22 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Get all Tags <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// List<TagShortModel> public List ApiV2TagsGet() { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TagsGetWithHttpInfo(); + ApiResponse> localVarResponse = ApiV2TagsGetWithHttpInfo(); return localVarResponse.Data; } /// /// Get all Tags <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// ApiResponse of List<TagShortModel> - public TestIt.Client.Client.ApiResponse> ApiV2TagsGetWithHttpInfo() + public ApiResponse> ApiV2TagsGetWithHttpInfo() { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -377,10 +377,10 @@ public TestIt.Client.Client.ApiResponse> ApiV2TagsGetWithHtt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -405,25 +405,25 @@ public TestIt.Client.Client.ApiResponse> ApiV2TagsGetWithHtt /// /// Get all Tags <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of List<TagShortModel> public async System.Threading.Tasks.Task> ApiV2TagsGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TagsGetWithHttpInfoAsync(cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TagsGetWithHttpInfoAsync(cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get all Tags <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TagShortModel>) - public async System.Threading.Tasks.Task>> ApiV2TagsGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TagsGetWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -434,10 +434,10 @@ public TestIt.Client.Client.ApiResponse> ApiV2TagsGetWithHtt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -463,7 +463,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TagsGetWithHtt /// /// Get all Tags that are used in TestPlans <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -472,23 +472,23 @@ public TestIt.Client.Client.ApiResponse> ApiV2TagsGetWithHtt /// List<TagShortModel> public List ApiV2TagsTestPlansTagsGet(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TagsTestPlansTagsGetWithHttpInfo(skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = ApiV2TagsTestPlansTagsGetWithHttpInfo(skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get all Tags that are used in TestPlans <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<TagShortModel> - public TestIt.Client.Client.ApiResponse> ApiV2TagsTestPlansTagsGetWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> ApiV2TagsTestPlansTagsGetWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -498,31 +498,31 @@ public TestIt.Client.Client.ApiResponse> ApiV2TagsGetWithHtt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -546,7 +546,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TagsGetWithHtt /// /// Get all Tags that are used in TestPlans <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -556,14 +556,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TagsGetWithHtt /// Task of List<TagShortModel> public async System.Threading.Tasks.Task> ApiV2TagsTestPlansTagsGetAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TagsTestPlansTagsGetWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TagsTestPlansTagsGetWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get all Tags that are used in TestPlans <br>Use case <br>User runs method execution <br>System returns tags (listed in the response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -571,10 +571,10 @@ public TestIt.Client.Client.ApiResponse> ApiV2TagsGetWithHtt /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TagShortModel>) - public async System.Threading.Tasks.Task>> ApiV2TagsTestPlansTagsGetWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TagsTestPlansTagsGetWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -585,31 +585,31 @@ public TestIt.Client.Client.ApiResponse> ApiV2TagsGetWithHtt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required diff --git a/src/TestIt.Client/Api/TestPlansApi.cs b/src/TestIT.ApiClient/Api/TestPlansApi.cs similarity index 74% rename from src/TestIt.Client/Api/TestPlansApi.cs rename to src/TestIT.ApiClient/Api/TestPlansApi.cs index 400c0b2b..9f37600a 100644 --- a/src/TestIt.Client/Api/TestPlansApi.cs +++ b/src/TestIT.ApiClient/Api/TestPlansApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -30,7 +30,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// Add test-points to TestPlan with sections /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Filter object to retrieve work items for test-suite's project (optional) /// @@ -40,9 +40,9 @@ public interface ITestPlansApiSync : IApiAccessor /// Add test-points to TestPlan with sections /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Filter object to retrieve work items for test-suite's project (optional) /// ApiResponse of Object(void) @@ -53,7 +53,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets TestPlan identifier <br>User sets WorkItem identifiers (listed in request example) <br>User runs method execution <br>System added WorkItems and Sections to TestPlan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// @@ -65,7 +65,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets TestPlan identifier <br>User sets WorkItem identifiers (listed in request example) <br>User runs method execution <br>System added WorkItems and Sections to TestPlan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// ApiResponse of Object(void) @@ -76,7 +76,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System returns analytics by test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// TestPointAnalyticResult TestPointAnalyticResult ApiV2TestPlansIdAnalyticsGet(string id); @@ -87,14 +87,14 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System returns analytics by test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of TestPointAnalyticResult ApiResponse ApiV2TestPlansIdAnalyticsGetWithHttpInfo(string id); /// /// Distribute test points between the users /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// Specifies a project user IDs to distribute (optional) /// TestPlanWithTestSuiteTreeModel @@ -104,9 +104,9 @@ public interface ITestPlansApiSync : IApiAccessor /// Distribute test points between the users /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// Specifies a project user IDs to distribute (optional) /// ApiResponse of TestPlanWithTestSuiteTreeModel @@ -117,7 +117,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// List<ConfigurationModel> List ApiV2TestPlansIdConfigurationsGet(string id); @@ -128,7 +128,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of List<ConfigurationModel> ApiResponse> ApiV2TestPlansIdConfigurationsGetWithHttpInfo(string id); @@ -138,7 +138,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -151,7 +151,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -163,7 +163,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -178,7 +178,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -192,7 +192,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan history /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -208,7 +208,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan history /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -223,7 +223,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets pagination filter (listed in request example) <br>User runs method execution <br>System returns links of TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -237,7 +237,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets pagination filter (listed in request example) <br>User runs method execution <br>System returns links of TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -250,7 +250,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test plan /// (optional) /// @@ -262,7 +262,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test plan /// (optional) /// ApiResponse of Object(void) @@ -273,7 +273,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets filter (listed in request example) <br>User runs method execution <br>System return test points with last result from test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -290,7 +290,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets filter (listed in request example) <br>User runs method execution <br>System return test points with last result from test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -306,7 +306,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets test points identifiers <br>User runs method execution <br>System reset test points statuses of test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// @@ -318,7 +318,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets test points identifiers <br>User runs method execution <br>System reset test points statuses of test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// ApiResponse of Object(void) @@ -326,7 +326,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// Unassign users from multiple test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// (optional) /// List<Guid> @@ -336,9 +336,9 @@ public interface ITestPlansApiSync : IApiAccessor /// Unassign users from multiple test points /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// (optional) /// ApiResponse of List<Guid> @@ -346,7 +346,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// Assign user as a tester to multiple test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// Unique ID of the user /// (optional) @@ -357,9 +357,9 @@ public interface ITestPlansApiSync : IApiAccessor /// Assign user as a tester to multiple test points /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// Unique ID of the user /// (optional) @@ -371,7 +371,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets TestRun status filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -391,7 +391,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets TestRun status filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -410,7 +410,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets TestRuns filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -427,7 +427,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets TestRuns filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -440,7 +440,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// Get last modification date of test plan's test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// DateTime DateTime ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet(string id); @@ -449,9 +449,9 @@ public interface ITestPlansApiSync : IApiAccessor /// Get last modification date of test plan's test results /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// ApiResponse of DateTime ApiResponse ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfo(string id); @@ -461,7 +461,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System send unlock test plan notification /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// void ApiV2TestPlansIdUnlockRequestPost(string id); @@ -472,7 +472,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System send unlock test plan notification /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of Object(void) ApiResponse ApiV2TestPlansIdUnlockRequestPostWithHttpInfo(string id); @@ -482,7 +482,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets projects identifiers <br>User runs method execution <br>System return test plans short models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// List<TestPlanShortModel> @@ -494,7 +494,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets projects identifiers <br>User runs method execution <br>System return test plans short models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// ApiResponse of List<TestPlanShortModel> @@ -505,7 +505,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System clones test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// TestPlanModel TestPlanModel Clone(string id); @@ -516,7 +516,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System clones test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of TestPlanModel ApiResponse CloneWithHttpInfo(string id); @@ -526,7 +526,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System completes the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// void Complete(string id); @@ -537,7 +537,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System completes the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of Object(void) ApiResponse CompleteWithHttpInfo(string id); @@ -547,7 +547,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan properties (listed in request example) <br>User runs method execution <br>System creates test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestPlanModel TestPlanModel CreateTestPlan(CreateTestPlanRequest createTestPlanRequest = default(CreateTestPlanRequest)); @@ -558,7 +558,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan properties (listed in request example) <br>User runs method execution <br>System creates test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestPlanModel ApiResponse CreateTestPlanWithHttpInfo(CreateTestPlanRequest createTestPlanRequest = default(CreateTestPlanRequest)); @@ -568,7 +568,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System delete test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// void DeleteTestPlan(string id); @@ -579,7 +579,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System delete test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of Object(void) ApiResponse DeleteTestPlanWithHttpInfo(string id); @@ -589,7 +589,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System search test plan by the identifier <br>System returns test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// TestPlanModel TestPlanModel GetTestPlanById(string id); @@ -600,7 +600,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System search test plan by the identifier <br>System returns test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of TestPlanModel ApiResponse GetTestPlanByIdWithHttpInfo(string id); @@ -610,7 +610,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System finds test suites related to the test plan <br>System returns test suites as a tree model (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// List<TestSuiteV2TreeModel> List GetTestSuitesById(string id); @@ -621,7 +621,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System finds test suites related to the test plan <br>System returns test suites as a tree model (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of List<TestSuiteV2TreeModel> ApiResponse> GetTestSuitesByIdWithHttpInfo(string id); @@ -631,7 +631,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System pauses the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// void Pause(string id); @@ -642,14 +642,14 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System pauses the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of Object(void) ApiResponse PauseWithHttpInfo(string id); /// /// Permanently delete test plan from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// void PurgeTestPlan(string id); @@ -658,9 +658,9 @@ public interface ITestPlansApiSync : IApiAccessor /// Permanently delete test plan from archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// ApiResponse of Object(void) ApiResponse PurgeTestPlanWithHttpInfo(string id); @@ -670,7 +670,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System restores test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// void RestoreTestPlan(string id); @@ -681,7 +681,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System restores test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of Object(void) ApiResponse RestoreTestPlanWithHttpInfo(string id); @@ -691,7 +691,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System starts the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// void Start(string id); @@ -702,7 +702,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System starts the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of Object(void) ApiResponse StartWithHttpInfo(string id); @@ -712,7 +712,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan properties(listed in request example) <br>User runs method execution <br>System updates test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void UpdateTestPlan(UpdateTestPlanRequest updateTestPlanRequest = default(UpdateTestPlanRequest)); @@ -723,7 +723,7 @@ public interface ITestPlansApiSync : IApiAccessor /// /// <br>Use case <br>User sets test plan properties(listed in request example) <br>User runs method execution <br>System updates test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse UpdateTestPlanWithHttpInfo(UpdateTestPlanRequest updateTestPlanRequest = default(UpdateTestPlanRequest)); @@ -740,9 +740,9 @@ public interface ITestPlansApiAsync : IApiAccessor /// Add test-points to TestPlan with sections /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Filter object to retrieve work items for test-suite's project (optional) /// Cancellation Token to cancel the request. @@ -753,9 +753,9 @@ public interface ITestPlansApiAsync : IApiAccessor /// Add test-points to TestPlan with sections /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Filter object to retrieve work items for test-suite's project (optional) /// Cancellation Token to cancel the request. @@ -767,7 +767,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets TestPlan identifier <br>User sets WorkItem identifiers (listed in request example) <br>User runs method execution <br>System added WorkItems and Sections to TestPlan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -780,7 +780,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets TestPlan identifier <br>User sets WorkItem identifiers (listed in request example) <br>User runs method execution <br>System added WorkItems and Sections to TestPlan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -792,7 +792,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System returns analytics by test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of TestPointAnalyticResult @@ -804,7 +804,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System returns analytics by test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestPointAnalyticResult) @@ -813,9 +813,9 @@ public interface ITestPlansApiAsync : IApiAccessor /// Distribute test points between the users /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// Specifies a project user IDs to distribute (optional) /// Cancellation Token to cancel the request. @@ -826,9 +826,9 @@ public interface ITestPlansApiAsync : IApiAccessor /// Distribute test points between the users /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// Specifies a project user IDs to distribute (optional) /// Cancellation Token to cancel the request. @@ -840,7 +840,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of List<ConfigurationModel> @@ -852,7 +852,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ConfigurationModel>) @@ -863,7 +863,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -877,7 +877,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -890,7 +890,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -906,7 +906,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -921,7 +921,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan history /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -938,7 +938,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan history /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -954,7 +954,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets pagination filter (listed in request example) <br>User runs method execution <br>System returns links of TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -969,7 +969,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets pagination filter (listed in request example) <br>User runs method execution <br>System returns links of TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -983,7 +983,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test plan /// (optional) /// Cancellation Token to cancel the request. @@ -996,7 +996,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test plan /// (optional) /// Cancellation Token to cancel the request. @@ -1008,7 +1008,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets filter (listed in request example) <br>User runs method execution <br>System return test points with last result from test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -1026,7 +1026,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets filter (listed in request example) <br>User runs method execution <br>System return test points with last result from test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -1043,7 +1043,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets test points identifiers <br>User runs method execution <br>System reset test points statuses of test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -1056,7 +1056,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets test points identifiers <br>User runs method execution <br>System reset test points statuses of test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -1066,9 +1066,9 @@ public interface ITestPlansApiAsync : IApiAccessor /// Unassign users from multiple test points /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// (optional) /// Cancellation Token to cancel the request. @@ -1079,9 +1079,9 @@ public interface ITestPlansApiAsync : IApiAccessor /// Unassign users from multiple test points /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// (optional) /// Cancellation Token to cancel the request. @@ -1091,9 +1091,9 @@ public interface ITestPlansApiAsync : IApiAccessor /// Assign user as a tester to multiple test points /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// Unique ID of the user /// (optional) @@ -1105,9 +1105,9 @@ public interface ITestPlansApiAsync : IApiAccessor /// Assign user as a tester to multiple test points /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// Unique ID of the user /// (optional) @@ -1120,7 +1120,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets TestRun status filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -1141,7 +1141,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets TestRun status filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -1161,7 +1161,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets TestRuns filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1179,7 +1179,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User sets TestRuns filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1194,9 +1194,9 @@ public interface ITestPlansApiAsync : IApiAccessor /// Get last modification date of test plan's test results /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// Cancellation Token to cancel the request. /// Task of DateTime @@ -1206,9 +1206,9 @@ public interface ITestPlansApiAsync : IApiAccessor /// Get last modification date of test plan's test results /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (DateTime) @@ -1219,7 +1219,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System send unlock test plan notification /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -1231,7 +1231,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System send unlock test plan notification /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1242,7 +1242,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets projects identifiers <br>User runs method execution <br>System return test plans short models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Cancellation Token to cancel the request. @@ -1255,7 +1255,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets projects identifiers <br>User runs method execution <br>System return test plans short models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Cancellation Token to cancel the request. @@ -1267,7 +1267,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System clones test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of TestPlanModel @@ -1279,7 +1279,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System clones test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestPlanModel) @@ -1290,7 +1290,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System completes the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -1302,7 +1302,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System completes the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1313,7 +1313,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan properties (listed in request example) <br>User runs method execution <br>System creates test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestPlanModel @@ -1325,7 +1325,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan properties (listed in request example) <br>User runs method execution <br>System creates test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestPlanModel) @@ -1336,7 +1336,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System delete test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -1348,7 +1348,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System delete test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1359,7 +1359,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System search test plan by the identifier <br>System returns test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of TestPlanModel @@ -1371,7 +1371,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System search test plan by the identifier <br>System returns test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestPlanModel) @@ -1382,7 +1382,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System finds test suites related to the test plan <br>System returns test suites as a tree model (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of List<TestSuiteV2TreeModel> @@ -1394,7 +1394,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System finds test suites related to the test plan <br>System returns test suites as a tree model (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestSuiteV2TreeModel>) @@ -1405,7 +1405,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System pauses the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -1417,7 +1417,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System pauses the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1426,9 +1426,9 @@ public interface ITestPlansApiAsync : IApiAccessor /// Permanently delete test plan from archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// Cancellation Token to cancel the request. /// Task of void @@ -1438,9 +1438,9 @@ public interface ITestPlansApiAsync : IApiAccessor /// Permanently delete test plan from archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1451,7 +1451,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System restores test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -1463,7 +1463,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System restores test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1474,7 +1474,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System starts the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -1486,7 +1486,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System starts the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1497,7 +1497,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan properties(listed in request example) <br>User runs method execution <br>System updates test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1509,7 +1509,7 @@ public interface ITestPlansApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test plan properties(listed in request example) <br>User runs method execution <br>System updates test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1530,7 +1530,7 @@ public interface ITestPlansApi : ITestPlansApiSync, ITestPlansApiAsync /// public partial class TestPlansApi : IDisposable, ITestPlansApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -1552,14 +1552,14 @@ public TestPlansApi() : this((string)null) /// public TestPlansApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1570,18 +1570,18 @@ public TestPlansApi(string basePath) /// An instance of Configuration. /// /// - public TestPlansApi(TestIt.Client.Client.Configuration configuration) + public TestPlansApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1616,14 +1616,14 @@ public TestPlansApi(HttpClient client, string basePath, HttpClientHandler handle { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1638,19 +1638,19 @@ public TestPlansApi(HttpClient client, string basePath, HttpClientHandler handle /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public TestPlansApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public TestPlansApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1661,7 +1661,7 @@ public TestPlansApi(HttpClient client, TestIt.Client.Client.Configuration config /// The client interface for asynchronous API access. /// The configuration object. /// - public TestPlansApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public TestPlansApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -1670,7 +1670,7 @@ public TestPlansApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Clien this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1684,17 +1684,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -1709,12 +1709,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -1728,9 +1728,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Add test-points to TestPlan with sections + /// Add test-points to TestPlan with sections /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Filter object to retrieve work items for test-suite's project (optional) /// @@ -1740,19 +1740,19 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Add test-points to TestPlan with sections + /// Add test-points to TestPlan with sections /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Filter object to retrieve work items for test-suite's project (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse AddTestPointsWithSectionsWithHttpInfo(string id, ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) + public ApiResponse AddTestPointsWithSectionsWithHttpInfo(string id, ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->AddTestPointsWithSections"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->AddTestPointsWithSections"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1763,13 +1763,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2ProjectsIdWorkItemsSearchPostRequest; // authentication (Bearer or PrivateToken) required @@ -1791,9 +1791,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Add test-points to TestPlan with sections + /// Add test-points to TestPlan with sections /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Filter object to retrieve work items for test-suite's project (optional) /// Cancellation Token to cancel the request. @@ -1804,21 +1804,21 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Add test-points to TestPlan with sections + /// Add test-points to TestPlan with sections /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Filter object to retrieve work items for test-suite's project (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> AddTestPointsWithSectionsWithHttpInfoAsync(string id, ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> AddTestPointsWithSectionsWithHttpInfoAsync(string id, ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->AddTestPointsWithSections"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->AddTestPointsWithSections"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1830,13 +1830,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2ProjectsIdWorkItemsSearchPostRequest; // authentication (Bearer or PrivateToken) required @@ -1861,7 +1861,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Add WorkItems to TestPlan with Sections as TestSuites <br>Use case <br>User sets TestPlan identifier <br>User sets WorkItem identifiers (listed in request example) <br>User runs method execution <br>System added WorkItems and Sections to TestPlan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// @@ -1873,17 +1873,17 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Add WorkItems to TestPlan with Sections as TestSuites <br>Use case <br>User sets TestPlan identifier <br>User sets WorkItem identifiers (listed in request example) <br>User runs method execution <br>System added WorkItems and Sections to TestPlan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse AddWorkItemsWithSectionsWithHttpInfo(string id, List requestBody = default(List)) + public ApiResponse AddWorkItemsWithSectionsWithHttpInfo(string id, List requestBody = default(List)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->AddWorkItemsWithSections"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->AddWorkItemsWithSections"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1894,13 +1894,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -1924,7 +1924,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Add WorkItems to TestPlan with Sections as TestSuites <br>Use case <br>User sets TestPlan identifier <br>User sets WorkItem identifiers (listed in request example) <br>User runs method execution <br>System added WorkItems and Sections to TestPlan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -1937,19 +1937,19 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Add WorkItems to TestPlan with Sections as TestSuites <br>Use case <br>User sets TestPlan identifier <br>User sets WorkItem identifiers (listed in request example) <br>User runs method execution <br>System added WorkItems and Sections to TestPlan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> AddWorkItemsWithSectionsWithHttpInfoAsync(string id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> AddWorkItemsWithSectionsWithHttpInfoAsync(string id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->AddWorkItemsWithSections"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->AddWorkItemsWithSections"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1961,13 +1961,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -1992,28 +1992,28 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Get analytics by TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System returns analytics by test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// TestPointAnalyticResult public TestPointAnalyticResult ApiV2TestPlansIdAnalyticsGet(string id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2TestPlansIdAnalyticsGetWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2TestPlansIdAnalyticsGetWithHttpInfo(id); return localVarResponse.Data; } /// /// Get analytics by TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System returns analytics by test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of TestPointAnalyticResult - public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdAnalyticsGetWithHttpInfo(string id) + public ApiResponse ApiV2TestPlansIdAnalyticsGetWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdAnalyticsGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdAnalyticsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2023,13 +2023,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2052,31 +2052,31 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansI /// /// Get analytics by TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System returns analytics by test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of TestPointAnalyticResult public async System.Threading.Tasks.Task ApiV2TestPlansIdAnalyticsGetAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2TestPlansIdAnalyticsGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2TestPlansIdAnalyticsGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get analytics by TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System returns analytics by test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestPointAnalyticResult) - public async System.Threading.Tasks.Task> ApiV2TestPlansIdAnalyticsGetWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestPlansIdAnalyticsGetWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdAnalyticsGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdAnalyticsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2087,13 +2087,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2115,32 +2115,32 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansI } /// - /// Distribute test points between the users + /// Distribute test points between the users /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// Specifies a project user IDs to distribute (optional) /// TestPlanWithTestSuiteTreeModel public TestPlanWithTestSuiteTreeModel ApiV2TestPlansIdAutobalancePost(string id, List testers = default(List)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2TestPlansIdAutobalancePostWithHttpInfo(id, testers); + ApiResponse localVarResponse = ApiV2TestPlansIdAutobalancePostWithHttpInfo(id, testers); return localVarResponse.Data; } /// - /// Distribute test points between the users + /// Distribute test points between the users /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// Specifies a project user IDs to distribute (optional) /// ApiResponse of TestPlanWithTestSuiteTreeModel - public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdAutobalancePostWithHttpInfo(string id, List testers = default(List)) + public ApiResponse ApiV2TestPlansIdAutobalancePostWithHttpInfo(string id, List testers = default(List)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdAutobalancePost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdAutobalancePost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2150,16 +2150,16 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (testers != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "testers", testers)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "testers", testers)); } // authentication (Bearer or PrivateToken) required @@ -2181,35 +2181,35 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansI } /// - /// Distribute test points between the users + /// Distribute test points between the users /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// Specifies a project user IDs to distribute (optional) /// Cancellation Token to cancel the request. /// Task of TestPlanWithTestSuiteTreeModel public async System.Threading.Tasks.Task ApiV2TestPlansIdAutobalancePostAsync(string id, List testers = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2TestPlansIdAutobalancePostWithHttpInfoAsync(id, testers, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2TestPlansIdAutobalancePostWithHttpInfoAsync(id, testers, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Distribute test points between the users + /// Distribute test points between the users /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// Specifies a project user IDs to distribute (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestPlanWithTestSuiteTreeModel) - public async System.Threading.Tasks.Task> ApiV2TestPlansIdAutobalancePostWithHttpInfoAsync(string id, List testers = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestPlansIdAutobalancePostWithHttpInfoAsync(string id, List testers = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdAutobalancePost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdAutobalancePost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2220,16 +2220,16 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (testers != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "testers", testers)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "testers", testers)); } // authentication (Bearer or PrivateToken) required @@ -2254,28 +2254,28 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansI /// /// Get TestPlan configurations <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// List<ConfigurationModel> public List ApiV2TestPlansIdConfigurationsGet(string id) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestPlansIdConfigurationsGetWithHttpInfo(id); + ApiResponse> localVarResponse = ApiV2TestPlansIdConfigurationsGetWithHttpInfo(id); return localVarResponse.Data; } /// /// Get TestPlan configurations <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of List<ConfigurationModel> - public TestIt.Client.Client.ApiResponse> ApiV2TestPlansIdConfigurationsGetWithHttpInfo(string id) + public ApiResponse> ApiV2TestPlansIdConfigurationsGetWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdConfigurationsGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdConfigurationsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2285,13 +2285,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2314,31 +2314,31 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Get TestPlan configurations <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of List<ConfigurationModel> public async System.Threading.Tasks.Task> ApiV2TestPlansIdConfigurationsGetAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestPlansIdConfigurationsGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestPlansIdConfigurationsGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get TestPlan configurations <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan configurations /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ConfigurationModel>) - public async System.Threading.Tasks.Task>> ApiV2TestPlansIdConfigurationsGetWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestPlansIdConfigurationsGetWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdConfigurationsGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdConfigurationsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2349,13 +2349,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2379,32 +2379,32 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Export TestPoints from TestPlan in xls format <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) /// FileParameter public FileParameter ApiV2TestPlansIdExportTestPointsXlsxPost(string id, long? timeZoneOffsetInMinutes = default(long?), ApiV2TestPlansIdExportTestPointsXlsxPostRequest apiV2TestPlansIdExportTestPointsXlsxPostRequest = default(ApiV2TestPlansIdExportTestPointsXlsxPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfo(id, timeZoneOffsetInMinutes, apiV2TestPlansIdExportTestPointsXlsxPostRequest); + ApiResponse localVarResponse = ApiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfo(id, timeZoneOffsetInMinutes, apiV2TestPlansIdExportTestPointsXlsxPostRequest); return localVarResponse.Data; } /// /// Export TestPoints from TestPlan in xls format <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) /// ApiResponse of FileParameter - public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfo(string id, long? timeZoneOffsetInMinutes = default(long?), ApiV2TestPlansIdExportTestPointsXlsxPostRequest apiV2TestPlansIdExportTestPointsXlsxPostRequest = default(ApiV2TestPlansIdExportTestPointsXlsxPostRequest)) + public ApiResponse ApiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfo(string id, long? timeZoneOffsetInMinutes = default(long?), ApiV2TestPlansIdExportTestPointsXlsxPostRequest apiV2TestPlansIdExportTestPointsXlsxPostRequest = default(ApiV2TestPlansIdExportTestPointsXlsxPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdExportTestPointsXlsxPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdExportTestPointsXlsxPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2416,16 +2416,16 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (timeZoneOffsetInMinutes != null) { - localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", TestIt.Client.Client.ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter + localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter } localVarRequestOptions.Data = apiV2TestPlansIdExportTestPointsXlsxPostRequest; @@ -2450,7 +2450,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Export TestPoints from TestPlan in xls format <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -2458,27 +2458,27 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Task of FileParameter public async System.Threading.Tasks.Task ApiV2TestPlansIdExportTestPointsXlsxPostAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ApiV2TestPlansIdExportTestPointsXlsxPostRequest apiV2TestPlansIdExportTestPointsXlsxPostRequest = default(ApiV2TestPlansIdExportTestPointsXlsxPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfoAsync(id, timeZoneOffsetInMinutes, apiV2TestPlansIdExportTestPointsXlsxPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfoAsync(id, timeZoneOffsetInMinutes, apiV2TestPlansIdExportTestPointsXlsxPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Export TestPoints from TestPlan in xls format <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (FileParameter) - public async System.Threading.Tasks.Task> ApiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfoAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ApiV2TestPlansIdExportTestPointsXlsxPostRequest apiV2TestPlansIdExportTestPointsXlsxPostRequest = default(ApiV2TestPlansIdExportTestPointsXlsxPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfoAsync(string id, long? timeZoneOffsetInMinutes = default(long?), ApiV2TestPlansIdExportTestPointsXlsxPostRequest apiV2TestPlansIdExportTestPointsXlsxPostRequest = default(ApiV2TestPlansIdExportTestPointsXlsxPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdExportTestPointsXlsxPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdExportTestPointsXlsxPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2491,16 +2491,16 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (timeZoneOffsetInMinutes != null) { - localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", TestIt.Client.Client.ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter + localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter } localVarRequestOptions.Data = apiV2TestPlansIdExportTestPointsXlsxPostRequest; @@ -2526,7 +2526,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Export TestResults history from TestPlan in xls format <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -2535,27 +2535,27 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// FileParameter public FileParameter ApiV2TestPlansIdExportTestResultHistoryXlsxPost(string id, bool? mustReturnOnlyLastTestResult = default(bool?), bool? includeSteps = default(bool?), bool? includeDeletedTestSuites = default(bool?), long? timeZoneOffsetInMinutes = default(long?)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfo(id, mustReturnOnlyLastTestResult, includeSteps, includeDeletedTestSuites, timeZoneOffsetInMinutes); + ApiResponse localVarResponse = ApiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfo(id, mustReturnOnlyLastTestResult, includeSteps, includeDeletedTestSuites, timeZoneOffsetInMinutes); return localVarResponse.Data; } /// /// Export TestResults history from TestPlan in xls format <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) /// (optional) /// (optional) /// ApiResponse of FileParameter - public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfo(string id, bool? mustReturnOnlyLastTestResult = default(bool?), bool? includeSteps = default(bool?), bool? includeDeletedTestSuites = default(bool?), long? timeZoneOffsetInMinutes = default(long?)) + public ApiResponse ApiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfo(string id, bool? mustReturnOnlyLastTestResult = default(bool?), bool? includeSteps = default(bool?), bool? includeDeletedTestSuites = default(bool?), long? timeZoneOffsetInMinutes = default(long?)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdExportTestResultHistoryXlsxPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdExportTestResultHistoryXlsxPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2566,28 +2566,28 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (mustReturnOnlyLastTestResult != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "mustReturnOnlyLastTestResult", mustReturnOnlyLastTestResult)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "mustReturnOnlyLastTestResult", mustReturnOnlyLastTestResult)); } if (includeSteps != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeSteps", includeSteps)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeSteps", includeSteps)); } if (includeDeletedTestSuites != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeDeletedTestSuites", includeDeletedTestSuites)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeDeletedTestSuites", includeDeletedTestSuites)); } if (timeZoneOffsetInMinutes != null) { - localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", TestIt.Client.Client.ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter + localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter } // authentication (Bearer or PrivateToken) required @@ -2611,7 +2611,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Export TestResults history from TestPlan in xls format <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -2621,14 +2621,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Task of FileParameter public async System.Threading.Tasks.Task ApiV2TestPlansIdExportTestResultHistoryXlsxPostAsync(string id, bool? mustReturnOnlyLastTestResult = default(bool?), bool? includeSteps = default(bool?), bool? includeDeletedTestSuites = default(bool?), long? timeZoneOffsetInMinutes = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfoAsync(id, mustReturnOnlyLastTestResult, includeSteps, includeDeletedTestSuites, timeZoneOffsetInMinutes, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfoAsync(id, mustReturnOnlyLastTestResult, includeSteps, includeDeletedTestSuites, timeZoneOffsetInMinutes, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Export TestResults history from TestPlan in xls format <br>Use case <br>User sets test plan identifier <br>User sets filter model (listed in request example) <br>User runs method execution <br>System return export xlsx file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -2636,14 +2636,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (FileParameter) - public async System.Threading.Tasks.Task> ApiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfoAsync(string id, bool? mustReturnOnlyLastTestResult = default(bool?), bool? includeSteps = default(bool?), bool? includeDeletedTestSuites = default(bool?), long? timeZoneOffsetInMinutes = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfoAsync(string id, bool? mustReturnOnlyLastTestResult = default(bool?), bool? includeSteps = default(bool?), bool? includeDeletedTestSuites = default(bool?), long? timeZoneOffsetInMinutes = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdExportTestResultHistoryXlsxPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdExportTestResultHistoryXlsxPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2655,28 +2655,28 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (mustReturnOnlyLastTestResult != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "mustReturnOnlyLastTestResult", mustReturnOnlyLastTestResult)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "mustReturnOnlyLastTestResult", mustReturnOnlyLastTestResult)); } if (includeSteps != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeSteps", includeSteps)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeSteps", includeSteps)); } if (includeDeletedTestSuites != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "includeDeletedTestSuites", includeDeletedTestSuites)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "includeDeletedTestSuites", includeDeletedTestSuites)); } if (timeZoneOffsetInMinutes != null) { - localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", TestIt.Client.Client.ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter + localVarRequestOptions.HeaderParameters.Add("time-Zone-Offset-In-Minutes", ClientUtils.ParameterToString(timeZoneOffsetInMinutes)); // header parameter } // authentication (Bearer or PrivateToken) required @@ -2701,7 +2701,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Get TestPlan history <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan history /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2711,14 +2711,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// List<TestPlanChangeModel> public List ApiV2TestPlansIdHistoryGet(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestPlansIdHistoryGetWithHttpInfo(id, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = ApiV2TestPlansIdHistoryGetWithHttpInfo(id, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get TestPlan history <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan history /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2726,13 +2726,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<TestPlanChangeModel> - public TestIt.Client.Client.ApiResponse> ApiV2TestPlansIdHistoryGetWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> ApiV2TestPlansIdHistoryGetWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdHistoryGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdHistoryGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2742,32 +2742,32 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -2791,7 +2791,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Get TestPlan history <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan history /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2802,14 +2802,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Task of List<TestPlanChangeModel> public async System.Threading.Tasks.Task> ApiV2TestPlansIdHistoryGetAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestPlansIdHistoryGetWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestPlansIdHistoryGetWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get TestPlan history <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System return test plan history /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2818,14 +2818,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestPlanChangeModel>) - public async System.Threading.Tasks.Task>> ApiV2TestPlansIdHistoryGetWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestPlansIdHistoryGetWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdHistoryGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdHistoryGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2836,32 +2836,32 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -2886,7 +2886,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Get Links of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets pagination filter (listed in request example) <br>User runs method execution <br>System returns links of TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -2894,26 +2894,26 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// List<TestPlanLink> public List ApiV2TestPlansIdLinksGet(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestPlansIdLinksGetWithHttpInfo(id, skip, take, orderBy); + ApiResponse> localVarResponse = ApiV2TestPlansIdLinksGetWithHttpInfo(id, skip, take, orderBy); return localVarResponse.Data; } /// /// Get Links of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets pagination filter (listed in request example) <br>User runs method execution <br>System returns links of TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) /// (optional) /// ApiResponse of List<TestPlanLink> - public TestIt.Client.Client.ApiResponse> ApiV2TestPlansIdLinksGetWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string)) + public ApiResponse> ApiV2TestPlansIdLinksGetWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdLinksGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdLinksGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2923,24 +2923,24 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "orderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "orderBy", orderBy)); } // authentication (Bearer or PrivateToken) required @@ -2964,7 +2964,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Get Links of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets pagination filter (listed in request example) <br>User runs method execution <br>System returns links of TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -2973,28 +2973,28 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Task of List<TestPlanLink> public async System.Threading.Tasks.Task> ApiV2TestPlansIdLinksGetAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestPlansIdLinksGetWithHttpInfoAsync(id, skip, take, orderBy, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestPlansIdLinksGetWithHttpInfoAsync(id, skip, take, orderBy, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get Links of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets pagination filter (listed in request example) <br>User runs method execution <br>System returns links of TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestPlanLink>) - public async System.Threading.Tasks.Task>> ApiV2TestPlansIdLinksGetWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestPlansIdLinksGetWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdLinksGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdLinksGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3005,24 +3005,24 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "orderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "orderBy", orderBy)); } // authentication (Bearer or PrivateToken) required @@ -3047,7 +3047,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Patch test plan See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test plan /// (optional) /// @@ -3059,13 +3059,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Patch test plan See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test plan /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdPatchWithHttpInfo(Guid id, List operation = default(List)) + public ApiResponse ApiV2TestPlansIdPatchWithHttpInfo(Guid id, List operation = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3076,13 +3076,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = operation; // authentication (Bearer or PrivateToken) required @@ -3106,7 +3106,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Patch test plan See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test plan /// (optional) /// Cancellation Token to cancel the request. @@ -3119,15 +3119,15 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Patch test plan See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test plan /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2TestPlansIdPatchWithHttpInfoAsync(Guid id, List operation = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestPlansIdPatchWithHttpInfoAsync(Guid id, List operation = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3139,13 +3139,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = operation; // authentication (Bearer or PrivateToken) required @@ -3170,7 +3170,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Get TestPoints with last result from TestPlan <br>Use case <br>User sets test plan identifier <br>User sets filter (listed in request example) <br>User runs method execution <br>System return test points with last result from test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -3181,14 +3181,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// List<TestPointWithLastResultModel> public List ApiV2TestPlansIdTestPointsLastResultsGet(string id, Guid? testerId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestPlansIdTestPointsLastResultsGetWithHttpInfo(id, testerId, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = ApiV2TestPlansIdTestPointsLastResultsGetWithHttpInfo(id, testerId, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get TestPoints with last result from TestPlan <br>Use case <br>User sets test plan identifier <br>User sets filter (listed in request example) <br>User runs method execution <br>System return test points with last result from test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -3197,13 +3197,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<TestPointWithLastResultModel> - public TestIt.Client.Client.ApiResponse> ApiV2TestPlansIdTestPointsLastResultsGetWithHttpInfo(string id, Guid? testerId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> ApiV2TestPlansIdTestPointsLastResultsGetWithHttpInfo(string id, Guid? testerId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsLastResultsGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsLastResultsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3213,36 +3213,36 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (testerId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "testerId", testerId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "testerId", testerId)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -3266,7 +3266,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Get TestPoints with last result from TestPlan <br>Use case <br>User sets test plan identifier <br>User sets filter (listed in request example) <br>User runs method execution <br>System return test points with last result from test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -3278,14 +3278,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Task of List<TestPointWithLastResultModel> public async System.Threading.Tasks.Task> ApiV2TestPlansIdTestPointsLastResultsGetAsync(string id, Guid? testerId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestPlansIdTestPointsLastResultsGetWithHttpInfoAsync(id, testerId, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestPlansIdTestPointsLastResultsGetWithHttpInfoAsync(id, testerId, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get TestPoints with last result from TestPlan <br>Use case <br>User sets test plan identifier <br>User sets filter (listed in request example) <br>User runs method execution <br>System return test points with last result from test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Amount of items to be skipped (offset) (optional) @@ -3295,14 +3295,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestPointWithLastResultModel>) - public async System.Threading.Tasks.Task>> ApiV2TestPlansIdTestPointsLastResultsGetWithHttpInfoAsync(string id, Guid? testerId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestPlansIdTestPointsLastResultsGetWithHttpInfoAsync(string id, Guid? testerId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsLastResultsGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsLastResultsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3313,36 +3313,36 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (testerId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "testerId", testerId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "testerId", testerId)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -3367,7 +3367,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Reset TestPoints status of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets test points identifiers <br>User runs method execution <br>System reset test points statuses of test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// @@ -3379,17 +3379,17 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Reset TestPoints status of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets test points identifiers <br>User runs method execution <br>System reset test points statuses of test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdTestPointsResetPostWithHttpInfo(string id, List requestBody = default(List)) + public ApiResponse ApiV2TestPlansIdTestPointsResetPostWithHttpInfo(string id, List requestBody = default(List)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsResetPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsResetPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3400,13 +3400,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -3430,7 +3430,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Reset TestPoints status of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets test points identifiers <br>User runs method execution <br>System reset test points statuses of test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -3443,19 +3443,19 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Reset TestPoints status of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets test points identifiers <br>User runs method execution <br>System reset test points statuses of test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2TestPlansIdTestPointsResetPostWithHttpInfoAsync(string id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestPlansIdTestPointsResetPostWithHttpInfoAsync(string id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsResetPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsResetPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3467,13 +3467,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -3496,32 +3496,32 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans } /// - /// Unassign users from multiple test points + /// Unassign users from multiple test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// (optional) /// List<Guid> public List ApiV2TestPlansIdTestPointsTesterDelete(string id, ApiV2TestPlansIdTestPointsTesterUserIdPostRequest apiV2TestPlansIdTestPointsTesterUserIdPostRequest = default(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo(id, apiV2TestPlansIdTestPointsTesterUserIdPostRequest); + ApiResponse> localVarResponse = ApiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo(id, apiV2TestPlansIdTestPointsTesterUserIdPostRequest); return localVarResponse.Data; } /// - /// Unassign users from multiple test points + /// Unassign users from multiple test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// (optional) /// ApiResponse of List<Guid> - public TestIt.Client.Client.ApiResponse> ApiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo(string id, ApiV2TestPlansIdTestPointsTesterUserIdPostRequest apiV2TestPlansIdTestPointsTesterUserIdPostRequest = default(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest)) + public ApiResponse> ApiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo(string id, ApiV2TestPlansIdTestPointsTesterUserIdPostRequest apiV2TestPlansIdTestPointsTesterUserIdPostRequest = default(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsTesterDelete"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsTesterDelete"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3532,13 +3532,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2TestPlansIdTestPointsTesterUserIdPostRequest; // authentication (Bearer or PrivateToken) required @@ -3560,35 +3560,35 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans } /// - /// Unassign users from multiple test points + /// Unassign users from multiple test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// (optional) /// Cancellation Token to cancel the request. /// Task of List<Guid> public async System.Threading.Tasks.Task> ApiV2TestPlansIdTestPointsTesterDeleteAsync(string id, ApiV2TestPlansIdTestPointsTesterUserIdPostRequest apiV2TestPlansIdTestPointsTesterUserIdPostRequest = default(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestPlansIdTestPointsTesterDeleteWithHttpInfoAsync(id, apiV2TestPlansIdTestPointsTesterUserIdPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestPlansIdTestPointsTesterDeleteWithHttpInfoAsync(id, apiV2TestPlansIdTestPointsTesterUserIdPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Unassign users from multiple test points + /// Unassign users from multiple test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Guid>) - public async System.Threading.Tasks.Task>> ApiV2TestPlansIdTestPointsTesterDeleteWithHttpInfoAsync(string id, ApiV2TestPlansIdTestPointsTesterUserIdPostRequest apiV2TestPlansIdTestPointsTesterUserIdPostRequest = default(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestPlansIdTestPointsTesterDeleteWithHttpInfoAsync(string id, ApiV2TestPlansIdTestPointsTesterUserIdPostRequest apiV2TestPlansIdTestPointsTesterUserIdPostRequest = default(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsTesterDelete"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsTesterDelete"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3600,13 +3600,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2TestPlansIdTestPointsTesterUserIdPostRequest; // authentication (Bearer or PrivateToken) required @@ -3629,34 +3629,34 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans } /// - /// Assign user as a tester to multiple test points + /// Assign user as a tester to multiple test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// Unique ID of the user /// (optional) /// List<Guid> public List ApiV2TestPlansIdTestPointsTesterUserIdPost(string id, Guid userId, ApiV2TestPlansIdTestPointsTesterUserIdPostRequest apiV2TestPlansIdTestPointsTesterUserIdPostRequest = default(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo(id, userId, apiV2TestPlansIdTestPointsTesterUserIdPostRequest); + ApiResponse> localVarResponse = ApiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo(id, userId, apiV2TestPlansIdTestPointsTesterUserIdPostRequest); return localVarResponse.Data; } /// - /// Assign user as a tester to multiple test points + /// Assign user as a tester to multiple test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// Unique ID of the user /// (optional) /// ApiResponse of List<Guid> - public TestIt.Client.Client.ApiResponse> ApiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo(string id, Guid userId, ApiV2TestPlansIdTestPointsTesterUserIdPostRequest apiV2TestPlansIdTestPointsTesterUserIdPostRequest = default(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest)) + public ApiResponse> ApiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo(string id, Guid userId, ApiV2TestPlansIdTestPointsTesterUserIdPostRequest apiV2TestPlansIdTestPointsTesterUserIdPostRequest = default(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsTesterUserIdPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsTesterUserIdPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3667,14 +3667,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("userId", TestIt.Client.Client.ClientUtils.ParameterToString(userId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("userId", ClientUtils.ParameterToString(userId)); // path parameter localVarRequestOptions.Data = apiV2TestPlansIdTestPointsTesterUserIdPostRequest; // authentication (Bearer or PrivateToken) required @@ -3696,9 +3696,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans } /// - /// Assign user as a tester to multiple test points + /// Assign user as a tester to multiple test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// Unique ID of the user /// (optional) @@ -3706,27 +3706,27 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Task of List<Guid> public async System.Threading.Tasks.Task> ApiV2TestPlansIdTestPointsTesterUserIdPostAsync(string id, Guid userId, ApiV2TestPlansIdTestPointsTesterUserIdPostRequest apiV2TestPlansIdTestPointsTesterUserIdPostRequest = default(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfoAsync(id, userId, apiV2TestPlansIdTestPointsTesterUserIdPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfoAsync(id, userId, apiV2TestPlansIdTestPointsTesterUserIdPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Assign user as a tester to multiple test points + /// Assign user as a tester to multiple test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// Unique ID of the user /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Guid>) - public async System.Threading.Tasks.Task>> ApiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfoAsync(string id, Guid userId, ApiV2TestPlansIdTestPointsTesterUserIdPostRequest apiV2TestPlansIdTestPointsTesterUserIdPostRequest = default(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfoAsync(string id, Guid userId, ApiV2TestPlansIdTestPointsTesterUserIdPostRequest apiV2TestPlansIdTestPointsTesterUserIdPostRequest = default(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsTesterUserIdPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestPointsTesterUserIdPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3738,14 +3738,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("userId", TestIt.Client.Client.ClientUtils.ParameterToString(userId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("userId", ClientUtils.ParameterToString(userId)); // path parameter localVarRequestOptions.Data = apiV2TestPlansIdTestPointsTesterUserIdPostRequest; // authentication (Bearer or PrivateToken) required @@ -3770,7 +3770,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Get TestRuns of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets TestRun status filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -3784,14 +3784,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// List<TestRunModel> public List ApiV2TestPlansIdTestRunsGet(string id, bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestPlansIdTestRunsGetWithHttpInfo(id, notStarted, inProgress, stopped, completed, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = ApiV2TestPlansIdTestRunsGetWithHttpInfo(id, notStarted, inProgress, stopped, completed, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get TestRuns of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets TestRun status filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -3803,13 +3803,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<TestRunModel> - public TestIt.Client.Client.ApiResponse> ApiV2TestPlansIdTestRunsGetWithHttpInfo(string id, bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> ApiV2TestPlansIdTestRunsGetWithHttpInfo(string id, bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestRunsGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestRunsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3819,48 +3819,48 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (notStarted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "notStarted", notStarted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "notStarted", notStarted)); } if (inProgress != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "inProgress", inProgress)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "inProgress", inProgress)); } if (stopped != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "stopped", stopped)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "stopped", stopped)); } if (completed != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "completed", completed)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "completed", completed)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -3884,7 +3884,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Get TestRuns of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets TestRun status filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -3899,14 +3899,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Task of List<TestRunModel> public async System.Threading.Tasks.Task> ApiV2TestPlansIdTestRunsGetAsync(string id, bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestPlansIdTestRunsGetWithHttpInfoAsync(id, notStarted, inProgress, stopped, completed, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestPlansIdTestRunsGetWithHttpInfoAsync(id, notStarted, inProgress, stopped, completed, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get TestRuns of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets TestRun status filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// (optional) /// (optional) @@ -3919,14 +3919,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestRunModel>) - public async System.Threading.Tasks.Task>> ApiV2TestPlansIdTestRunsGetWithHttpInfoAsync(string id, bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestPlansIdTestRunsGetWithHttpInfoAsync(string id, bool? notStarted = default(bool?), bool? inProgress = default(bool?), bool? stopped = default(bool?), bool? completed = default(bool?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestRunsGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestRunsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3937,48 +3937,48 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (notStarted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "notStarted", notStarted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "notStarted", notStarted)); } if (inProgress != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "inProgress", inProgress)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "inProgress", inProgress)); } if (stopped != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "stopped", stopped)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "stopped", stopped)); } if (completed != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "completed", completed)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "completed", completed)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -4003,7 +4003,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Search TestRuns of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets TestRuns filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -4014,14 +4014,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// List<TestRunModel> public List ApiV2TestPlansIdTestRunsSearchPost(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPlansIdTestRunsSearchPostRequest apiV2TestPlansIdTestRunsSearchPostRequest = default(ApiV2TestPlansIdTestRunsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestPlansIdTestRunsSearchPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, apiV2TestPlansIdTestRunsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2TestPlansIdTestRunsSearchPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, apiV2TestPlansIdTestRunsSearchPostRequest); return localVarResponse.Data; } /// /// Search TestRuns of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets TestRuns filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -4030,13 +4030,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Value for searching (optional) /// (optional) /// ApiResponse of List<TestRunModel> - public TestIt.Client.Client.ApiResponse> ApiV2TestPlansIdTestRunsSearchPostWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPlansIdTestRunsSearchPostRequest apiV2TestPlansIdTestRunsSearchPostRequest = default(ApiV2TestPlansIdTestRunsSearchPostRequest)) + public ApiResponse> ApiV2TestPlansIdTestRunsSearchPostWithHttpInfo(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPlansIdTestRunsSearchPostRequest apiV2TestPlansIdTestRunsSearchPostRequest = default(ApiV2TestPlansIdTestRunsSearchPostRequest)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestRunsSearchPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestRunsSearchPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4047,32 +4047,32 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2TestPlansIdTestRunsSearchPostRequest; @@ -4097,7 +4097,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// /// Search TestRuns of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets TestRuns filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -4109,14 +4109,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// Task of List<TestRunModel> public async System.Threading.Tasks.Task> ApiV2TestPlansIdTestRunsSearchPostAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPlansIdTestRunsSearchPostRequest apiV2TestPlansIdTestRunsSearchPostRequest = default(ApiV2TestPlansIdTestRunsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestPlansIdTestRunsSearchPostWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, apiV2TestPlansIdTestRunsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestPlansIdTestRunsSearchPostWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, apiV2TestPlansIdTestRunsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Search TestRuns of TestPlan <br>Use case <br>User sets test plan identifier <br>User sets TestRuns filter (listed in request example) <br>User runs method execution <br>System returns TestRuns for TestPlan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -4126,14 +4126,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestRunModel>) - public async System.Threading.Tasks.Task>> ApiV2TestPlansIdTestRunsSearchPostWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPlansIdTestRunsSearchPostRequest apiV2TestPlansIdTestRunsSearchPostRequest = default(ApiV2TestPlansIdTestRunsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestPlansIdTestRunsSearchPostWithHttpInfoAsync(string id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPlansIdTestRunsSearchPostRequest apiV2TestPlansIdTestRunsSearchPostRequest = default(ApiV2TestPlansIdTestRunsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestRunsSearchPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestRunsSearchPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4145,32 +4145,32 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2TestPlansIdTestRunsSearchPostRequest; @@ -4194,30 +4194,30 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPlans } /// - /// Get last modification date of test plan's test results + /// Get last modification date of test plan's test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// DateTime public DateTime ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet(string id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get last modification date of test plan's test results + /// Get last modification date of test plan's test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// ApiResponse of DateTime - public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfo(string id) + public ApiResponse ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4227,13 +4227,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdTestRunsTestRe "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4254,33 +4254,33 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdTestRunsTestRe } /// - /// Get last modification date of test plan's test results + /// Get last modification date of test plan's test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// Cancellation Token to cancel the request. /// Task of DateTime public async System.Threading.Tasks.Task ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get last modification date of test plan's test results + /// Get last modification date of test plan's test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan unique or global ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (DateTime) - public async System.Threading.Tasks.Task> ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4291,13 +4291,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdTestRunsTestRe }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4321,7 +4321,7 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdTestRunsTestRe /// /// Send unlock TestPlan notification <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System send unlock test plan notification /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// public void ApiV2TestPlansIdUnlockRequestPost(string id) @@ -4332,16 +4332,16 @@ public void ApiV2TestPlansIdUnlockRequestPost(string id) /// /// Send unlock TestPlan notification <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System send unlock test plan notification /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdUnlockRequestPostWithHttpInfo(string id) + public ApiResponse ApiV2TestPlansIdUnlockRequestPostWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdUnlockRequestPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdUnlockRequestPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4351,13 +4351,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdUnlockRequestPos "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4380,7 +4380,7 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdUnlockRequestPos /// /// Send unlock TestPlan notification <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System send unlock test plan notification /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -4392,18 +4392,18 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdUnlockRequestPos /// /// Send unlock TestPlan notification <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System send unlock test plan notification /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2TestPlansIdUnlockRequestPostWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestPlansIdUnlockRequestPostWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdUnlockRequestPost"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->ApiV2TestPlansIdUnlockRequestPost"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4414,13 +4414,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdUnlockRequestPos }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4444,26 +4444,26 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdUnlockRequestPos /// /// Get TestPlans short models by Project identifiers <br>Use case <br>User sets projects identifiers <br>User runs method execution <br>System return test plans short models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// List<TestPlanShortModel> public List ApiV2TestPlansShortsPost(bool? isDeleted = default(bool?), List requestBody = default(List)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestPlansShortsPostWithHttpInfo(isDeleted, requestBody); + ApiResponse> localVarResponse = ApiV2TestPlansShortsPostWithHttpInfo(isDeleted, requestBody); return localVarResponse.Data; } /// /// Get TestPlans short models by Project identifiers <br>Use case <br>User sets projects identifiers <br>User runs method execution <br>System return test plans short models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// ApiResponse of List<TestPlanShortModel> - public TestIt.Client.Client.ApiResponse> ApiV2TestPlansShortsPostWithHttpInfo(bool? isDeleted = default(bool?), List requestBody = default(List)) + public ApiResponse> ApiV2TestPlansShortsPostWithHttpInfo(bool? isDeleted = default(bool?), List requestBody = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4474,15 +4474,15 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdUnlockRequestPos "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } localVarRequestOptions.Data = requestBody; @@ -4507,29 +4507,29 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdUnlockRequestPos /// /// Get TestPlans short models by Project identifiers <br>Use case <br>User sets projects identifiers <br>User runs method execution <br>System return test plans short models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Cancellation Token to cancel the request. /// Task of List<TestPlanShortModel> public async System.Threading.Tasks.Task> ApiV2TestPlansShortsPostAsync(bool? isDeleted = default(bool?), List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestPlansShortsPostWithHttpInfoAsync(isDeleted, requestBody, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestPlansShortsPostWithHttpInfoAsync(isDeleted, requestBody, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get TestPlans short models by Project identifiers <br>Use case <br>User sets projects identifiers <br>User runs method execution <br>System return test plans short models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestPlanShortModel>) - public async System.Threading.Tasks.Task>> ApiV2TestPlansShortsPostWithHttpInfoAsync(bool? isDeleted = default(bool?), List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestPlansShortsPostWithHttpInfoAsync(bool? isDeleted = default(bool?), List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4541,15 +4541,15 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdUnlockRequestPos }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (isDeleted != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isDeleted", isDeleted)); } localVarRequestOptions.Data = requestBody; @@ -4575,28 +4575,28 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPlansIdUnlockRequestPos /// /// Clone TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System clones test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// TestPlanModel public TestPlanModel Clone(string id) { - TestIt.Client.Client.ApiResponse localVarResponse = CloneWithHttpInfo(id); + ApiResponse localVarResponse = CloneWithHttpInfo(id); return localVarResponse.Data; } /// /// Clone TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System clones test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of TestPlanModel - public TestIt.Client.Client.ApiResponse CloneWithHttpInfo(string id) + public ApiResponse CloneWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Clone"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Clone"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4606,13 +4606,13 @@ public TestIt.Client.Client.ApiResponse CloneWithHttpInfo(string "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4635,31 +4635,31 @@ public TestIt.Client.Client.ApiResponse CloneWithHttpInfo(string /// /// Clone TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System clones test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of TestPlanModel public async System.Threading.Tasks.Task CloneAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CloneWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CloneWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Clone TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System clones test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestPlanModel) - public async System.Threading.Tasks.Task> CloneWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CloneWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Clone"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Clone"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4670,13 +4670,13 @@ public TestIt.Client.Client.ApiResponse CloneWithHttpInfo(string }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4700,7 +4700,7 @@ public TestIt.Client.Client.ApiResponse CloneWithHttpInfo(string /// /// Complete TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System completes the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// public void Complete(string id) @@ -4711,16 +4711,16 @@ public void Complete(string id) /// /// Complete TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System completes the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse CompleteWithHttpInfo(string id) + public ApiResponse CompleteWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Complete"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Complete"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4730,13 +4730,13 @@ public TestIt.Client.Client.ApiResponse CompleteWithHttpInfo(string id) "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4759,7 +4759,7 @@ public TestIt.Client.Client.ApiResponse CompleteWithHttpInfo(string id) /// /// Complete TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System completes the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -4771,18 +4771,18 @@ public TestIt.Client.Client.ApiResponse CompleteWithHttpInfo(string id) /// /// Complete TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System completes the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> CompleteWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CompleteWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Complete"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Complete"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4793,13 +4793,13 @@ public TestIt.Client.Client.ApiResponse CompleteWithHttpInfo(string id) }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4823,24 +4823,24 @@ public TestIt.Client.Client.ApiResponse CompleteWithHttpInfo(string id) /// /// Create TestPlan <br>Use case <br>User sets test plan properties (listed in request example) <br>User runs method execution <br>System creates test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestPlanModel public TestPlanModel CreateTestPlan(CreateTestPlanRequest createTestPlanRequest = default(CreateTestPlanRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateTestPlanWithHttpInfo(createTestPlanRequest); + ApiResponse localVarResponse = CreateTestPlanWithHttpInfo(createTestPlanRequest); return localVarResponse.Data; } /// /// Create TestPlan <br>Use case <br>User sets test plan properties (listed in request example) <br>User runs method execution <br>System creates test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestPlanModel - public TestIt.Client.Client.ApiResponse CreateTestPlanWithHttpInfo(CreateTestPlanRequest createTestPlanRequest = default(CreateTestPlanRequest)) + public ApiResponse CreateTestPlanWithHttpInfo(CreateTestPlanRequest createTestPlanRequest = default(CreateTestPlanRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4851,10 +4851,10 @@ public TestIt.Client.Client.ApiResponse CompleteWithHttpInfo(string id) "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createTestPlanRequest; @@ -4880,27 +4880,27 @@ public TestIt.Client.Client.ApiResponse CompleteWithHttpInfo(string id) /// /// Create TestPlan <br>Use case <br>User sets test plan properties (listed in request example) <br>User runs method execution <br>System creates test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestPlanModel public async System.Threading.Tasks.Task CreateTestPlanAsync(CreateTestPlanRequest createTestPlanRequest = default(CreateTestPlanRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateTestPlanWithHttpInfoAsync(createTestPlanRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateTestPlanWithHttpInfoAsync(createTestPlanRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create TestPlan <br>Use case <br>User sets test plan properties (listed in request example) <br>User runs method execution <br>System creates test plan <br>System returns test plan (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestPlanModel) - public async System.Threading.Tasks.Task> CreateTestPlanWithHttpInfoAsync(CreateTestPlanRequest createTestPlanRequest = default(CreateTestPlanRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateTestPlanWithHttpInfoAsync(CreateTestPlanRequest createTestPlanRequest = default(CreateTestPlanRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4912,10 +4912,10 @@ public TestIt.Client.Client.ApiResponse CompleteWithHttpInfo(string id) }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createTestPlanRequest; @@ -4942,7 +4942,7 @@ public TestIt.Client.Client.ApiResponse CompleteWithHttpInfo(string id) /// /// Delete TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System delete test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// public void DeleteTestPlan(string id) @@ -4953,16 +4953,16 @@ public void DeleteTestPlan(string id) /// /// Delete TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System delete test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteTestPlanWithHttpInfo(string id) + public ApiResponse DeleteTestPlanWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->DeleteTestPlan"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->DeleteTestPlan"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4972,13 +4972,13 @@ public TestIt.Client.Client.ApiResponse DeleteTestPlanWithHttpInfo(strin "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5001,7 +5001,7 @@ public TestIt.Client.Client.ApiResponse DeleteTestPlanWithHttpInfo(strin /// /// Delete TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System delete test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -5013,18 +5013,18 @@ public TestIt.Client.Client.ApiResponse DeleteTestPlanWithHttpInfo(strin /// /// Delete TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System delete test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteTestPlanWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteTestPlanWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->DeleteTestPlan"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->DeleteTestPlan"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5035,13 +5035,13 @@ public TestIt.Client.Client.ApiResponse DeleteTestPlanWithHttpInfo(strin }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5065,28 +5065,28 @@ public TestIt.Client.Client.ApiResponse DeleteTestPlanWithHttpInfo(strin /// /// Get TestPlan by Id <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System search test plan by the identifier <br>System returns test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// TestPlanModel public TestPlanModel GetTestPlanById(string id) { - TestIt.Client.Client.ApiResponse localVarResponse = GetTestPlanByIdWithHttpInfo(id); + ApiResponse localVarResponse = GetTestPlanByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get TestPlan by Id <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System search test plan by the identifier <br>System returns test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of TestPlanModel - public TestIt.Client.Client.ApiResponse GetTestPlanByIdWithHttpInfo(string id) + public ApiResponse GetTestPlanByIdWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->GetTestPlanById"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->GetTestPlanById"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5096,13 +5096,13 @@ public TestIt.Client.Client.ApiResponse GetTestPlanByIdWithHttpIn "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5125,31 +5125,31 @@ public TestIt.Client.Client.ApiResponse GetTestPlanByIdWithHttpIn /// /// Get TestPlan by Id <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System search test plan by the identifier <br>System returns test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of TestPlanModel public async System.Threading.Tasks.Task GetTestPlanByIdAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetTestPlanByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetTestPlanByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get TestPlan by Id <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System search test plan by the identifier <br>System returns test plan /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestPlanModel) - public async System.Threading.Tasks.Task> GetTestPlanByIdWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetTestPlanByIdWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->GetTestPlanById"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->GetTestPlanById"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5160,13 +5160,13 @@ public TestIt.Client.Client.ApiResponse GetTestPlanByIdWithHttpIn }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5190,28 +5190,28 @@ public TestIt.Client.Client.ApiResponse GetTestPlanByIdWithHttpIn /// /// Get TestSuites Tree By Id <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System finds test suites related to the test plan <br>System returns test suites as a tree model (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// List<TestSuiteV2TreeModel> public List GetTestSuitesById(string id) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetTestSuitesByIdWithHttpInfo(id); + ApiResponse> localVarResponse = GetTestSuitesByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get TestSuites Tree By Id <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System finds test suites related to the test plan <br>System returns test suites as a tree model (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of List<TestSuiteV2TreeModel> - public TestIt.Client.Client.ApiResponse> GetTestSuitesByIdWithHttpInfo(string id) + public ApiResponse> GetTestSuitesByIdWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->GetTestSuitesById"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->GetTestSuitesById"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5221,13 +5221,13 @@ public TestIt.Client.Client.ApiResponse> GetTestSuite "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5250,31 +5250,31 @@ public TestIt.Client.Client.ApiResponse> GetTestSuite /// /// Get TestSuites Tree By Id <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System finds test suites related to the test plan <br>System returns test suites as a tree model (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of List<TestSuiteV2TreeModel> public async System.Threading.Tasks.Task> GetTestSuitesByIdAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetTestSuitesByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetTestSuitesByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get TestSuites Tree By Id <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System finds test suites related to the test plan <br>System returns test suites as a tree model (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestSuiteV2TreeModel>) - public async System.Threading.Tasks.Task>> GetTestSuitesByIdWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetTestSuitesByIdWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->GetTestSuitesById"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->GetTestSuitesById"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5285,13 +5285,13 @@ public TestIt.Client.Client.ApiResponse> GetTestSuite }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5315,7 +5315,7 @@ public TestIt.Client.Client.ApiResponse> GetTestSuite /// /// Pause TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System pauses the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// public void Pause(string id) @@ -5326,16 +5326,16 @@ public void Pause(string id) /// /// Pause TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System pauses the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse PauseWithHttpInfo(string id) + public ApiResponse PauseWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Pause"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Pause"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5345,13 +5345,13 @@ public TestIt.Client.Client.ApiResponse PauseWithHttpInfo(string id) "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5374,7 +5374,7 @@ public TestIt.Client.Client.ApiResponse PauseWithHttpInfo(string id) /// /// Pause TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System pauses the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -5386,18 +5386,18 @@ public TestIt.Client.Client.ApiResponse PauseWithHttpInfo(string id) /// /// Pause TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System pauses the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> PauseWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> PauseWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Pause"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Pause"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5408,13 +5408,13 @@ public TestIt.Client.Client.ApiResponse PauseWithHttpInfo(string id) }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5436,9 +5436,9 @@ public TestIt.Client.Client.ApiResponse PauseWithHttpInfo(string id) } /// - /// Permanently delete test plan from archive + /// Permanently delete test plan from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// public void PurgeTestPlan(string id) @@ -5447,18 +5447,18 @@ public void PurgeTestPlan(string id) } /// - /// Permanently delete test plan from archive + /// Permanently delete test plan from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse PurgeTestPlanWithHttpInfo(string id) + public ApiResponse PurgeTestPlanWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->PurgeTestPlan"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->PurgeTestPlan"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5468,13 +5468,13 @@ public TestIt.Client.Client.ApiResponse PurgeTestPlanWithHttpInfo(string "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5495,9 +5495,9 @@ public TestIt.Client.Client.ApiResponse PurgeTestPlanWithHttpInfo(string } /// - /// Permanently delete test plan from archive + /// Permanently delete test plan from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// Cancellation Token to cancel the request. /// Task of void @@ -5507,20 +5507,20 @@ public TestIt.Client.Client.ApiResponse PurgeTestPlanWithHttpInfo(string } /// - /// Permanently delete test plan from archive + /// Permanently delete test plan from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the test plan /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> PurgeTestPlanWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> PurgeTestPlanWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->PurgeTestPlan"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->PurgeTestPlan"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5531,13 +5531,13 @@ public TestIt.Client.Client.ApiResponse PurgeTestPlanWithHttpInfo(string }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5561,7 +5561,7 @@ public TestIt.Client.Client.ApiResponse PurgeTestPlanWithHttpInfo(string /// /// Restore TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System restores test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// public void RestoreTestPlan(string id) @@ -5572,16 +5572,16 @@ public void RestoreTestPlan(string id) /// /// Restore TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System restores test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse RestoreTestPlanWithHttpInfo(string id) + public ApiResponse RestoreTestPlanWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->RestoreTestPlan"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->RestoreTestPlan"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5591,13 +5591,13 @@ public TestIt.Client.Client.ApiResponse RestoreTestPlanWithHttpInfo(stri "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5620,7 +5620,7 @@ public TestIt.Client.Client.ApiResponse RestoreTestPlanWithHttpInfo(stri /// /// Restore TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System restores test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -5632,18 +5632,18 @@ public TestIt.Client.Client.ApiResponse RestoreTestPlanWithHttpInfo(stri /// /// Restore TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System restores test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> RestoreTestPlanWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> RestoreTestPlanWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->RestoreTestPlan"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->RestoreTestPlan"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5654,13 +5654,13 @@ public TestIt.Client.Client.ApiResponse RestoreTestPlanWithHttpInfo(stri }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5684,7 +5684,7 @@ public TestIt.Client.Client.ApiResponse RestoreTestPlanWithHttpInfo(stri /// /// Start TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System starts the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// public void Start(string id) @@ -5695,16 +5695,16 @@ public void Start(string id) /// /// Start TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System starts the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse StartWithHttpInfo(string id) + public ApiResponse StartWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Start"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Start"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5714,13 +5714,13 @@ public TestIt.Client.Client.ApiResponse StartWithHttpInfo(string id) "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5743,7 +5743,7 @@ public TestIt.Client.Client.ApiResponse StartWithHttpInfo(string id) /// /// Start TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System starts the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -5755,18 +5755,18 @@ public TestIt.Client.Client.ApiResponse StartWithHttpInfo(string id) /// /// Start TestPlan <br>Use case <br>User sets test plan identifier <br>User runs method execution <br>System starts the test plan and updates test plan status <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test plan internal (guid format) or global (int format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> StartWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> StartWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Start"); + throw new ApiException(400, "Missing required parameter 'id' when calling TestPlansApi->Start"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5777,13 +5777,13 @@ public TestIt.Client.Client.ApiResponse StartWithHttpInfo(string id) }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -5807,7 +5807,7 @@ public TestIt.Client.Client.ApiResponse StartWithHttpInfo(string id) /// /// Update TestPlan <br>Use case <br>User sets test plan properties(listed in request example) <br>User runs method execution <br>System updates test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void UpdateTestPlan(UpdateTestPlanRequest updateTestPlanRequest = default(UpdateTestPlanRequest)) @@ -5818,12 +5818,12 @@ public TestIt.Client.Client.ApiResponse StartWithHttpInfo(string id) /// /// Update TestPlan <br>Use case <br>User sets test plan properties(listed in request example) <br>User runs method execution <br>System updates test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse UpdateTestPlanWithHttpInfo(UpdateTestPlanRequest updateTestPlanRequest = default(UpdateTestPlanRequest)) + public ApiResponse UpdateTestPlanWithHttpInfo(UpdateTestPlanRequest updateTestPlanRequest = default(UpdateTestPlanRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -5834,10 +5834,10 @@ public TestIt.Client.Client.ApiResponse StartWithHttpInfo(string id) "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateTestPlanRequest; @@ -5863,7 +5863,7 @@ public TestIt.Client.Client.ApiResponse StartWithHttpInfo(string id) /// /// Update TestPlan <br>Use case <br>User sets test plan properties(listed in request example) <br>User runs method execution <br>System updates test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -5875,14 +5875,14 @@ public TestIt.Client.Client.ApiResponse StartWithHttpInfo(string id) /// /// Update TestPlan <br>Use case <br>User sets test plan properties(listed in request example) <br>User runs method execution <br>System updates test plan <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateTestPlanWithHttpInfoAsync(UpdateTestPlanRequest updateTestPlanRequest = default(UpdateTestPlanRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateTestPlanWithHttpInfoAsync(UpdateTestPlanRequest updateTestPlanRequest = default(UpdateTestPlanRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -5894,10 +5894,10 @@ public TestIt.Client.Client.ApiResponse StartWithHttpInfo(string id) }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateTestPlanRequest; diff --git a/src/TestIt.Client/Api/TestPointsApi.cs b/src/TestIT.ApiClient/Api/TestPointsApi.cs similarity index 72% rename from src/TestIt.Client/Api/TestPointsApi.cs rename to src/TestIT.ApiClient/Api/TestPointsApi.cs index 3e7b7f75..8a3bc037 100644 --- a/src/TestIt.Client/Api/TestPointsApi.cs +++ b/src/TestIT.ApiClient/Api/TestPointsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -30,7 +30,7 @@ public interface ITestPointsApiSync : IApiAccessor /// /// Get all test runs which use test point /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// List<TestRunModel> List ApiV2TestPointsIdTestRunsGet(Guid id); @@ -39,16 +39,16 @@ public interface ITestPointsApiSync : IApiAccessor /// Get all test runs which use test point /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// ApiResponse of List<TestRunModel> ApiResponse> ApiV2TestPointsIdTestRunsGetWithHttpInfo(Guid id); /// /// Get work item represented by test point /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// WorkItemModel WorkItemModel ApiV2TestPointsIdWorkItemGet(Guid id); @@ -57,16 +57,16 @@ public interface ITestPointsApiSync : IApiAccessor /// Get work item represented by test point /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// ApiResponse of WorkItemModel ApiResponse ApiV2TestPointsIdWorkItemGetWithHttpInfo(Guid id); /// /// Search for test points and extract IDs only /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -80,9 +80,9 @@ public interface ITestPointsApiSync : IApiAccessor /// Search for test points and extract IDs only /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -94,7 +94,7 @@ public interface ITestPointsApiSync : IApiAccessor /// /// Search for test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -108,9 +108,9 @@ public interface ITestPointsApiSync : IApiAccessor /// Search for test points /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -132,9 +132,9 @@ public interface ITestPointsApiAsync : IApiAccessor /// Get all test runs which use test point /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// Cancellation Token to cancel the request. /// Task of List<TestRunModel> @@ -144,9 +144,9 @@ public interface ITestPointsApiAsync : IApiAccessor /// Get all test runs which use test point /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestRunModel>) @@ -155,9 +155,9 @@ public interface ITestPointsApiAsync : IApiAccessor /// Get work item represented by test point /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// Cancellation Token to cancel the request. /// Task of WorkItemModel @@ -167,9 +167,9 @@ public interface ITestPointsApiAsync : IApiAccessor /// Get work item represented by test point /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (WorkItemModel) @@ -178,9 +178,9 @@ public interface ITestPointsApiAsync : IApiAccessor /// Search for test points and extract IDs only /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -195,9 +195,9 @@ public interface ITestPointsApiAsync : IApiAccessor /// Search for test points and extract IDs only /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -211,9 +211,9 @@ public interface ITestPointsApiAsync : IApiAccessor /// Search for test points /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -228,9 +228,9 @@ public interface ITestPointsApiAsync : IApiAccessor /// Search for test points /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -256,7 +256,7 @@ public interface ITestPointsApi : ITestPointsApiSync, ITestPointsApiAsync /// public partial class TestPointsApi : IDisposable, ITestPointsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -278,14 +278,14 @@ public TestPointsApi() : this((string)null) /// public TestPointsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -296,18 +296,18 @@ public TestPointsApi(string basePath) /// An instance of Configuration. /// /// - public TestPointsApi(TestIt.Client.Client.Configuration configuration) + public TestPointsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -342,14 +342,14 @@ public TestPointsApi(HttpClient client, string basePath, HttpClientHandler handl { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -364,19 +364,19 @@ public TestPointsApi(HttpClient client, string basePath, HttpClientHandler handl /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public TestPointsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public TestPointsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -387,7 +387,7 @@ public TestPointsApi(HttpClient client, TestIt.Client.Client.Configuration confi /// The client interface for asynchronous API access. /// The configuration object. /// - public TestPointsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public TestPointsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -396,7 +396,7 @@ public TestPointsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Clie this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -410,17 +410,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -435,12 +435,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -454,26 +454,26 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Get all test runs which use test point + /// Get all test runs which use test point /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// List<TestRunModel> public List ApiV2TestPointsIdTestRunsGet(Guid id) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestPointsIdTestRunsGetWithHttpInfo(id); + ApiResponse> localVarResponse = ApiV2TestPointsIdTestRunsGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get all test runs which use test point + /// Get all test runs which use test point /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// ApiResponse of List<TestRunModel> - public TestIt.Client.Client.ApiResponse> ApiV2TestPointsIdTestRunsGetWithHttpInfo(Guid id) + public ApiResponse> ApiV2TestPointsIdTestRunsGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -483,13 +483,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPointsIdTes "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -510,29 +510,29 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPointsIdTes } /// - /// Get all test runs which use test point + /// Get all test runs which use test point /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// Cancellation Token to cancel the request. /// Task of List<TestRunModel> public async System.Threading.Tasks.Task> ApiV2TestPointsIdTestRunsGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestPointsIdTestRunsGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestPointsIdTestRunsGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get all test runs which use test point + /// Get all test runs which use test point /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestRunModel>) - public async System.Threading.Tasks.Task>> ApiV2TestPointsIdTestRunsGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestPointsIdTestRunsGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -543,13 +543,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPointsIdTes }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -571,26 +571,26 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestPointsIdTes } /// - /// Get work item represented by test point + /// Get work item represented by test point /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// WorkItemModel public WorkItemModel ApiV2TestPointsIdWorkItemGet(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2TestPointsIdWorkItemGetWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2TestPointsIdWorkItemGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get work item represented by test point + /// Get work item represented by test point /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// ApiResponse of WorkItemModel - public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItemGetWithHttpInfo(Guid id) + public ApiResponse ApiV2TestPointsIdWorkItemGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -600,13 +600,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -627,29 +627,29 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem } /// - /// Get work item represented by test point + /// Get work item represented by test point /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// Cancellation Token to cancel the request. /// Task of WorkItemModel public async System.Threading.Tasks.Task ApiV2TestPointsIdWorkItemGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2TestPointsIdWorkItemGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2TestPointsIdWorkItemGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get work item represented by test point + /// Get work item represented by test point /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test point unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (WorkItemModel) - public async System.Threading.Tasks.Task> ApiV2TestPointsIdWorkItemGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestPointsIdWorkItemGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -660,13 +660,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -688,9 +688,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem } /// - /// Search for test points and extract IDs only + /// Search for test points and extract IDs only /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -700,14 +700,14 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem /// List<Guid> public List ApiV2TestPointsSearchIdPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPointsSearchPostRequest apiV2TestPointsSearchPostRequest = default(ApiV2TestPointsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestPointsSearchIdPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2TestPointsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2TestPointsSearchIdPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2TestPointsSearchPostRequest); return localVarResponse.Data; } /// - /// Search for test points and extract IDs only + /// Search for test points and extract IDs only /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -715,9 +715,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem /// Value for searching (optional) /// (optional) /// ApiResponse of List<Guid> - public TestIt.Client.Client.ApiResponse> ApiV2TestPointsSearchIdPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPointsSearchPostRequest apiV2TestPointsSearchPostRequest = default(ApiV2TestPointsSearchPostRequest)) + public ApiResponse> ApiV2TestPointsSearchIdPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPointsSearchPostRequest apiV2TestPointsSearchPostRequest = default(ApiV2TestPointsSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -728,31 +728,31 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2TestPointsSearchPostRequest; @@ -775,9 +775,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem } /// - /// Search for test points and extract IDs only + /// Search for test points and extract IDs only /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -788,14 +788,14 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem /// Task of List<Guid> public async System.Threading.Tasks.Task> ApiV2TestPointsSearchIdPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPointsSearchPostRequest apiV2TestPointsSearchPostRequest = default(ApiV2TestPointsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestPointsSearchIdPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2TestPointsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestPointsSearchIdPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2TestPointsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for test points and extract IDs only + /// Search for test points and extract IDs only /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -804,10 +804,10 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Guid>) - public async System.Threading.Tasks.Task>> ApiV2TestPointsSearchIdPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPointsSearchPostRequest apiV2TestPointsSearchPostRequest = default(ApiV2TestPointsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestPointsSearchIdPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPointsSearchPostRequest apiV2TestPointsSearchPostRequest = default(ApiV2TestPointsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -819,31 +819,31 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2TestPointsSearchPostRequest; @@ -867,9 +867,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem } /// - /// Search for test points + /// Search for test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -879,14 +879,14 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem /// List<TestPointShortGetModel> public List ApiV2TestPointsSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPointsSearchPostRequest apiV2TestPointsSearchPostRequest = default(ApiV2TestPointsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestPointsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2TestPointsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2TestPointsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2TestPointsSearchPostRequest); return localVarResponse.Data; } /// - /// Search for test points + /// Search for test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -894,9 +894,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem /// Value for searching (optional) /// (optional) /// ApiResponse of List<TestPointShortGetModel> - public TestIt.Client.Client.ApiResponse> ApiV2TestPointsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPointsSearchPostRequest apiV2TestPointsSearchPostRequest = default(ApiV2TestPointsSearchPostRequest)) + public ApiResponse> ApiV2TestPointsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPointsSearchPostRequest apiV2TestPointsSearchPostRequest = default(ApiV2TestPointsSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -907,31 +907,31 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2TestPointsSearchPostRequest; @@ -954,9 +954,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem } /// - /// Search for test points + /// Search for test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -967,14 +967,14 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem /// Task of List<TestPointShortGetModel> public async System.Threading.Tasks.Task> ApiV2TestPointsSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPointsSearchPostRequest apiV2TestPointsSearchPostRequest = default(ApiV2TestPointsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestPointsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2TestPointsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestPointsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2TestPointsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for test points + /// Search for test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -983,10 +983,10 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestPointShortGetModel>) - public async System.Threading.Tasks.Task>> ApiV2TestPointsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPointsSearchPostRequest apiV2TestPointsSearchPostRequest = default(ApiV2TestPointsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestPointsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestPointsSearchPostRequest apiV2TestPointsSearchPostRequest = default(ApiV2TestPointsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -998,31 +998,31 @@ public TestIt.Client.Client.ApiResponse ApiV2TestPointsIdWorkItem }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2TestPointsSearchPostRequest; diff --git a/src/TestIt.Client/Api/TestResultsApi.cs b/src/TestIT.ApiClient/Api/TestResultsApi.cs similarity index 74% rename from src/TestIt.Client/Api/TestResultsApi.cs rename to src/TestIT.ApiClient/Api/TestResultsApi.cs index 578e5931..fe41785a 100644 --- a/src/TestIt.Client/Api/TestResultsApi.cs +++ b/src/TestIT.ApiClient/Api/TestResultsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -30,7 +30,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// Get test result by ID aggregated with previous results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// TestResultModel TestResultModel ApiV2TestResultsIdAggregatedGet(Guid id); @@ -39,16 +39,16 @@ public interface ITestResultsApiSync : IApiAccessor /// Get test result by ID aggregated with previous results /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// ApiResponse of TestResultModel ApiResponse ApiV2TestResultsIdAggregatedGetWithHttpInfo(Guid id); /// /// Attach file to the test result /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Attachment unique ID /// @@ -58,9 +58,9 @@ public interface ITestResultsApiSync : IApiAccessor /// Attach file to the test result /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Attachment unique ID /// ApiResponse of Object(void) @@ -68,7 +68,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// Get test result attachments meta-information /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// List<AttachmentModel> List ApiV2TestResultsIdAttachmentsInfoGet(Guid id); @@ -77,16 +77,16 @@ public interface ITestResultsApiSync : IApiAccessor /// Get test result attachments meta-information /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// ApiResponse of List<AttachmentModel> ApiResponse> ApiV2TestResultsIdAttachmentsInfoGetWithHttpInfo(Guid id); /// /// Get test result by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// TestResultModel TestResultModel ApiV2TestResultsIdGet(Guid id); @@ -95,16 +95,16 @@ public interface ITestResultsApiSync : IApiAccessor /// Get test result by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// ApiResponse of TestResultModel ApiResponse ApiV2TestResultsIdGetWithHttpInfo(Guid id); /// /// Edit test result by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// (optional) /// @@ -114,9 +114,9 @@ public interface ITestResultsApiSync : IApiAccessor /// Edit test result by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// (optional) /// ApiResponse of Object(void) @@ -124,7 +124,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// Search for test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -138,9 +138,9 @@ public interface ITestResultsApiSync : IApiAccessor /// Search for test results /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -152,7 +152,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// Search for test results and extract statistics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestResultsStatisticsGetModel TestResultsStatisticsGetModel ApiV2TestResultsStatisticsFilterPost(ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest)); @@ -161,9 +161,9 @@ public interface ITestResultsApiSync : IApiAccessor /// Search for test results and extract statistics /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestResultsStatisticsGetModel ApiResponse ApiV2TestResultsStatisticsFilterPostWithHttpInfo(ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest)); @@ -173,7 +173,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// <br>Use case <br>User sets testResultId <br>User attaches a file <br>System creates attachment and links it to the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Select file (optional) /// Guid @@ -185,7 +185,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// <br>Use case <br>User sets testResultId <br>User attaches a file <br>System creates attachment and links it to the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Select file (optional) /// ApiResponse of Guid @@ -196,7 +196,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// <br>Use case <br>User sets testResultId and attachmentId <br>User attaches a file <br>User runs method execution <br>System deletes attachment and unlinks it from the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// @@ -208,7 +208,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// <br>Use case <br>User sets testResultId and attachmentId <br>User attaches a file <br>User runs method execution <br>System deletes attachment and unlinks it from the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// ApiResponse of Object(void) @@ -219,7 +219,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// <br>Use case <br>User sets attachmentId and testResultId <br>[Optional] User sets resize configuration <br>User runs method execution <br>System search attachments by the attachmentId and the testResultId <br> [Optional] If resize configuration is set, System resizes the attachment according to the resize configuration <br>[Optional] Otherwise, System does not resize the attachment <br>System returns attachment as a file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attachment internal identifier (guid format) /// Test result internal identifier (guid format) /// Width of the result image (optional) @@ -236,7 +236,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// <br>Use case <br>User sets attachmentId and testResultId <br>[Optional] User sets resize configuration <br>User runs method execution <br>System search attachments by the attachmentId and the testResultId <br> [Optional] If resize configuration is set, System resizes the attachment according to the resize configuration <br>[Optional] Otherwise, System does not resize the attachment <br>System returns attachment as a file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attachment internal identifier (guid format) /// Test result internal identifier (guid format) /// Width of the result image (optional) @@ -252,7 +252,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// <br>Use case <br>User sets attachmentId and testResultId <br>User runs method execution <br>System search attachment by the attachmentId and the testResultId <br>System returns attachment data /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// AttachmentModel @@ -264,7 +264,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// <br>Use case <br>User sets attachmentId and testResultId <br>User runs method execution <br>System search attachment by the attachmentId and the testResultId <br>System returns attachment data /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// ApiResponse of AttachmentModel @@ -275,7 +275,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// <br>Use case <br>User sets testResultId <br>User runs method execution <br>System search all attachments of the test result <br>System returns attachments enumeration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// List<AttachmentModel> List GetAttachments(Guid id); @@ -286,7 +286,7 @@ public interface ITestResultsApiSync : IApiAccessor /// /// <br>Use case <br>User sets testResultId <br>User runs method execution <br>System search all attachments of the test result <br>System returns attachments enumeration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// ApiResponse of List<AttachmentModel> ApiResponse> GetAttachmentsWithHttpInfo(Guid id); @@ -303,9 +303,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Get test result by ID aggregated with previous results /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Cancellation Token to cancel the request. /// Task of TestResultModel @@ -315,9 +315,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Get test result by ID aggregated with previous results /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestResultModel) @@ -326,9 +326,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Attach file to the test result /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Attachment unique ID /// Cancellation Token to cancel the request. @@ -339,9 +339,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Attach file to the test result /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Attachment unique ID /// Cancellation Token to cancel the request. @@ -351,9 +351,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Get test result attachments meta-information /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Cancellation Token to cancel the request. /// Task of List<AttachmentModel> @@ -363,9 +363,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Get test result attachments meta-information /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AttachmentModel>) @@ -374,9 +374,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Get test result by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Cancellation Token to cancel the request. /// Task of TestResultModel @@ -386,9 +386,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Get test result by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestResultModel) @@ -397,9 +397,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Edit test result by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// (optional) /// Cancellation Token to cancel the request. @@ -410,9 +410,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Edit test result by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// (optional) /// Cancellation Token to cancel the request. @@ -422,9 +422,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Search for test results /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -439,9 +439,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Search for test results /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -455,9 +455,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Search for test results and extract statistics /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestResultsStatisticsGetModel @@ -467,9 +467,9 @@ public interface ITestResultsApiAsync : IApiAccessor /// Search for test results and extract statistics /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestResultsStatisticsGetModel) @@ -480,7 +480,7 @@ public interface ITestResultsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets testResultId <br>User attaches a file <br>System creates attachment and links it to the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Select file (optional) /// Cancellation Token to cancel the request. @@ -493,7 +493,7 @@ public interface ITestResultsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets testResultId <br>User attaches a file <br>System creates attachment and links it to the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Select file (optional) /// Cancellation Token to cancel the request. @@ -505,7 +505,7 @@ public interface ITestResultsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets testResultId and attachmentId <br>User attaches a file <br>User runs method execution <br>System deletes attachment and unlinks it from the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// Cancellation Token to cancel the request. @@ -518,7 +518,7 @@ public interface ITestResultsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets testResultId and attachmentId <br>User attaches a file <br>User runs method execution <br>System deletes attachment and unlinks it from the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// Cancellation Token to cancel the request. @@ -530,7 +530,7 @@ public interface ITestResultsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attachmentId and testResultId <br>[Optional] User sets resize configuration <br>User runs method execution <br>System search attachments by the attachmentId and the testResultId <br> [Optional] If resize configuration is set, System resizes the attachment according to the resize configuration <br>[Optional] Otherwise, System does not resize the attachment <br>System returns attachment as a file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attachment internal identifier (guid format) /// Test result internal identifier (guid format) /// Width of the result image (optional) @@ -548,7 +548,7 @@ public interface ITestResultsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attachmentId and testResultId <br>[Optional] User sets resize configuration <br>User runs method execution <br>System search attachments by the attachmentId and the testResultId <br> [Optional] If resize configuration is set, System resizes the attachment according to the resize configuration <br>[Optional] Otherwise, System does not resize the attachment <br>System returns attachment as a file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attachment internal identifier (guid format) /// Test result internal identifier (guid format) /// Width of the result image (optional) @@ -565,7 +565,7 @@ public interface ITestResultsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attachmentId and testResultId <br>User runs method execution <br>System search attachment by the attachmentId and the testResultId <br>System returns attachment data /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// Cancellation Token to cancel the request. @@ -578,7 +578,7 @@ public interface ITestResultsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets attachmentId and testResultId <br>User runs method execution <br>System search attachment by the attachmentId and the testResultId <br>System returns attachment data /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// Cancellation Token to cancel the request. @@ -590,7 +590,7 @@ public interface ITestResultsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets testResultId <br>User runs method execution <br>System search all attachments of the test result <br>System returns attachments enumeration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Cancellation Token to cancel the request. /// Task of List<AttachmentModel> @@ -602,7 +602,7 @@ public interface ITestResultsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets testResultId <br>User runs method execution <br>System search all attachments of the test result <br>System returns attachments enumeration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AttachmentModel>) @@ -623,7 +623,7 @@ public interface ITestResultsApi : ITestResultsApiSync, ITestResultsApiAsync /// public partial class TestResultsApi : IDisposable, ITestResultsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -645,14 +645,14 @@ public TestResultsApi() : this((string)null) /// public TestResultsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -663,18 +663,18 @@ public TestResultsApi(string basePath) /// An instance of Configuration. /// /// - public TestResultsApi(TestIt.Client.Client.Configuration configuration) + public TestResultsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -709,14 +709,14 @@ public TestResultsApi(HttpClient client, string basePath, HttpClientHandler hand { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -731,19 +731,19 @@ public TestResultsApi(HttpClient client, string basePath, HttpClientHandler hand /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public TestResultsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public TestResultsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -754,7 +754,7 @@ public TestResultsApi(HttpClient client, TestIt.Client.Client.Configuration conf /// The client interface for asynchronous API access. /// The configuration object. /// - public TestResultsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public TestResultsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -763,7 +763,7 @@ public TestResultsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Cli this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -777,17 +777,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -802,12 +802,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -821,26 +821,26 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Get test result by ID aggregated with previous results + /// Get test result by ID aggregated with previous results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// TestResultModel public TestResultModel ApiV2TestResultsIdAggregatedGet(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2TestResultsIdAggregatedGetWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2TestResultsIdAggregatedGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get test result by ID aggregated with previous results + /// Get test result by ID aggregated with previous results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// ApiResponse of TestResultModel - public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdAggregatedGetWithHttpInfo(Guid id) + public ApiResponse ApiV2TestResultsIdAggregatedGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -850,13 +850,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdAggre "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -877,29 +877,29 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdAggre } /// - /// Get test result by ID aggregated with previous results + /// Get test result by ID aggregated with previous results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Cancellation Token to cancel the request. /// Task of TestResultModel public async System.Threading.Tasks.Task ApiV2TestResultsIdAggregatedGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2TestResultsIdAggregatedGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2TestResultsIdAggregatedGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get test result by ID aggregated with previous results + /// Get test result by ID aggregated with previous results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestResultModel) - public async System.Threading.Tasks.Task> ApiV2TestResultsIdAggregatedGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestResultsIdAggregatedGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -910,13 +910,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdAggre }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -938,9 +938,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdAggre } /// - /// Attach file to the test result + /// Attach file to the test result /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Attachment unique ID /// @@ -950,15 +950,15 @@ public void ApiV2TestResultsIdAttachmentsAttachmentIdPut(Guid id, Guid attachmen } /// - /// Attach file to the test result + /// Attach file to the test result /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Attachment unique ID /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdAttachmentsAttachmentIdPutWithHttpInfo(Guid id, Guid attachmentId) + public ApiResponse ApiV2TestResultsIdAttachmentsAttachmentIdPutWithHttpInfo(Guid id, Guid attachmentId) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -968,14 +968,14 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdAttachmentsAtt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("attachmentId", TestIt.Client.Client.ClientUtils.ParameterToString(attachmentId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attachmentId", ClientUtils.ParameterToString(attachmentId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -996,9 +996,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdAttachmentsAtt } /// - /// Attach file to the test result + /// Attach file to the test result /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Attachment unique ID /// Cancellation Token to cancel the request. @@ -1009,17 +1009,17 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdAttachmentsAtt } /// - /// Attach file to the test result + /// Attach file to the test result /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Attachment unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2TestResultsIdAttachmentsAttachmentIdPutWithHttpInfoAsync(Guid id, Guid attachmentId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestResultsIdAttachmentsAttachmentIdPutWithHttpInfoAsync(Guid id, Guid attachmentId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1030,14 +1030,14 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdAttachmentsAtt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("attachmentId", TestIt.Client.Client.ClientUtils.ParameterToString(attachmentId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attachmentId", ClientUtils.ParameterToString(attachmentId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1059,26 +1059,26 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdAttachmentsAtt } /// - /// Get test result attachments meta-information + /// Get test result attachments meta-information /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// List<AttachmentModel> public List ApiV2TestResultsIdAttachmentsInfoGet(Guid id) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestResultsIdAttachmentsInfoGetWithHttpInfo(id); + ApiResponse> localVarResponse = ApiV2TestResultsIdAttachmentsInfoGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get test result attachments meta-information + /// Get test result attachments meta-information /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// ApiResponse of List<AttachmentModel> - public TestIt.Client.Client.ApiResponse> ApiV2TestResultsIdAttachmentsInfoGetWithHttpInfo(Guid id) + public ApiResponse> ApiV2TestResultsIdAttachmentsInfoGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1088,13 +1088,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestResultsI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1115,29 +1115,29 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestResultsI } /// - /// Get test result attachments meta-information + /// Get test result attachments meta-information /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Cancellation Token to cancel the request. /// Task of List<AttachmentModel> public async System.Threading.Tasks.Task> ApiV2TestResultsIdAttachmentsInfoGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestResultsIdAttachmentsInfoGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestResultsIdAttachmentsInfoGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get test result attachments meta-information + /// Get test result attachments meta-information /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AttachmentModel>) - public async System.Threading.Tasks.Task>> ApiV2TestResultsIdAttachmentsInfoGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestResultsIdAttachmentsInfoGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1148,13 +1148,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestResultsI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1176,26 +1176,26 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestResultsI } /// - /// Get test result by ID + /// Get test result by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// TestResultModel public TestResultModel ApiV2TestResultsIdGet(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2TestResultsIdGetWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2TestResultsIdGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get test result by ID + /// Get test result by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// ApiResponse of TestResultModel - public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWithHttpInfo(Guid id) + public ApiResponse ApiV2TestResultsIdGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1205,13 +1205,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1232,29 +1232,29 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi } /// - /// Get test result by ID + /// Get test result by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Cancellation Token to cancel the request. /// Task of TestResultModel public async System.Threading.Tasks.Task ApiV2TestResultsIdGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2TestResultsIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2TestResultsIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get test result by ID + /// Get test result by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestResultModel) - public async System.Threading.Tasks.Task> ApiV2TestResultsIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestResultsIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1265,13 +1265,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1293,9 +1293,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi } /// - /// Edit test result by ID + /// Edit test result by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// (optional) /// @@ -1305,15 +1305,15 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi } /// - /// Edit test result by ID + /// Edit test result by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdPutWithHttpInfo(Guid id, ApiV2TestResultsIdPutRequest apiV2TestResultsIdPutRequest = default(ApiV2TestResultsIdPutRequest)) + public ApiResponse ApiV2TestResultsIdPutWithHttpInfo(Guid id, ApiV2TestResultsIdPutRequest apiV2TestResultsIdPutRequest = default(ApiV2TestResultsIdPutRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1324,13 +1324,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2TestResultsIdPutRequest; // authentication (Bearer or PrivateToken) required @@ -1352,9 +1352,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi } /// - /// Edit test result by ID + /// Edit test result by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// (optional) /// Cancellation Token to cancel the request. @@ -1365,17 +1365,17 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi } /// - /// Edit test result by ID + /// Edit test result by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result unique ID /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2TestResultsIdPutWithHttpInfoAsync(Guid id, ApiV2TestResultsIdPutRequest apiV2TestResultsIdPutRequest = default(ApiV2TestResultsIdPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestResultsIdPutWithHttpInfoAsync(Guid id, ApiV2TestResultsIdPutRequest apiV2TestResultsIdPutRequest = default(ApiV2TestResultsIdPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1387,13 +1387,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2TestResultsIdPutRequest; // authentication (Bearer or PrivateToken) required @@ -1416,9 +1416,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi } /// - /// Search for test results + /// Search for test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1428,14 +1428,14 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi /// List<TestResultShortGetModel> public List ApiV2TestResultsSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestResultsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2TestResultsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2TestResultsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2TestResultsSearchPostRequest); return localVarResponse.Data; } /// - /// Search for test results + /// Search for test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1443,9 +1443,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi /// Value for searching (optional) /// (optional) /// ApiResponse of List<TestResultShortGetModel> - public TestIt.Client.Client.ApiResponse> ApiV2TestResultsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest)) + public ApiResponse> ApiV2TestResultsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1456,31 +1456,31 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2TestResultsSearchPostRequest; @@ -1503,9 +1503,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi } /// - /// Search for test results + /// Search for test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1516,14 +1516,14 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi /// Task of List<TestResultShortGetModel> public async System.Threading.Tasks.Task> ApiV2TestResultsSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestResultsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2TestResultsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestResultsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2TestResultsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for test results + /// Search for test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1532,10 +1532,10 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestResultShortGetModel>) - public async System.Threading.Tasks.Task>> ApiV2TestResultsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestResultsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1547,31 +1547,31 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2TestResultsSearchPostRequest; @@ -1595,26 +1595,26 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi } /// - /// Search for test results and extract statistics + /// Search for test results and extract statistics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestResultsStatisticsGetModel public TestResultsStatisticsGetModel ApiV2TestResultsStatisticsFilterPost(ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2TestResultsStatisticsFilterPostWithHttpInfo(apiV2TestResultsSearchPostRequest); + ApiResponse localVarResponse = ApiV2TestResultsStatisticsFilterPostWithHttpInfo(apiV2TestResultsSearchPostRequest); return localVarResponse.Data; } /// - /// Search for test results and extract statistics + /// Search for test results and extract statistics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestResultsStatisticsGetModel - public TestIt.Client.Client.ApiResponse ApiV2TestResultsStatisticsFilterPostWithHttpInfo(ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest)) + public ApiResponse ApiV2TestResultsStatisticsFilterPostWithHttpInfo(ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1625,10 +1625,10 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2TestResultsSearchPostRequest; @@ -1652,29 +1652,29 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi } /// - /// Search for test results and extract statistics + /// Search for test results and extract statistics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestResultsStatisticsGetModel public async System.Threading.Tasks.Task ApiV2TestResultsStatisticsFilterPostAsync(ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2TestResultsStatisticsFilterPostWithHttpInfoAsync(apiV2TestResultsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2TestResultsStatisticsFilterPostWithHttpInfoAsync(apiV2TestResultsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for test results and extract statistics + /// Search for test results and extract statistics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestResultsStatisticsGetModel) - public async System.Threading.Tasks.Task> ApiV2TestResultsStatisticsFilterPostWithHttpInfoAsync(ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestResultsStatisticsFilterPostWithHttpInfoAsync(ApiV2TestResultsSearchPostRequest apiV2TestResultsSearchPostRequest = default(ApiV2TestResultsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1686,10 +1686,10 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2TestResultsSearchPostRequest; @@ -1716,26 +1716,26 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi /// /// Upload and link attachment to TestResult <br>Use case <br>User sets testResultId <br>User attaches a file <br>System creates attachment and links it to the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Select file (optional) /// Guid public Guid CreateAttachment(Guid id, FileParameter file = default(FileParameter)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateAttachmentWithHttpInfo(id, file); + ApiResponse localVarResponse = CreateAttachmentWithHttpInfo(id, file); return localVarResponse.Data; } /// /// Upload and link attachment to TestResult <br>Use case <br>User sets testResultId <br>User attaches a file <br>System creates attachment and links it to the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Select file (optional) /// ApiResponse of Guid - public TestIt.Client.Client.ApiResponse CreateAttachmentWithHttpInfo(Guid id, FileParameter file = default(FileParameter)) + public ApiResponse CreateAttachmentWithHttpInfo(Guid id, FileParameter file = default(FileParameter)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -1746,13 +1746,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (file != null) { localVarRequestOptions.FileParameters.Add("file", file); @@ -1779,29 +1779,29 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi /// /// Upload and link attachment to TestResult <br>Use case <br>User sets testResultId <br>User attaches a file <br>System creates attachment and links it to the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Select file (optional) /// Cancellation Token to cancel the request. /// Task of Guid public async System.Threading.Tasks.Task CreateAttachmentAsync(Guid id, FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateAttachmentWithHttpInfoAsync(id, file, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateAttachmentWithHttpInfoAsync(id, file, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Upload and link attachment to TestResult <br>Use case <br>User sets testResultId <br>User attaches a file <br>System creates attachment and links it to the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Select file (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (Guid) - public async System.Threading.Tasks.Task> CreateAttachmentWithHttpInfoAsync(Guid id, FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateAttachmentWithHttpInfoAsync(Guid id, FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -1813,13 +1813,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (file != null) { localVarRequestOptions.FileParameters.Add("file", file); @@ -1847,7 +1847,7 @@ public TestIt.Client.Client.ApiResponse ApiV2TestResultsIdGetWi /// /// Remove attachment and unlink from TestResult <br>Use case <br>User sets testResultId and attachmentId <br>User attaches a file <br>User runs method execution <br>System deletes attachment and unlinks it from the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// @@ -1859,13 +1859,13 @@ public void DeleteAttachment(Guid id, Guid attachmentId) /// /// Remove attachment and unlink from TestResult <br>Use case <br>User sets testResultId and attachmentId <br>User attaches a file <br>User runs method execution <br>System deletes attachment and unlinks it from the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Guid id, Guid attachmentId) + public ApiResponse DeleteAttachmentWithHttpInfo(Guid id, Guid attachmentId) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1875,14 +1875,14 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("attachmentId", TestIt.Client.Client.ClientUtils.ParameterToString(attachmentId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attachmentId", ClientUtils.ParameterToString(attachmentId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1905,7 +1905,7 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui /// /// Remove attachment and unlink from TestResult <br>Use case <br>User sets testResultId and attachmentId <br>User attaches a file <br>User runs method execution <br>System deletes attachment and unlinks it from the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// Cancellation Token to cancel the request. @@ -1918,15 +1918,15 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui /// /// Remove attachment and unlink from TestResult <br>Use case <br>User sets testResultId and attachmentId <br>User attaches a file <br>User runs method execution <br>System deletes attachment and unlinks it from the test result <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteAttachmentWithHttpInfoAsync(Guid id, Guid attachmentId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteAttachmentWithHttpInfoAsync(Guid id, Guid attachmentId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1937,14 +1937,14 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("attachmentId", TestIt.Client.Client.ClientUtils.ParameterToString(attachmentId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attachmentId", ClientUtils.ParameterToString(attachmentId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1968,7 +1968,7 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui /// /// Get attachment of TestResult <br>Use case <br>User sets attachmentId and testResultId <br>[Optional] User sets resize configuration <br>User runs method execution <br>System search attachments by the attachmentId and the testResultId <br> [Optional] If resize configuration is set, System resizes the attachment according to the resize configuration <br>[Optional] Otherwise, System does not resize the attachment <br>System returns attachment as a file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attachment internal identifier (guid format) /// Test result internal identifier (guid format) /// Width of the result image (optional) @@ -1985,7 +1985,7 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui /// /// Get attachment of TestResult <br>Use case <br>User sets attachmentId and testResultId <br>[Optional] User sets resize configuration <br>User runs method execution <br>System search attachments by the attachmentId and the testResultId <br> [Optional] If resize configuration is set, System resizes the attachment according to the resize configuration <br>[Optional] Otherwise, System does not resize the attachment <br>System returns attachment as a file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attachment internal identifier (guid format) /// Test result internal identifier (guid format) /// Width of the result image (optional) @@ -1994,9 +1994,9 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui /// Color of the background if the `resizeType` is `AddBackgroundStripes` (optional) /// If image must be converted to a preview (lower quality, no animation) (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DownloadAttachmentWithHttpInfo(Guid attachmentId, Guid id, int? width = default(int?), int? height = default(int?), ImageResizeType? resizeType = default(ImageResizeType?), string backgroundColor = default(string), bool? preview = default(bool?)) + public ApiResponse DownloadAttachmentWithHttpInfo(Guid attachmentId, Guid id, int? width = default(int?), int? height = default(int?), ImageResizeType? resizeType = default(ImageResizeType?), string backgroundColor = default(string), bool? preview = default(bool?)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2006,33 +2006,33 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("attachmentId", TestIt.Client.Client.ClientUtils.ParameterToString(attachmentId)); // path parameter - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attachmentId", ClientUtils.ParameterToString(attachmentId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (width != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "width", width)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "width", width)); } if (height != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "height", height)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "height", height)); } if (resizeType != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "resizeType", resizeType)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "resizeType", resizeType)); } if (backgroundColor != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "backgroundColor", backgroundColor)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "backgroundColor", backgroundColor)); } if (preview != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "preview", preview)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "preview", preview)); } // authentication (Bearer or PrivateToken) required @@ -2056,7 +2056,7 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui /// /// Get attachment of TestResult <br>Use case <br>User sets attachmentId and testResultId <br>[Optional] User sets resize configuration <br>User runs method execution <br>System search attachments by the attachmentId and the testResultId <br> [Optional] If resize configuration is set, System resizes the attachment according to the resize configuration <br>[Optional] Otherwise, System does not resize the attachment <br>System returns attachment as a file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attachment internal identifier (guid format) /// Test result internal identifier (guid format) /// Width of the result image (optional) @@ -2074,7 +2074,7 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui /// /// Get attachment of TestResult <br>Use case <br>User sets attachmentId and testResultId <br>[Optional] User sets resize configuration <br>User runs method execution <br>System search attachments by the attachmentId and the testResultId <br> [Optional] If resize configuration is set, System resizes the attachment according to the resize configuration <br>[Optional] Otherwise, System does not resize the attachment <br>System returns attachment as a file /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Attachment internal identifier (guid format) /// Test result internal identifier (guid format) /// Width of the result image (optional) @@ -2084,10 +2084,10 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui /// If image must be converted to a preview (lower quality, no animation) (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DownloadAttachmentWithHttpInfoAsync(Guid attachmentId, Guid id, int? width = default(int?), int? height = default(int?), ImageResizeType? resizeType = default(ImageResizeType?), string backgroundColor = default(string), bool? preview = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DownloadAttachmentWithHttpInfoAsync(Guid attachmentId, Guid id, int? width = default(int?), int? height = default(int?), ImageResizeType? resizeType = default(ImageResizeType?), string backgroundColor = default(string), bool? preview = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2098,33 +2098,33 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("attachmentId", TestIt.Client.Client.ClientUtils.ParameterToString(attachmentId)); // path parameter - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attachmentId", ClientUtils.ParameterToString(attachmentId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (width != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "width", width)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "width", width)); } if (height != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "height", height)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "height", height)); } if (resizeType != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "resizeType", resizeType)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "resizeType", resizeType)); } if (backgroundColor != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "backgroundColor", backgroundColor)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "backgroundColor", backgroundColor)); } if (preview != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "preview", preview)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "preview", preview)); } // authentication (Bearer or PrivateToken) required @@ -2149,26 +2149,26 @@ public TestIt.Client.Client.ApiResponse DeleteAttachmentWithHttpInfo(Gui /// /// Get Metadata of TestResult's attachment <br>Use case <br>User sets attachmentId and testResultId <br>User runs method execution <br>System search attachment by the attachmentId and the testResultId <br>System returns attachment data /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// AttachmentModel public AttachmentModel GetAttachment(Guid id, Guid attachmentId) { - TestIt.Client.Client.ApiResponse localVarResponse = GetAttachmentWithHttpInfo(id, attachmentId); + ApiResponse localVarResponse = GetAttachmentWithHttpInfo(id, attachmentId); return localVarResponse.Data; } /// /// Get Metadata of TestResult's attachment <br>Use case <br>User sets attachmentId and testResultId <br>User runs method execution <br>System search attachment by the attachmentId and the testResultId <br>System returns attachment data /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// ApiResponse of AttachmentModel - public TestIt.Client.Client.ApiResponse GetAttachmentWithHttpInfo(Guid id, Guid attachmentId) + public ApiResponse GetAttachmentWithHttpInfo(Guid id, Guid attachmentId) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2178,14 +2178,14 @@ public TestIt.Client.Client.ApiResponse GetAttachmentWithHttpIn "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("attachmentId", TestIt.Client.Client.ClientUtils.ParameterToString(attachmentId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attachmentId", ClientUtils.ParameterToString(attachmentId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2208,29 +2208,29 @@ public TestIt.Client.Client.ApiResponse GetAttachmentWithHttpIn /// /// Get Metadata of TestResult's attachment <br>Use case <br>User sets attachmentId and testResultId <br>User runs method execution <br>System search attachment by the attachmentId and the testResultId <br>System returns attachment data /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// Cancellation Token to cancel the request. /// Task of AttachmentModel public async System.Threading.Tasks.Task GetAttachmentAsync(Guid id, Guid attachmentId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetAttachmentWithHttpInfoAsync(id, attachmentId, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetAttachmentWithHttpInfoAsync(id, attachmentId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get Metadata of TestResult's attachment <br>Use case <br>User sets attachmentId and testResultId <br>User runs method execution <br>System search attachment by the attachmentId and the testResultId <br>System returns attachment data /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Attachment internal identifier (guid format) /// Cancellation Token to cancel the request. /// Task of ApiResponse (AttachmentModel) - public async System.Threading.Tasks.Task> GetAttachmentWithHttpInfoAsync(Guid id, Guid attachmentId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetAttachmentWithHttpInfoAsync(Guid id, Guid attachmentId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2241,14 +2241,14 @@ public TestIt.Client.Client.ApiResponse GetAttachmentWithHttpIn }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("attachmentId", TestIt.Client.Client.ClientUtils.ParameterToString(attachmentId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("attachmentId", ClientUtils.ParameterToString(attachmentId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2272,24 +2272,24 @@ public TestIt.Client.Client.ApiResponse GetAttachmentWithHttpIn /// /// Get all attachments of TestResult <br>Use case <br>User sets testResultId <br>User runs method execution <br>System search all attachments of the test result <br>System returns attachments enumeration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// List<AttachmentModel> public List GetAttachments(Guid id) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetAttachmentsWithHttpInfo(id); + ApiResponse> localVarResponse = GetAttachmentsWithHttpInfo(id); return localVarResponse.Data; } /// /// Get all attachments of TestResult <br>Use case <br>User sets testResultId <br>User runs method execution <br>System search all attachments of the test result <br>System returns attachments enumeration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// ApiResponse of List<AttachmentModel> - public TestIt.Client.Client.ApiResponse> GetAttachmentsWithHttpInfo(Guid id) + public ApiResponse> GetAttachmentsWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2299,13 +2299,13 @@ public TestIt.Client.Client.ApiResponse> GetAttachmentsWit "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2328,27 +2328,27 @@ public TestIt.Client.Client.ApiResponse> GetAttachmentsWit /// /// Get all attachments of TestResult <br>Use case <br>User sets testResultId <br>User runs method execution <br>System search all attachments of the test result <br>System returns attachments enumeration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Cancellation Token to cancel the request. /// Task of List<AttachmentModel> public async System.Threading.Tasks.Task> GetAttachmentsAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetAttachmentsWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetAttachmentsWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get all attachments of TestResult <br>Use case <br>User sets testResultId <br>User runs method execution <br>System search all attachments of the test result <br>System returns attachments enumeration /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test result internal identifier (guid format) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AttachmentModel>) - public async System.Threading.Tasks.Task>> GetAttachmentsWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetAttachmentsWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2359,13 +2359,13 @@ public TestIt.Client.Client.ApiResponse> GetAttachmentsWit }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) diff --git a/src/TestIt.Client/Api/TestRunsApi.cs b/src/TestIT.ApiClient/Api/TestRunsApi.cs similarity index 75% rename from src/TestIt.Client/Api/TestRunsApi.cs rename to src/TestIT.ApiClient/Api/TestRunsApi.cs index 1ec94bf1..7b7a71d6 100644 --- a/src/TestIt.Client/Api/TestRunsApi.cs +++ b/src/TestIT.ApiClient/Api/TestRunsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -30,7 +30,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// Search for the test run test results and build statistics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// TestResultsStatisticsGetModel @@ -40,9 +40,9 @@ public interface ITestRunsApiSync : IApiAccessor /// Search for the test run test results and build statistics /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// ApiResponse of TestResultsStatisticsGetModel @@ -50,7 +50,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// Get test results from the test run grouped by test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// List<TestPointResultModel> List ApiV2TestRunsIdTestPointsResultsGet(Guid id); @@ -59,16 +59,16 @@ public interface ITestRunsApiSync : IApiAccessor /// Get test results from the test run grouped by test points /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// ApiResponse of List<TestPointResultModel> ApiResponse> ApiV2TestRunsIdTestPointsResultsGetWithHttpInfo(Guid id); /// /// Partial edit of multiple test results in the test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// @@ -78,9 +78,9 @@ public interface ITestRunsApiSync : IApiAccessor /// Partial edit of multiple test results in the test run /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// ApiResponse of Object(void) @@ -88,7 +88,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// Get modification date of last test result of the test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// DateTime DateTime ApiV2TestRunsIdTestResultsLastModifiedModificationDateGet(Guid id); @@ -97,16 +97,16 @@ public interface ITestRunsApiSync : IApiAccessor /// Get modification date of last test result of the test run /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// ApiResponse of DateTime ApiResponse ApiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfo(Guid id); /// /// Search for test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -120,9 +120,9 @@ public interface ITestRunsApiSync : IApiAccessor /// Search for test runs /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -134,7 +134,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// Update multiple test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void ApiV2TestRunsUpdateMultiplePost(ApiV2TestRunsUpdateMultiplePostRequest apiV2TestRunsUpdateMultiplePostRequest = default(ApiV2TestRunsUpdateMultiplePostRequest)); @@ -143,9 +143,9 @@ public interface ITestRunsApiSync : IApiAccessor /// Update multiple test runs /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse ApiV2TestRunsUpdateMultiplePostWithHttpInfo(ApiV2TestRunsUpdateMultiplePostRequest apiV2TestRunsUpdateMultiplePostRequest = default(ApiV2TestRunsUpdateMultiplePostRequest)); @@ -155,7 +155,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System completes test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// void CompleteTestRun(Guid id); @@ -166,7 +166,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System completes test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// ApiResponse of Object(void) ApiResponse CompleteTestRunWithHttpInfo(Guid id); @@ -176,7 +176,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// This method creates a test run based on an autotest and a configuration. The difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is that in this method there is no need to create a test plan and work items (test cases and checklists). /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestRunV2GetModel TestRunV2GetModel CreateAndFillByAutoTests(CreateAndFillByAutoTestsRequest createAndFillByAutoTestsRequest = default(CreateAndFillByAutoTestsRequest)); @@ -187,7 +187,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// This method creates a test run based on an autotest and a configuration. The difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is that in this method there is no need to create a test plan and work items (test cases and checklists). /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestRunV2GetModel ApiResponse CreateAndFillByAutoTestsWithHttpInfo(CreateAndFillByAutoTestsRequest createAndFillByAutoTestsRequest = default(CreateAndFillByAutoTestsRequest)); @@ -197,7 +197,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// This method creates a test run based on a combination of a configuration and a work item(test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. This method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a jagged array within the \"<b>testPointSelectors</b>\" parameter. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestRunV2GetModel TestRunV2GetModel CreateAndFillByConfigurations(CreateAndFillByConfigurationsRequest createAndFillByConfigurationsRequest = default(CreateAndFillByConfigurationsRequest)); @@ -208,7 +208,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// This method creates a test run based on a combination of a configuration and a work item(test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. This method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a jagged array within the \"<b>testPointSelectors</b>\" parameter. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestRunV2GetModel ApiResponse CreateAndFillByConfigurationsWithHttpInfo(CreateAndFillByConfigurationsRequest createAndFillByConfigurationsRequest = default(CreateAndFillByConfigurationsRequest)); @@ -218,7 +218,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// This method creates a test run based on a combination of configuration and work item (test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestRunV2GetModel TestRunV2GetModel CreateAndFillByWorkItems(CreateAndFillByWorkItemsRequest createAndFillByWorkItemsRequest = default(CreateAndFillByWorkItemsRequest)); @@ -229,7 +229,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// This method creates a test run based on a combination of configuration and work item (test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestRunV2GetModel ApiResponse CreateAndFillByWorkItemsWithHttpInfo(CreateAndFillByWorkItemsRequest createAndFillByWorkItemsRequest = default(CreateAndFillByWorkItemsRequest)); @@ -239,7 +239,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// <br>Use case <br>User sets test run model (listed in the request example) <br>User runs method execution <br>System creates test run <br>System returns test run model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestRunV2GetModel TestRunV2GetModel CreateEmpty(CreateEmptyRequest createEmptyRequest = default(CreateEmptyRequest)); @@ -250,7 +250,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// <br>Use case <br>User sets test run model (listed in the request example) <br>User runs method execution <br>System creates test run <br>System returns test run model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestRunV2GetModel ApiResponse CreateEmptyWithHttpInfo(CreateEmptyRequest createEmptyRequest = default(CreateEmptyRequest)); @@ -260,7 +260,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System finds test run <br>System returns test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// TestRunV2GetModel TestRunV2GetModel GetTestRunById(Guid id); @@ -271,7 +271,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System finds test run <br>System returns test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// ApiResponse of TestRunV2GetModel ApiResponse GetTestRunByIdWithHttpInfo(Guid id); @@ -281,7 +281,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// This method sends test results to the test management system. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// (optional) /// List<Guid> @@ -293,7 +293,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// This method sends test results to the test management system. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// (optional) /// ApiResponse of List<Guid> @@ -304,7 +304,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System starts test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// void StartTestRun(Guid id); @@ -315,7 +315,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System starts test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// ApiResponse of Object(void) ApiResponse StartTestRunWithHttpInfo(Guid id); @@ -325,7 +325,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System stops test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// void StopTestRun(Guid id); @@ -336,7 +336,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System stops test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// ApiResponse of Object(void) ApiResponse StopTestRunWithHttpInfo(Guid id); @@ -346,7 +346,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// <br>Use case <br>User sets test run properties (listed in the request example) <br>User runs method execution <br>System updates test run <br>System returns returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void UpdateEmpty(UpdateEmptyRequest updateEmptyRequest = default(UpdateEmptyRequest)); @@ -357,7 +357,7 @@ public interface ITestRunsApiSync : IApiAccessor /// /// <br>Use case <br>User sets test run properties (listed in the request example) <br>User runs method execution <br>System updates test run <br>System returns returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse UpdateEmptyWithHttpInfo(UpdateEmptyRequest updateEmptyRequest = default(UpdateEmptyRequest)); @@ -374,9 +374,9 @@ public interface ITestRunsApiAsync : IApiAccessor /// Search for the test run test results and build statistics /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// Cancellation Token to cancel the request. @@ -387,9 +387,9 @@ public interface ITestRunsApiAsync : IApiAccessor /// Search for the test run test results and build statistics /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// Cancellation Token to cancel the request. @@ -399,9 +399,9 @@ public interface ITestRunsApiAsync : IApiAccessor /// Get test results from the test run grouped by test points /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// Cancellation Token to cancel the request. /// Task of List<TestPointResultModel> @@ -411,9 +411,9 @@ public interface ITestRunsApiAsync : IApiAccessor /// Get test results from the test run grouped by test points /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestPointResultModel>) @@ -422,9 +422,9 @@ public interface ITestRunsApiAsync : IApiAccessor /// Partial edit of multiple test results in the test run /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// Cancellation Token to cancel the request. @@ -435,9 +435,9 @@ public interface ITestRunsApiAsync : IApiAccessor /// Partial edit of multiple test results in the test run /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// Cancellation Token to cancel the request. @@ -447,9 +447,9 @@ public interface ITestRunsApiAsync : IApiAccessor /// Get modification date of last test result of the test run /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// Cancellation Token to cancel the request. /// Task of DateTime @@ -459,9 +459,9 @@ public interface ITestRunsApiAsync : IApiAccessor /// Get modification date of last test result of the test run /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (DateTime) @@ -470,9 +470,9 @@ public interface ITestRunsApiAsync : IApiAccessor /// Search for test runs /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -487,9 +487,9 @@ public interface ITestRunsApiAsync : IApiAccessor /// Search for test runs /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -503,9 +503,9 @@ public interface ITestRunsApiAsync : IApiAccessor /// Update multiple test runs /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -515,9 +515,9 @@ public interface ITestRunsApiAsync : IApiAccessor /// Update multiple test runs /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -528,7 +528,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System completes test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of void @@ -540,7 +540,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System completes test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -551,7 +551,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// This method creates a test run based on an autotest and a configuration. The difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is that in this method there is no need to create a test plan and work items (test cases and checklists). /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestRunV2GetModel @@ -563,7 +563,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// This method creates a test run based on an autotest and a configuration. The difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is that in this method there is no need to create a test plan and work items (test cases and checklists). /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestRunV2GetModel) @@ -574,7 +574,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// This method creates a test run based on a combination of a configuration and a work item(test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. This method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a jagged array within the \"<b>testPointSelectors</b>\" parameter. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestRunV2GetModel @@ -586,7 +586,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// This method creates a test run based on a combination of a configuration and a work item(test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. This method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a jagged array within the \"<b>testPointSelectors</b>\" parameter. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestRunV2GetModel) @@ -597,7 +597,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// This method creates a test run based on a combination of configuration and work item (test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestRunV2GetModel @@ -609,7 +609,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// This method creates a test run based on a combination of configuration and work item (test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestRunV2GetModel) @@ -620,7 +620,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test run model (listed in the request example) <br>User runs method execution <br>System creates test run <br>System returns test run model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestRunV2GetModel @@ -632,7 +632,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test run model (listed in the request example) <br>User runs method execution <br>System creates test run <br>System returns test run model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestRunV2GetModel) @@ -643,7 +643,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System finds test run <br>System returns test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of TestRunV2GetModel @@ -655,7 +655,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System finds test run <br>System returns test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestRunV2GetModel) @@ -666,7 +666,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// This method sends test results to the test management system. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// (optional) /// Cancellation Token to cancel the request. @@ -679,7 +679,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// This method sends test results to the test management system. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// (optional) /// Cancellation Token to cancel the request. @@ -691,7 +691,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System starts test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of void @@ -703,7 +703,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System starts test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -714,7 +714,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System stops test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of void @@ -726,7 +726,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System stops test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -737,7 +737,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test run properties (listed in the request example) <br>User runs method execution <br>System updates test run <br>System returns returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -749,7 +749,7 @@ public interface ITestRunsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test run properties (listed in the request example) <br>User runs method execution <br>System updates test run <br>System returns returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -770,7 +770,7 @@ public interface ITestRunsApi : ITestRunsApiSync, ITestRunsApiAsync /// public partial class TestRunsApi : IDisposable, ITestRunsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -792,14 +792,14 @@ public TestRunsApi() : this((string)null) /// public TestRunsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -810,18 +810,18 @@ public TestRunsApi(string basePath) /// An instance of Configuration. /// /// - public TestRunsApi(TestIt.Client.Client.Configuration configuration) + public TestRunsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -856,14 +856,14 @@ public TestRunsApi(HttpClient client, string basePath, HttpClientHandler handler { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -878,19 +878,19 @@ public TestRunsApi(HttpClient client, string basePath, HttpClientHandler handler /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public TestRunsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public TestRunsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -901,7 +901,7 @@ public TestRunsApi(HttpClient client, TestIt.Client.Client.Configuration configu /// The client interface for asynchronous API access. /// The configuration object. /// - public TestRunsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public TestRunsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -910,7 +910,7 @@ public TestRunsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -924,17 +924,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -949,12 +949,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -968,28 +968,28 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Search for the test run test results and build statistics + /// Search for the test run test results and build statistics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// TestResultsStatisticsGetModel public TestResultsStatisticsGetModel ApiV2TestRunsIdStatisticsFilterPost(Guid id, ApiV2TestRunsIdStatisticsFilterPostRequest apiV2TestRunsIdStatisticsFilterPostRequest = default(ApiV2TestRunsIdStatisticsFilterPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2TestRunsIdStatisticsFilterPostWithHttpInfo(id, apiV2TestRunsIdStatisticsFilterPostRequest); + ApiResponse localVarResponse = ApiV2TestRunsIdStatisticsFilterPostWithHttpInfo(id, apiV2TestRunsIdStatisticsFilterPostRequest); return localVarResponse.Data; } /// - /// Search for the test run test results and build statistics + /// Search for the test run test results and build statistics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// ApiResponse of TestResultsStatisticsGetModel - public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdStatisticsFilterPostWithHttpInfo(Guid id, ApiV2TestRunsIdStatisticsFilterPostRequest apiV2TestRunsIdStatisticsFilterPostRequest = default(ApiV2TestRunsIdStatisticsFilterPostRequest)) + public ApiResponse ApiV2TestRunsIdStatisticsFilterPostWithHttpInfo(Guid id, ApiV2TestRunsIdStatisticsFilterPostRequest apiV2TestRunsIdStatisticsFilterPostRequest = default(ApiV2TestRunsIdStatisticsFilterPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1000,13 +1000,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2TestRunsIdStatisticsFilterPostRequest; // authentication (Bearer or PrivateToken) required @@ -1028,31 +1028,31 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Search for the test run test results and build statistics + /// Search for the test run test results and build statistics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// Cancellation Token to cancel the request. /// Task of TestResultsStatisticsGetModel public async System.Threading.Tasks.Task ApiV2TestRunsIdStatisticsFilterPostAsync(Guid id, ApiV2TestRunsIdStatisticsFilterPostRequest apiV2TestRunsIdStatisticsFilterPostRequest = default(ApiV2TestRunsIdStatisticsFilterPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2TestRunsIdStatisticsFilterPostWithHttpInfoAsync(id, apiV2TestRunsIdStatisticsFilterPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2TestRunsIdStatisticsFilterPostWithHttpInfoAsync(id, apiV2TestRunsIdStatisticsFilterPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for the test run test results and build statistics + /// Search for the test run test results and build statistics /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestResultsStatisticsGetModel) - public async System.Threading.Tasks.Task> ApiV2TestRunsIdStatisticsFilterPostWithHttpInfoAsync(Guid id, ApiV2TestRunsIdStatisticsFilterPostRequest apiV2TestRunsIdStatisticsFilterPostRequest = default(ApiV2TestRunsIdStatisticsFilterPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestRunsIdStatisticsFilterPostWithHttpInfoAsync(Guid id, ApiV2TestRunsIdStatisticsFilterPostRequest apiV2TestRunsIdStatisticsFilterPostRequest = default(ApiV2TestRunsIdStatisticsFilterPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1064,13 +1064,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2TestRunsIdStatisticsFilterPostRequest; // authentication (Bearer or PrivateToken) required @@ -1093,26 +1093,26 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Get test results from the test run grouped by test points + /// Get test results from the test run grouped by test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// List<TestPointResultModel> public List ApiV2TestRunsIdTestPointsResultsGet(Guid id) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestRunsIdTestPointsResultsGetWithHttpInfo(id); + ApiResponse> localVarResponse = ApiV2TestRunsIdTestPointsResultsGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get test results from the test run grouped by test points + /// Get test results from the test run grouped by test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// ApiResponse of List<TestPointResultModel> - public TestIt.Client.Client.ApiResponse> ApiV2TestRunsIdTestPointsResultsGetWithHttpInfo(Guid id) + public ApiResponse> ApiV2TestRunsIdTestPointsResultsGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1122,13 +1122,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestRun "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1149,29 +1149,29 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestRun } /// - /// Get test results from the test run grouped by test points + /// Get test results from the test run grouped by test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// Cancellation Token to cancel the request. /// Task of List<TestPointResultModel> public async System.Threading.Tasks.Task> ApiV2TestRunsIdTestPointsResultsGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestRunsIdTestPointsResultsGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestRunsIdTestPointsResultsGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get test results from the test run grouped by test points + /// Get test results from the test run grouped by test points /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestPointResultModel>) - public async System.Threading.Tasks.Task>> ApiV2TestRunsIdTestPointsResultsGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestRunsIdTestPointsResultsGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1182,13 +1182,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestRun }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1210,9 +1210,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestRun } /// - /// Partial edit of multiple test results in the test run + /// Partial edit of multiple test results in the test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// @@ -1222,15 +1222,15 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestRun } /// - /// Partial edit of multiple test results in the test run + /// Partial edit of multiple test results in the test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsBulkPutWithHttpInfo(Guid id, ApiV2TestRunsIdTestResultsBulkPutRequest apiV2TestRunsIdTestResultsBulkPutRequest = default(ApiV2TestRunsIdTestResultsBulkPutRequest)) + public ApiResponse ApiV2TestRunsIdTestResultsBulkPutWithHttpInfo(Guid id, ApiV2TestRunsIdTestResultsBulkPutRequest apiV2TestRunsIdTestResultsBulkPutRequest = default(ApiV2TestRunsIdTestResultsBulkPutRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1241,13 +1241,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestRun "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2TestRunsIdTestResultsBulkPutRequest; // authentication (Bearer or PrivateToken) required @@ -1269,9 +1269,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestRun } /// - /// Partial edit of multiple test results in the test run + /// Partial edit of multiple test results in the test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// Cancellation Token to cancel the request. @@ -1282,17 +1282,17 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestRun } /// - /// Partial edit of multiple test results in the test run + /// Partial edit of multiple test results in the test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2TestRunsIdTestResultsBulkPutWithHttpInfoAsync(Guid id, ApiV2TestRunsIdTestResultsBulkPutRequest apiV2TestRunsIdTestResultsBulkPutRequest = default(ApiV2TestRunsIdTestResultsBulkPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestRunsIdTestResultsBulkPutWithHttpInfoAsync(Guid id, ApiV2TestRunsIdTestResultsBulkPutRequest apiV2TestRunsIdTestResultsBulkPutRequest = default(ApiV2TestRunsIdTestResultsBulkPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1304,13 +1304,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestRun }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2TestRunsIdTestResultsBulkPutRequest; // authentication (Bearer or PrivateToken) required @@ -1333,26 +1333,26 @@ public TestIt.Client.Client.ApiResponse> ApiV2TestRun } /// - /// Get modification date of last test result of the test run + /// Get modification date of last test result of the test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// DateTime public DateTime ApiV2TestRunsIdTestResultsLastModifiedModificationDateGet(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get modification date of last test result of the test run + /// Get modification date of last test result of the test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// ApiResponse of DateTime - public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfo(Guid id) + public ApiResponse ApiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1362,13 +1362,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1389,29 +1389,29 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast } /// - /// Get modification date of last test result of the test run + /// Get modification date of last test result of the test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// Cancellation Token to cancel the request. /// Task of DateTime public async System.Threading.Tasks.Task ApiV2TestRunsIdTestResultsLastModifiedModificationDateGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get modification date of last test result of the test run + /// Get modification date of last test result of the test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test run unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (DateTime) - public async System.Threading.Tasks.Task> ApiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1422,13 +1422,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1450,9 +1450,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast } /// - /// Search for test runs + /// Search for test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1462,14 +1462,14 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast /// List<TestRunShortGetModel> public List ApiV2TestRunsSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestRunsSearchPostRequest apiV2TestRunsSearchPostRequest = default(ApiV2TestRunsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2TestRunsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2TestRunsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2TestRunsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2TestRunsSearchPostRequest); return localVarResponse.Data; } /// - /// Search for test runs + /// Search for test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1477,9 +1477,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast /// Value for searching (optional) /// (optional) /// ApiResponse of List<TestRunShortGetModel> - public TestIt.Client.Client.ApiResponse> ApiV2TestRunsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestRunsSearchPostRequest apiV2TestRunsSearchPostRequest = default(ApiV2TestRunsSearchPostRequest)) + public ApiResponse> ApiV2TestRunsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestRunsSearchPostRequest apiV2TestRunsSearchPostRequest = default(ApiV2TestRunsSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1490,31 +1490,31 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2TestRunsSearchPostRequest; @@ -1537,9 +1537,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast } /// - /// Search for test runs + /// Search for test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1550,14 +1550,14 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast /// Task of List<TestRunShortGetModel> public async System.Threading.Tasks.Task> ApiV2TestRunsSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestRunsSearchPostRequest apiV2TestRunsSearchPostRequest = default(ApiV2TestRunsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2TestRunsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2TestRunsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2TestRunsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2TestRunsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for test runs + /// Search for test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1566,10 +1566,10 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestRunShortGetModel>) - public async System.Threading.Tasks.Task>> ApiV2TestRunsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestRunsSearchPostRequest apiV2TestRunsSearchPostRequest = default(ApiV2TestRunsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2TestRunsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2TestRunsSearchPostRequest apiV2TestRunsSearchPostRequest = default(ApiV2TestRunsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1581,31 +1581,31 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2TestRunsSearchPostRequest; @@ -1629,9 +1629,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast } /// - /// Update multiple test runs + /// Update multiple test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void ApiV2TestRunsUpdateMultiplePost(ApiV2TestRunsUpdateMultiplePostRequest apiV2TestRunsUpdateMultiplePostRequest = default(ApiV2TestRunsUpdateMultiplePostRequest)) @@ -1640,14 +1640,14 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast } /// - /// Update multiple test runs + /// Update multiple test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2TestRunsUpdateMultiplePostWithHttpInfo(ApiV2TestRunsUpdateMultiplePostRequest apiV2TestRunsUpdateMultiplePostRequest = default(ApiV2TestRunsUpdateMultiplePostRequest)) + public ApiResponse ApiV2TestRunsUpdateMultiplePostWithHttpInfo(ApiV2TestRunsUpdateMultiplePostRequest apiV2TestRunsUpdateMultiplePostRequest = default(ApiV2TestRunsUpdateMultiplePostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1657,10 +1657,10 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast string[] _accepts = new string[] { }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2TestRunsUpdateMultiplePostRequest; @@ -1684,9 +1684,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast } /// - /// Update multiple test runs + /// Update multiple test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1696,16 +1696,16 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast } /// - /// Update multiple test runs + /// Update multiple test runs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2TestRunsUpdateMultiplePostWithHttpInfoAsync(ApiV2TestRunsUpdateMultiplePostRequest apiV2TestRunsUpdateMultiplePostRequest = default(ApiV2TestRunsUpdateMultiplePostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestRunsUpdateMultiplePostWithHttpInfoAsync(ApiV2TestRunsUpdateMultiplePostRequest apiV2TestRunsUpdateMultiplePostRequest = default(ApiV2TestRunsUpdateMultiplePostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1716,10 +1716,10 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2TestRunsUpdateMultiplePostRequest; @@ -1746,7 +1746,7 @@ public TestIt.Client.Client.ApiResponse ApiV2TestRunsIdTestResultsLast /// /// Complete TestRun <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System completes test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// public void CompleteTestRun(Guid id) @@ -1757,12 +1757,12 @@ public void CompleteTestRun(Guid id) /// /// Complete TestRun <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System completes test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid id) + public ApiResponse CompleteTestRunWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1772,13 +1772,13 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1801,7 +1801,7 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid /// /// Complete TestRun <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System completes test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of void @@ -1813,14 +1813,14 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid /// /// Complete TestRun <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System completes test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> CompleteTestRunWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CompleteTestRunWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1831,13 +1831,13 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1861,24 +1861,24 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid /// /// Create test runs based on autotests and configurations This method creates a test run based on an autotest and a configuration. The difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is that in this method there is no need to create a test plan and work items (test cases and checklists). /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestRunV2GetModel public TestRunV2GetModel CreateAndFillByAutoTests(CreateAndFillByAutoTestsRequest createAndFillByAutoTestsRequest = default(CreateAndFillByAutoTestsRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateAndFillByAutoTestsWithHttpInfo(createAndFillByAutoTestsRequest); + ApiResponse localVarResponse = CreateAndFillByAutoTestsWithHttpInfo(createAndFillByAutoTestsRequest); return localVarResponse.Data; } /// /// Create test runs based on autotests and configurations This method creates a test run based on an autotest and a configuration. The difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is that in this method there is no need to create a test plan and work items (test cases and checklists). /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestRunV2GetModel - public TestIt.Client.Client.ApiResponse CreateAndFillByAutoTestsWithHttpInfo(CreateAndFillByAutoTestsRequest createAndFillByAutoTestsRequest = default(CreateAndFillByAutoTestsRequest)) + public ApiResponse CreateAndFillByAutoTestsWithHttpInfo(CreateAndFillByAutoTestsRequest createAndFillByAutoTestsRequest = default(CreateAndFillByAutoTestsRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1889,10 +1889,10 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createAndFillByAutoTestsRequest; @@ -1918,27 +1918,27 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid /// /// Create test runs based on autotests and configurations This method creates a test run based on an autotest and a configuration. The difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is that in this method there is no need to create a test plan and work items (test cases and checklists). /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestRunV2GetModel public async System.Threading.Tasks.Task CreateAndFillByAutoTestsAsync(CreateAndFillByAutoTestsRequest createAndFillByAutoTestsRequest = default(CreateAndFillByAutoTestsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateAndFillByAutoTestsWithHttpInfoAsync(createAndFillByAutoTestsRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateAndFillByAutoTestsWithHttpInfoAsync(createAndFillByAutoTestsRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create test runs based on autotests and configurations This method creates a test run based on an autotest and a configuration. The difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is that in this method there is no need to create a test plan and work items (test cases and checklists). /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestRunV2GetModel) - public async System.Threading.Tasks.Task> CreateAndFillByAutoTestsWithHttpInfoAsync(CreateAndFillByAutoTestsRequest createAndFillByAutoTestsRequest = default(CreateAndFillByAutoTestsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateAndFillByAutoTestsWithHttpInfoAsync(CreateAndFillByAutoTestsRequest createAndFillByAutoTestsRequest = default(CreateAndFillByAutoTestsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1950,10 +1950,10 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createAndFillByAutoTestsRequest; @@ -1980,24 +1980,24 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid /// /// Create test runs picking the needed test points This method creates a test run based on a combination of a configuration and a work item(test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. This method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a jagged array within the \"<b>testPointSelectors</b>\" parameter. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestRunV2GetModel public TestRunV2GetModel CreateAndFillByConfigurations(CreateAndFillByConfigurationsRequest createAndFillByConfigurationsRequest = default(CreateAndFillByConfigurationsRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateAndFillByConfigurationsWithHttpInfo(createAndFillByConfigurationsRequest); + ApiResponse localVarResponse = CreateAndFillByConfigurationsWithHttpInfo(createAndFillByConfigurationsRequest); return localVarResponse.Data; } /// /// Create test runs picking the needed test points This method creates a test run based on a combination of a configuration and a work item(test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. This method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a jagged array within the \"<b>testPointSelectors</b>\" parameter. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestRunV2GetModel - public TestIt.Client.Client.ApiResponse CreateAndFillByConfigurationsWithHttpInfo(CreateAndFillByConfigurationsRequest createAndFillByConfigurationsRequest = default(CreateAndFillByConfigurationsRequest)) + public ApiResponse CreateAndFillByConfigurationsWithHttpInfo(CreateAndFillByConfigurationsRequest createAndFillByConfigurationsRequest = default(CreateAndFillByConfigurationsRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2008,10 +2008,10 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createAndFillByConfigurationsRequest; @@ -2037,27 +2037,27 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid /// /// Create test runs picking the needed test points This method creates a test run based on a combination of a configuration and a work item(test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. This method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a jagged array within the \"<b>testPointSelectors</b>\" parameter. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestRunV2GetModel public async System.Threading.Tasks.Task CreateAndFillByConfigurationsAsync(CreateAndFillByConfigurationsRequest createAndFillByConfigurationsRequest = default(CreateAndFillByConfigurationsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateAndFillByConfigurationsWithHttpInfoAsync(createAndFillByConfigurationsRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateAndFillByConfigurationsWithHttpInfoAsync(createAndFillByConfigurationsRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create test runs picking the needed test points This method creates a test run based on a combination of a configuration and a work item(test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. This method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a jagged array within the \"<b>testPointSelectors</b>\" parameter. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestRunV2GetModel) - public async System.Threading.Tasks.Task> CreateAndFillByConfigurationsWithHttpInfoAsync(CreateAndFillByConfigurationsRequest createAndFillByConfigurationsRequest = default(CreateAndFillByConfigurationsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateAndFillByConfigurationsWithHttpInfoAsync(CreateAndFillByConfigurationsRequest createAndFillByConfigurationsRequest = default(CreateAndFillByConfigurationsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2069,10 +2069,10 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createAndFillByConfigurationsRequest; @@ -2099,24 +2099,24 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid /// /// Create test run based on configurations and work items This method creates a test run based on a combination of configuration and work item (test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestRunV2GetModel public TestRunV2GetModel CreateAndFillByWorkItems(CreateAndFillByWorkItemsRequest createAndFillByWorkItemsRequest = default(CreateAndFillByWorkItemsRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateAndFillByWorkItemsWithHttpInfo(createAndFillByWorkItemsRequest); + ApiResponse localVarResponse = CreateAndFillByWorkItemsWithHttpInfo(createAndFillByWorkItemsRequest); return localVarResponse.Data; } /// /// Create test run based on configurations and work items This method creates a test run based on a combination of configuration and work item (test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestRunV2GetModel - public TestIt.Client.Client.ApiResponse CreateAndFillByWorkItemsWithHttpInfo(CreateAndFillByWorkItemsRequest createAndFillByWorkItemsRequest = default(CreateAndFillByWorkItemsRequest)) + public ApiResponse CreateAndFillByWorkItemsWithHttpInfo(CreateAndFillByWorkItemsRequest createAndFillByWorkItemsRequest = default(CreateAndFillByWorkItemsRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2127,10 +2127,10 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createAndFillByWorkItemsRequest; @@ -2156,27 +2156,27 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid /// /// Create test run based on configurations and work items This method creates a test run based on a combination of configuration and work item (test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestRunV2GetModel public async System.Threading.Tasks.Task CreateAndFillByWorkItemsAsync(CreateAndFillByWorkItemsRequest createAndFillByWorkItemsRequest = default(CreateAndFillByWorkItemsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateAndFillByWorkItemsWithHttpInfoAsync(createAndFillByWorkItemsRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateAndFillByWorkItemsWithHttpInfoAsync(createAndFillByWorkItemsRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create test run based on configurations and work items This method creates a test run based on a combination of configuration and work item (test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestRunV2GetModel) - public async System.Threading.Tasks.Task> CreateAndFillByWorkItemsWithHttpInfoAsync(CreateAndFillByWorkItemsRequest createAndFillByWorkItemsRequest = default(CreateAndFillByWorkItemsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateAndFillByWorkItemsWithHttpInfoAsync(CreateAndFillByWorkItemsRequest createAndFillByWorkItemsRequest = default(CreateAndFillByWorkItemsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2188,10 +2188,10 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createAndFillByWorkItemsRequest; @@ -2218,24 +2218,24 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid /// /// Create empty TestRun <br>Use case <br>User sets test run model (listed in the request example) <br>User runs method execution <br>System creates test run <br>System returns test run model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestRunV2GetModel public TestRunV2GetModel CreateEmpty(CreateEmptyRequest createEmptyRequest = default(CreateEmptyRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateEmptyWithHttpInfo(createEmptyRequest); + ApiResponse localVarResponse = CreateEmptyWithHttpInfo(createEmptyRequest); return localVarResponse.Data; } /// /// Create empty TestRun <br>Use case <br>User sets test run model (listed in the request example) <br>User runs method execution <br>System creates test run <br>System returns test run model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestRunV2GetModel - public TestIt.Client.Client.ApiResponse CreateEmptyWithHttpInfo(CreateEmptyRequest createEmptyRequest = default(CreateEmptyRequest)) + public ApiResponse CreateEmptyWithHttpInfo(CreateEmptyRequest createEmptyRequest = default(CreateEmptyRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2246,10 +2246,10 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createEmptyRequest; @@ -2275,27 +2275,27 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid /// /// Create empty TestRun <br>Use case <br>User sets test run model (listed in the request example) <br>User runs method execution <br>System creates test run <br>System returns test run model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestRunV2GetModel public async System.Threading.Tasks.Task CreateEmptyAsync(CreateEmptyRequest createEmptyRequest = default(CreateEmptyRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateEmptyWithHttpInfoAsync(createEmptyRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateEmptyWithHttpInfoAsync(createEmptyRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create empty TestRun <br>Use case <br>User sets test run model (listed in the request example) <br>User runs method execution <br>System creates test run <br>System returns test run model /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestRunV2GetModel) - public async System.Threading.Tasks.Task> CreateEmptyWithHttpInfoAsync(CreateEmptyRequest createEmptyRequest = default(CreateEmptyRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateEmptyWithHttpInfoAsync(CreateEmptyRequest createEmptyRequest = default(CreateEmptyRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2307,10 +2307,10 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createEmptyRequest; @@ -2337,24 +2337,24 @@ public TestIt.Client.Client.ApiResponse CompleteTestRunWithHttpInfo(Guid /// /// Get TestRun by Id <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System finds test run <br>System returns test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// TestRunV2GetModel public TestRunV2GetModel GetTestRunById(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = GetTestRunByIdWithHttpInfo(id); + ApiResponse localVarResponse = GetTestRunByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get TestRun by Id <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System finds test run <br>System returns test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// ApiResponse of TestRunV2GetModel - public TestIt.Client.Client.ApiResponse GetTestRunByIdWithHttpInfo(Guid id) + public ApiResponse GetTestRunByIdWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2364,13 +2364,13 @@ public TestIt.Client.Client.ApiResponse GetTestRunByIdWithHtt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2393,27 +2393,27 @@ public TestIt.Client.Client.ApiResponse GetTestRunByIdWithHtt /// /// Get TestRun by Id <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System finds test run <br>System returns test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of TestRunV2GetModel public async System.Threading.Tasks.Task GetTestRunByIdAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetTestRunByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetTestRunByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get TestRun by Id <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System finds test run <br>System returns test run /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestRunV2GetModel) - public async System.Threading.Tasks.Task> GetTestRunByIdWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetTestRunByIdWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2424,13 +2424,13 @@ public TestIt.Client.Client.ApiResponse GetTestRunByIdWithHtt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2454,26 +2454,26 @@ public TestIt.Client.Client.ApiResponse GetTestRunByIdWithHtt /// /// Send test results to the test runs in the system This method sends test results to the test management system. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// (optional) /// List<Guid> public List SetAutoTestResultsForTestRun(Guid id, List autoTestResultsForTestRunModel = default(List)) { - TestIt.Client.Client.ApiResponse> localVarResponse = SetAutoTestResultsForTestRunWithHttpInfo(id, autoTestResultsForTestRunModel); + ApiResponse> localVarResponse = SetAutoTestResultsForTestRunWithHttpInfo(id, autoTestResultsForTestRunModel); return localVarResponse.Data; } /// /// Send test results to the test runs in the system This method sends test results to the test management system. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// (optional) /// ApiResponse of List<Guid> - public TestIt.Client.Client.ApiResponse> SetAutoTestResultsForTestRunWithHttpInfo(Guid id, List autoTestResultsForTestRunModel = default(List)) + public ApiResponse> SetAutoTestResultsForTestRunWithHttpInfo(Guid id, List autoTestResultsForTestRunModel = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2484,13 +2484,13 @@ public TestIt.Client.Client.ApiResponse GetTestRunByIdWithHtt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = autoTestResultsForTestRunModel; // authentication (Bearer or PrivateToken) required @@ -2514,29 +2514,29 @@ public TestIt.Client.Client.ApiResponse GetTestRunByIdWithHtt /// /// Send test results to the test runs in the system This method sends test results to the test management system. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// (optional) /// Cancellation Token to cancel the request. /// Task of List<Guid> public async System.Threading.Tasks.Task> SetAutoTestResultsForTestRunAsync(Guid id, List autoTestResultsForTestRunModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await SetAutoTestResultsForTestRunWithHttpInfoAsync(id, autoTestResultsForTestRunModel, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await SetAutoTestResultsForTestRunWithHttpInfoAsync(id, autoTestResultsForTestRunModel, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Send test results to the test runs in the system This method sends test results to the test management system. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Guid>) - public async System.Threading.Tasks.Task>> SetAutoTestResultsForTestRunWithHttpInfoAsync(Guid id, List autoTestResultsForTestRunModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> SetAutoTestResultsForTestRunWithHttpInfoAsync(Guid id, List autoTestResultsForTestRunModel = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2548,13 +2548,13 @@ public TestIt.Client.Client.ApiResponse GetTestRunByIdWithHtt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = autoTestResultsForTestRunModel; // authentication (Bearer or PrivateToken) required @@ -2579,7 +2579,7 @@ public TestIt.Client.Client.ApiResponse GetTestRunByIdWithHtt /// /// Start TestRun <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System starts test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// public void StartTestRun(Guid id) @@ -2590,12 +2590,12 @@ public void StartTestRun(Guid id) /// /// Start TestRun <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System starts test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse StartTestRunWithHttpInfo(Guid id) + public ApiResponse StartTestRunWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2605,13 +2605,13 @@ public TestIt.Client.Client.ApiResponse StartTestRunWithHttpInfo(Guid id "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2634,7 +2634,7 @@ public TestIt.Client.Client.ApiResponse StartTestRunWithHttpInfo(Guid id /// /// Start TestRun <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System starts test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of void @@ -2646,14 +2646,14 @@ public TestIt.Client.Client.ApiResponse StartTestRunWithHttpInfo(Guid id /// /// Start TestRun <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System starts test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> StartTestRunWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> StartTestRunWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2664,13 +2664,13 @@ public TestIt.Client.Client.ApiResponse StartTestRunWithHttpInfo(Guid id }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2694,7 +2694,7 @@ public TestIt.Client.Client.ApiResponse StartTestRunWithHttpInfo(Guid id /// /// Stop TestRun <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System stops test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// public void StopTestRun(Guid id) @@ -2705,12 +2705,12 @@ public void StopTestRun(Guid id) /// /// Stop TestRun <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System stops test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse StopTestRunWithHttpInfo(Guid id) + public ApiResponse StopTestRunWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2720,13 +2720,13 @@ public TestIt.Client.Client.ApiResponse StopTestRunWithHttpInfo(Guid id) "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2749,7 +2749,7 @@ public TestIt.Client.Client.ApiResponse StopTestRunWithHttpInfo(Guid id) /// /// Stop TestRun <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System stops test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of void @@ -2761,14 +2761,14 @@ public TestIt.Client.Client.ApiResponse StopTestRunWithHttpInfo(Guid id) /// /// Stop TestRun <br>Use case <br>User sets test run identifier <br>User runs method execution <br>System stops test run <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Run internal identifier (GUID format) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> StopTestRunWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> StopTestRunWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2779,13 +2779,13 @@ public TestIt.Client.Client.ApiResponse StopTestRunWithHttpInfo(Guid id) }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2809,7 +2809,7 @@ public TestIt.Client.Client.ApiResponse StopTestRunWithHttpInfo(Guid id) /// /// Update empty TestRun <br>Use case <br>User sets test run properties (listed in the request example) <br>User runs method execution <br>System updates test run <br>System returns returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void UpdateEmpty(UpdateEmptyRequest updateEmptyRequest = default(UpdateEmptyRequest)) @@ -2820,12 +2820,12 @@ public TestIt.Client.Client.ApiResponse StopTestRunWithHttpInfo(Guid id) /// /// Update empty TestRun <br>Use case <br>User sets test run properties (listed in the request example) <br>User runs method execution <br>System updates test run <br>System returns returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse UpdateEmptyWithHttpInfo(UpdateEmptyRequest updateEmptyRequest = default(UpdateEmptyRequest)) + public ApiResponse UpdateEmptyWithHttpInfo(UpdateEmptyRequest updateEmptyRequest = default(UpdateEmptyRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2836,10 +2836,10 @@ public TestIt.Client.Client.ApiResponse StopTestRunWithHttpInfo(Guid id) "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateEmptyRequest; @@ -2865,7 +2865,7 @@ public TestIt.Client.Client.ApiResponse StopTestRunWithHttpInfo(Guid id) /// /// Update empty TestRun <br>Use case <br>User sets test run properties (listed in the request example) <br>User runs method execution <br>System updates test run <br>System returns returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -2877,14 +2877,14 @@ public TestIt.Client.Client.ApiResponse StopTestRunWithHttpInfo(Guid id) /// /// Update empty TestRun <br>Use case <br>User sets test run properties (listed in the request example) <br>User runs method execution <br>System updates test run <br>System returns returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateEmptyWithHttpInfoAsync(UpdateEmptyRequest updateEmptyRequest = default(UpdateEmptyRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateEmptyWithHttpInfoAsync(UpdateEmptyRequest updateEmptyRequest = default(UpdateEmptyRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2896,10 +2896,10 @@ public TestIt.Client.Client.ApiResponse StopTestRunWithHttpInfo(Guid id) }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateEmptyRequest; diff --git a/src/TestIt.Client/Api/TestSuitesApi.cs b/src/TestIT.ApiClient/Api/TestSuitesApi.cs similarity index 76% rename from src/TestIt.Client/Api/TestSuitesApi.cs rename to src/TestIT.ApiClient/Api/TestSuitesApi.cs index 01c91c4c..57bcf1e7 100644 --- a/src/TestIt.Client/Api/TestSuitesApi.cs +++ b/src/TestIT.ApiClient/Api/TestSuitesApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -30,7 +30,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// Add test-points to test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal identifier /// Filter object to retrieve work items for test-suite's project (optional) /// @@ -40,9 +40,9 @@ public interface ITestSuitesApiSync : IApiAccessor /// Add test-points to test suite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal identifier /// Filter object to retrieve work items for test-suite's project (optional) /// ApiResponse of Object(void) @@ -53,7 +53,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// (optional) /// @@ -65,7 +65,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// (optional) /// ApiResponse of Object(void) @@ -73,7 +73,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// Refresh test suite. Only dynamic test suites are supported by this method /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// void ApiV2TestSuitesIdRefreshPost(Guid id); @@ -82,16 +82,16 @@ public interface ITestSuitesApiSync : IApiAccessor /// Refresh test suite. Only dynamic test suites are supported by this method /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// ApiResponse of Object(void) ApiResponse ApiV2TestSuitesIdRefreshPostWithHttpInfo(Guid id); /// /// Set work items for test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test suite /// (optional) /// @@ -101,9 +101,9 @@ public interface ITestSuitesApiSync : IApiAccessor /// Set work items for test suite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test suite /// (optional) /// ApiResponse of Object(void) @@ -111,7 +111,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// Create test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestSuiteV2GetModel TestSuiteV2GetModel ApiV2TestSuitesPost(ApiV2TestSuitesPostRequest apiV2TestSuitesPostRequest = default(ApiV2TestSuitesPostRequest)); @@ -120,16 +120,16 @@ public interface ITestSuitesApiSync : IApiAccessor /// Create test suite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestSuiteV2GetModel ApiResponse ApiV2TestSuitesPostWithHttpInfo(ApiV2TestSuitesPostRequest apiV2TestSuitesPostRequest = default(ApiV2TestSuitesPostRequest)); /// /// Edit test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void ApiV2TestSuitesPut(ApiV2TestSuitesPutRequest apiV2TestSuitesPutRequest = default(ApiV2TestSuitesPutRequest)); @@ -138,9 +138,9 @@ public interface ITestSuitesApiSync : IApiAccessor /// Edit test suite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse ApiV2TestSuitesPutWithHttpInfo(ApiV2TestSuitesPutRequest apiV2TestSuitesPutRequest = default(ApiV2TestSuitesPutRequest)); @@ -150,7 +150,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System deletes test suite <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// void DeleteTestSuite(Guid id); @@ -161,7 +161,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System deletes test suite <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// ApiResponse of Object(void) ApiResponse DeleteTestSuiteWithHttpInfo(Guid id); @@ -171,7 +171,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configurations related to the test points <br>System returns configurations array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// List<ConfigurationModel> List GetConfigurationsByTestSuiteId(Guid id); @@ -182,7 +182,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configurations related to the test points <br>System returns configurations array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// ApiResponse of List<ConfigurationModel> ApiResponse> GetConfigurationsByTestSuiteIdWithHttpInfo(Guid id); @@ -192,7 +192,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System returns test points array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// List<TestPointByTestSuiteModel> List GetTestPointsById(Guid id); @@ -203,7 +203,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System returns test points array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// ApiResponse of List<TestPointByTestSuiteModel> ApiResponse> GetTestPointsByIdWithHttpInfo(Guid id); @@ -213,7 +213,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search test results related to the test points <br>System returns test results array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// List<TestResultV2ShortModel> List GetTestResultsById(Guid id); @@ -224,7 +224,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search test results related to the test points <br>System returns test results array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// ApiResponse of List<TestResultV2ShortModel> ApiResponse> GetTestResultsByIdWithHttpInfo(Guid id); @@ -234,7 +234,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System returns test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// TestSuiteV2GetModel TestSuiteV2GetModel GetTestSuiteById(Guid id); @@ -245,7 +245,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System returns test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// ApiResponse of TestSuiteV2GetModel ApiResponse GetTestSuiteByIdWithHttpInfo(Guid id); @@ -255,7 +255,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>[Optional] User sets filter <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search work items related to the test points <br> [Optional] User sets filter, system applies filter <br>System returns work items array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -273,7 +273,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>[Optional] User sets filter <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search work items related to the test points <br> [Optional] User sets filter, system applies filter <br>System returns work items array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -290,7 +290,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User sets collection of configuration identifiers <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configuration <br>System restores(if exist) or creates test points with listed configuration <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Collection of configuration identifiers\" (optional) /// @@ -302,7 +302,7 @@ public interface ITestSuitesApiSync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User sets collection of configuration identifiers <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configuration <br>System restores(if exist) or creates test points with listed configuration <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Collection of configuration identifiers\" (optional) /// ApiResponse of Object(void) @@ -320,9 +320,9 @@ public interface ITestSuitesApiAsync : IApiAccessor /// Add test-points to test suite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal identifier /// Filter object to retrieve work items for test-suite's project (optional) /// Cancellation Token to cancel the request. @@ -333,9 +333,9 @@ public interface ITestSuitesApiAsync : IApiAccessor /// Add test-points to test suite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal identifier /// Filter object to retrieve work items for test-suite's project (optional) /// Cancellation Token to cancel the request. @@ -347,7 +347,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -360,7 +360,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -370,9 +370,9 @@ public interface ITestSuitesApiAsync : IApiAccessor /// Refresh test suite. Only dynamic test suites are supported by this method /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -382,9 +382,9 @@ public interface ITestSuitesApiAsync : IApiAccessor /// Refresh test suite. Only dynamic test suites are supported by this method /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -393,9 +393,9 @@ public interface ITestSuitesApiAsync : IApiAccessor /// Set work items for test suite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test suite /// (optional) /// Cancellation Token to cancel the request. @@ -406,9 +406,9 @@ public interface ITestSuitesApiAsync : IApiAccessor /// Set work items for test suite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test suite /// (optional) /// Cancellation Token to cancel the request. @@ -418,9 +418,9 @@ public interface ITestSuitesApiAsync : IApiAccessor /// Create test suite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestSuiteV2GetModel @@ -430,9 +430,9 @@ public interface ITestSuitesApiAsync : IApiAccessor /// Create test suite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestSuiteV2GetModel) @@ -441,9 +441,9 @@ public interface ITestSuitesApiAsync : IApiAccessor /// Edit test suite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -453,9 +453,9 @@ public interface ITestSuitesApiAsync : IApiAccessor /// Edit test suite /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -466,7 +466,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System deletes test suite <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of void @@ -478,7 +478,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System deletes test suite <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -489,7 +489,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configurations related to the test points <br>System returns configurations array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of List<ConfigurationModel> @@ -501,7 +501,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configurations related to the test points <br>System returns configurations array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ConfigurationModel>) @@ -512,7 +512,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System returns test points array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of List<TestPointByTestSuiteModel> @@ -524,7 +524,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System returns test points array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestPointByTestSuiteModel>) @@ -535,7 +535,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search test results related to the test points <br>System returns test results array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of List<TestResultV2ShortModel> @@ -547,7 +547,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search test results related to the test points <br>System returns test results array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestResultV2ShortModel>) @@ -558,7 +558,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System returns test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of TestSuiteV2GetModel @@ -570,7 +570,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System returns test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestSuiteV2GetModel) @@ -581,7 +581,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>[Optional] User sets filter <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search work items related to the test points <br> [Optional] User sets filter, system applies filter <br>System returns work items array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -600,7 +600,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>[Optional] User sets filter <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search work items related to the test points <br> [Optional] User sets filter, system applies filter <br>System returns work items array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -618,7 +618,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User sets collection of configuration identifiers <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configuration <br>System restores(if exist) or creates test points with listed configuration <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Collection of configuration identifiers\" (optional) /// Cancellation Token to cancel the request. @@ -631,7 +631,7 @@ public interface ITestSuitesApiAsync : IApiAccessor /// /// <br>Use case <br>User sets test suite identifier <br>User sets collection of configuration identifiers <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configuration <br>System restores(if exist) or creates test points with listed configuration <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Collection of configuration identifiers\" (optional) /// Cancellation Token to cancel the request. @@ -653,7 +653,7 @@ public interface ITestSuitesApi : ITestSuitesApiSync, ITestSuitesApiAsync /// public partial class TestSuitesApi : IDisposable, ITestSuitesApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -675,14 +675,14 @@ public TestSuitesApi() : this((string)null) /// public TestSuitesApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -693,18 +693,18 @@ public TestSuitesApi(string basePath) /// An instance of Configuration. /// /// - public TestSuitesApi(TestIt.Client.Client.Configuration configuration) + public TestSuitesApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -739,14 +739,14 @@ public TestSuitesApi(HttpClient client, string basePath, HttpClientHandler handl { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -761,19 +761,19 @@ public TestSuitesApi(HttpClient client, string basePath, HttpClientHandler handl /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public TestSuitesApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public TestSuitesApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -784,7 +784,7 @@ public TestSuitesApi(HttpClient client, TestIt.Client.Client.Configuration confi /// The client interface for asynchronous API access. /// The configuration object. /// - public TestSuitesApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public TestSuitesApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -793,7 +793,7 @@ public TestSuitesApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Clie this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -807,17 +807,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -832,12 +832,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -851,9 +851,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Add test-points to test suite + /// Add test-points to test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal identifier /// Filter object to retrieve work items for test-suite's project (optional) /// @@ -863,15 +863,15 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Add test-points to test suite + /// Add test-points to test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal identifier /// Filter object to retrieve work items for test-suite's project (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse AddTestPointsToTestSuiteWithHttpInfo(Guid id, ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) + public ApiResponse AddTestPointsToTestSuiteWithHttpInfo(Guid id, ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -882,13 +882,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2ProjectsIdWorkItemsSearchPostRequest; // authentication (Bearer or PrivateToken) required @@ -910,9 +910,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Add test-points to test suite + /// Add test-points to test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal identifier /// Filter object to retrieve work items for test-suite's project (optional) /// Cancellation Token to cancel the request. @@ -923,17 +923,17 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Add test-points to test suite + /// Add test-points to test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal identifier /// Filter object to retrieve work items for test-suite's project (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> AddTestPointsToTestSuiteWithHttpInfoAsync(Guid id, ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> AddTestPointsToTestSuiteWithHttpInfoAsync(Guid id, ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -945,13 +945,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2ProjectsIdWorkItemsSearchPostRequest; // authentication (Bearer or PrivateToken) required @@ -976,7 +976,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Patch test suite See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// (optional) /// @@ -988,13 +988,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Patch test suite See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdPatchWithHttpInfo(Guid id, List operation = default(List)) + public ApiResponse ApiV2TestSuitesIdPatchWithHttpInfo(Guid id, List operation = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1005,13 +1005,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = operation; // authentication (Bearer or PrivateToken) required @@ -1035,7 +1035,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Patch test suite See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. @@ -1048,15 +1048,15 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Patch test suite See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2TestSuitesIdPatchWithHttpInfoAsync(Guid id, List operation = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestSuitesIdPatchWithHttpInfoAsync(Guid id, List operation = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1068,13 +1068,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = operation; // authentication (Bearer or PrivateToken) required @@ -1097,9 +1097,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Refresh test suite. Only dynamic test suites are supported by this method + /// Refresh test suite. Only dynamic test suites are supported by this method /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// public void ApiV2TestSuitesIdRefreshPost(Guid id) @@ -1108,14 +1108,14 @@ public void ApiV2TestSuitesIdRefreshPost(Guid id) } /// - /// Refresh test suite. Only dynamic test suites are supported by this method + /// Refresh test suite. Only dynamic test suites are supported by this method /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWithHttpInfo(Guid id) + public ApiResponse ApiV2TestSuitesIdRefreshPostWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1125,13 +1125,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1152,9 +1152,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith } /// - /// Refresh test suite. Only dynamic test suites are supported by this method + /// Refresh test suite. Only dynamic test suites are supported by this method /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -1164,16 +1164,16 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith } /// - /// Refresh test suite. Only dynamic test suites are supported by this method + /// Refresh test suite. Only dynamic test suites are supported by this method /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test Suite internal (UUID) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2TestSuitesIdRefreshPostWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestSuitesIdRefreshPostWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1184,13 +1184,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1212,9 +1212,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith } /// - /// Set work items for test suite + /// Set work items for test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test suite /// (optional) /// @@ -1224,15 +1224,15 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith } /// - /// Set work items for test suite + /// Set work items for test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test suite /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdWorkItemsPostWithHttpInfo(Guid id, List requestBody = default(List)) + public ApiResponse ApiV2TestSuitesIdWorkItemsPostWithHttpInfo(Guid id, List requestBody = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1243,13 +1243,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -1271,9 +1271,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith } /// - /// Set work items for test suite + /// Set work items for test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test suite /// (optional) /// Cancellation Token to cancel the request. @@ -1284,17 +1284,17 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith } /// - /// Set work items for test suite + /// Set work items for test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique ID of the test suite /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2TestSuitesIdWorkItemsPostWithHttpInfoAsync(Guid id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestSuitesIdWorkItemsPostWithHttpInfoAsync(Guid id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1306,13 +1306,13 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -1335,26 +1335,26 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith } /// - /// Create test suite + /// Create test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// TestSuiteV2GetModel public TestSuiteV2GetModel ApiV2TestSuitesPost(ApiV2TestSuitesPostRequest apiV2TestSuitesPostRequest = default(ApiV2TestSuitesPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2TestSuitesPostWithHttpInfo(apiV2TestSuitesPostRequest); + ApiResponse localVarResponse = ApiV2TestSuitesPostWithHttpInfo(apiV2TestSuitesPostRequest); return localVarResponse.Data; } /// - /// Create test suite + /// Create test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of TestSuiteV2GetModel - public TestIt.Client.Client.ApiResponse ApiV2TestSuitesPostWithHttpInfo(ApiV2TestSuitesPostRequest apiV2TestSuitesPostRequest = default(ApiV2TestSuitesPostRequest)) + public ApiResponse ApiV2TestSuitesPostWithHttpInfo(ApiV2TestSuitesPostRequest apiV2TestSuitesPostRequest = default(ApiV2TestSuitesPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1365,10 +1365,10 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2TestSuitesPostRequest; @@ -1392,29 +1392,29 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith } /// - /// Create test suite + /// Create test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of TestSuiteV2GetModel public async System.Threading.Tasks.Task ApiV2TestSuitesPostAsync(ApiV2TestSuitesPostRequest apiV2TestSuitesPostRequest = default(ApiV2TestSuitesPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2TestSuitesPostWithHttpInfoAsync(apiV2TestSuitesPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2TestSuitesPostWithHttpInfoAsync(apiV2TestSuitesPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create test suite + /// Create test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestSuiteV2GetModel) - public async System.Threading.Tasks.Task> ApiV2TestSuitesPostWithHttpInfoAsync(ApiV2TestSuitesPostRequest apiV2TestSuitesPostRequest = default(ApiV2TestSuitesPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestSuitesPostWithHttpInfoAsync(ApiV2TestSuitesPostRequest apiV2TestSuitesPostRequest = default(ApiV2TestSuitesPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1426,10 +1426,10 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2TestSuitesPostRequest; @@ -1454,9 +1454,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith } /// - /// Edit test suite + /// Edit test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void ApiV2TestSuitesPut(ApiV2TestSuitesPutRequest apiV2TestSuitesPutRequest = default(ApiV2TestSuitesPutRequest)) @@ -1465,14 +1465,14 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith } /// - /// Edit test suite + /// Edit test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2TestSuitesPutWithHttpInfo(ApiV2TestSuitesPutRequest apiV2TestSuitesPutRequest = default(ApiV2TestSuitesPutRequest)) + public ApiResponse ApiV2TestSuitesPutWithHttpInfo(ApiV2TestSuitesPutRequest apiV2TestSuitesPutRequest = default(ApiV2TestSuitesPutRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1483,10 +1483,10 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2TestSuitesPutRequest; @@ -1510,9 +1510,9 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith } /// - /// Edit test suite + /// Edit test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1522,16 +1522,16 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith } /// - /// Edit test suite + /// Edit test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2TestSuitesPutWithHttpInfoAsync(ApiV2TestSuitesPutRequest apiV2TestSuitesPutRequest = default(ApiV2TestSuitesPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2TestSuitesPutWithHttpInfoAsync(ApiV2TestSuitesPutRequest apiV2TestSuitesPutRequest = default(ApiV2TestSuitesPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1543,10 +1543,10 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2TestSuitesPutRequest; @@ -1573,7 +1573,7 @@ public TestIt.Client.Client.ApiResponse ApiV2TestSuitesIdRefreshPostWith /// /// Delete TestSuite <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System deletes test suite <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// public void DeleteTestSuite(Guid id) @@ -1584,12 +1584,12 @@ public void DeleteTestSuite(Guid id) /// /// Delete TestSuite <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System deletes test suite <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteTestSuiteWithHttpInfo(Guid id) + public ApiResponse DeleteTestSuiteWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1599,13 +1599,13 @@ public TestIt.Client.Client.ApiResponse DeleteTestSuiteWithHttpInfo(Guid "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1628,7 +1628,7 @@ public TestIt.Client.Client.ApiResponse DeleteTestSuiteWithHttpInfo(Guid /// /// Delete TestSuite <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System deletes test suite <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of void @@ -1640,14 +1640,14 @@ public TestIt.Client.Client.ApiResponse DeleteTestSuiteWithHttpInfo(Guid /// /// Delete TestSuite <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System deletes test suite <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteTestSuiteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteTestSuiteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1658,13 +1658,13 @@ public TestIt.Client.Client.ApiResponse DeleteTestSuiteWithHttpInfo(Guid }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1688,24 +1688,24 @@ public TestIt.Client.Client.ApiResponse DeleteTestSuiteWithHttpInfo(Guid /// /// Get Configurations By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configurations related to the test points <br>System returns configurations array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// List<ConfigurationModel> public List GetConfigurationsByTestSuiteId(Guid id) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetConfigurationsByTestSuiteIdWithHttpInfo(id); + ApiResponse> localVarResponse = GetConfigurationsByTestSuiteIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get Configurations By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configurations related to the test points <br>System returns configurations array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// ApiResponse of List<ConfigurationModel> - public TestIt.Client.Client.ApiResponse> GetConfigurationsByTestSuiteIdWithHttpInfo(Guid id) + public ApiResponse> GetConfigurationsByTestSuiteIdWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1715,13 +1715,13 @@ public TestIt.Client.Client.ApiResponse> GetConfigurati "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1744,27 +1744,27 @@ public TestIt.Client.Client.ApiResponse> GetConfigurati /// /// Get Configurations By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configurations related to the test points <br>System returns configurations array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of List<ConfigurationModel> public async System.Threading.Tasks.Task> GetConfigurationsByTestSuiteIdAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetConfigurationsByTestSuiteIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetConfigurationsByTestSuiteIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get Configurations By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configurations related to the test points <br>System returns configurations array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ConfigurationModel>) - public async System.Threading.Tasks.Task>> GetConfigurationsByTestSuiteIdWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetConfigurationsByTestSuiteIdWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1775,13 +1775,13 @@ public TestIt.Client.Client.ApiResponse> GetConfigurati }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1805,24 +1805,24 @@ public TestIt.Client.Client.ApiResponse> GetConfigurati /// /// Get TestPoints By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System returns test points array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// List<TestPointByTestSuiteModel> public List GetTestPointsById(Guid id) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetTestPointsByIdWithHttpInfo(id); + ApiResponse> localVarResponse = GetTestPointsByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get TestPoints By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System returns test points array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// ApiResponse of List<TestPointByTestSuiteModel> - public TestIt.Client.Client.ApiResponse> GetTestPointsByIdWithHttpInfo(Guid id) + public ApiResponse> GetTestPointsByIdWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1832,13 +1832,13 @@ public TestIt.Client.Client.ApiResponse> GetTest "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1861,27 +1861,27 @@ public TestIt.Client.Client.ApiResponse> GetTest /// /// Get TestPoints By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System returns test points array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of List<TestPointByTestSuiteModel> public async System.Threading.Tasks.Task> GetTestPointsByIdAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetTestPointsByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetTestPointsByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get TestPoints By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System returns test points array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestPointByTestSuiteModel>) - public async System.Threading.Tasks.Task>> GetTestPointsByIdWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetTestPointsByIdWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1892,13 +1892,13 @@ public TestIt.Client.Client.ApiResponse> GetTest }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1922,24 +1922,24 @@ public TestIt.Client.Client.ApiResponse> GetTest /// /// Get TestResults By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search test results related to the test points <br>System returns test results array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// List<TestResultV2ShortModel> public List GetTestResultsById(Guid id) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetTestResultsByIdWithHttpInfo(id); + ApiResponse> localVarResponse = GetTestResultsByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get TestResults By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search test results related to the test points <br>System returns test results array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// ApiResponse of List<TestResultV2ShortModel> - public TestIt.Client.Client.ApiResponse> GetTestResultsByIdWithHttpInfo(Guid id) + public ApiResponse> GetTestResultsByIdWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1949,13 +1949,13 @@ public TestIt.Client.Client.ApiResponse> GetTestRes "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1978,27 +1978,27 @@ public TestIt.Client.Client.ApiResponse> GetTestRes /// /// Get TestResults By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search test results related to the test points <br>System returns test results array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of List<TestResultV2ShortModel> public async System.Threading.Tasks.Task> GetTestResultsByIdAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetTestResultsByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetTestResultsByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get TestResults By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search test results related to the test points <br>System returns test results array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestResultV2ShortModel>) - public async System.Threading.Tasks.Task>> GetTestResultsByIdWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetTestResultsByIdWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2009,13 +2009,13 @@ public TestIt.Client.Client.ApiResponse> GetTestRes }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2039,24 +2039,24 @@ public TestIt.Client.Client.ApiResponse> GetTestRes /// /// Get TestSuite by Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System returns test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// TestSuiteV2GetModel public TestSuiteV2GetModel GetTestSuiteById(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = GetTestSuiteByIdWithHttpInfo(id); + ApiResponse localVarResponse = GetTestSuiteByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get TestSuite by Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System returns test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// ApiResponse of TestSuiteV2GetModel - public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWithHttpInfo(Guid id) + public ApiResponse GetTestSuiteByIdWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2066,13 +2066,13 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2095,27 +2095,27 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit /// /// Get TestSuite by Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System returns test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of TestSuiteV2GetModel public async System.Threading.Tasks.Task GetTestSuiteByIdAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetTestSuiteByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetTestSuiteByIdWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get TestSuite by Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System returns test suite /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse (TestSuiteV2GetModel) - public async System.Threading.Tasks.Task> GetTestSuiteByIdWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetTestSuiteByIdWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2126,13 +2126,13 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2156,7 +2156,7 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit /// /// Search WorkItems <br>Use case <br>User sets test suite identifier <br>[Optional] User sets filter <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search work items related to the test points <br> [Optional] User sets filter, system applies filter <br>System returns work items array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2168,14 +2168,14 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit [Obsolete] public List SearchWorkItems(Guid id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchWorkItemsRequest searchWorkItemsRequest = default(SearchWorkItemsRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = SearchWorkItemsWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, searchWorkItemsRequest); + ApiResponse> localVarResponse = SearchWorkItemsWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, searchWorkItemsRequest); return localVarResponse.Data; } /// /// Search WorkItems <br>Use case <br>User sets test suite identifier <br>[Optional] User sets filter <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search work items related to the test points <br> [Optional] User sets filter, system applies filter <br>System returns work items array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2185,9 +2185,9 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit /// (optional) /// ApiResponse of List<WorkItemShortModel> [Obsolete] - public TestIt.Client.Client.ApiResponse> SearchWorkItemsWithHttpInfo(Guid id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchWorkItemsRequest searchWorkItemsRequest = default(SearchWorkItemsRequest)) + public ApiResponse> SearchWorkItemsWithHttpInfo(Guid id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchWorkItemsRequest searchWorkItemsRequest = default(SearchWorkItemsRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2198,32 +2198,32 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = searchWorkItemsRequest; @@ -2248,7 +2248,7 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit /// /// Search WorkItems <br>Use case <br>User sets test suite identifier <br>[Optional] User sets filter <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search work items related to the test points <br> [Optional] User sets filter, system applies filter <br>System returns work items array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2261,14 +2261,14 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit [Obsolete] public async System.Threading.Tasks.Task> SearchWorkItemsAsync(Guid id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchWorkItemsRequest searchWorkItemsRequest = default(SearchWorkItemsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await SearchWorkItemsWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, searchWorkItemsRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await SearchWorkItemsWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, searchWorkItemsRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Search WorkItems <br>Use case <br>User sets test suite identifier <br>[Optional] User sets filter <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search work items related to the test points <br> [Optional] User sets filter, system applies filter <br>System returns work items array /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -2279,10 +2279,10 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WorkItemShortModel>) [Obsolete] - public async System.Threading.Tasks.Task>> SearchWorkItemsWithHttpInfoAsync(Guid id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchWorkItemsRequest searchWorkItemsRequest = default(SearchWorkItemsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> SearchWorkItemsWithHttpInfoAsync(Guid id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), SearchWorkItemsRequest searchWorkItemsRequest = default(SearchWorkItemsRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2294,32 +2294,32 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = searchWorkItemsRequest; @@ -2345,7 +2345,7 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit /// /// Set Configurations By TestSuite Id <br>Use case <br>User sets test suite identifier <br>User sets collection of configuration identifiers <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configuration <br>System restores(if exist) or creates test points with listed configuration <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Collection of configuration identifiers\" (optional) /// @@ -2357,13 +2357,13 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit /// /// Set Configurations By TestSuite Id <br>Use case <br>User sets test suite identifier <br>User sets collection of configuration identifiers <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configuration <br>System restores(if exist) or creates test points with listed configuration <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Collection of configuration identifiers\" (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse SetConfigurationsByTestSuiteIdWithHttpInfo(Guid id, List requestBody = default(List)) + public ApiResponse SetConfigurationsByTestSuiteIdWithHttpInfo(Guid id, List requestBody = default(List)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2374,13 +2374,13 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required @@ -2404,7 +2404,7 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit /// /// Set Configurations By TestSuite Id <br>Use case <br>User sets test suite identifier <br>User sets collection of configuration identifiers <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configuration <br>System restores(if exist) or creates test points with listed configuration <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Collection of configuration identifiers\" (optional) /// Cancellation Token to cancel the request. @@ -2417,15 +2417,15 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit /// /// Set Configurations By TestSuite Id <br>Use case <br>User sets test suite identifier <br>User sets collection of configuration identifiers <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configuration <br>System restores(if exist) or creates test points with listed configuration <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Test suite internal (guid format) identifier\" /// Collection of configuration identifiers\" (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> SetConfigurationsByTestSuiteIdWithHttpInfoAsync(Guid id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> SetConfigurationsByTestSuiteIdWithHttpInfoAsync(Guid id, List requestBody = default(List), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2437,13 +2437,13 @@ public TestIt.Client.Client.ApiResponse GetTestSuiteByIdWit }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = requestBody; // authentication (Bearer or PrivateToken) required diff --git a/src/TestIt.Client/Api/WebhooksApi.cs b/src/TestIT.ApiClient/Api/WebhooksApi.cs similarity index 71% rename from src/TestIt.Client/Api/WebhooksApi.cs rename to src/TestIT.ApiClient/Api/WebhooksApi.cs index f03d7041..29e24e1b 100644 --- a/src/TestIt.Client/Api/WebhooksApi.cs +++ b/src/TestIT.ApiClient/Api/WebhooksApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -30,7 +30,7 @@ public interface IWebhooksApiSync : IApiAccessor /// /// Get all webhooks /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// List<WebHookModel> List ApiV2WebhooksGet(Guid? projectId = default(Guid?)); @@ -39,16 +39,16 @@ public interface IWebhooksApiSync : IApiAccessor /// Get all webhooks /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// ApiResponse of List<WebHookModel> ApiResponse> ApiV2WebhooksGetWithHttpInfo(Guid? projectId = default(Guid?)); /// /// Delete webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// void ApiV2WebhooksIdDelete(Guid id); @@ -57,16 +57,16 @@ public interface IWebhooksApiSync : IApiAccessor /// Delete webhook by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// ApiResponse of Object(void) ApiResponse ApiV2WebhooksIdDeleteWithHttpInfo(Guid id); /// /// Get webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// WebHookModel WebHookModel ApiV2WebhooksIdGet(Guid id); @@ -75,16 +75,16 @@ public interface IWebhooksApiSync : IApiAccessor /// Get webhook by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// ApiResponse of WebHookModel ApiResponse ApiV2WebhooksIdGetWithHttpInfo(Guid id); /// /// Edit webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// (optional) /// WebHookModel @@ -94,9 +94,9 @@ public interface IWebhooksApiSync : IApiAccessor /// Edit webhook by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// (optional) /// ApiResponse of WebHookModel @@ -104,7 +104,7 @@ public interface IWebhooksApiSync : IApiAccessor /// /// Create webhook /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// WebHookModel WebHookModel ApiV2WebhooksPost(ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest)); @@ -113,16 +113,16 @@ public interface IWebhooksApiSync : IApiAccessor /// Create webhook /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of WebHookModel ApiResponse ApiV2WebhooksPostWithHttpInfo(ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest)); /// /// Search for webhooks /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -136,9 +136,9 @@ public interface IWebhooksApiSync : IApiAccessor /// Search for webhooks /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -150,7 +150,7 @@ public interface IWebhooksApiSync : IApiAccessor /// /// Get special variables for webhook event type /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook event type (optional) /// (optional) /// List<string> @@ -160,9 +160,9 @@ public interface IWebhooksApiSync : IApiAccessor /// Get special variables for webhook event type /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook event type (optional) /// (optional) /// ApiResponse of List<string> @@ -170,7 +170,7 @@ public interface IWebhooksApiSync : IApiAccessor /// /// Test webhook's url /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// RequestData RequestData ApiV2WebhooksTestPost(ApiV2WebhooksTestPostRequest apiV2WebhooksTestPostRequest = default(ApiV2WebhooksTestPostRequest)); @@ -179,9 +179,9 @@ public interface IWebhooksApiSync : IApiAccessor /// Test webhook's url /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of RequestData ApiResponse ApiV2WebhooksTestPostWithHttpInfo(ApiV2WebhooksTestPostRequest apiV2WebhooksTestPostRequest = default(ApiV2WebhooksTestPostRequest)); @@ -198,9 +198,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Get all webhooks /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// Cancellation Token to cancel the request. /// Task of List<WebHookModel> @@ -210,9 +210,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Get all webhooks /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WebHookModel>) @@ -221,9 +221,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Delete webhook by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// Cancellation Token to cancel the request. /// Task of void @@ -233,9 +233,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Delete webhook by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -244,9 +244,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Get webhook by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// Cancellation Token to cancel the request. /// Task of WebHookModel @@ -256,9 +256,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Get webhook by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (WebHookModel) @@ -267,9 +267,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Edit webhook by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// (optional) /// Cancellation Token to cancel the request. @@ -280,9 +280,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Edit webhook by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// (optional) /// Cancellation Token to cancel the request. @@ -292,9 +292,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Create webhook /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of WebHookModel @@ -304,9 +304,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Create webhook /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (WebHookModel) @@ -315,9 +315,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Search for webhooks /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -332,9 +332,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Search for webhooks /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -348,9 +348,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Get special variables for webhook event type /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook event type (optional) /// (optional) /// Cancellation Token to cancel the request. @@ -361,9 +361,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Get special variables for webhook event type /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook event type (optional) /// (optional) /// Cancellation Token to cancel the request. @@ -373,9 +373,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Test webhook's url /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of RequestData @@ -385,9 +385,9 @@ public interface IWebhooksApiAsync : IApiAccessor /// Test webhook's url /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (RequestData) @@ -408,7 +408,7 @@ public interface IWebhooksApi : IWebhooksApiSync, IWebhooksApiAsync /// public partial class WebhooksApi : IDisposable, IWebhooksApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -430,14 +430,14 @@ public WebhooksApi() : this((string)null) /// public WebhooksApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -448,18 +448,18 @@ public WebhooksApi(string basePath) /// An instance of Configuration. /// /// - public WebhooksApi(TestIt.Client.Client.Configuration configuration) + public WebhooksApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -494,14 +494,14 @@ public WebhooksApi(HttpClient client, string basePath, HttpClientHandler handler { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -516,19 +516,19 @@ public WebhooksApi(HttpClient client, string basePath, HttpClientHandler handler /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public WebhooksApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public WebhooksApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -539,7 +539,7 @@ public WebhooksApi(HttpClient client, TestIt.Client.Client.Configuration configu /// The client interface for asynchronous API access. /// The configuration object. /// - public WebhooksApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public WebhooksApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -548,7 +548,7 @@ public WebhooksApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -562,17 +562,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -587,12 +587,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -606,26 +606,26 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Get all webhooks + /// Get all webhooks /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// List<WebHookModel> public List ApiV2WebhooksGet(Guid? projectId = default(Guid?)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2WebhooksGetWithHttpInfo(projectId); + ApiResponse> localVarResponse = ApiV2WebhooksGetWithHttpInfo(projectId); return localVarResponse.Data; } /// - /// Get all webhooks + /// Get all webhooks /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// ApiResponse of List<WebHookModel> - public TestIt.Client.Client.ApiResponse> ApiV2WebhooksGetWithHttpInfo(Guid? projectId = default(Guid?)) + public ApiResponse> ApiV2WebhooksGetWithHttpInfo(Guid? projectId = default(Guid?)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -635,15 +635,15 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (projectId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "projectId", projectId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "projectId", projectId)); } // authentication (Bearer or PrivateToken) required @@ -665,29 +665,29 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Get all webhooks + /// Get all webhooks /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// Cancellation Token to cancel the request. /// Task of List<WebHookModel> public async System.Threading.Tasks.Task> ApiV2WebhooksGetAsync(Guid? projectId = default(Guid?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2WebhooksGetWithHttpInfoAsync(projectId, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2WebhooksGetWithHttpInfoAsync(projectId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get all webhooks + /// Get all webhooks /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WebHookModel>) - public async System.Threading.Tasks.Task>> ApiV2WebhooksGetWithHttpInfoAsync(Guid? projectId = default(Guid?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2WebhooksGetWithHttpInfoAsync(Guid? projectId = default(Guid?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -698,15 +698,15 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (projectId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "projectId", projectId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "projectId", projectId)); } // authentication (Bearer or PrivateToken) required @@ -729,9 +729,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Delete webhook by ID + /// Delete webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// public void ApiV2WebhooksIdDelete(Guid id) @@ -740,14 +740,14 @@ public void ApiV2WebhooksIdDelete(Guid id) } /// - /// Delete webhook by ID + /// Delete webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdDeleteWithHttpInfo(Guid id) + public ApiResponse ApiV2WebhooksIdDeleteWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -757,13 +757,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdDeleteWithHttpInf "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -784,9 +784,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdDeleteWithHttpInf } /// - /// Delete webhook by ID + /// Delete webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// Cancellation Token to cancel the request. /// Task of void @@ -796,16 +796,16 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdDeleteWithHttpInf } /// - /// Delete webhook by ID + /// Delete webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2WebhooksIdDeleteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WebhooksIdDeleteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -816,13 +816,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdDeleteWithHttpInf }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -844,26 +844,26 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdDeleteWithHttpInf } /// - /// Get webhook by ID + /// Get webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// WebHookModel public WebHookModel ApiV2WebhooksIdGet(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2WebhooksIdGetWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2WebhooksIdGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get webhook by ID + /// Get webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// ApiResponse of WebHookModel - public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttpInfo(Guid id) + public ApiResponse ApiV2WebhooksIdGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -873,13 +873,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -900,29 +900,29 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp } /// - /// Get webhook by ID + /// Get webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// Cancellation Token to cancel the request. /// Task of WebHookModel public async System.Threading.Tasks.Task ApiV2WebhooksIdGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2WebhooksIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2WebhooksIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get webhook by ID + /// Get webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (WebHookModel) - public async System.Threading.Tasks.Task> ApiV2WebhooksIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WebhooksIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -933,13 +933,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -961,28 +961,28 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp } /// - /// Edit webhook by ID + /// Edit webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// (optional) /// WebHookModel public WebHookModel ApiV2WebhooksIdPut(Guid id, ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2WebhooksIdPutWithHttpInfo(id, apiV2WebhooksPostRequest); + ApiResponse localVarResponse = ApiV2WebhooksIdPutWithHttpInfo(id, apiV2WebhooksPostRequest); return localVarResponse.Data; } /// - /// Edit webhook by ID + /// Edit webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// (optional) /// ApiResponse of WebHookModel - public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdPutWithHttpInfo(Guid id, ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest)) + public ApiResponse ApiV2WebhooksIdPutWithHttpInfo(Guid id, ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -993,13 +993,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2WebhooksPostRequest; // authentication (Bearer or PrivateToken) required @@ -1021,31 +1021,31 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp } /// - /// Edit webhook by ID + /// Edit webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// (optional) /// Cancellation Token to cancel the request. /// Task of WebHookModel public async System.Threading.Tasks.Task ApiV2WebhooksIdPutAsync(Guid id, ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2WebhooksIdPutWithHttpInfoAsync(id, apiV2WebhooksPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2WebhooksIdPutWithHttpInfoAsync(id, apiV2WebhooksPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Edit webhook by ID + /// Edit webhook by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook unique ID /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (WebHookModel) - public async System.Threading.Tasks.Task> ApiV2WebhooksIdPutWithHttpInfoAsync(Guid id, ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WebhooksIdPutWithHttpInfoAsync(Guid id, ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1057,13 +1057,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = apiV2WebhooksPostRequest; // authentication (Bearer or PrivateToken) required @@ -1086,26 +1086,26 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp } /// - /// Create webhook + /// Create webhook /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// WebHookModel public WebHookModel ApiV2WebhooksPost(ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2WebhooksPostWithHttpInfo(apiV2WebhooksPostRequest); + ApiResponse localVarResponse = ApiV2WebhooksPostWithHttpInfo(apiV2WebhooksPostRequest); return localVarResponse.Data; } /// - /// Create webhook + /// Create webhook /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of WebHookModel - public TestIt.Client.Client.ApiResponse ApiV2WebhooksPostWithHttpInfo(ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest)) + public ApiResponse ApiV2WebhooksPostWithHttpInfo(ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1116,10 +1116,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2WebhooksPostRequest; @@ -1143,29 +1143,29 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp } /// - /// Create webhook + /// Create webhook /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of WebHookModel public async System.Threading.Tasks.Task ApiV2WebhooksPostAsync(ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2WebhooksPostWithHttpInfoAsync(apiV2WebhooksPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2WebhooksPostWithHttpInfoAsync(apiV2WebhooksPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Create webhook + /// Create webhook /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (WebHookModel) - public async System.Threading.Tasks.Task> ApiV2WebhooksPostWithHttpInfoAsync(ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WebhooksPostWithHttpInfoAsync(ApiV2WebhooksPostRequest apiV2WebhooksPostRequest = default(ApiV2WebhooksPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1177,10 +1177,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2WebhooksPostRequest; @@ -1205,9 +1205,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp } /// - /// Search for webhooks + /// Search for webhooks /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1217,14 +1217,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp /// List<WebHookModel> public List ApiV2WebhooksSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WebhooksSearchPostRequest apiV2WebhooksSearchPostRequest = default(ApiV2WebhooksSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2WebhooksSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2WebhooksSearchPostRequest); + ApiResponse> localVarResponse = ApiV2WebhooksSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2WebhooksSearchPostRequest); return localVarResponse.Data; } /// - /// Search for webhooks + /// Search for webhooks /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1232,9 +1232,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp /// Value for searching (optional) /// (optional) /// ApiResponse of List<WebHookModel> - public TestIt.Client.Client.ApiResponse> ApiV2WebhooksSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WebhooksSearchPostRequest apiV2WebhooksSearchPostRequest = default(ApiV2WebhooksSearchPostRequest)) + public ApiResponse> ApiV2WebhooksSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WebhooksSearchPostRequest apiV2WebhooksSearchPostRequest = default(ApiV2WebhooksSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1245,31 +1245,31 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2WebhooksSearchPostRequest; @@ -1292,9 +1292,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp } /// - /// Search for webhooks + /// Search for webhooks /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1305,14 +1305,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp /// Task of List<WebHookModel> public async System.Threading.Tasks.Task> ApiV2WebhooksSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WebhooksSearchPostRequest apiV2WebhooksSearchPostRequest = default(ApiV2WebhooksSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2WebhooksSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2WebhooksSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2WebhooksSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2WebhooksSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for webhooks + /// Search for webhooks /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -1321,10 +1321,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WebHookModel>) - public async System.Threading.Tasks.Task>> ApiV2WebhooksSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WebhooksSearchPostRequest apiV2WebhooksSearchPostRequest = default(ApiV2WebhooksSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2WebhooksSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WebhooksSearchPostRequest apiV2WebhooksSearchPostRequest = default(ApiV2WebhooksSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1336,31 +1336,31 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2WebhooksSearchPostRequest; @@ -1384,28 +1384,28 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp } /// - /// Get special variables for webhook event type + /// Get special variables for webhook event type /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook event type (optional) /// (optional) /// List<string> public List ApiV2WebhooksSpecialVariablesGet(WebHookEventType? eventType = default(WebHookEventType?), WebhookVariablesType? variablesType = default(WebhookVariablesType?)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2WebhooksSpecialVariablesGetWithHttpInfo(eventType, variablesType); + ApiResponse> localVarResponse = ApiV2WebhooksSpecialVariablesGetWithHttpInfo(eventType, variablesType); return localVarResponse.Data; } /// - /// Get special variables for webhook event type + /// Get special variables for webhook event type /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook event type (optional) /// (optional) /// ApiResponse of List<string> - public TestIt.Client.Client.ApiResponse> ApiV2WebhooksSpecialVariablesGetWithHttpInfo(WebHookEventType? eventType = default(WebHookEventType?), WebhookVariablesType? variablesType = default(WebhookVariablesType?)) + public ApiResponse> ApiV2WebhooksSpecialVariablesGetWithHttpInfo(WebHookEventType? eventType = default(WebHookEventType?), WebhookVariablesType? variablesType = default(WebhookVariablesType?)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1415,19 +1415,19 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (eventType != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "eventType", eventType)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "eventType", eventType)); } if (variablesType != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "variablesType", variablesType)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "variablesType", variablesType)); } // authentication (Bearer or PrivateToken) required @@ -1449,31 +1449,31 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp } /// - /// Get special variables for webhook event type + /// Get special variables for webhook event type /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook event type (optional) /// (optional) /// Cancellation Token to cancel the request. /// Task of List<string> public async System.Threading.Tasks.Task> ApiV2WebhooksSpecialVariablesGetAsync(WebHookEventType? eventType = default(WebHookEventType?), WebhookVariablesType? variablesType = default(WebhookVariablesType?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2WebhooksSpecialVariablesGetWithHttpInfoAsync(eventType, variablesType, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2WebhooksSpecialVariablesGetWithHttpInfoAsync(eventType, variablesType, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get special variables for webhook event type + /// Get special variables for webhook event type /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook event type (optional) /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<string>) - public async System.Threading.Tasks.Task>> ApiV2WebhooksSpecialVariablesGetWithHttpInfoAsync(WebHookEventType? eventType = default(WebHookEventType?), WebhookVariablesType? variablesType = default(WebhookVariablesType?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2WebhooksSpecialVariablesGetWithHttpInfoAsync(WebHookEventType? eventType = default(WebHookEventType?), WebhookVariablesType? variablesType = default(WebhookVariablesType?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1484,19 +1484,19 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (eventType != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "eventType", eventType)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "eventType", eventType)); } if (variablesType != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "variablesType", variablesType)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "variablesType", variablesType)); } // authentication (Bearer or PrivateToken) required @@ -1519,26 +1519,26 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp } /// - /// Test webhook's url + /// Test webhook's url /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// RequestData public RequestData ApiV2WebhooksTestPost(ApiV2WebhooksTestPostRequest apiV2WebhooksTestPostRequest = default(ApiV2WebhooksTestPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2WebhooksTestPostWithHttpInfo(apiV2WebhooksTestPostRequest); + ApiResponse localVarResponse = ApiV2WebhooksTestPostWithHttpInfo(apiV2WebhooksTestPostRequest); return localVarResponse.Data; } /// - /// Test webhook's url + /// Test webhook's url /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of RequestData - public TestIt.Client.Client.ApiResponse ApiV2WebhooksTestPostWithHttpInfo(ApiV2WebhooksTestPostRequest apiV2WebhooksTestPostRequest = default(ApiV2WebhooksTestPostRequest)) + public ApiResponse ApiV2WebhooksTestPostWithHttpInfo(ApiV2WebhooksTestPostRequest apiV2WebhooksTestPostRequest = default(ApiV2WebhooksTestPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1549,10 +1549,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2WebhooksTestPostRequest; @@ -1576,29 +1576,29 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp } /// - /// Test webhook's url + /// Test webhook's url /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of RequestData public async System.Threading.Tasks.Task ApiV2WebhooksTestPostAsync(ApiV2WebhooksTestPostRequest apiV2WebhooksTestPostRequest = default(ApiV2WebhooksTestPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2WebhooksTestPostWithHttpInfoAsync(apiV2WebhooksTestPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2WebhooksTestPostWithHttpInfoAsync(apiV2WebhooksTestPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Test webhook's url + /// Test webhook's url /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (RequestData) - public async System.Threading.Tasks.Task> ApiV2WebhooksTestPostWithHttpInfoAsync(ApiV2WebhooksTestPostRequest apiV2WebhooksTestPostRequest = default(ApiV2WebhooksTestPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WebhooksTestPostWithHttpInfoAsync(ApiV2WebhooksTestPostRequest apiV2WebhooksTestPostRequest = default(ApiV2WebhooksTestPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -1610,10 +1610,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksIdGetWithHttp }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2WebhooksTestPostRequest; diff --git a/src/TestIt.Client/Api/WebhooksLogsApi.cs b/src/TestIT.ApiClient/Api/WebhooksLogsApi.cs similarity index 72% rename from src/TestIt.Client/Api/WebhooksLogsApi.cs rename to src/TestIT.ApiClient/Api/WebhooksLogsApi.cs index bd694222..9ca15c89 100644 --- a/src/TestIt.Client/Api/WebhooksLogsApi.cs +++ b/src/TestIT.ApiClient/Api/WebhooksLogsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -30,7 +30,7 @@ public interface IWebhooksLogsApiSync : IApiAccessor /// /// Get all webhook logs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -44,9 +44,9 @@ public interface IWebhooksLogsApiSync : IApiAccessor /// Get all webhook logs /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -58,7 +58,7 @@ public interface IWebhooksLogsApiSync : IApiAccessor /// /// Delete webhook log by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// void ApiV2WebhooksLogsIdDelete(Guid id); @@ -67,16 +67,16 @@ public interface IWebhooksLogsApiSync : IApiAccessor /// Delete webhook log by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// ApiResponse of Object(void) ApiResponse ApiV2WebhooksLogsIdDeleteWithHttpInfo(Guid id); /// /// Get webhook log by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// WebHookLogModel WebHookLogModel ApiV2WebhooksLogsIdGet(Guid id); @@ -85,9 +85,9 @@ public interface IWebhooksLogsApiSync : IApiAccessor /// Get webhook log by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// ApiResponse of WebHookLogModel ApiResponse ApiV2WebhooksLogsIdGetWithHttpInfo(Guid id); @@ -104,9 +104,9 @@ public interface IWebhooksLogsApiAsync : IApiAccessor /// Get all webhook logs /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -121,9 +121,9 @@ public interface IWebhooksLogsApiAsync : IApiAccessor /// Get all webhook logs /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -137,9 +137,9 @@ public interface IWebhooksLogsApiAsync : IApiAccessor /// Delete webhook log by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// Cancellation Token to cancel the request. /// Task of void @@ -149,9 +149,9 @@ public interface IWebhooksLogsApiAsync : IApiAccessor /// Delete webhook log by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -160,9 +160,9 @@ public interface IWebhooksLogsApiAsync : IApiAccessor /// Get webhook log by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// Cancellation Token to cancel the request. /// Task of WebHookLogModel @@ -172,9 +172,9 @@ public interface IWebhooksLogsApiAsync : IApiAccessor /// Get webhook log by ID /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (WebHookLogModel) @@ -195,7 +195,7 @@ public interface IWebhooksLogsApi : IWebhooksLogsApiSync, IWebhooksLogsApiAsync /// public partial class WebhooksLogsApi : IDisposable, IWebhooksLogsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -217,14 +217,14 @@ public WebhooksLogsApi() : this((string)null) /// public WebhooksLogsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -235,18 +235,18 @@ public WebhooksLogsApi(string basePath) /// An instance of Configuration. /// /// - public WebhooksLogsApi(TestIt.Client.Client.Configuration configuration) + public WebhooksLogsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -281,14 +281,14 @@ public WebhooksLogsApi(HttpClient client, string basePath, HttpClientHandler han { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -303,19 +303,19 @@ public WebhooksLogsApi(HttpClient client, string basePath, HttpClientHandler han /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public WebhooksLogsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public WebhooksLogsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -326,7 +326,7 @@ public WebhooksLogsApi(HttpClient client, TestIt.Client.Client.Configuration con /// The client interface for asynchronous API access. /// The configuration object. /// - public WebhooksLogsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public WebhooksLogsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -335,7 +335,7 @@ public WebhooksLogsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Cl this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -349,17 +349,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -374,12 +374,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -393,9 +393,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Get all webhook logs + /// Get all webhook logs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -405,14 +405,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// List<WebHookLogModel> public List ApiV2WebhooksLogsGet(Guid? projectId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2WebhooksLogsGetWithHttpInfo(projectId, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = ApiV2WebhooksLogsGetWithHttpInfo(projectId, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// - /// Get all webhook logs + /// Get all webhook logs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -420,9 +420,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<WebHookLogModel> - public TestIt.Client.Client.ApiResponse> ApiV2WebhooksLogsGetWithHttpInfo(Guid? projectId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> ApiV2WebhooksLogsGetWithHttpInfo(Guid? projectId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -432,35 +432,35 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (projectId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "projectId", projectId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "projectId", projectId)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -482,9 +482,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Get all webhook logs + /// Get all webhook logs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -495,14 +495,14 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Task of List<WebHookLogModel> public async System.Threading.Tasks.Task> ApiV2WebhooksLogsGetAsync(Guid? projectId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2WebhooksLogsGetWithHttpInfoAsync(projectId, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2WebhooksLogsGetWithHttpInfoAsync(projectId, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get all webhook logs + /// Get all webhook logs /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Project unique ID (optional) /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -511,10 +511,10 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WebHookLogModel>) - public async System.Threading.Tasks.Task>> ApiV2WebhooksLogsGetWithHttpInfoAsync(Guid? projectId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2WebhooksLogsGetWithHttpInfoAsync(Guid? projectId = default(Guid?), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -525,35 +525,35 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (projectId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "projectId", projectId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "projectId", projectId)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -576,9 +576,9 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Delete webhook log by ID + /// Delete webhook log by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// public void ApiV2WebhooksLogsIdDelete(Guid id) @@ -587,14 +587,14 @@ public void ApiV2WebhooksLogsIdDelete(Guid id) } /// - /// Delete webhook log by ID + /// Delete webhook log by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2WebhooksLogsIdDeleteWithHttpInfo(Guid id) + public ApiResponse ApiV2WebhooksLogsIdDeleteWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -604,13 +604,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksLogsIdDeleteWithHtt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -631,9 +631,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksLogsIdDeleteWithHtt } /// - /// Delete webhook log by ID + /// Delete webhook log by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// Cancellation Token to cancel the request. /// Task of void @@ -643,16 +643,16 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksLogsIdDeleteWithHtt } /// - /// Delete webhook log by ID + /// Delete webhook log by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2WebhooksLogsIdDeleteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WebhooksLogsIdDeleteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -663,13 +663,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksLogsIdDeleteWithHtt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -691,26 +691,26 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksLogsIdDeleteWithHtt } /// - /// Get webhook log by ID + /// Get webhook log by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// WebHookLogModel public WebHookLogModel ApiV2WebhooksLogsIdGet(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2WebhooksLogsIdGetWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2WebhooksLogsIdGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get webhook log by ID + /// Get webhook log by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// ApiResponse of WebHookLogModel - public TestIt.Client.Client.ApiResponse ApiV2WebhooksLogsIdGetWithHttpInfo(Guid id) + public ApiResponse ApiV2WebhooksLogsIdGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -720,13 +720,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksLogsIdGetW "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -747,29 +747,29 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksLogsIdGetW } /// - /// Get webhook log by ID + /// Get webhook log by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// Cancellation Token to cancel the request. /// Task of WebHookLogModel public async System.Threading.Tasks.Task ApiV2WebhooksLogsIdGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2WebhooksLogsIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2WebhooksLogsIdGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get webhook log by ID + /// Get webhook log by ID /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Webhook log unique ID /// Cancellation Token to cancel the request. /// Task of ApiResponse (WebHookLogModel) - public async System.Threading.Tasks.Task> ApiV2WebhooksLogsIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WebhooksLogsIdGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -780,13 +780,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WebhooksLogsIdGetW }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) diff --git a/src/TestIt.Client/Api/WorkItemsApi.cs b/src/TestIT.ApiClient/Api/WorkItemsApi.cs similarity index 75% rename from src/TestIt.Client/Api/WorkItemsApi.cs rename to src/TestIT.ApiClient/Api/WorkItemsApi.cs index ef5e5ad2..c308403c 100644 --- a/src/TestIt.Client/Api/WorkItemsApi.cs +++ b/src/TestIT.ApiClient/Api/WorkItemsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -33,7 +33,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets workItemId <br>User attaches a file <br>System creates attachment and links it to the work item <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Work item internal identifier (guid format) /// Select file (optional) /// Guid @@ -45,7 +45,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets workItemId <br>User attaches a file <br>System creates attachment and links it to the work item <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Work item internal identifier (guid format) /// Select file (optional) /// ApiResponse of Guid @@ -56,7 +56,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets checklist identifier <br>User runs method execution <br>System transform CheckList to TestCase /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// WorkItemModel WorkItemModel ApiV2WorkItemsIdCheckListTransformToTestCasePost(Guid id); @@ -67,7 +67,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets checklist identifier <br>User runs method execution <br>System transform CheckList to TestCase /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of WorkItemModel ApiResponse ApiV2WorkItemsIdCheckListTransformToTestCasePostWithHttpInfo(Guid id); @@ -77,7 +77,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System return change history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -93,7 +93,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System return change history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -108,7 +108,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System delete like from WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// void ApiV2WorkItemsIdLikeDelete(Guid id); @@ -119,7 +119,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System delete like from WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse ApiV2WorkItemsIdLikeDeleteWithHttpInfo(Guid id); @@ -129,7 +129,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System set like to WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// void ApiV2WorkItemsIdLikePost(Guid id); @@ -140,7 +140,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System set like to WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of Object(void) ApiResponse ApiV2WorkItemsIdLikePostWithHttpInfo(Guid id); @@ -150,7 +150,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes count of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// int int ApiV2WorkItemsIdLikesCountGet(Guid id); @@ -161,7 +161,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes count of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of int ApiResponse ApiV2WorkItemsIdLikesCountGetWithHttpInfo(Guid id); @@ -171,7 +171,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// List<WorkItemLikeModel> List ApiV2WorkItemsIdLikesGet(Guid id); @@ -182,7 +182,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of List<WorkItemLikeModel> ApiResponse> ApiV2WorkItemsIdLikesGetWithHttpInfo(Guid id); @@ -192,7 +192,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return test results history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -217,7 +217,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return test results history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -241,7 +241,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System set WorkItem as actual /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// WorkItemModel @@ -253,7 +253,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System set WorkItem as actual /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// ApiResponse of WorkItemModel @@ -264,7 +264,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System move WorkItem to another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// WorkItemShortModel WorkItemShortModel ApiV2WorkItemsMovePost(ApiV2WorkItemsMovePostRequest apiV2WorkItemsMovePostRequest = default(ApiV2WorkItemsMovePostRequest)); @@ -275,14 +275,14 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System move WorkItem to another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of WorkItemShortModel ApiResponse ApiV2WorkItemsMovePostWithHttpInfo(ApiV2WorkItemsMovePostRequest apiV2WorkItemsMovePostRequest = default(ApiV2WorkItemsMovePostRequest)); /// /// Search for work items /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -296,9 +296,9 @@ public interface IWorkItemsApiSync : IApiAccessor /// Search for work items /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -313,7 +313,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -330,7 +330,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -346,7 +346,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -363,7 +363,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -379,7 +379,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// List<SharedStepReferenceModel> [Obsolete] @@ -391,7 +391,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of List<SharedStepReferenceModel> [Obsolete] @@ -402,7 +402,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System creates work item by identifier <br>System returns work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// WorkItemModel WorkItemModel CreateWorkItem(CreateWorkItemRequest createWorkItemRequest = default(CreateWorkItemRequest)); @@ -413,7 +413,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System creates work item by identifier <br>System returns work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of WorkItemModel ApiResponse CreateWorkItemWithHttpInfo(CreateWorkItemRequest createWorkItemRequest = default(CreateWorkItemRequest)); @@ -423,7 +423,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search and delete all autotests, related to found work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// void DeleteAllWorkItemsFromAutoTest(string id); @@ -434,7 +434,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search and delete all autotests, related to found work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// ApiResponse of Object(void) ApiResponse DeleteAllWorkItemsFromAutoTestWithHttpInfo(string id); @@ -444,7 +444,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System deletes work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// void DeleteWorkItem(string id); @@ -455,7 +455,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System deletes work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// ApiResponse of Object(void) ApiResponse DeleteWorkItemWithHttpInfo(string id); @@ -465,7 +465,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search all autotests, related to found work item <br>System returns list of found autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// List<AutoTestModel> List GetAutoTestsForWorkItem(string id); @@ -476,14 +476,14 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search all autotests, related to found work item <br>System returns list of found autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// ApiResponse of List<AutoTestModel> ApiResponse> GetAutoTestsForWorkItemWithHttpInfo(string id); /// /// Get iterations by work item Id or GlobalId /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier (optional) /// WorkItem version number (0 is the last version)\" (optional) @@ -494,9 +494,9 @@ public interface IWorkItemsApiSync : IApiAccessor /// Get iterations by work item Id or GlobalId /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier (optional) /// WorkItem version number (0 is the last version)\" (optional) @@ -506,9 +506,9 @@ public interface IWorkItemsApiSync : IApiAccessor /// Get Test Case, Checklist or Shared Step by Id or GlobalId /// /// - /// <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item + /// <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version number (0 is the last version)\" (optional) @@ -519,9 +519,9 @@ public interface IWorkItemsApiSync : IApiAccessor /// Get Test Case, Checklist or Shared Step by Id or GlobalId /// /// - /// <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item + /// <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version number (0 is the last version)\" (optional) @@ -533,7 +533,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search test results of all autotests, related to found work item <br>System sort results by CompletedOn ascending, then by CreatedDate ascending <br>System returns sorted collection of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// List<TestResultChronologyModel> List GetWorkItemChronology(string id); @@ -544,7 +544,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search test results of all autotests, related to found work item <br>System sort results by CompletedOn ascending, then by CreatedDate ascending <br>System returns sorted collection of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of List<TestResultChronologyModel> ApiResponse> GetWorkItemChronologyWithHttpInfo(string id); @@ -554,7 +554,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>User runs method execution <br>System search work item by identifier <br> [Optional] If User set work item version identifier, System search work item version by version identifier Otherwise, system search all version of work item <br>System returns array of work item version models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version (integer format) number\" (optional) @@ -567,7 +567,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>User runs method execution <br>System search work item by identifier <br> [Optional] If User set work item version identifier, System search work item version by version identifier Otherwise, system search all version of work item <br>System returns array of work item version models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version (integer format) number\" (optional) @@ -576,7 +576,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// Permanently delete test case, checklist or shared steps from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// void PurgeWorkItem(string id); @@ -585,16 +585,16 @@ public interface IWorkItemsApiSync : IApiAccessor /// Permanently delete test case, checklist or shared steps from archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// ApiResponse of Object(void) ApiResponse PurgeWorkItemWithHttpInfo(string id); /// /// Restore test case, checklist or shared steps from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// void RestoreWorkItem(string id); @@ -603,9 +603,9 @@ public interface IWorkItemsApiSync : IApiAccessor /// Restore test case, checklist or shared steps from archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// ApiResponse of Object(void) ApiResponse RestoreWorkItemWithHttpInfo(string id); @@ -615,7 +615,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System updates work item by identifier <br>System returns updated work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void UpdateWorkItem(UpdateWorkItemRequest updateWorkItemRequest = default(UpdateWorkItemRequest)); @@ -626,7 +626,7 @@ public interface IWorkItemsApiSync : IApiAccessor /// /// <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System updates work item by identifier <br>System returns updated work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse UpdateWorkItemWithHttpInfo(UpdateWorkItemRequest updateWorkItemRequest = default(UpdateWorkItemRequest)); @@ -645,7 +645,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets workItemId <br>User attaches a file <br>System creates attachment and links it to the work item <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Work item internal identifier (guid format) /// Select file (optional) /// Cancellation Token to cancel the request. @@ -658,7 +658,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets workItemId <br>User attaches a file <br>System creates attachment and links it to the work item <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Work item internal identifier (guid format) /// Select file (optional) /// Cancellation Token to cancel the request. @@ -670,7 +670,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets checklist identifier <br>User runs method execution <br>System transform CheckList to TestCase /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of WorkItemModel @@ -682,7 +682,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets checklist identifier <br>User runs method execution <br>System transform CheckList to TestCase /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (WorkItemModel) @@ -693,7 +693,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System return change history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -710,7 +710,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System return change history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -726,7 +726,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System delete like from WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of void @@ -738,7 +738,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System delete like from WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -749,7 +749,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System set like to WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of void @@ -761,7 +761,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System set like to WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -772,7 +772,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes count of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of int @@ -784,7 +784,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes count of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (int) @@ -795,7 +795,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of List<WorkItemLikeModel> @@ -807,7 +807,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WorkItemLikeModel>) @@ -818,7 +818,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return test results history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -844,7 +844,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return test results history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -869,7 +869,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System set WorkItem as actual /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Cancellation Token to cancel the request. @@ -882,7 +882,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System set WorkItem as actual /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Cancellation Token to cancel the request. @@ -894,7 +894,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System move WorkItem to another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of WorkItemShortModel @@ -906,7 +906,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System move WorkItem to another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (WorkItemShortModel) @@ -915,9 +915,9 @@ public interface IWorkItemsApiAsync : IApiAccessor /// Search for work items /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -932,9 +932,9 @@ public interface IWorkItemsApiAsync : IApiAccessor /// Search for work items /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -950,7 +950,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -968,7 +968,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -985,7 +985,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1003,7 +1003,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1020,7 +1020,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of List<SharedStepReferenceModel> @@ -1033,7 +1033,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<SharedStepReferenceModel>) @@ -1045,7 +1045,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System creates work item by identifier <br>System returns work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of WorkItemModel @@ -1057,7 +1057,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System creates work item by identifier <br>System returns work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (WorkItemModel) @@ -1068,7 +1068,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search and delete all autotests, related to found work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// Cancellation Token to cancel the request. /// Task of void @@ -1080,7 +1080,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search and delete all autotests, related to found work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1091,7 +1091,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System deletes work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// Cancellation Token to cancel the request. /// Task of void @@ -1103,7 +1103,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System deletes work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1114,7 +1114,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search all autotests, related to found work item <br>System returns list of found autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// Cancellation Token to cancel the request. /// Task of List<AutoTestModel> @@ -1126,7 +1126,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search all autotests, related to found work item <br>System returns list of found autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AutoTestModel>) @@ -1135,9 +1135,9 @@ public interface IWorkItemsApiAsync : IApiAccessor /// Get iterations by work item Id or GlobalId /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier (optional) /// WorkItem version number (0 is the last version)\" (optional) @@ -1149,9 +1149,9 @@ public interface IWorkItemsApiAsync : IApiAccessor /// Get iterations by work item Id or GlobalId /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier (optional) /// WorkItem version number (0 is the last version)\" (optional) @@ -1162,9 +1162,9 @@ public interface IWorkItemsApiAsync : IApiAccessor /// Get Test Case, Checklist or Shared Step by Id or GlobalId /// /// - /// <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item + /// <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version number (0 is the last version)\" (optional) @@ -1176,9 +1176,9 @@ public interface IWorkItemsApiAsync : IApiAccessor /// Get Test Case, Checklist or Shared Step by Id or GlobalId /// /// - /// <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item + /// <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version number (0 is the last version)\" (optional) @@ -1191,7 +1191,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search test results of all autotests, related to found work item <br>System sort results by CompletedOn ascending, then by CreatedDate ascending <br>System returns sorted collection of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of List<TestResultChronologyModel> @@ -1203,7 +1203,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search test results of all autotests, related to found work item <br>System sort results by CompletedOn ascending, then by CreatedDate ascending <br>System returns sorted collection of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestResultChronologyModel>) @@ -1214,7 +1214,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>User runs method execution <br>System search work item by identifier <br> [Optional] If User set work item version identifier, System search work item version by version identifier Otherwise, system search all version of work item <br>System returns array of work item version models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version (integer format) number\" (optional) @@ -1228,7 +1228,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>User runs method execution <br>System search work item by identifier <br> [Optional] If User set work item version identifier, System search work item version by version identifier Otherwise, system search all version of work item <br>System returns array of work item version models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version (integer format) number\" (optional) @@ -1239,9 +1239,9 @@ public interface IWorkItemsApiAsync : IApiAccessor /// Permanently delete test case, checklist or shared steps from archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// Cancellation Token to cancel the request. /// Task of void @@ -1251,9 +1251,9 @@ public interface IWorkItemsApiAsync : IApiAccessor /// Permanently delete test case, checklist or shared steps from archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1262,9 +1262,9 @@ public interface IWorkItemsApiAsync : IApiAccessor /// Restore test case, checklist or shared steps from archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// Cancellation Token to cancel the request. /// Task of void @@ -1274,9 +1274,9 @@ public interface IWorkItemsApiAsync : IApiAccessor /// Restore test case, checklist or shared steps from archive /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1287,7 +1287,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System updates work item by identifier <br>System returns updated work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -1299,7 +1299,7 @@ public interface IWorkItemsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System updates work item by identifier <br>System returns updated work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -1320,7 +1320,7 @@ public interface IWorkItemsApi : IWorkItemsApiSync, IWorkItemsApiAsync /// public partial class WorkItemsApi : IDisposable, IWorkItemsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -1342,14 +1342,14 @@ public WorkItemsApi() : this((string)null) /// public WorkItemsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1360,18 +1360,18 @@ public WorkItemsApi(string basePath) /// An instance of Configuration. /// /// - public WorkItemsApi(TestIt.Client.Client.Configuration configuration) + public WorkItemsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1406,14 +1406,14 @@ public WorkItemsApi(HttpClient client, string basePath, HttpClientHandler handle { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1428,19 +1428,19 @@ public WorkItemsApi(HttpClient client, string basePath, HttpClientHandler handle /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public WorkItemsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public WorkItemsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1451,7 +1451,7 @@ public WorkItemsApi(HttpClient client, TestIt.Client.Client.Configuration config /// The client interface for asynchronous API access. /// The configuration object. /// - public WorkItemsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public WorkItemsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -1460,7 +1460,7 @@ public WorkItemsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Clien this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -1474,17 +1474,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -1499,12 +1499,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -1520,26 +1520,26 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Upload and link attachment to WorkItem <br>Use case <br>User sets workItemId <br>User attaches a file <br>System creates attachment and links it to the work item <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Work item internal identifier (guid format) /// Select file (optional) /// Guid public Guid ApiV2WorkItemsIdAttachmentsPost(Guid id, FileParameter file = default(FileParameter)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2WorkItemsIdAttachmentsPostWithHttpInfo(id, file); + ApiResponse localVarResponse = ApiV2WorkItemsIdAttachmentsPostWithHttpInfo(id, file); return localVarResponse.Data; } /// /// Upload and link attachment to WorkItem <br>Use case <br>User sets workItemId <br>User attaches a file <br>System creates attachment and links it to the work item <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Work item internal identifier (guid format) /// Select file (optional) /// ApiResponse of Guid - public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdAttachmentsPostWithHttpInfo(Guid id, FileParameter file = default(FileParameter)) + public ApiResponse ApiV2WorkItemsIdAttachmentsPostWithHttpInfo(Guid id, FileParameter file = default(FileParameter)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -1550,13 +1550,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (file != null) { localVarRequestOptions.FileParameters.Add("file", file); @@ -1583,29 +1583,29 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Upload and link attachment to WorkItem <br>Use case <br>User sets workItemId <br>User attaches a file <br>System creates attachment and links it to the work item <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Work item internal identifier (guid format) /// Select file (optional) /// Cancellation Token to cancel the request. /// Task of Guid public async System.Threading.Tasks.Task ApiV2WorkItemsIdAttachmentsPostAsync(Guid id, FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2WorkItemsIdAttachmentsPostWithHttpInfoAsync(id, file, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2WorkItemsIdAttachmentsPostWithHttpInfoAsync(id, file, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Upload and link attachment to WorkItem <br>Use case <br>User sets workItemId <br>User attaches a file <br>System creates attachment and links it to the work item <br>System returns attachment identifier /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Work item internal identifier (guid format) /// Select file (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (Guid) - public async System.Threading.Tasks.Task> ApiV2WorkItemsIdAttachmentsPostWithHttpInfoAsync(Guid id, FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WorkItemsIdAttachmentsPostWithHttpInfoAsync(Guid id, FileParameter file = default(FileParameter), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "multipart/form-data" @@ -1617,13 +1617,13 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (file != null) { localVarRequestOptions.FileParameters.Add("file", file); @@ -1651,24 +1651,24 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Transform CheckList to TestCase <br>Use case <br>User sets checklist identifier <br>User runs method execution <br>System transform CheckList to TestCase /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// WorkItemModel public WorkItemModel ApiV2WorkItemsIdCheckListTransformToTestCasePost(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2WorkItemsIdCheckListTransformToTestCasePostWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2WorkItemsIdCheckListTransformToTestCasePostWithHttpInfo(id); return localVarResponse.Data; } /// /// Transform CheckList to TestCase <br>Use case <br>User sets checklist identifier <br>User runs method execution <br>System transform CheckList to TestCase /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of WorkItemModel - public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckListTransformToTestCasePostWithHttpInfo(Guid id) + public ApiResponse ApiV2WorkItemsIdCheckListTransformToTestCasePostWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1678,13 +1678,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckList "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1707,27 +1707,27 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckList /// /// Transform CheckList to TestCase <br>Use case <br>User sets checklist identifier <br>User runs method execution <br>System transform CheckList to TestCase /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of WorkItemModel public async System.Threading.Tasks.Task ApiV2WorkItemsIdCheckListTransformToTestCasePostAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2WorkItemsIdCheckListTransformToTestCasePostWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2WorkItemsIdCheckListTransformToTestCasePostWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Transform CheckList to TestCase <br>Use case <br>User sets checklist identifier <br>User runs method execution <br>System transform CheckList to TestCase /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (WorkItemModel) - public async System.Threading.Tasks.Task> ApiV2WorkItemsIdCheckListTransformToTestCasePostWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WorkItemsIdCheckListTransformToTestCasePostWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1738,13 +1738,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckList }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -1768,7 +1768,7 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckList /// /// Get change history of WorkItem <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System return change history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1778,14 +1778,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckList /// List<WorkItemChangeModel> public List ApiV2WorkItemsIdHistoryGet(Guid id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2WorkItemsIdHistoryGetWithHttpInfo(id, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = ApiV2WorkItemsIdHistoryGetWithHttpInfo(id, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get change history of WorkItem <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System return change history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1793,9 +1793,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckList /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<WorkItemChangeModel> - public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsIdHistoryGetWithHttpInfo(Guid id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> ApiV2WorkItemsIdHistoryGetWithHttpInfo(Guid id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1805,32 +1805,32 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckList "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -1854,7 +1854,7 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckList /// /// Get change history of WorkItem <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System return change history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1865,14 +1865,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckList /// Task of List<WorkItemChangeModel> public async System.Threading.Tasks.Task> ApiV2WorkItemsIdHistoryGetAsync(Guid id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2WorkItemsIdHistoryGetWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2WorkItemsIdHistoryGetWithHttpInfoAsync(id, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get change history of WorkItem <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System return change history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -1881,10 +1881,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckList /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WorkItemChangeModel>) - public async System.Threading.Tasks.Task>> ApiV2WorkItemsIdHistoryGetWithHttpInfoAsync(Guid id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2WorkItemsIdHistoryGetWithHttpInfoAsync(Guid id, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1895,32 +1895,32 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckList }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -1945,7 +1945,7 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdCheckList /// /// Delete like from WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System delete like from WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// public void ApiV2WorkItemsIdLikeDelete(Guid id) @@ -1956,12 +1956,12 @@ public void ApiV2WorkItemsIdLikeDelete(Guid id) /// /// Delete like from WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System delete like from WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikeDeleteWithHttpInfo(Guid id) + public ApiResponse ApiV2WorkItemsIdLikeDeleteWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -1971,13 +1971,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikeDeleteWithHt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2000,7 +2000,7 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikeDeleteWithHt /// /// Delete like from WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System delete like from WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of void @@ -2012,14 +2012,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikeDeleteWithHt /// /// Delete like from WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System delete like from WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2WorkItemsIdLikeDeleteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WorkItemsIdLikeDeleteWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2030,13 +2030,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikeDeleteWithHt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2060,7 +2060,7 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikeDeleteWithHt /// /// Set like to WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System set like to WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// public void ApiV2WorkItemsIdLikePost(Guid id) @@ -2071,12 +2071,12 @@ public void ApiV2WorkItemsIdLikePost(Guid id) /// /// Set like to WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System set like to WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikePostWithHttpInfo(Guid id) + public ApiResponse ApiV2WorkItemsIdLikePostWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2086,13 +2086,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikePostWithHttp "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2115,7 +2115,7 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikePostWithHttp /// /// Set like to WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System set like to WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of void @@ -2127,14 +2127,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikePostWithHttp /// /// Set like to WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System set like to WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2WorkItemsIdLikePostWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WorkItemsIdLikePostWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2145,13 +2145,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikePostWithHttp }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2175,24 +2175,24 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikePostWithHttp /// /// Get likes count of WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes count of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// int public int ApiV2WorkItemsIdLikesCountGet(Guid id) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2WorkItemsIdLikesCountGetWithHttpInfo(id); + ApiResponse localVarResponse = ApiV2WorkItemsIdLikesCountGetWithHttpInfo(id); return localVarResponse.Data; } /// /// Get likes count of WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes count of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of int - public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikesCountGetWithHttpInfo(Guid id) + public ApiResponse ApiV2WorkItemsIdLikesCountGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2202,13 +2202,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikesCountGetWithHt "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2231,27 +2231,27 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikesCountGetWithHt /// /// Get likes count of WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes count of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of int public async System.Threading.Tasks.Task ApiV2WorkItemsIdLikesCountGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2WorkItemsIdLikesCountGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2WorkItemsIdLikesCountGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get likes count of WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes count of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (int) - public async System.Threading.Tasks.Task> ApiV2WorkItemsIdLikesCountGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WorkItemsIdLikesCountGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2262,13 +2262,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikesCountGetWithHt }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2292,24 +2292,24 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdLikesCountGetWithHt /// /// Get likes of WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// List<WorkItemLikeModel> public List ApiV2WorkItemsIdLikesGet(Guid id) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2WorkItemsIdLikesGetWithHttpInfo(id); + ApiResponse> localVarResponse = ApiV2WorkItemsIdLikesGetWithHttpInfo(id); return localVarResponse.Data; } /// /// Get likes of WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of List<WorkItemLikeModel> - public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsIdLikesGetWithHttpInfo(Guid id) + public ApiResponse> ApiV2WorkItemsIdLikesGetWithHttpInfo(Guid id) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2319,13 +2319,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2348,27 +2348,27 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsI /// /// Get likes of WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of List<WorkItemLikeModel> public async System.Threading.Tasks.Task> ApiV2WorkItemsIdLikesGetAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2WorkItemsIdLikesGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2WorkItemsIdLikesGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get likes of WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return likes of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WorkItemLikeModel>) - public async System.Threading.Tasks.Task>> ApiV2WorkItemsIdLikesGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2WorkItemsIdLikesGetWithHttpInfoAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2379,13 +2379,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2409,7 +2409,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsI /// /// Get test results history of WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return test results history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -2428,14 +2428,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsI /// List<TestResultHistoryReportModel> public List ApiV2WorkItemsIdTestResultsHistoryGet(Guid id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2WorkItemsIdTestResultsHistoryGetWithHttpInfo(id, from, to, configurationIds, testPlanIds, userIds, outcomes, isAutomated, automated, testRunIds, skip, take, orderBy, searchField, searchValue); + ApiResponse> localVarResponse = ApiV2WorkItemsIdTestResultsHistoryGetWithHttpInfo(id, from, to, configurationIds, testPlanIds, userIds, outcomes, isAutomated, automated, testRunIds, skip, take, orderBy, searchField, searchValue); return localVarResponse.Data; } /// /// Get test results history of WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return test results history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -2452,9 +2452,9 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsI /// Property name for searching (optional) /// Value for searching (optional) /// ApiResponse of List<TestResultHistoryReportModel> - public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsIdTestResultsHistoryGetWithHttpInfo(Guid id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) + public ApiResponse> ApiV2WorkItemsIdTestResultsHistoryGetWithHttpInfo(Guid id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2464,68 +2464,68 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsI "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (from != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "from", from)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "from", from)); } if (to != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "to", to)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "to", to)); } if (configurationIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "configurationIds", configurationIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "configurationIds", configurationIds)); } if (testPlanIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "testPlanIds", testPlanIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "testPlanIds", testPlanIds)); } if (userIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "userIds", userIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "userIds", userIds)); } if (outcomes != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "outcomes", outcomes)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "outcomes", outcomes)); } if (isAutomated != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isAutomated", isAutomated)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isAutomated", isAutomated)); } if (automated != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "automated", automated)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "automated", automated)); } if (testRunIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "testRunIds", testRunIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "testRunIds", testRunIds)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -2549,7 +2549,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsI /// /// Get test results history of WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return test results history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -2569,14 +2569,14 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsI /// Task of List<TestResultHistoryReportModel> public async System.Threading.Tasks.Task> ApiV2WorkItemsIdTestResultsHistoryGetAsync(Guid id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2WorkItemsIdTestResultsHistoryGetWithHttpInfoAsync(id, from, to, configurationIds, testPlanIds, userIds, outcomes, isAutomated, automated, testRunIds, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2WorkItemsIdTestResultsHistoryGetWithHttpInfoAsync(id, from, to, configurationIds, testPlanIds, userIds, outcomes, isAutomated, automated, testRunIds, skip, take, orderBy, searchField, searchValue, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get test results history of WorkItem <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System return test results history of WorkItem /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Take results from this date (optional) /// Take results until this date (optional) @@ -2594,10 +2594,10 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsI /// Value for searching (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestResultHistoryReportModel>) - public async System.Threading.Tasks.Task>> ApiV2WorkItemsIdTestResultsHistoryGetWithHttpInfoAsync(Guid id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2WorkItemsIdTestResultsHistoryGetWithHttpInfoAsync(Guid id, DateTime? from = default(DateTime?), DateTime? to = default(DateTime?), List configurationIds = default(List), List testPlanIds = default(List), List userIds = default(List), List outcomes = default(List), bool? isAutomated = default(bool?), bool? automated = default(bool?), List testRunIds = default(List), int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2608,68 +2608,68 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsI }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (from != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "from", from)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "from", from)); } if (to != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "to", to)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "to", to)); } if (configurationIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "configurationIds", configurationIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "configurationIds", configurationIds)); } if (testPlanIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "testPlanIds", testPlanIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "testPlanIds", testPlanIds)); } if (userIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "userIds", userIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "userIds", userIds)); } if (outcomes != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "outcomes", outcomes)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "outcomes", outcomes)); } if (isAutomated != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "isAutomated", isAutomated)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "isAutomated", isAutomated)); } if (automated != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "automated", automated)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "automated", automated)); } if (testRunIds != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("multi", "testRunIds", testRunIds)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("multi", "testRunIds", testRunIds)); } if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } // authentication (Bearer or PrivateToken) required @@ -2694,26 +2694,26 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsI /// /// Set WorkItem as actual <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System set WorkItem as actual /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// WorkItemModel public WorkItemModel ApiV2WorkItemsIdVersionVersionIdActualPost(Guid id, Guid versionId) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2WorkItemsIdVersionVersionIdActualPostWithHttpInfo(id, versionId); + ApiResponse localVarResponse = ApiV2WorkItemsIdVersionVersionIdActualPostWithHttpInfo(id, versionId); return localVarResponse.Data; } /// /// Set WorkItem as actual <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System set WorkItem as actual /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// ApiResponse of WorkItemModel - public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVersionIdActualPostWithHttpInfo(Guid id, Guid versionId) + public ApiResponse ApiV2WorkItemsIdVersionVersionIdActualPostWithHttpInfo(Guid id, Guid versionId) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2723,14 +2723,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("versionId", TestIt.Client.Client.ClientUtils.ParameterToString(versionId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("versionId", ClientUtils.ParameterToString(versionId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2753,29 +2753,29 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// /// Set WorkItem as actual <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System set WorkItem as actual /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Cancellation Token to cancel the request. /// Task of WorkItemModel public async System.Threading.Tasks.Task ApiV2WorkItemsIdVersionVersionIdActualPostAsync(Guid id, Guid versionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2WorkItemsIdVersionVersionIdActualPostWithHttpInfoAsync(id, versionId, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2WorkItemsIdVersionVersionIdActualPostWithHttpInfoAsync(id, versionId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Set WorkItem as actual <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System set WorkItem as actual /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (WorkItemModel) - public async System.Threading.Tasks.Task> ApiV2WorkItemsIdVersionVersionIdActualPostWithHttpInfoAsync(Guid id, Guid versionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WorkItemsIdVersionVersionIdActualPostWithHttpInfoAsync(Guid id, Guid versionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -2786,14 +2786,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.PathParameters.Add("versionId", TestIt.Client.Client.ClientUtils.ParameterToString(versionId)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("versionId", ClientUtils.ParameterToString(versionId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -2817,24 +2817,24 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// /// Move WorkItem to another section <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System move WorkItem to another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// WorkItemShortModel public WorkItemShortModel ApiV2WorkItemsMovePost(ApiV2WorkItemsMovePostRequest apiV2WorkItemsMovePostRequest = default(ApiV2WorkItemsMovePostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2WorkItemsMovePostWithHttpInfo(apiV2WorkItemsMovePostRequest); + ApiResponse localVarResponse = ApiV2WorkItemsMovePostWithHttpInfo(apiV2WorkItemsMovePostRequest); return localVarResponse.Data; } /// /// Move WorkItem to another section <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System move WorkItem to another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of WorkItemShortModel - public TestIt.Client.Client.ApiResponse ApiV2WorkItemsMovePostWithHttpInfo(ApiV2WorkItemsMovePostRequest apiV2WorkItemsMovePostRequest = default(ApiV2WorkItemsMovePostRequest)) + public ApiResponse ApiV2WorkItemsMovePostWithHttpInfo(ApiV2WorkItemsMovePostRequest apiV2WorkItemsMovePostRequest = default(ApiV2WorkItemsMovePostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2845,10 +2845,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2WorkItemsMovePostRequest; @@ -2874,27 +2874,27 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// /// Move WorkItem to another section <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System move WorkItem to another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of WorkItemShortModel public async System.Threading.Tasks.Task ApiV2WorkItemsMovePostAsync(ApiV2WorkItemsMovePostRequest apiV2WorkItemsMovePostRequest = default(ApiV2WorkItemsMovePostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2WorkItemsMovePostWithHttpInfoAsync(apiV2WorkItemsMovePostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2WorkItemsMovePostWithHttpInfoAsync(apiV2WorkItemsMovePostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Move WorkItem to another section <br>Use case <br>User sets WorkItem identifier <br>User runs method execution <br>System move WorkItem to another section /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (WorkItemShortModel) - public async System.Threading.Tasks.Task> ApiV2WorkItemsMovePostWithHttpInfoAsync(ApiV2WorkItemsMovePostRequest apiV2WorkItemsMovePostRequest = default(ApiV2WorkItemsMovePostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WorkItemsMovePostWithHttpInfoAsync(ApiV2WorkItemsMovePostRequest apiV2WorkItemsMovePostRequest = default(ApiV2WorkItemsMovePostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2906,10 +2906,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2WorkItemsMovePostRequest; @@ -2934,9 +2934,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe } /// - /// Search for work items + /// Search for work items /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -2946,14 +2946,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// List<WorkItemShortModel> public List ApiV2WorkItemsSearchPost(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2WorkItemsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdWorkItemsSearchPostRequest); + ApiResponse> localVarResponse = ApiV2WorkItemsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdWorkItemsSearchPostRequest); return localVarResponse.Data; } /// - /// Search for work items + /// Search for work items /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -2961,9 +2961,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// Value for searching (optional) /// (optional) /// ApiResponse of List<WorkItemShortModel> - public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) + public ApiResponse> ApiV2WorkItemsSearchPostWithHttpInfo(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -2974,31 +2974,31 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ProjectsIdWorkItemsSearchPostRequest; @@ -3021,9 +3021,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe } /// - /// Search for work items + /// Search for work items /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -3034,14 +3034,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// Task of List<WorkItemShortModel> public async System.Threading.Tasks.Task> ApiV2WorkItemsSearchPostAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2WorkItemsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdWorkItemsSearchPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2WorkItemsSearchPostWithHttpInfoAsync(skip, take, orderBy, searchField, searchValue, apiV2ProjectsIdWorkItemsSearchPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Search for work items + /// Search for work items /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) /// SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) @@ -3050,10 +3050,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WorkItemShortModel>) - public async System.Threading.Tasks.Task>> ApiV2WorkItemsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2WorkItemsSearchPostWithHttpInfoAsync(int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2ProjectsIdWorkItemsSearchPostRequest apiV2ProjectsIdWorkItemsSearchPostRequest = default(ApiV2ProjectsIdWorkItemsSearchPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3065,31 +3065,31 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2ProjectsIdWorkItemsSearchPostRequest; @@ -3115,7 +3115,7 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// /// Get SharedStep references in sections <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3126,14 +3126,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// List<SharedStepReferenceSectionModel> public List ApiV2WorkItemsSharedStepIdReferencesSectionsPost(Guid sharedStepId, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest apiV2WorkItemsSharedStepIdReferencesSectionsPostRequest = default(ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2WorkItemsSharedStepIdReferencesSectionsPostWithHttpInfo(sharedStepId, skip, take, orderBy, searchField, searchValue, apiV2WorkItemsSharedStepIdReferencesSectionsPostRequest); + ApiResponse> localVarResponse = ApiV2WorkItemsSharedStepIdReferencesSectionsPostWithHttpInfo(sharedStepId, skip, take, orderBy, searchField, searchValue, apiV2WorkItemsSharedStepIdReferencesSectionsPostRequest); return localVarResponse.Data; } /// /// Get SharedStep references in sections <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3142,9 +3142,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// Value for searching (optional) /// (optional) /// ApiResponse of List<SharedStepReferenceSectionModel> - public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsSharedStepIdReferencesSectionsPostWithHttpInfo(Guid sharedStepId, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest apiV2WorkItemsSharedStepIdReferencesSectionsPostRequest = default(ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest)) + public ApiResponse> ApiV2WorkItemsSharedStepIdReferencesSectionsPostWithHttpInfo(Guid sharedStepId, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest apiV2WorkItemsSharedStepIdReferencesSectionsPostRequest = default(ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3155,32 +3155,32 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("sharedStepId", TestIt.Client.Client.ClientUtils.ParameterToString(sharedStepId)); // path parameter + localVarRequestOptions.PathParameters.Add("sharedStepId", ClientUtils.ParameterToString(sharedStepId)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2WorkItemsSharedStepIdReferencesSectionsPostRequest; @@ -3205,7 +3205,7 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// /// Get SharedStep references in sections <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3217,14 +3217,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// Task of List<SharedStepReferenceSectionModel> public async System.Threading.Tasks.Task> ApiV2WorkItemsSharedStepIdReferencesSectionsPostAsync(Guid sharedStepId, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest apiV2WorkItemsSharedStepIdReferencesSectionsPostRequest = default(ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2WorkItemsSharedStepIdReferencesSectionsPostWithHttpInfoAsync(sharedStepId, skip, take, orderBy, searchField, searchValue, apiV2WorkItemsSharedStepIdReferencesSectionsPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2WorkItemsSharedStepIdReferencesSectionsPostWithHttpInfoAsync(sharedStepId, skip, take, orderBy, searchField, searchValue, apiV2WorkItemsSharedStepIdReferencesSectionsPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get SharedStep references in sections <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3234,10 +3234,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<SharedStepReferenceSectionModel>) - public async System.Threading.Tasks.Task>> ApiV2WorkItemsSharedStepIdReferencesSectionsPostWithHttpInfoAsync(Guid sharedStepId, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest apiV2WorkItemsSharedStepIdReferencesSectionsPostRequest = default(ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2WorkItemsSharedStepIdReferencesSectionsPostWithHttpInfoAsync(Guid sharedStepId, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest apiV2WorkItemsSharedStepIdReferencesSectionsPostRequest = default(ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3249,32 +3249,32 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("sharedStepId", TestIt.Client.Client.ClientUtils.ParameterToString(sharedStepId)); // path parameter + localVarRequestOptions.PathParameters.Add("sharedStepId", ClientUtils.ParameterToString(sharedStepId)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2WorkItemsSharedStepIdReferencesSectionsPostRequest; @@ -3300,7 +3300,7 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// /// Get SharedStep references in work items <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3311,14 +3311,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// List<SharedStepReferenceModel> public List ApiV2WorkItemsSharedStepIdReferencesWorkItemsPost(Guid sharedStepId, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest apiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest = default(ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest)) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostWithHttpInfo(sharedStepId, skip, take, orderBy, searchField, searchValue, apiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest); + ApiResponse> localVarResponse = ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostWithHttpInfo(sharedStepId, skip, take, orderBy, searchField, searchValue, apiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest); return localVarResponse.Data; } /// /// Get SharedStep references in work items <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3327,9 +3327,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// Value for searching (optional) /// (optional) /// ApiResponse of List<SharedStepReferenceModel> - public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostWithHttpInfo(Guid sharedStepId, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest apiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest = default(ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest)) + public ApiResponse> ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostWithHttpInfo(Guid sharedStepId, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest apiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest = default(ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3340,32 +3340,32 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("sharedStepId", TestIt.Client.Client.ClientUtils.ParameterToString(sharedStepId)); // path parameter + localVarRequestOptions.PathParameters.Add("sharedStepId", ClientUtils.ParameterToString(sharedStepId)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest; @@ -3390,7 +3390,7 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// /// Get SharedStep references in work items <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3402,14 +3402,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// Task of List<SharedStepReferenceModel> public async System.Threading.Tasks.Task> ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostAsync(Guid sharedStepId, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest apiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest = default(ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostWithHttpInfoAsync(sharedStepId, skip, take, orderBy, searchField, searchValue, apiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostWithHttpInfoAsync(sharedStepId, skip, take, orderBy, searchField, searchValue, apiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get SharedStep references in work items <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Amount of items to be skipped (offset) (optional) /// Amount of items to be taken (limit) (optional) @@ -3419,10 +3419,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<SharedStepReferenceModel>) - public async System.Threading.Tasks.Task>> ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostWithHttpInfoAsync(Guid sharedStepId, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest apiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest = default(ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostWithHttpInfoAsync(Guid sharedStepId, int? skip = default(int?), int? take = default(int?), string orderBy = default(string), string searchField = default(string), string searchValue = default(string), ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest apiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest = default(ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3434,32 +3434,32 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("sharedStepId", TestIt.Client.Client.ClientUtils.ParameterToString(sharedStepId)); // path parameter + localVarRequestOptions.PathParameters.Add("sharedStepId", ClientUtils.ParameterToString(sharedStepId)); // path parameter if (skip != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Skip", skip)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Skip", skip)); } if (take != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "Take", take)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "Take", take)); } if (orderBy != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "OrderBy", orderBy)); } if (searchField != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchField", searchField)); } if (searchValue != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "SearchValue", searchValue)); } localVarRequestOptions.Data = apiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest; @@ -3485,26 +3485,26 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsIdVersionVe /// /// Get SharedStep references <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// List<SharedStepReferenceModel> [Obsolete] public List ApiV2WorkItemsSharedStepsSharedStepIdReferencesGet(Guid sharedStepId) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2WorkItemsSharedStepsSharedStepIdReferencesGetWithHttpInfo(sharedStepId); + ApiResponse> localVarResponse = ApiV2WorkItemsSharedStepsSharedStepIdReferencesGetWithHttpInfo(sharedStepId); return localVarResponse.Data; } /// /// Get SharedStep references <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of List<SharedStepReferenceModel> [Obsolete] - public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsSharedStepsSharedStepIdReferencesGetWithHttpInfo(Guid sharedStepId) + public ApiResponse> ApiV2WorkItemsSharedStepsSharedStepIdReferencesGetWithHttpInfo(Guid sharedStepId) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3514,13 +3514,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2Wor "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("sharedStepId", TestIt.Client.Client.ClientUtils.ParameterToString(sharedStepId)); // path parameter + localVarRequestOptions.PathParameters.Add("sharedStepId", ClientUtils.ParameterToString(sharedStepId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3543,29 +3543,29 @@ public TestIt.Client.Client.ApiResponse> ApiV2Wor /// /// Get SharedStep references <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of List<SharedStepReferenceModel> [Obsolete] public async System.Threading.Tasks.Task> ApiV2WorkItemsSharedStepsSharedStepIdReferencesGetAsync(Guid sharedStepId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2WorkItemsSharedStepsSharedStepIdReferencesGetWithHttpInfoAsync(sharedStepId, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2WorkItemsSharedStepsSharedStepIdReferencesGetWithHttpInfoAsync(sharedStepId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get SharedStep references <br>Use case <br>User sets SharedStep identifier <br>User runs method execution <br>System return SharedStep references /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<SharedStepReferenceModel>) [Obsolete] - public async System.Threading.Tasks.Task>> ApiV2WorkItemsSharedStepsSharedStepIdReferencesGetWithHttpInfoAsync(Guid sharedStepId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2WorkItemsSharedStepsSharedStepIdReferencesGetWithHttpInfoAsync(Guid sharedStepId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3576,13 +3576,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2Wor }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("sharedStepId", TestIt.Client.Client.ClientUtils.ParameterToString(sharedStepId)); // path parameter + localVarRequestOptions.PathParameters.Add("sharedStepId", ClientUtils.ParameterToString(sharedStepId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3606,24 +3606,24 @@ public TestIt.Client.Client.ApiResponse> ApiV2Wor /// /// Create Test Case, Checklist or Shared Step <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System creates work item by identifier <br>System returns work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// WorkItemModel public WorkItemModel CreateWorkItem(CreateWorkItemRequest createWorkItemRequest = default(CreateWorkItemRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = CreateWorkItemWithHttpInfo(createWorkItemRequest); + ApiResponse localVarResponse = CreateWorkItemWithHttpInfo(createWorkItemRequest); return localVarResponse.Data; } /// /// Create Test Case, Checklist or Shared Step <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System creates work item by identifier <br>System returns work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of WorkItemModel - public TestIt.Client.Client.ApiResponse CreateWorkItemWithHttpInfo(CreateWorkItemRequest createWorkItemRequest = default(CreateWorkItemRequest)) + public ApiResponse CreateWorkItemWithHttpInfo(CreateWorkItemRequest createWorkItemRequest = default(CreateWorkItemRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3634,10 +3634,10 @@ public TestIt.Client.Client.ApiResponse> ApiV2Wor "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createWorkItemRequest; @@ -3663,27 +3663,27 @@ public TestIt.Client.Client.ApiResponse> ApiV2Wor /// /// Create Test Case, Checklist or Shared Step <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System creates work item by identifier <br>System returns work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of WorkItemModel public async System.Threading.Tasks.Task CreateWorkItemAsync(CreateWorkItemRequest createWorkItemRequest = default(CreateWorkItemRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await CreateWorkItemWithHttpInfoAsync(createWorkItemRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await CreateWorkItemWithHttpInfoAsync(createWorkItemRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create Test Case, Checklist or Shared Step <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System creates work item by identifier <br>System returns work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (WorkItemModel) - public async System.Threading.Tasks.Task> CreateWorkItemWithHttpInfoAsync(CreateWorkItemRequest createWorkItemRequest = default(CreateWorkItemRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateWorkItemWithHttpInfoAsync(CreateWorkItemRequest createWorkItemRequest = default(CreateWorkItemRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -3695,10 +3695,10 @@ public TestIt.Client.Client.ApiResponse> ApiV2Wor }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = createWorkItemRequest; @@ -3725,7 +3725,7 @@ public TestIt.Client.Client.ApiResponse> ApiV2Wor /// /// Delete all links AutoTests from WorkItem by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search and delete all autotests, related to found work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// public void DeleteAllWorkItemsFromAutoTest(string id) @@ -3736,16 +3736,16 @@ public void DeleteAllWorkItemsFromAutoTest(string id) /// /// Delete all links AutoTests from WorkItem by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search and delete all autotests, related to found work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteAllWorkItemsFromAutoTestWithHttpInfo(string id) + public ApiResponse DeleteAllWorkItemsFromAutoTestWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->DeleteAllWorkItemsFromAutoTest"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->DeleteAllWorkItemsFromAutoTest"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3755,13 +3755,13 @@ public TestIt.Client.Client.ApiResponse DeleteAllWorkItemsFromAutoTestWi "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3784,7 +3784,7 @@ public TestIt.Client.Client.ApiResponse DeleteAllWorkItemsFromAutoTestWi /// /// Delete all links AutoTests from WorkItem by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search and delete all autotests, related to found work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// Cancellation Token to cancel the request. /// Task of void @@ -3796,18 +3796,18 @@ public TestIt.Client.Client.ApiResponse DeleteAllWorkItemsFromAutoTestWi /// /// Delete all links AutoTests from WorkItem by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search and delete all autotests, related to found work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteAllWorkItemsFromAutoTestWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteAllWorkItemsFromAutoTestWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->DeleteAllWorkItemsFromAutoTest"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->DeleteAllWorkItemsFromAutoTest"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3818,13 +3818,13 @@ public TestIt.Client.Client.ApiResponse DeleteAllWorkItemsFromAutoTestWi }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3848,7 +3848,7 @@ public TestIt.Client.Client.ApiResponse DeleteAllWorkItemsFromAutoTestWi /// /// Delete Test Case, Checklist or Shared Step by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System deletes work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// public void DeleteWorkItem(string id) @@ -3859,16 +3859,16 @@ public void DeleteWorkItem(string id) /// /// Delete Test Case, Checklist or Shared Step by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System deletes work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse DeleteWorkItemWithHttpInfo(string id) + public ApiResponse DeleteWorkItemWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->DeleteWorkItem"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->DeleteWorkItem"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3878,13 +3878,13 @@ public TestIt.Client.Client.ApiResponse DeleteWorkItemWithHttpInfo(strin "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3907,7 +3907,7 @@ public TestIt.Client.Client.ApiResponse DeleteWorkItemWithHttpInfo(strin /// /// Delete Test Case, Checklist or Shared Step by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System deletes work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// Cancellation Token to cancel the request. /// Task of void @@ -3919,18 +3919,18 @@ public TestIt.Client.Client.ApiResponse DeleteWorkItemWithHttpInfo(strin /// /// Delete Test Case, Checklist or Shared Step by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System deletes work item <br>System returns no content response /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteWorkItemWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteWorkItemWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->DeleteWorkItem"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->DeleteWorkItem"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -3941,13 +3941,13 @@ public TestIt.Client.Client.ApiResponse DeleteWorkItemWithHttpInfo(strin }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -3971,28 +3971,28 @@ public TestIt.Client.Client.ApiResponse DeleteWorkItemWithHttpInfo(strin /// /// Get all AutoTests linked to WorkItem by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search all autotests, related to found work item <br>System returns list of found autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// List<AutoTestModel> public List GetAutoTestsForWorkItem(string id) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetAutoTestsForWorkItemWithHttpInfo(id); + ApiResponse> localVarResponse = GetAutoTestsForWorkItemWithHttpInfo(id); return localVarResponse.Data; } /// /// Get all AutoTests linked to WorkItem by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search all autotests, related to found work item <br>System returns list of found autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// ApiResponse of List<AutoTestModel> - public TestIt.Client.Client.ApiResponse> GetAutoTestsForWorkItemWithHttpInfo(string id) + public ApiResponse> GetAutoTestsForWorkItemWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetAutoTestsForWorkItem"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetAutoTestsForWorkItem"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4002,13 +4002,13 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4031,31 +4031,31 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork /// /// Get all AutoTests linked to WorkItem by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search all autotests, related to found work item <br>System returns list of found autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// Cancellation Token to cancel the request. /// Task of List<AutoTestModel> public async System.Threading.Tasks.Task> GetAutoTestsForWorkItemAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetAutoTestsForWorkItemWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetAutoTestsForWorkItemWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get all AutoTests linked to WorkItem by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search all autotests, related to found work item <br>System returns list of found autotests /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<AutoTestModel>) - public async System.Threading.Tasks.Task>> GetAutoTestsForWorkItemWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetAutoTestsForWorkItemWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetAutoTestsForWorkItem"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetAutoTestsForWorkItem"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4066,13 +4066,13 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4094,34 +4094,34 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork } /// - /// Get iterations by work item Id or GlobalId + /// Get iterations by work item Id or GlobalId /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier (optional) /// WorkItem version number (0 is the last version)\" (optional) /// List<IterationModel> public List GetIterations(string id, Guid? versionId = default(Guid?), int? versionNumber = default(int?)) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetIterationsWithHttpInfo(id, versionId, versionNumber); + ApiResponse> localVarResponse = GetIterationsWithHttpInfo(id, versionId, versionNumber); return localVarResponse.Data; } /// - /// Get iterations by work item Id or GlobalId + /// Get iterations by work item Id or GlobalId /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier (optional) /// WorkItem version number (0 is the last version)\" (optional) /// ApiResponse of List<IterationModel> - public TestIt.Client.Client.ApiResponse> GetIterationsWithHttpInfo(string id, Guid? versionId = default(Guid?), int? versionNumber = default(int?)) + public ApiResponse> GetIterationsWithHttpInfo(string id, Guid? versionId = default(Guid?), int? versionNumber = default(int?)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetIterations"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetIterations"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4131,20 +4131,20 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (versionId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "versionId", versionId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "versionId", versionId)); } if (versionNumber != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "versionNumber", versionNumber)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "versionNumber", versionNumber)); } // authentication (Bearer or PrivateToken) required @@ -4166,9 +4166,9 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork } /// - /// Get iterations by work item Id or GlobalId + /// Get iterations by work item Id or GlobalId /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier (optional) /// WorkItem version number (0 is the last version)\" (optional) @@ -4176,27 +4176,27 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork /// Task of List<IterationModel> public async System.Threading.Tasks.Task> GetIterationsAsync(string id, Guid? versionId = default(Guid?), int? versionNumber = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetIterationsWithHttpInfoAsync(id, versionId, versionNumber, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetIterationsWithHttpInfoAsync(id, versionId, versionNumber, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get iterations by work item Id or GlobalId + /// Get iterations by work item Id or GlobalId /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier (optional) /// WorkItem version number (0 is the last version)\" (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<IterationModel>) - public async System.Threading.Tasks.Task>> GetIterationsWithHttpInfoAsync(string id, Guid? versionId = default(Guid?), int? versionNumber = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetIterationsWithHttpInfoAsync(string id, Guid? versionId = default(Guid?), int? versionNumber = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetIterations"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetIterations"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4207,20 +4207,20 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (versionId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "versionId", versionId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "versionId", versionId)); } if (versionNumber != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "versionNumber", versionNumber)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "versionNumber", versionNumber)); } // authentication (Bearer or PrivateToken) required @@ -4243,34 +4243,34 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork } /// - /// Get Test Case, Checklist or Shared Step by Id or GlobalId <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item + /// Get Test Case, Checklist or Shared Step by Id or GlobalId <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version number (0 is the last version)\" (optional) /// WorkItemModel public WorkItemModel GetWorkItemById(string id, Guid? versionId = default(Guid?), int? versionNumber = default(int?)) { - TestIt.Client.Client.ApiResponse localVarResponse = GetWorkItemByIdWithHttpInfo(id, versionId, versionNumber); + ApiResponse localVarResponse = GetWorkItemByIdWithHttpInfo(id, versionId, versionNumber); return localVarResponse.Data; } /// - /// Get Test Case, Checklist or Shared Step by Id or GlobalId <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item + /// Get Test Case, Checklist or Shared Step by Id or GlobalId <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version number (0 is the last version)\" (optional) /// ApiResponse of WorkItemModel - public TestIt.Client.Client.ApiResponse GetWorkItemByIdWithHttpInfo(string id, Guid? versionId = default(Guid?), int? versionNumber = default(int?)) + public ApiResponse GetWorkItemByIdWithHttpInfo(string id, Guid? versionId = default(Guid?), int? versionNumber = default(int?)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetWorkItemById"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetWorkItemById"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4280,20 +4280,20 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (versionId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "versionId", versionId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "versionId", versionId)); } if (versionNumber != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "versionNumber", versionNumber)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "versionNumber", versionNumber)); } // authentication (Bearer or PrivateToken) required @@ -4315,9 +4315,9 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork } /// - /// Get Test Case, Checklist or Shared Step by Id or GlobalId <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item + /// Get Test Case, Checklist or Shared Step by Id or GlobalId <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version number (0 is the last version)\" (optional) @@ -4325,27 +4325,27 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork /// Task of WorkItemModel public async System.Threading.Tasks.Task GetWorkItemByIdAsync(string id, Guid? versionId = default(Guid?), int? versionNumber = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await GetWorkItemByIdWithHttpInfoAsync(id, versionId, versionNumber, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await GetWorkItemByIdWithHttpInfoAsync(id, versionId, versionNumber, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get Test Case, Checklist or Shared Step by Id or GlobalId <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item + /// Get Test Case, Checklist or Shared Step by Id or GlobalId <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>[Optional] User sets work item version number <br>User runs method execution <br>System search work item by identifier <br>[Optional] if User sets work item version identifier, system search work item version by identifier. <br>[Optional] if user sets work item version number, system search work item version by number <br>Otherwise, system search last work item version <br>System returns work item /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version number (0 is the last version)\" (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (WorkItemModel) - public async System.Threading.Tasks.Task> GetWorkItemByIdWithHttpInfoAsync(string id, Guid? versionId = default(Guid?), int? versionNumber = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetWorkItemByIdWithHttpInfoAsync(string id, Guid? versionId = default(Guid?), int? versionNumber = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetWorkItemById"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetWorkItemById"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4356,20 +4356,20 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (versionId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "versionId", versionId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "versionId", versionId)); } if (versionNumber != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "versionNumber", versionNumber)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "versionNumber", versionNumber)); } // authentication (Bearer or PrivateToken) required @@ -4394,28 +4394,28 @@ public TestIt.Client.Client.ApiResponse> GetAutoTestsForWork /// /// Get WorkItem chronology by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search test results of all autotests, related to found work item <br>System sort results by CompletedOn ascending, then by CreatedDate ascending <br>System returns sorted collection of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// List<TestResultChronologyModel> public List GetWorkItemChronology(string id) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetWorkItemChronologyWithHttpInfo(id); + ApiResponse> localVarResponse = GetWorkItemChronologyWithHttpInfo(id); return localVarResponse.Data; } /// /// Get WorkItem chronology by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search test results of all autotests, related to found work item <br>System sort results by CompletedOn ascending, then by CreatedDate ascending <br>System returns sorted collection of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// ApiResponse of List<TestResultChronologyModel> - public TestIt.Client.Client.ApiResponse> GetWorkItemChronologyWithHttpInfo(string id) + public ApiResponse> GetWorkItemChronologyWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetWorkItemChronology"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetWorkItemChronology"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4425,13 +4425,13 @@ public TestIt.Client.Client.ApiResponse> GetWork "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4454,31 +4454,31 @@ public TestIt.Client.Client.ApiResponse> GetWork /// /// Get WorkItem chronology by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search test results of all autotests, related to found work item <br>System sort results by CompletedOn ascending, then by CreatedDate ascending <br>System returns sorted collection of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of List<TestResultChronologyModel> public async System.Threading.Tasks.Task> GetWorkItemChronologyAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetWorkItemChronologyWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetWorkItemChronologyWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get WorkItem chronology by Id or GlobalId <br>Use case <br>User sets work item identifier <br>User runs method execution <br>System search work item by identifier <br>System search test results of all autotests, related to found work item <br>System sort results by CompletedOn ascending, then by CreatedDate ascending <br>System returns sorted collection of test results /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<TestResultChronologyModel>) - public async System.Threading.Tasks.Task>> GetWorkItemChronologyWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetWorkItemChronologyWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetWorkItemChronology"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetWorkItemChronology"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4489,13 +4489,13 @@ public TestIt.Client.Client.ApiResponse> GetWork }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4519,32 +4519,32 @@ public TestIt.Client.Client.ApiResponse> GetWork /// /// Get WorkItem versions <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>User runs method execution <br>System search work item by identifier <br> [Optional] If User set work item version identifier, System search work item version by version identifier Otherwise, system search all version of work item <br>System returns array of work item version models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version (integer format) number\" (optional) /// List<WorkItemVersionModel> public List GetWorkItemVersions(string id, Guid? workItemVersionId = default(Guid?), int? versionNumber = default(int?)) { - TestIt.Client.Client.ApiResponse> localVarResponse = GetWorkItemVersionsWithHttpInfo(id, workItemVersionId, versionNumber); + ApiResponse> localVarResponse = GetWorkItemVersionsWithHttpInfo(id, workItemVersionId, versionNumber); return localVarResponse.Data; } /// /// Get WorkItem versions <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>User runs method execution <br>System search work item by identifier <br> [Optional] If User set work item version identifier, System search work item version by version identifier Otherwise, system search all version of work item <br>System returns array of work item version models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version (integer format) number\" (optional) /// ApiResponse of List<WorkItemVersionModel> - public TestIt.Client.Client.ApiResponse> GetWorkItemVersionsWithHttpInfo(string id, Guid? workItemVersionId = default(Guid?), int? versionNumber = default(int?)) + public ApiResponse> GetWorkItemVersionsWithHttpInfo(string id, Guid? workItemVersionId = default(Guid?), int? versionNumber = default(int?)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetWorkItemVersions"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetWorkItemVersions"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4554,20 +4554,20 @@ public TestIt.Client.Client.ApiResponse> GetWork "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (workItemVersionId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "workItemVersionId", workItemVersionId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "workItemVersionId", workItemVersionId)); } if (versionNumber != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "versionNumber", versionNumber)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "versionNumber", versionNumber)); } // authentication (Bearer or PrivateToken) required @@ -4591,7 +4591,7 @@ public TestIt.Client.Client.ApiResponse> GetWork /// /// Get WorkItem versions <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>User runs method execution <br>System search work item by identifier <br> [Optional] If User set work item version identifier, System search work item version by version identifier Otherwise, system search all version of work item <br>System returns array of work item version models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version (integer format) number\" (optional) @@ -4599,27 +4599,27 @@ public TestIt.Client.Client.ApiResponse> GetWork /// Task of List<WorkItemVersionModel> public async System.Threading.Tasks.Task> GetWorkItemVersionsAsync(string id, Guid? workItemVersionId = default(Guid?), int? versionNumber = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await GetWorkItemVersionsWithHttpInfoAsync(id, workItemVersionId, versionNumber, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await GetWorkItemVersionsWithHttpInfoAsync(id, workItemVersionId, versionNumber, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get WorkItem versions <br>Use case <br>User sets work item identifier <br>[Optional] User sets work item version identifier <br>User runs method execution <br>System search work item by identifier <br> [Optional] If User set work item version identifier, System search work item version by version identifier Otherwise, system search all version of work item <br>System returns array of work item version models (listed in response example) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// WorkItem internal (guid format) or global(integer format) identifier\" /// WorkItem version (guid format) identifier\" (optional) /// WorkItem version (integer format) number\" (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WorkItemVersionModel>) - public async System.Threading.Tasks.Task>> GetWorkItemVersionsWithHttpInfoAsync(string id, Guid? workItemVersionId = default(Guid?), int? versionNumber = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetWorkItemVersionsWithHttpInfoAsync(string id, Guid? workItemVersionId = default(Guid?), int? versionNumber = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetWorkItemVersions"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->GetWorkItemVersions"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4630,20 +4630,20 @@ public TestIt.Client.Client.ApiResponse> GetWork }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter if (workItemVersionId != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "workItemVersionId", workItemVersionId)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "workItemVersionId", workItemVersionId)); } if (versionNumber != null) { - localVarRequestOptions.QueryParameters.Add(TestIt.Client.Client.ClientUtils.ParameterToMultiMap("", "versionNumber", versionNumber)); + localVarRequestOptions.QueryParameters.Add(ClientUtils.ParameterToMultiMap("", "versionNumber", versionNumber)); } // authentication (Bearer or PrivateToken) required @@ -4666,9 +4666,9 @@ public TestIt.Client.Client.ApiResponse> GetWork } /// - /// Permanently delete test case, checklist or shared steps from archive + /// Permanently delete test case, checklist or shared steps from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// public void PurgeWorkItem(string id) @@ -4677,18 +4677,18 @@ public void PurgeWorkItem(string id) } /// - /// Permanently delete test case, checklist or shared steps from archive + /// Permanently delete test case, checklist or shared steps from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse PurgeWorkItemWithHttpInfo(string id) + public ApiResponse PurgeWorkItemWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->PurgeWorkItem"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->PurgeWorkItem"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4698,13 +4698,13 @@ public TestIt.Client.Client.ApiResponse PurgeWorkItemWithHttpInfo(string "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4725,9 +4725,9 @@ public TestIt.Client.Client.ApiResponse PurgeWorkItemWithHttpInfo(string } /// - /// Permanently delete test case, checklist or shared steps from archive + /// Permanently delete test case, checklist or shared steps from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// Cancellation Token to cancel the request. /// Task of void @@ -4737,20 +4737,20 @@ public TestIt.Client.Client.ApiResponse PurgeWorkItemWithHttpInfo(string } /// - /// Permanently delete test case, checklist or shared steps from archive + /// Permanently delete test case, checklist or shared steps from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> PurgeWorkItemWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> PurgeWorkItemWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->PurgeWorkItem"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->PurgeWorkItem"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4761,13 +4761,13 @@ public TestIt.Client.Client.ApiResponse PurgeWorkItemWithHttpInfo(string }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4789,9 +4789,9 @@ public TestIt.Client.Client.ApiResponse PurgeWorkItemWithHttpInfo(string } /// - /// Restore test case, checklist or shared steps from archive + /// Restore test case, checklist or shared steps from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// public void RestoreWorkItem(string id) @@ -4800,18 +4800,18 @@ public void RestoreWorkItem(string id) } /// - /// Restore test case, checklist or shared steps from archive + /// Restore test case, checklist or shared steps from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse RestoreWorkItemWithHttpInfo(string id) + public ApiResponse RestoreWorkItemWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->RestoreWorkItem"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->RestoreWorkItem"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4821,13 +4821,13 @@ public TestIt.Client.Client.ApiResponse RestoreWorkItemWithHttpInfo(stri "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4848,9 +4848,9 @@ public TestIt.Client.Client.ApiResponse RestoreWorkItemWithHttpInfo(stri } /// - /// Restore test case, checklist or shared steps from archive + /// Restore test case, checklist or shared steps from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// Cancellation Token to cancel the request. /// Task of void @@ -4860,20 +4860,20 @@ public TestIt.Client.Client.ApiResponse RestoreWorkItemWithHttpInfo(stri } /// - /// Restore test case, checklist or shared steps from archive + /// Restore test case, checklist or shared steps from archive /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> RestoreWorkItemWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> RestoreWorkItemWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->RestoreWorkItem"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsApi->RestoreWorkItem"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -4884,13 +4884,13 @@ public TestIt.Client.Client.ApiResponse RestoreWorkItemWithHttpInfo(stri }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -4914,7 +4914,7 @@ public TestIt.Client.Client.ApiResponse RestoreWorkItemWithHttpInfo(stri /// /// Update Test Case, Checklist or Shared Step <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System updates work item by identifier <br>System returns updated work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void UpdateWorkItem(UpdateWorkItemRequest updateWorkItemRequest = default(UpdateWorkItemRequest)) @@ -4925,12 +4925,12 @@ public TestIt.Client.Client.ApiResponse RestoreWorkItemWithHttpInfo(stri /// /// Update Test Case, Checklist or Shared Step <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System updates work item by identifier <br>System returns updated work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse UpdateWorkItemWithHttpInfo(UpdateWorkItemRequest updateWorkItemRequest = default(UpdateWorkItemRequest)) + public ApiResponse UpdateWorkItemWithHttpInfo(UpdateWorkItemRequest updateWorkItemRequest = default(UpdateWorkItemRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -4941,10 +4941,10 @@ public TestIt.Client.Client.ApiResponse RestoreWorkItemWithHttpInfo(stri "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateWorkItemRequest; @@ -4970,7 +4970,7 @@ public TestIt.Client.Client.ApiResponse RestoreWorkItemWithHttpInfo(stri /// /// Update Test Case, Checklist or Shared Step <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System updates work item by identifier <br>System returns updated work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -4982,14 +4982,14 @@ public TestIt.Client.Client.ApiResponse RestoreWorkItemWithHttpInfo(stri /// /// Update Test Case, Checklist or Shared Step <br>Use case <br>User sets work item properties (listed in request parameters) <br>User runs method execution <br>System updates work item by identifier <br>System returns updated work item model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateWorkItemWithHttpInfoAsync(UpdateWorkItemRequest updateWorkItemRequest = default(UpdateWorkItemRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateWorkItemWithHttpInfoAsync(UpdateWorkItemRequest updateWorkItemRequest = default(UpdateWorkItemRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -5001,10 +5001,10 @@ public TestIt.Client.Client.ApiResponse RestoreWorkItemWithHttpInfo(stri }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = updateWorkItemRequest; diff --git a/src/TestIt.Client/Api/WorkItemsCommentsApi.cs b/src/TestIT.ApiClient/Api/WorkItemsCommentsApi.cs similarity index 75% rename from src/TestIt.Client/Api/WorkItemsCommentsApi.cs rename to src/TestIT.ApiClient/Api/WorkItemsCommentsApi.cs index b4b69748..b731e64c 100644 --- a/src/TestIt.Client/Api/WorkItemsCommentsApi.cs +++ b/src/TestIT.ApiClient/Api/WorkItemsCommentsApi.cs @@ -15,10 +15,10 @@ using System.Net; using System.Net.Http; using System.Net.Mime; -using TestIt.Client.Client; -using TestIt.Client.Model; +using TestIT.ApiClient.Client; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Api +namespace TestIT.ApiClient.Api { /// @@ -33,7 +33,7 @@ public interface IWorkItemsCommentsApiSync : IApiAccessor /// /// <br>Use case <br>User sets comment identifier <br>User runs method execution <br>System delete comment <br>System returns success status code /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Comment internal (guid format) identifier /// void ApiV2WorkItemsCommentsCommentIdDelete(Guid commentId); @@ -44,7 +44,7 @@ public interface IWorkItemsCommentsApiSync : IApiAccessor /// /// <br>Use case <br>User sets comment identifier <br>User runs method execution <br>System delete comment <br>System returns success status code /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Comment internal (guid format) identifier /// ApiResponse of Object(void) ApiResponse ApiV2WorkItemsCommentsCommentIdDeleteWithHttpInfo(Guid commentId); @@ -54,7 +54,7 @@ public interface IWorkItemsCommentsApiSync : IApiAccessor /// /// <br>Use case <br>User sets comment properties (listed in request parameters) <br>User runs method execution <br>System creates comment <br>System returns comment model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// WorkItemCommentModel WorkItemCommentModel ApiV2WorkItemsCommentsPost(ApiV2WorkItemsCommentsPostRequest apiV2WorkItemsCommentsPostRequest = default(ApiV2WorkItemsCommentsPostRequest)); @@ -65,14 +65,14 @@ public interface IWorkItemsCommentsApiSync : IApiAccessor /// /// <br>Use case <br>User sets comment properties (listed in request parameters) <br>User runs method execution <br>System creates comment <br>System returns comment model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of WorkItemCommentModel ApiResponse ApiV2WorkItemsCommentsPostWithHttpInfo(ApiV2WorkItemsCommentsPostRequest apiV2WorkItemsCommentsPostRequest = default(ApiV2WorkItemsCommentsPostRequest)); /// /// Update work item comment /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// void ApiV2WorkItemsCommentsPut(ApiV2WorkItemsCommentsPutRequest apiV2WorkItemsCommentsPutRequest = default(ApiV2WorkItemsCommentsPutRequest)); @@ -81,16 +81,16 @@ public interface IWorkItemsCommentsApiSync : IApiAccessor /// Update work item comment /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) ApiResponse ApiV2WorkItemsCommentsPutWithHttpInfo(ApiV2WorkItemsCommentsPutRequest apiV2WorkItemsCommentsPutRequest = default(ApiV2WorkItemsCommentsPutRequest)); /// /// Get work item comments /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// List<WorkItemCommentModel> List ApiV2WorkItemsIdCommentsGet(string id); @@ -99,9 +99,9 @@ public interface IWorkItemsCommentsApiSync : IApiAccessor /// Get work item comments /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// ApiResponse of List<WorkItemCommentModel> ApiResponse> ApiV2WorkItemsIdCommentsGetWithHttpInfo(string id); @@ -120,7 +120,7 @@ public interface IWorkItemsCommentsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets comment identifier <br>User runs method execution <br>System delete comment <br>System returns success status code /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Comment internal (guid format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -132,7 +132,7 @@ public interface IWorkItemsCommentsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets comment identifier <br>User runs method execution <br>System delete comment <br>System returns success status code /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Comment internal (guid format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -143,7 +143,7 @@ public interface IWorkItemsCommentsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets comment properties (listed in request parameters) <br>User runs method execution <br>System creates comment <br>System returns comment model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of WorkItemCommentModel @@ -155,7 +155,7 @@ public interface IWorkItemsCommentsApiAsync : IApiAccessor /// /// <br>Use case <br>User sets comment properties (listed in request parameters) <br>User runs method execution <br>System creates comment <br>System returns comment model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (WorkItemCommentModel) @@ -164,9 +164,9 @@ public interface IWorkItemsCommentsApiAsync : IApiAccessor /// Update work item comment /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -176,9 +176,9 @@ public interface IWorkItemsCommentsApiAsync : IApiAccessor /// Update work item comment /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -187,9 +187,9 @@ public interface IWorkItemsCommentsApiAsync : IApiAccessor /// Get work item comments /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// Cancellation Token to cancel the request. /// Task of List<WorkItemCommentModel> @@ -199,9 +199,9 @@ public interface IWorkItemsCommentsApiAsync : IApiAccessor /// Get work item comments /// /// - /// + /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WorkItemCommentModel>) @@ -222,7 +222,7 @@ public interface IWorkItemsCommentsApi : IWorkItemsCommentsApiSync, IWorkItemsCo /// public partial class WorkItemsCommentsApi : IDisposable, IWorkItemsCommentsApi { - private TestIt.Client.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. @@ -244,14 +244,14 @@ public WorkItemsCommentsApi() : this((string)null) /// public WorkItemsCommentsApi(string basePath) { - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -262,18 +262,18 @@ public WorkItemsCommentsApi(string basePath) /// An instance of Configuration. /// /// - public WorkItemsCommentsApi(TestIt.Client.Client.Configuration configuration) + public WorkItemsCommentsApi(Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(this.Configuration.BasePath); + this.ApiClient = new Client.ApiClient(this.Configuration.BasePath); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -308,14 +308,14 @@ public WorkItemsCommentsApi(HttpClient client, string basePath, HttpClientHandle { if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, - new TestIt.Client.Client.Configuration { BasePath = basePath } + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, + new Configuration { BasePath = basePath } ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -330,19 +330,19 @@ public WorkItemsCommentsApi(HttpClient client, string basePath, HttpClientHandle /// Some configuration settings will not be applied without passing an HttpClientHandler. /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// - public WorkItemsCommentsApi(HttpClient client, TestIt.Client.Client.Configuration configuration, HttpClientHandler handler = null) + public WorkItemsCommentsApi(HttpClient client, Configuration configuration, HttpClientHandler handler = null) { if (configuration == null) throw new ArgumentNullException("configuration"); if (client == null) throw new ArgumentNullException("client"); - this.Configuration = TestIt.Client.Client.Configuration.MergeConfigurations( - TestIt.Client.Client.GlobalConfiguration.Instance, + this.Configuration = TestIT.ApiClient.Client.Configuration.MergeConfigurations( + GlobalConfiguration.Instance, configuration ); - this.ApiClient = new TestIt.Client.Client.ApiClient(client, this.Configuration.BasePath, handler); + this.ApiClient = new Client.ApiClient(client, this.Configuration.BasePath, handler); this.Client = this.ApiClient; this.AsynchronousClient = this.ApiClient; - ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -353,7 +353,7 @@ public WorkItemsCommentsApi(HttpClient client, TestIt.Client.Client.Configuratio /// The client interface for asynchronous API access. /// The configuration object. /// - public WorkItemsCommentsApi(TestIt.Client.Client.ISynchronousClient client, TestIt.Client.Client.IAsynchronousClient asyncClient, TestIt.Client.Client.IReadableConfiguration configuration) + public WorkItemsCommentsApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -362,7 +362,7 @@ public WorkItemsCommentsApi(TestIt.Client.Client.ISynchronousClient client, Test this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = TestIt.Client.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = TestIT.ApiClient.Client.Configuration.DefaultExceptionFactory; } /// @@ -376,17 +376,17 @@ public void Dispose() /// /// Holds the ApiClient if created /// - public TestIt.Client.Client.ApiClient ApiClient { get; set; } = null; + public Client.ApiClient ApiClient { get; set; } = null; /// /// The client for accessing this underlying API asynchronously. /// - public TestIt.Client.Client.IAsynchronousClient AsynchronousClient { get; set; } + public IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public TestIt.Client.Client.ISynchronousClient Client { get; set; } + public ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -401,12 +401,12 @@ public string GetBasePath() /// Gets or sets the configuration object /// /// An instance of the Configuration - public TestIt.Client.Client.IReadableConfiguration Configuration { get; set; } + public IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public TestIt.Client.Client.ExceptionFactory ExceptionFactory + public ExceptionFactory ExceptionFactory { get { @@ -422,7 +422,7 @@ public TestIt.Client.Client.ExceptionFactory ExceptionFactory /// /// Delete WorkItem comment <br>Use case <br>User sets comment identifier <br>User runs method execution <br>System delete comment <br>System returns success status code /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Comment internal (guid format) identifier /// public void ApiV2WorkItemsCommentsCommentIdDelete(Guid commentId) @@ -433,12 +433,12 @@ public void ApiV2WorkItemsCommentsCommentIdDelete(Guid commentId) /// /// Delete WorkItem comment <br>Use case <br>User sets comment identifier <br>User runs method execution <br>System delete comment <br>System returns success status code /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Comment internal (guid format) identifier /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdDeleteWithHttpInfo(Guid commentId) + public ApiResponse ApiV2WorkItemsCommentsCommentIdDeleteWithHttpInfo(Guid commentId) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -448,13 +448,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("commentId", TestIt.Client.Client.ClientUtils.ParameterToString(commentId)); // path parameter + localVarRequestOptions.PathParameters.Add("commentId", ClientUtils.ParameterToString(commentId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -477,7 +477,7 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD /// /// Delete WorkItem comment <br>Use case <br>User sets comment identifier <br>User runs method execution <br>System delete comment <br>System returns success status code /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Comment internal (guid format) identifier /// Cancellation Token to cancel the request. /// Task of void @@ -489,14 +489,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD /// /// Delete WorkItem comment <br>Use case <br>User sets comment identifier <br>User runs method execution <br>System delete comment <br>System returns success status code /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Comment internal (guid format) identifier /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2WorkItemsCommentsCommentIdDeleteWithHttpInfoAsync(Guid commentId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WorkItemsCommentsCommentIdDeleteWithHttpInfoAsync(Guid commentId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -507,13 +507,13 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("commentId", TestIt.Client.Client.ClientUtils.ParameterToString(commentId)); // path parameter + localVarRequestOptions.PathParameters.Add("commentId", ClientUtils.ParameterToString(commentId)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -537,24 +537,24 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD /// /// Create WorkItem comment <br>Use case <br>User sets comment properties (listed in request parameters) <br>User runs method execution <br>System creates comment <br>System returns comment model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// WorkItemCommentModel public WorkItemCommentModel ApiV2WorkItemsCommentsPost(ApiV2WorkItemsCommentsPostRequest apiV2WorkItemsCommentsPostRequest = default(ApiV2WorkItemsCommentsPostRequest)) { - TestIt.Client.Client.ApiResponse localVarResponse = ApiV2WorkItemsCommentsPostWithHttpInfo(apiV2WorkItemsCommentsPostRequest); + ApiResponse localVarResponse = ApiV2WorkItemsCommentsPostWithHttpInfo(apiV2WorkItemsCommentsPostRequest); return localVarResponse.Data; } /// /// Create WorkItem comment <br>Use case <br>User sets comment properties (listed in request parameters) <br>User runs method execution <br>System creates comment <br>System returns comment model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of WorkItemCommentModel - public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsPostWithHttpInfo(ApiV2WorkItemsCommentsPostRequest apiV2WorkItemsCommentsPostRequest = default(ApiV2WorkItemsCommentsPostRequest)) + public ApiResponse ApiV2WorkItemsCommentsPostWithHttpInfo(ApiV2WorkItemsCommentsPostRequest apiV2WorkItemsCommentsPostRequest = default(ApiV2WorkItemsCommentsPostRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -565,10 +565,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2WorkItemsCommentsPostRequest; @@ -594,27 +594,27 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD /// /// Create WorkItem comment <br>Use case <br>User sets comment properties (listed in request parameters) <br>User runs method execution <br>System creates comment <br>System returns comment model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of WorkItemCommentModel public async System.Threading.Tasks.Task ApiV2WorkItemsCommentsPostAsync(ApiV2WorkItemsCommentsPostRequest apiV2WorkItemsCommentsPostRequest = default(ApiV2WorkItemsCommentsPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse localVarResponse = await ApiV2WorkItemsCommentsPostWithHttpInfoAsync(apiV2WorkItemsCommentsPostRequest, cancellationToken).ConfigureAwait(false); + ApiResponse localVarResponse = await ApiV2WorkItemsCommentsPostWithHttpInfoAsync(apiV2WorkItemsCommentsPostRequest, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create WorkItem comment <br>Use case <br>User sets comment properties (listed in request parameters) <br>User runs method execution <br>System creates comment <br>System returns comment model (listed in response parameters) /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse (WorkItemCommentModel) - public async System.Threading.Tasks.Task> ApiV2WorkItemsCommentsPostWithHttpInfoAsync(ApiV2WorkItemsCommentsPostRequest apiV2WorkItemsCommentsPostRequest = default(ApiV2WorkItemsCommentsPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WorkItemsCommentsPostWithHttpInfoAsync(ApiV2WorkItemsCommentsPostRequest apiV2WorkItemsCommentsPostRequest = default(ApiV2WorkItemsCommentsPostRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -626,10 +626,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2WorkItemsCommentsPostRequest; @@ -654,9 +654,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD } /// - /// Update work item comment + /// Update work item comment /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// public void ApiV2WorkItemsCommentsPut(ApiV2WorkItemsCommentsPutRequest apiV2WorkItemsCommentsPutRequest = default(ApiV2WorkItemsCommentsPutRequest)) @@ -665,14 +665,14 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD } /// - /// Update work item comment + /// Update work item comment /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// ApiResponse of Object(void) - public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsPutWithHttpInfo(ApiV2WorkItemsCommentsPutRequest apiV2WorkItemsCommentsPutRequest = default(ApiV2WorkItemsCommentsPutRequest)) + public ApiResponse ApiV2WorkItemsCommentsPutWithHttpInfo(ApiV2WorkItemsCommentsPutRequest apiV2WorkItemsCommentsPutRequest = default(ApiV2WorkItemsCommentsPutRequest)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -683,10 +683,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2WorkItemsCommentsPutRequest; @@ -710,9 +710,9 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD } /// - /// Update work item comment + /// Update work item comment /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of void @@ -722,16 +722,16 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD } /// - /// Update work item comment + /// Update work item comment /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ApiV2WorkItemsCommentsPutWithHttpInfoAsync(ApiV2WorkItemsCommentsPutRequest apiV2WorkItemsCommentsPutRequest = default(ApiV2WorkItemsCommentsPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ApiV2WorkItemsCommentsPutWithHttpInfoAsync(ApiV2WorkItemsCommentsPutRequest apiV2WorkItemsCommentsPutRequest = default(ApiV2WorkItemsCommentsPutRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { "application/json" @@ -743,10 +743,10 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); localVarRequestOptions.Data = apiV2WorkItemsCommentsPutRequest; @@ -771,30 +771,30 @@ public TestIt.Client.Client.ApiResponse ApiV2WorkItemsCommentsCommentIdD } /// - /// Get work item comments + /// Get work item comments /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// List<WorkItemCommentModel> public List ApiV2WorkItemsIdCommentsGet(string id) { - TestIt.Client.Client.ApiResponse> localVarResponse = ApiV2WorkItemsIdCommentsGetWithHttpInfo(id); + ApiResponse> localVarResponse = ApiV2WorkItemsIdCommentsGetWithHttpInfo(id); return localVarResponse.Data; } /// - /// Get work item comments + /// Get work item comments /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// ApiResponse of List<WorkItemCommentModel> - public TestIt.Client.Client.ApiResponse> ApiV2WorkItemsIdCommentsGetWithHttpInfo(string id) + public ApiResponse> ApiV2WorkItemsIdCommentsGetWithHttpInfo(string id) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsCommentsApi->ApiV2WorkItemsIdCommentsGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsCommentsApi->ApiV2WorkItemsIdCommentsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -804,13 +804,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkIte "application/json" }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) @@ -831,33 +831,33 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkIte } /// - /// Get work item comments + /// Get work item comments /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// Cancellation Token to cancel the request. /// Task of List<WorkItemCommentModel> public async System.Threading.Tasks.Task> ApiV2WorkItemsIdCommentsGetAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - TestIt.Client.Client.ApiResponse> localVarResponse = await ApiV2WorkItemsIdCommentsGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); + ApiResponse> localVarResponse = await ApiV2WorkItemsIdCommentsGetWithHttpInfoAsync(id, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// - /// Get work item comments + /// Get work item comments /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Unique or global ID of the work item /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<WorkItemCommentModel>) - public async System.Threading.Tasks.Task>> ApiV2WorkItemsIdCommentsGetWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ApiV2WorkItemsIdCommentsGetWithHttpInfoAsync(string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) - throw new TestIt.Client.Client.ApiException(400, "Missing required parameter 'id' when calling WorkItemsCommentsApi->ApiV2WorkItemsIdCommentsGet"); + throw new ApiException(400, "Missing required parameter 'id' when calling WorkItemsCommentsApi->ApiV2WorkItemsIdCommentsGet"); - TestIt.Client.Client.RequestOptions localVarRequestOptions = new TestIt.Client.Client.RequestOptions(); + RequestOptions localVarRequestOptions = new RequestOptions(); string[] _contentTypes = new string[] { }; @@ -868,13 +868,13 @@ public TestIt.Client.Client.ApiResponse> ApiV2WorkIte }; - var localVarContentType = TestIt.Client.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); - var localVarAccept = TestIt.Client.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); - localVarRequestOptions.PathParameters.Add("id", TestIt.Client.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", ClientUtils.ParameterToString(id)); // path parameter // authentication (Bearer or PrivateToken) required if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) diff --git a/src/TestIt.Client/Client/ApiClient.cs b/src/TestIT.ApiClient/Client/ApiClient.cs similarity index 98% rename from src/TestIt.Client/Client/ApiClient.cs rename to src/TestIT.ApiClient/Client/ApiClient.cs index 8ccb1712..d4fefe56 100644 --- a/src/TestIt.Client/Client/ApiClient.cs +++ b/src/TestIT.ApiClient/Client/ApiClient.cs @@ -28,8 +28,9 @@ using System.Net.Http; using System.Net.Http.Headers; using Polly; +using TestIT.ApiClient.Model; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// To Serialize/Deserialize JSON using our custom logic, but only when ContentType is JSON. @@ -69,10 +70,10 @@ public CustomJsonCodec(JsonSerializerSettings serializerSettings, IReadableConfi /// A JSON string. public string Serialize(object obj) { - if (obj != null && obj is TestIt.Client.Model.AbstractOpenAPISchema) + if (obj != null && obj is AbstractOpenAPISchema) { // the object to be serialized is an oneOf/anyOf schema - return ((TestIt.Client.Model.AbstractOpenAPISchema)obj).ToJson(); + return ((AbstractOpenAPISchema)obj).ToJson(); } else { @@ -199,7 +200,7 @@ public partial class ApiClient : IDisposable, ISynchronousClient, IAsynchronousC /// It's better to reuse the HttpClient and HttpClientHandler. /// public ApiClient() : - this(TestIt.Client.Client.GlobalConfiguration.Instance.BasePath) + this(GlobalConfiguration.Instance.BasePath) { } @@ -231,7 +232,7 @@ public ApiClient(string basePath) /// The features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. /// public ApiClient(HttpClient client, HttpClientHandler handler = null) : - this(client, TestIt.Client.Client.GlobalConfiguration.Instance.BasePath, handler) + this(client, GlobalConfiguration.Instance.BasePath, handler) { } @@ -517,7 +518,7 @@ private async Task> ExecAsync(HttpRequestMessage req, object responseData = await deserializer.Deserialize(response).ConfigureAwait(false); // if the response type is oneOf/anyOf, call FromJSON to deserialize the data - if (typeof(TestIt.Client.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) + if (typeof(AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) { responseData = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); } diff --git a/src/TestIt.Client/Client/ApiException.cs b/src/TestIT.ApiClient/Client/ApiException.cs similarity index 98% rename from src/TestIt.Client/Client/ApiException.cs rename to src/TestIT.ApiClient/Client/ApiException.cs index 832d78bc..bfed9753 100644 --- a/src/TestIt.Client/Client/ApiException.cs +++ b/src/TestIT.ApiClient/Client/ApiException.cs @@ -10,7 +10,7 @@ using System; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// API Exception diff --git a/src/TestIt.Client/Client/ApiResponse.cs b/src/TestIT.ApiClient/Client/ApiResponse.cs similarity index 99% rename from src/TestIt.Client/Client/ApiResponse.cs rename to src/TestIT.ApiClient/Client/ApiResponse.cs index c693a598..782c8914 100644 --- a/src/TestIt.Client/Client/ApiResponse.cs +++ b/src/TestIT.ApiClient/Client/ApiResponse.cs @@ -12,7 +12,7 @@ using System.Collections.Generic; using System.Net; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// Provides a non-generic contract for the ApiResponse wrapper. diff --git a/src/TestIt.Client/Client/ClientUtils.cs b/src/TestIT.ApiClient/Client/ClientUtils.cs similarity index 99% rename from src/TestIt.Client/Client/ClientUtils.cs rename to src/TestIT.ApiClient/Client/ClientUtils.cs index 99eb2831..9480a183 100644 --- a/src/TestIt.Client/Client/ClientUtils.cs +++ b/src/TestIT.ApiClient/Client/ClientUtils.cs @@ -18,7 +18,7 @@ using System.Text; using System.Text.RegularExpressions; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// Utility functions providing some benefit to API client consumers. diff --git a/src/TestIt.Client/Client/Configuration.cs b/src/TestIT.ApiClient/Client/Configuration.cs similarity index 99% rename from src/TestIt.Client/Client/Configuration.cs rename to src/TestIT.ApiClient/Client/Configuration.cs index 456c66a6..d6a35393 100644 --- a/src/TestIt.Client/Client/Configuration.cs +++ b/src/TestIT.ApiClient/Client/Configuration.cs @@ -19,7 +19,7 @@ using System.Text; using System.Net.Http; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// Represents a set of configuration settings @@ -513,7 +513,7 @@ private string GetServerUrl(IList> servers, /// public static string ToDebugReport() { - string report = "C# SDK (TestIt.Client) Debug Report:\n"; + string report = "C# SDK (TestIT.ApiClient) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; report += " Version of the API: v2.0\n"; diff --git a/src/TestIt.Client/Client/ExceptionFactory.cs b/src/TestIT.ApiClient/Client/ExceptionFactory.cs similarity index 94% rename from src/TestIt.Client/Client/ExceptionFactory.cs rename to src/TestIT.ApiClient/Client/ExceptionFactory.cs index 0bdabaef..9a851127 100644 --- a/src/TestIt.Client/Client/ExceptionFactory.cs +++ b/src/TestIT.ApiClient/Client/ExceptionFactory.cs @@ -10,7 +10,7 @@ using System; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// A delegate to ExceptionFactory method diff --git a/src/TestIt.Client/Client/FileParameter.cs b/src/TestIT.ApiClient/Client/FileParameter.cs similarity index 98% rename from src/TestIt.Client/Client/FileParameter.cs rename to src/TestIT.ApiClient/Client/FileParameter.cs index 67a497f7..c75a77d0 100644 --- a/src/TestIt.Client/Client/FileParameter.cs +++ b/src/TestIT.ApiClient/Client/FileParameter.cs @@ -10,7 +10,7 @@ using System.IO; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// @@ -77,4 +77,4 @@ public FileParameter(string filename, string contentType, Stream content) /// FileParameter public static implicit operator FileParameter(Stream s) => new FileParameter(s); } -} \ No newline at end of file +} diff --git a/src/TestIt.Client/Client/GlobalConfiguration.cs b/src/TestIT.ApiClient/Client/GlobalConfiguration.cs similarity index 98% rename from src/TestIt.Client/Client/GlobalConfiguration.cs rename to src/TestIT.ApiClient/Client/GlobalConfiguration.cs index 7b0bf7ec..af41f204 100644 --- a/src/TestIt.Client/Client/GlobalConfiguration.cs +++ b/src/TestIT.ApiClient/Client/GlobalConfiguration.cs @@ -10,7 +10,7 @@ using System.Collections.Generic; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// provides a compile-time extension point for globally configuring diff --git a/src/TestIt.Client/Client/IApiAccessor.cs b/src/TestIT.ApiClient/Client/IApiAccessor.cs similarity index 96% rename from src/TestIt.Client/Client/IApiAccessor.cs rename to src/TestIT.ApiClient/Client/IApiAccessor.cs index d17a9772..b4a57e8a 100644 --- a/src/TestIt.Client/Client/IApiAccessor.cs +++ b/src/TestIT.ApiClient/Client/IApiAccessor.cs @@ -10,7 +10,7 @@ using System; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// Represents configuration aspects required to interact with the API endpoints. diff --git a/src/TestIt.Client/Client/IAsynchronousClient.cs b/src/TestIT.ApiClient/Client/IAsynchronousClient.cs similarity index 99% rename from src/TestIt.Client/Client/IAsynchronousClient.cs rename to src/TestIT.ApiClient/Client/IAsynchronousClient.cs index 700915d8..e43f381f 100644 --- a/src/TestIt.Client/Client/IAsynchronousClient.cs +++ b/src/TestIT.ApiClient/Client/IAsynchronousClient.cs @@ -11,7 +11,7 @@ using System; using System.Threading.Tasks; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// Contract for Asynchronous RESTful API interactions. diff --git a/src/TestIt.Client/Client/IReadableConfiguration.cs b/src/TestIT.ApiClient/Client/IReadableConfiguration.cs similarity index 99% rename from src/TestIt.Client/Client/IReadableConfiguration.cs rename to src/TestIT.ApiClient/Client/IReadableConfiguration.cs index 28d057d4..59b7790a 100644 --- a/src/TestIt.Client/Client/IReadableConfiguration.cs +++ b/src/TestIT.ApiClient/Client/IReadableConfiguration.cs @@ -13,7 +13,7 @@ using System.Net; using System.Security.Cryptography.X509Certificates; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// Represents a readable-only configuration contract. diff --git a/src/TestIt.Client/Client/ISynchronousClient.cs b/src/TestIT.ApiClient/Client/ISynchronousClient.cs similarity index 99% rename from src/TestIt.Client/Client/ISynchronousClient.cs rename to src/TestIT.ApiClient/Client/ISynchronousClient.cs index 6bbf133f..af56d4f9 100644 --- a/src/TestIt.Client/Client/ISynchronousClient.cs +++ b/src/TestIT.ApiClient/Client/ISynchronousClient.cs @@ -11,7 +11,7 @@ using System; using System.IO; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// Contract for Synchronous RESTful API interactions. diff --git a/src/TestIt.Client/Client/Multimap.cs b/src/TestIT.ApiClient/Client/Multimap.cs similarity index 99% rename from src/TestIt.Client/Client/Multimap.cs rename to src/TestIT.ApiClient/Client/Multimap.cs index 92a405c0..101485f7 100644 --- a/src/TestIt.Client/Client/Multimap.cs +++ b/src/TestIT.ApiClient/Client/Multimap.cs @@ -12,7 +12,7 @@ using System.Collections; using System.Collections.Generic; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// A dictionary in which one key has many associated values. diff --git a/src/TestIt.Client/Client/OpenAPIDateConverter.cs b/src/TestIT.ApiClient/Client/OpenAPIDateConverter.cs similarity index 96% rename from src/TestIt.Client/Client/OpenAPIDateConverter.cs rename to src/TestIT.ApiClient/Client/OpenAPIDateConverter.cs index 68cb79a0..36be8daa 100644 --- a/src/TestIt.Client/Client/OpenAPIDateConverter.cs +++ b/src/TestIT.ApiClient/Client/OpenAPIDateConverter.cs @@ -9,7 +9,7 @@ using Newtonsoft.Json.Converters; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// Formatter for 'date' openapi formats ss defined by full-date - RFC3339 diff --git a/src/TestIt.Client/Client/RequestOptions.cs b/src/TestIT.ApiClient/Client/RequestOptions.cs similarity index 98% rename from src/TestIt.Client/Client/RequestOptions.cs rename to src/TestIT.ApiClient/Client/RequestOptions.cs index 69708baf..516d3ad8 100644 --- a/src/TestIt.Client/Client/RequestOptions.cs +++ b/src/TestIT.ApiClient/Client/RequestOptions.cs @@ -13,7 +13,7 @@ using System.IO; using System.Net; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// A container for generalized request inputs. This type allows consumers to extend the request functionality diff --git a/src/TestIt.Client/Client/RetryConfiguration.cs b/src/TestIT.ApiClient/Client/RetryConfiguration.cs similarity index 95% rename from src/TestIt.Client/Client/RetryConfiguration.cs rename to src/TestIT.ApiClient/Client/RetryConfiguration.cs index e58ed5ba..157d6ce7 100644 --- a/src/TestIt.Client/Client/RetryConfiguration.cs +++ b/src/TestIT.ApiClient/Client/RetryConfiguration.cs @@ -11,7 +11,7 @@ using Polly; using System.Net.Http; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// Configuration class to set the polly retry policies to be applied to the requests. diff --git a/src/TestIt.Client/Client/WebRequestPathBuilder.cs b/src/TestIT.ApiClient/Client/WebRequestPathBuilder.cs similarity index 97% rename from src/TestIt.Client/Client/WebRequestPathBuilder.cs rename to src/TestIT.ApiClient/Client/WebRequestPathBuilder.cs index 5ff78ef0..288ac2f8 100644 --- a/src/TestIt.Client/Client/WebRequestPathBuilder.cs +++ b/src/TestIT.ApiClient/Client/WebRequestPathBuilder.cs @@ -10,7 +10,7 @@ using System; using System.Collections.Generic; -namespace TestIt.Client.Client +namespace TestIT.ApiClient.Client { /// /// A URI builder diff --git a/src/TestIt.Client/Model/AbstractOpenAPISchema.cs b/src/TestIT.ApiClient/Model/AbstractOpenAPISchema.cs similarity index 98% rename from src/TestIt.Client/Model/AbstractOpenAPISchema.cs rename to src/TestIT.ApiClient/Model/AbstractOpenAPISchema.cs index 9676bb9f..9f3bac08 100644 --- a/src/TestIt.Client/Model/AbstractOpenAPISchema.cs +++ b/src/TestIT.ApiClient/Model/AbstractOpenAPISchema.cs @@ -12,7 +12,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Serialization; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Abstract base class for oneOf, anyOf schemas in the OpenAPI specification diff --git a/src/TestIt.Client/Model/ActionUpdate.cs b/src/TestIT.ApiClient/Model/ActionUpdate.cs similarity index 89% rename from src/TestIt.Client/Model/ActionUpdate.cs rename to src/TestIT.ApiClient/Model/ActionUpdate.cs index 8b156233..05d4fde2 100644 --- a/src/TestIt.Client/Model/ActionUpdate.cs +++ b/src/TestIT.ApiClient/Model/ActionUpdate.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines ActionUpdate diff --git a/src/TestIt.Client/Model/ApiV2AttachmentsPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2AttachmentsPostRequest.cs similarity index 91% rename from src/TestIt.Client/Model/ApiV2AttachmentsPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2AttachmentsPostRequest.cs index 4ddffd80..9020152b 100644 --- a/src/TestIt.Client/Model/ApiV2AttachmentsPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2AttachmentsPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2AttachmentsPostRequest @@ -36,7 +36,7 @@ public partial class ApiV2AttachmentsPostRequest : IEquatable class. /// /// file. - public ApiV2AttachmentsPostRequest(FileParameter file = default(FileParameter)) + public ApiV2AttachmentsPostRequest(Client.FileParameter file = default(Client.FileParameter)) { this.File = file; } @@ -45,7 +45,7 @@ public partial class ApiV2AttachmentsPostRequest : IEquatable [DataMember(Name = "file", EmitDefaultValue = false)] - public FileParameter File { get; set; } + public Client.FileParameter File { get; set; } /// /// Returns the string presentation of the object @@ -90,7 +90,7 @@ public bool Equals(ApiV2AttachmentsPostRequest input) { return false; } - return + return ( this.File == input.File || (this.File != null && diff --git a/src/TestIt.Client/Model/ApiV2AutoTestsFlakyBulkPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2AutoTestsFlakyBulkPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2AutoTestsFlakyBulkPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2AutoTestsFlakyBulkPostRequest.cs index d42d6895..585fff98 100644 --- a/src/TestIt.Client/Model/ApiV2AutoTestsFlakyBulkPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2AutoTestsFlakyBulkPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2AutoTestsFlakyBulkPostRequest @@ -105,12 +105,12 @@ public bool Equals(ApiV2AutoTestsFlakyBulkPostRequest input) { return false; } - return + return ( this.AutotestSelect == input.AutotestSelect || (this.AutotestSelect != null && this.AutotestSelect.Equals(input.AutotestSelect)) - ) && + ) && ( this.Value == input.Value || this.Value.Equals(input.Value) diff --git a/src/TestIt.Client/Model/ApiV2AutoTestsIdTestResultsSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2AutoTestsIdTestResultsSearchPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2AutoTestsIdTestResultsSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2AutoTestsIdTestResultsSearchPostRequest.cs index de36373d..c9f8d63d 100644 --- a/src/TestIt.Client/Model/ApiV2AutoTestsIdTestResultsSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2AutoTestsIdTestResultsSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2AutoTestsIdTestResultsSearchPostRequest @@ -144,42 +144,42 @@ public bool Equals(ApiV2AutoTestsIdTestResultsSearchPostRequest input) { return false; } - return + return ( this.Outcomes == input.Outcomes || this.Outcomes != null && input.Outcomes != null && this.Outcomes.SequenceEqual(input.Outcomes) - ) && + ) && ( this.TestPlanIds == input.TestPlanIds || this.TestPlanIds != null && input.TestPlanIds != null && this.TestPlanIds.SequenceEqual(input.TestPlanIds) - ) && + ) && ( this.TestRunIds == input.TestRunIds || this.TestRunIds != null && input.TestRunIds != null && this.TestRunIds.SequenceEqual(input.TestRunIds) - ) && + ) && ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.UserIds == input.UserIds || this.UserIds != null && input.UserIds != null && this.UserIds.SequenceEqual(input.UserIds) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && diff --git a/src/TestIt.Client/Model/ApiV2AutoTestsSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2AutoTestsSearchPostRequest.cs similarity index 95% rename from src/TestIt.Client/Model/ApiV2AutoTestsSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2AutoTestsSearchPostRequest.cs index 629184b6..d9f41007 100644 --- a/src/TestIt.Client/Model/ApiV2AutoTestsSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2AutoTestsSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2AutoTestsSearchPostRequest @@ -99,12 +99,12 @@ public bool Equals(ApiV2AutoTestsSearchPostRequest input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.Includes == input.Includes || (this.Includes != null && diff --git a/src/TestIt.Client/Model/ApiV2BackgroundJobsSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2BackgroundJobsSearchPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2BackgroundJobsSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2BackgroundJobsSearchPostRequest.cs index d86eedd1..58c75859 100644 --- a/src/TestIt.Client/Model/ApiV2BackgroundJobsSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2BackgroundJobsSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2BackgroundJobsSearchPostRequest @@ -126,29 +126,29 @@ public bool Equals(ApiV2BackgroundJobsSearchPostRequest input) { return false; } - return + return ( this.Types == input.Types || this.Types != null && input.Types != null && this.Types.SequenceEqual(input.Types) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && diff --git a/src/TestIt.Client/Model/ApiV2ConfigurationsCreateByParametersPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2ConfigurationsCreateByParametersPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2ConfigurationsCreateByParametersPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2ConfigurationsCreateByParametersPostRequest.cs index 73a85ece..eb5dc8c6 100644 --- a/src/TestIt.Client/Model/ApiV2ConfigurationsCreateByParametersPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2ConfigurationsCreateByParametersPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2ConfigurationsCreateByParametersPostRequest @@ -111,12 +111,12 @@ public bool Equals(ApiV2ConfigurationsCreateByParametersPostRequest input) { return false; } - return + return ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ParameterIds == input.ParameterIds || this.ParameterIds != null && diff --git a/src/TestIt.Client/Model/ApiV2ConfigurationsPurgeBulkPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2ConfigurationsPurgeBulkPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2ConfigurationsPurgeBulkPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2ConfigurationsPurgeBulkPostRequest.cs index e8ca7b52..1fdc867e 100644 --- a/src/TestIt.Client/Model/ApiV2ConfigurationsPurgeBulkPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2ConfigurationsPurgeBulkPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2ConfigurationsPurgeBulkPostRequest @@ -99,12 +99,12 @@ public bool Equals(ApiV2ConfigurationsPurgeBulkPostRequest input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/ApiV2ConfigurationsPutRequest.cs b/src/TestIT.ApiClient/Model/ApiV2ConfigurationsPutRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2ConfigurationsPutRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2ConfigurationsPutRequest.cs index 64847278..2599d196 100644 --- a/src/TestIt.Client/Model/ApiV2ConfigurationsPutRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2ConfigurationsPutRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2ConfigurationsPutRequest @@ -155,32 +155,32 @@ public bool Equals(ApiV2ConfigurationsPutRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && input.Parameters != null && this.Parameters.SequenceEqual(input.Parameters) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.IsDefault == input.IsDefault || this.IsDefault.Equals(input.IsDefault) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/ApiV2ConfigurationsSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2ConfigurationsSearchPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2ConfigurationsSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2ConfigurationsSearchPostRequest.cs index 8907c4bd..c992a952 100644 --- a/src/TestIt.Client/Model/ApiV2ConfigurationsSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2ConfigurationsSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2ConfigurationsSearchPostRequest @@ -121,23 +121,23 @@ public bool Equals(ApiV2ConfigurationsSearchPostRequest input) { return false; } - return + return ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && diff --git a/src/TestIt.Client/Model/ApiV2CustomAttributesGlobalIdPutRequest.cs b/src/TestIT.ApiClient/Model/ApiV2CustomAttributesGlobalIdPutRequest.cs similarity index 97% rename from src/TestIt.Client/Model/ApiV2CustomAttributesGlobalIdPutRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2CustomAttributesGlobalIdPutRequest.cs index 049da26f..2710da87 100644 --- a/src/TestIt.Client/Model/ApiV2CustomAttributesGlobalIdPutRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2CustomAttributesGlobalIdPutRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2CustomAttributesGlobalIdPutRequest @@ -131,23 +131,23 @@ public bool Equals(ApiV2CustomAttributesGlobalIdPutRequest input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Options == input.Options || this.Options != null && input.Options != null && this.Options.SequenceEqual(input.Options) - ) && + ) && ( this.IsEnabled == input.IsEnabled || (this.IsEnabled != null && this.IsEnabled.Equals(input.IsEnabled)) - ) && + ) && ( this.IsRequired == input.IsRequired || (this.IsRequired != null && diff --git a/src/TestIt.Client/Model/ApiV2CustomAttributesGlobalPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2CustomAttributesGlobalPostRequest.cs similarity index 97% rename from src/TestIt.Client/Model/ApiV2CustomAttributesGlobalPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2CustomAttributesGlobalPostRequest.cs index 1772479e..93c05f87 100644 --- a/src/TestIt.Client/Model/ApiV2CustomAttributesGlobalPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2CustomAttributesGlobalPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2CustomAttributesGlobalPostRequest @@ -140,28 +140,28 @@ public bool Equals(ApiV2CustomAttributesGlobalPostRequest input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsEnabled == input.IsEnabled || (this.IsEnabled != null && this.IsEnabled.Equals(input.IsEnabled)) - ) && + ) && ( this.IsRequired == input.IsRequired || (this.IsRequired != null && this.IsRequired.Equals(input.IsRequired)) - ) && + ) && ( this.Options == input.Options || this.Options != null && input.Options != null && this.Options.SequenceEqual(input.Options) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) diff --git a/src/TestIt.Client/Model/ApiV2CustomAttributesSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2CustomAttributesSearchPostRequest.cs similarity index 97% rename from src/TestIt.Client/Model/ApiV2CustomAttributesSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2CustomAttributesSearchPostRequest.cs index 3c960720..e6bc085a 100644 --- a/src/TestIt.Client/Model/ApiV2CustomAttributesSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2CustomAttributesSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2CustomAttributesSearchPostRequest @@ -141,35 +141,35 @@ public bool Equals(ApiV2CustomAttributesSearchPostRequest input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.CustomAttributeIds == input.CustomAttributeIds || this.CustomAttributeIds != null && input.CustomAttributeIds != null && this.CustomAttributeIds.SequenceEqual(input.CustomAttributeIds) - ) && + ) && ( this.CustomAttributeTypes == input.CustomAttributeTypes || this.CustomAttributeTypes != null && input.CustomAttributeTypes != null && this.CustomAttributeTypes.SequenceEqual(input.CustomAttributeTypes) - ) && + ) && ( this.IsGlobal == input.IsGlobal || (this.IsGlobal != null && this.IsGlobal.Equals(input.IsGlobal)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && diff --git a/src/TestIt.Client/Model/ApiV2CustomAttributesTemplatesPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2CustomAttributesTemplatesPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2CustomAttributesTemplatesPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2CustomAttributesTemplatesPostRequest.cs index 46c86090..4f518278 100644 --- a/src/TestIt.Client/Model/ApiV2CustomAttributesTemplatesPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2CustomAttributesTemplatesPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2CustomAttributesTemplatesPostRequest @@ -111,13 +111,13 @@ public bool Equals(ApiV2CustomAttributesTemplatesPostRequest input) { return false; } - return + return ( this.CustomAttributeIds == input.CustomAttributeIds || this.CustomAttributeIds != null && input.CustomAttributeIds != null && this.CustomAttributeIds.SequenceEqual(input.CustomAttributeIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/ApiV2CustomAttributesTemplatesPutRequest.cs b/src/TestIT.ApiClient/Model/ApiV2CustomAttributesTemplatesPutRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2CustomAttributesTemplatesPutRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2CustomAttributesTemplatesPutRequest.cs index da0b3ed3..d6e9f1b1 100644 --- a/src/TestIt.Client/Model/ApiV2CustomAttributesTemplatesPutRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2CustomAttributesTemplatesPutRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2CustomAttributesTemplatesPutRequest @@ -121,18 +121,18 @@ public bool Equals(ApiV2CustomAttributesTemplatesPutRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.CustomAttributeIds == input.CustomAttributeIds || this.CustomAttributeIds != null && input.CustomAttributeIds != null && this.CustomAttributeIds.SequenceEqual(input.CustomAttributeIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/ApiV2CustomAttributesTemplatesSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2CustomAttributesTemplatesSearchPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2CustomAttributesTemplatesSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2CustomAttributesTemplatesSearchPostRequest.cs index a79a1f6d..533da4b9 100644 --- a/src/TestIt.Client/Model/ApiV2CustomAttributesTemplatesSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2CustomAttributesTemplatesSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2CustomAttributesTemplatesSearchPostRequest @@ -117,24 +117,24 @@ public bool Equals(ApiV2CustomAttributesTemplatesSearchPostRequest input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.CustomAttributeTypes == input.CustomAttributeTypes || this.CustomAttributeTypes != null && input.CustomAttributeTypes != null && this.CustomAttributeTypes.SequenceEqual(input.CustomAttributeTypes) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && diff --git a/src/TestIt.Client/Model/ApiV2NotificationsSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2NotificationsSearchPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2NotificationsSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2NotificationsSearchPostRequest.cs index e9887baf..facf05b7 100644 --- a/src/TestIt.Client/Model/ApiV2NotificationsSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2NotificationsSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2NotificationsSearchPostRequest @@ -108,18 +108,18 @@ public bool Equals(ApiV2NotificationsSearchPostRequest input) { return false; } - return + return ( this.Types == input.Types || this.Types != null && input.Types != null && this.Types.SequenceEqual(input.Types) - ) && + ) && ( this.IsRead == input.IsRead || (this.IsRead != null && this.IsRead.Equals(input.IsRead)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && diff --git a/src/TestIt.Client/Model/ApiV2ParametersSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2ParametersSearchPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2ParametersSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2ParametersSearchPostRequest.cs index 500cfd4e..0545a613 100644 --- a/src/TestIt.Client/Model/ApiV2ParametersSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2ParametersSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2ParametersSearchPostRequest @@ -101,12 +101,12 @@ public bool Equals(ApiV2ParametersSearchPostRequest input) { return false; } - return + return ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/ApiV2ProjectsIdAttributesTemplatesSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2ProjectsIdAttributesTemplatesSearchPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2ProjectsIdAttributesTemplatesSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2ProjectsIdAttributesTemplatesSearchPostRequest.cs index da1583b6..c1a6340a 100644 --- a/src/TestIt.Client/Model/ApiV2ProjectsIdAttributesTemplatesSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2ProjectsIdAttributesTemplatesSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Collection of filters to apply to search @@ -101,12 +101,12 @@ public bool Equals(ApiV2ProjectsIdAttributesTemplatesSearchPostRequest input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.CustomAttributeTypes == input.CustomAttributeTypes || this.CustomAttributeTypes != null && diff --git a/src/TestIt.Client/Model/ApiV2ProjectsIdTestPlansDeleteBulkPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2ProjectsIdTestPlansDeleteBulkPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2ProjectsIdTestPlansDeleteBulkPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2ProjectsIdTestPlansDeleteBulkPostRequest.cs index 3007514f..5f60e26d 100644 --- a/src/TestIt.Client/Model/ApiV2ProjectsIdTestPlansDeleteBulkPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2ProjectsIdTestPlansDeleteBulkPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2ProjectsIdTestPlansDeleteBulkPostRequest @@ -99,12 +99,12 @@ public bool Equals(ApiV2ProjectsIdTestPlansDeleteBulkPostRequest input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/ApiV2ProjectsIdTestPlansSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2ProjectsIdTestPlansSearchPostRequest.cs similarity index 97% rename from src/TestIt.Client/Model/ApiV2ProjectsIdTestPlansSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2ProjectsIdTestPlansSearchPostRequest.cs index e01dab95..fa9022de 100644 --- a/src/TestIt.Client/Model/ApiV2ProjectsIdTestPlansSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2ProjectsIdTestPlansSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2ProjectsIdTestPlansSearchPostRequest @@ -225,88 +225,88 @@ public bool Equals(ApiV2ProjectsIdTestPlansSearchPostRequest input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Build == input.Build || (this.Build != null && this.Build.Equals(input.Build)) - ) && + ) && ( this.ProductName == input.ProductName || (this.ProductName != null && this.ProductName.Equals(input.ProductName)) - ) && + ) && ( this.Status == input.Status || this.Status != null && input.Status != null && this.Status.SequenceEqual(input.Status) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.IsLocked == input.IsLocked || (this.IsLocked != null && this.IsLocked.Equals(input.IsLocked)) - ) && + ) && ( this.LockedDate == input.LockedDate || (this.LockedDate != null && this.LockedDate.Equals(input.LockedDate)) - ) && + ) && ( this.AutomaticDurationTimer == input.AutomaticDurationTimer || this.AutomaticDurationTimer != null && input.AutomaticDurationTimer != null && this.AutomaticDurationTimer.SequenceEqual(input.AutomaticDurationTimer) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && this.EndDate.Equals(input.EndDate)) - ) && + ) && ( this.TagNames == input.TagNames || this.TagNames != null && input.TagNames != null && this.TagNames.SequenceEqual(input.TagNames) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && diff --git a/src/TestIt.Client/Model/ApiV2ProjectsIdWorkItemsSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2ProjectsIdWorkItemsSearchPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2ProjectsIdWorkItemsSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2ProjectsIdWorkItemsSearchPostRequest.cs index 1d44e2f0..c30b401f 100644 --- a/src/TestIt.Client/Model/ApiV2ProjectsIdWorkItemsSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2ProjectsIdWorkItemsSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Model containing options to filter work items @@ -99,12 +99,12 @@ public bool Equals(ApiV2ProjectsIdWorkItemsSearchPostRequest input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/ApiV2ProjectsRestoreBulkPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2ProjectsRestoreBulkPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2ProjectsRestoreBulkPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2ProjectsRestoreBulkPostRequest.cs index e863d4bf..6e85f982 100644 --- a/src/TestIt.Client/Model/ApiV2ProjectsRestoreBulkPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2ProjectsRestoreBulkPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2ProjectsRestoreBulkPostRequest @@ -99,12 +99,12 @@ public bool Equals(ApiV2ProjectsRestoreBulkPostRequest input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/ApiV2ProjectsSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2ProjectsSearchPostRequest.cs similarity index 97% rename from src/TestIt.Client/Model/ApiV2ProjectsSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2ProjectsSearchPostRequest.cs index fb0610ff..4ced1872 100644 --- a/src/TestIt.Client/Model/ApiV2ProjectsSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2ProjectsSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2ProjectsSearchPostRequest @@ -176,53 +176,53 @@ public bool Equals(ApiV2ProjectsSearchPostRequest input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsFavorite == input.IsFavorite || (this.IsFavorite != null && this.IsFavorite.Equals(input.IsFavorite)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.TestCasesCount == input.TestCasesCount || (this.TestCasesCount != null && this.TestCasesCount.Equals(input.TestCasesCount)) - ) && + ) && ( this.ChecklistsCount == input.ChecklistsCount || (this.ChecklistsCount != null && this.ChecklistsCount.Equals(input.ChecklistsCount)) - ) && + ) && ( this.SharedStepsCount == input.SharedStepsCount || (this.SharedStepsCount != null && this.SharedStepsCount.Equals(input.SharedStepsCount)) - ) && + ) && ( this.AutotestsCount == input.AutotestsCount || (this.AutotestsCount != null && this.AutotestsCount.Equals(input.AutotestsCount)) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && diff --git a/src/TestIt.Client/Model/ApiV2SearchGlobalSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2SearchGlobalSearchPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2SearchGlobalSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2SearchGlobalSearchPostRequest.cs index 7d7eb347..497ac480 100644 --- a/src/TestIt.Client/Model/ApiV2SearchGlobalSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2SearchGlobalSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2SearchGlobalSearchPostRequest @@ -127,21 +127,21 @@ public bool Equals(ApiV2SearchGlobalSearchPostRequest input) { return false; } - return + return ( this.Query == input.Query || (this.Query != null && this.Query.Equals(input.Query)) - ) && + ) && ( this.ResourceType == input.ResourceType || (this.ResourceType != null && this.ResourceType.Equals(input.ResourceType)) - ) && + ) && ( this.Take == input.Take || this.Take.Equals(input.Take) - ) && + ) && ( this.Skip == input.Skip || this.Skip.Equals(input.Skip) diff --git a/src/TestIt.Client/Model/ApiV2TestPlansIdExportTestPointsXlsxPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2TestPlansIdExportTestPointsXlsxPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2TestPlansIdExportTestPointsXlsxPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2TestPlansIdExportTestPointsXlsxPostRequest.cs index 8ecd6069..d9cfcee7 100644 --- a/src/TestIt.Client/Model/ApiV2TestPlansIdExportTestPointsXlsxPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2TestPlansIdExportTestPointsXlsxPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2TestPlansIdExportTestPointsXlsxPostRequest @@ -212,61 +212,61 @@ public bool Equals(ApiV2TestPlansIdExportTestPointsXlsxPostRequest input) { return false; } - return + return ( this.IncludeName == input.IncludeName || this.IncludeName.Equals(input.IncludeName) - ) && + ) && ( this.IncludeSection == input.IncludeSection || this.IncludeSection.Equals(input.IncludeSection) - ) && + ) && ( this.IncludePriority == input.IncludePriority || this.IncludePriority.Equals(input.IncludePriority) - ) && + ) && ( this.IncludeAutomated == input.IncludeAutomated || this.IncludeAutomated.Equals(input.IncludeAutomated) - ) && + ) && ( this.IncludeStatus == input.IncludeStatus || this.IncludeStatus.Equals(input.IncludeStatus) - ) && + ) && ( this.IncludeDuration == input.IncludeDuration || this.IncludeDuration.Equals(input.IncludeDuration) - ) && + ) && ( this.IncludeCreationDate == input.IncludeCreationDate || this.IncludeCreationDate.Equals(input.IncludeCreationDate) - ) && + ) && ( this.IncludeAuthor == input.IncludeAuthor || this.IncludeAuthor.Equals(input.IncludeAuthor) - ) && + ) && ( this.IncludeModificationDate == input.IncludeModificationDate || this.IncludeModificationDate.Equals(input.IncludeModificationDate) - ) && + ) && ( this.IncludeModifiedBy == input.IncludeModifiedBy || this.IncludeModifiedBy.Equals(input.IncludeModifiedBy) - ) && + ) && ( this.IncludeTags == input.IncludeTags || this.IncludeTags.Equals(input.IncludeTags) - ) && + ) && ( this.IncludeIterations == input.IncludeIterations || this.IncludeIterations.Equals(input.IncludeIterations) - ) && + ) && ( this.CustomAttributesIds == input.CustomAttributesIds || this.CustomAttributesIds != null && input.CustomAttributesIds != null && this.CustomAttributesIds.SequenceEqual(input.CustomAttributesIds) - ) && + ) && ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && diff --git a/src/TestIt.Client/Model/ApiV2TestPlansIdTestPointsTesterUserIdPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2TestPlansIdTestPointsTesterUserIdPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2TestPlansIdTestPointsTesterUserIdPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2TestPlansIdTestPointsTesterUserIdPostRequest.cs index e2ce565e..1927bf9e 100644 --- a/src/TestIt.Client/Model/ApiV2TestPlansIdTestPointsTesterUserIdPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2TestPlansIdTestPointsTesterUserIdPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2TestPlansIdTestPointsTesterUserIdPostRequest @@ -99,12 +99,12 @@ public bool Equals(ApiV2TestPlansIdTestPointsTesterUserIdPostRequest input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/ApiV2TestPlansIdTestRunsSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2TestPlansIdTestRunsSearchPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2TestPlansIdTestRunsSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2TestPlansIdTestRunsSearchPostRequest.cs index 41826eb5..dbf5b4ce 100644 --- a/src/TestIt.Client/Model/ApiV2TestPlansIdTestRunsSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2TestPlansIdTestRunsSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2TestPlansIdTestRunsSearchPostRequest @@ -135,34 +135,34 @@ public bool Equals(ApiV2TestPlansIdTestRunsSearchPostRequest input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.StartedDate == input.StartedDate || (this.StartedDate != null && this.StartedDate.Equals(input.StartedDate)) - ) && + ) && ( this.CompletedDate == input.CompletedDate || (this.CompletedDate != null && this.CompletedDate.Equals(input.CompletedDate)) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && diff --git a/src/TestIt.Client/Model/ApiV2TestPointsSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2TestPointsSearchPostRequest.cs similarity index 97% rename from src/TestIt.Client/Model/ApiV2TestPointsSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2TestPointsSearchPostRequest.cs index cf7ad711..023195bd 100644 --- a/src/TestIt.Client/Model/ApiV2TestPointsSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2TestPointsSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2TestPointsSearchPostRequest @@ -295,125 +295,125 @@ public bool Equals(ApiV2TestPointsSearchPostRequest input) { return false; } - return + return ( this.TestPlanIds == input.TestPlanIds || this.TestPlanIds != null && input.TestPlanIds != null && this.TestPlanIds.SequenceEqual(input.TestPlanIds) - ) && + ) && ( this.TestSuiteIds == input.TestSuiteIds || this.TestSuiteIds != null && input.TestSuiteIds != null && this.TestSuiteIds.SequenceEqual(input.TestSuiteIds) - ) && + ) && ( this.WorkItemGlobalIds == input.WorkItemGlobalIds || this.WorkItemGlobalIds != null && input.WorkItemGlobalIds != null && this.WorkItemGlobalIds.SequenceEqual(input.WorkItemGlobalIds) - ) && + ) && ( this.WorkItemMedianDuration == input.WorkItemMedianDuration || (this.WorkItemMedianDuration != null && this.WorkItemMedianDuration.Equals(input.WorkItemMedianDuration)) - ) && + ) && ( this.Statuses == input.Statuses || this.Statuses != null && input.Statuses != null && this.Statuses.SequenceEqual(input.Statuses) - ) && + ) && ( this.Priorities == input.Priorities || this.Priorities != null && input.Priorities != null && this.Priorities.SequenceEqual(input.Priorities) - ) && + ) && ( this.IsAutomated == input.IsAutomated || (this.IsAutomated != null && this.IsAutomated.Equals(input.IsAutomated)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.TesterIds == input.TesterIds || this.TesterIds != null && input.TesterIds != null && this.TesterIds.SequenceEqual(input.TesterIds) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.SectionIds == input.SectionIds || this.SectionIds != null && input.SectionIds != null && this.SectionIds.SequenceEqual(input.SectionIds) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.WorkItemCreatedDate == input.WorkItemCreatedDate || (this.WorkItemCreatedDate != null && this.WorkItemCreatedDate.Equals(input.WorkItemCreatedDate)) - ) && + ) && ( this.WorkItemCreatedByIds == input.WorkItemCreatedByIds || this.WorkItemCreatedByIds != null && input.WorkItemCreatedByIds != null && this.WorkItemCreatedByIds.SequenceEqual(input.WorkItemCreatedByIds) - ) && + ) && ( this.WorkItemModifiedDate == input.WorkItemModifiedDate || (this.WorkItemModifiedDate != null && this.WorkItemModifiedDate.Equals(input.WorkItemModifiedDate)) - ) && + ) && ( this.WorkItemModifiedByIds == input.WorkItemModifiedByIds || this.WorkItemModifiedByIds != null && diff --git a/src/TestIt.Client/Model/ApiV2TestResultsIdPutRequest.cs b/src/TestIT.ApiClient/Model/ApiV2TestResultsIdPutRequest.cs similarity index 97% rename from src/TestIt.Client/Model/ApiV2TestResultsIdPutRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2TestResultsIdPutRequest.cs index 9aadc556..5dc0ef6b 100644 --- a/src/TestIt.Client/Model/ApiV2TestResultsIdPutRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2TestResultsIdPutRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2TestResultsIdPutRequest @@ -199,73 +199,73 @@ public bool Equals(ApiV2TestResultsIdPutRequest input) { return false; } - return + return ( this.FailureClassIds == input.FailureClassIds || this.FailureClassIds != null && input.FailureClassIds != null && this.FailureClassIds.SequenceEqual(input.FailureClassIds) - ) && + ) && ( this.Outcome == input.Outcome || this.Outcome.Equals(input.Outcome) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.StepResults == input.StepResults || this.StepResults != null && input.StepResults != null && this.StepResults.SequenceEqual(input.StepResults) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.DurationInMs == input.DurationInMs || (this.DurationInMs != null && this.DurationInMs.Equals(input.DurationInMs)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.StepComments == input.StepComments || this.StepComments != null && input.StepComments != null && this.StepComments.SequenceEqual(input.StepComments) - ) && + ) && ( this.SetupResults == input.SetupResults || this.SetupResults != null && input.SetupResults != null && this.SetupResults.SequenceEqual(input.SetupResults) - ) && + ) && ( this.TeardownResults == input.TeardownResults || this.TeardownResults != null && input.TeardownResults != null && this.TeardownResults.SequenceEqual(input.TeardownResults) - ) && + ) && ( this.Message == input.Message || (this.Message != null && this.Message.Equals(input.Message)) - ) && + ) && ( this.Trace == input.Trace || (this.Trace != null && diff --git a/src/TestIt.Client/Model/ApiV2TestResultsSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2TestResultsSearchPostRequest.cs similarity index 97% rename from src/TestIt.Client/Model/ApiV2TestResultsSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2TestResultsSearchPostRequest.cs index 396ddab2..afbbb1b0 100644 --- a/src/TestIt.Client/Model/ApiV2TestResultsSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2TestResultsSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2TestResultsSearchPostRequest @@ -141,36 +141,36 @@ public bool Equals(ApiV2TestResultsSearchPostRequest input) { return false; } - return + return ( this.TestRunIds == input.TestRunIds || this.TestRunIds != null && input.TestRunIds != null && this.TestRunIds.SequenceEqual(input.TestRunIds) - ) && + ) && ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.Outcomes == input.Outcomes || this.Outcomes != null && input.Outcomes != null && this.Outcomes.SequenceEqual(input.Outcomes) - ) && + ) && ( this.FailureCategories == input.FailureCategories || this.FailureCategories != null && input.FailureCategories != null && this.FailureCategories.SequenceEqual(input.FailureCategories) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.ClassName == input.ClassName || (this.ClassName != null && diff --git a/src/TestIt.Client/Model/ApiV2TestRunsIdStatisticsFilterPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2TestRunsIdStatisticsFilterPostRequest.cs similarity index 97% rename from src/TestIt.Client/Model/ApiV2TestRunsIdStatisticsFilterPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2TestRunsIdStatisticsFilterPostRequest.cs index 88daee2c..aa9fa3dd 100644 --- a/src/TestIt.Client/Model/ApiV2TestRunsIdStatisticsFilterPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2TestRunsIdStatisticsFilterPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2TestRunsIdStatisticsFilterPostRequest @@ -131,30 +131,30 @@ public bool Equals(ApiV2TestRunsIdStatisticsFilterPostRequest input) { return false; } - return + return ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.Outcomes == input.Outcomes || this.Outcomes != null && input.Outcomes != null && this.Outcomes.SequenceEqual(input.Outcomes) - ) && + ) && ( this.FailureCategories == input.FailureCategories || this.FailureCategories != null && input.FailureCategories != null && this.FailureCategories.SequenceEqual(input.FailureCategories) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.ClassName == input.ClassName || (this.ClassName != null && diff --git a/src/TestIt.Client/Model/ApiV2TestRunsIdTestResultsBulkPutRequest.cs b/src/TestIT.ApiClient/Model/ApiV2TestRunsIdTestResultsBulkPutRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2TestRunsIdTestResultsBulkPutRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2TestRunsIdTestResultsBulkPutRequest.cs index a4478009..4e1218d8 100644 --- a/src/TestIt.Client/Model/ApiV2TestRunsIdTestResultsBulkPutRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2TestRunsIdTestResultsBulkPutRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2TestRunsIdTestResultsBulkPutRequest @@ -130,29 +130,29 @@ public bool Equals(ApiV2TestRunsIdTestResultsBulkPutRequest input) { return false; } - return + return ( this.Selector == input.Selector || (this.Selector != null && this.Selector.Equals(input.Selector)) - ) && + ) && ( this.ResultReasonIds == input.ResultReasonIds || this.ResultReasonIds != null && input.ResultReasonIds != null && this.ResultReasonIds.SequenceEqual(input.ResultReasonIds) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.AttachmentIds == input.AttachmentIds || this.AttachmentIds != null && diff --git a/src/TestIt.Client/Model/ApiV2TestRunsSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2TestRunsSearchPostRequest.cs similarity index 97% rename from src/TestIt.Client/Model/ApiV2TestRunsSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2TestRunsSearchPostRequest.cs index f7e15a9a..2656aeef 100644 --- a/src/TestIt.Client/Model/ApiV2TestRunsSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2TestRunsSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2TestRunsSearchPostRequest @@ -188,63 +188,63 @@ public bool Equals(ApiV2TestRunsSearchPostRequest input) { return false; } - return + return ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.StartedDate == input.StartedDate || (this.StartedDate != null && this.StartedDate.Equals(input.StartedDate)) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.AutoTestsCount == input.AutoTestsCount || (this.AutoTestsCount != null && this.AutoTestsCount.Equals(input.AutoTestsCount)) - ) && + ) && ( this.TestResultsOutcome == input.TestResultsOutcome || this.TestResultsOutcome != null && input.TestResultsOutcome != null && this.TestResultsOutcome.SequenceEqual(input.TestResultsOutcome) - ) && + ) && ( this.FailureCategory == input.FailureCategory || this.FailureCategory != null && input.FailureCategory != null && this.FailureCategory.SequenceEqual(input.FailureCategory) - ) && + ) && ( this.CompletedDate == input.CompletedDate || (this.CompletedDate != null && diff --git a/src/TestIt.Client/Model/ApiV2TestRunsUpdateMultiplePostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2TestRunsUpdateMultiplePostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2TestRunsUpdateMultiplePostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2TestRunsUpdateMultiplePostRequest.cs index a03791dc..89e148f9 100644 --- a/src/TestIt.Client/Model/ApiV2TestRunsUpdateMultiplePostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2TestRunsUpdateMultiplePostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2TestRunsUpdateMultiplePostRequest @@ -127,22 +127,22 @@ public bool Equals(ApiV2TestRunsUpdateMultiplePostRequest input) { return false; } - return + return ( this.SelectModel == input.SelectModel || (this.SelectModel != null && this.SelectModel.Equals(input.SelectModel)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.AttachmentUpdateScheme == input.AttachmentUpdateScheme || (this.AttachmentUpdateScheme != null && this.AttachmentUpdateScheme.Equals(input.AttachmentUpdateScheme)) - ) && + ) && ( this.LinkUpdateScheme == input.LinkUpdateScheme || (this.LinkUpdateScheme != null && diff --git a/src/TestIt.Client/Model/ApiV2TestSuitesPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2TestSuitesPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2TestSuitesPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2TestSuitesPostRequest.cs index 96e51722..bf2fdee0 100644 --- a/src/TestIt.Client/Model/ApiV2TestSuitesPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2TestSuitesPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2TestSuitesPostRequest @@ -150,31 +150,31 @@ public bool Equals(ApiV2TestSuitesPostRequest input) { return false; } - return + return ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.SaveStructure == input.SaveStructure || (this.SaveStructure != null && this.SaveStructure.Equals(input.SaveStructure)) - ) && + ) && ( this.AutoRefresh == input.AutoRefresh || (this.AutoRefresh != null && diff --git a/src/TestIt.Client/Model/ApiV2TestSuitesPutRequest.cs b/src/TestIT.ApiClient/Model/ApiV2TestSuitesPutRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2TestSuitesPutRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2TestSuitesPutRequest.cs index 41529225..6433f385 100644 --- a/src/TestIt.Client/Model/ApiV2TestSuitesPutRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2TestSuitesPutRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2TestSuitesPutRequest @@ -136,26 +136,26 @@ public bool Equals(ApiV2TestSuitesPutRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.AutoRefresh == input.AutoRefresh || (this.AutoRefresh != null && diff --git a/src/TestIt.Client/Model/ApiV2WebhooksPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2WebhooksPostRequest.cs similarity index 97% rename from src/TestIt.Client/Model/ApiV2WebhooksPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2WebhooksPostRequest.cs index 11608865..c847260c 100644 --- a/src/TestIt.Client/Model/ApiV2WebhooksPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2WebhooksPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2WebhooksPostRequest @@ -234,67 +234,67 @@ public bool Equals(ApiV2WebhooksPostRequest input) { return false; } - return + return ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.EventType == input.EventType || this.EventType.Equals(input.EventType) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Url == input.Url || (this.Url != null && this.Url.Equals(input.Url)) - ) && + ) && ( this.RequestType == input.RequestType || this.RequestType.Equals(input.RequestType) - ) && + ) && ( this.ShouldSendBody == input.ShouldSendBody || this.ShouldSendBody.Equals(input.ShouldSendBody) - ) && + ) && ( this.Headers == input.Headers || this.Headers != null && input.Headers != null && this.Headers.SequenceEqual(input.Headers) - ) && + ) && ( this.QueryParameters == input.QueryParameters || this.QueryParameters != null && input.QueryParameters != null && this.QueryParameters.SequenceEqual(input.QueryParameters) - ) && + ) && ( this.IsEnabled == input.IsEnabled || this.IsEnabled.Equals(input.IsEnabled) - ) && + ) && ( this.ShouldSendCustomBody == input.ShouldSendCustomBody || this.ShouldSendCustomBody.Equals(input.ShouldSendCustomBody) - ) && + ) && ( this.CustomBody == input.CustomBody || (this.CustomBody != null && this.CustomBody.Equals(input.CustomBody)) - ) && + ) && ( this.ShouldReplaceParameters == input.ShouldReplaceParameters || this.ShouldReplaceParameters.Equals(input.ShouldReplaceParameters) - ) && + ) && ( this.ShouldEscapeParameters == input.ShouldEscapeParameters || this.ShouldEscapeParameters.Equals(input.ShouldEscapeParameters) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/ApiV2WebhooksSearchPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2WebhooksSearchPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2WebhooksSearchPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2WebhooksSearchPostRequest.cs index 59c0bbf7..1757641d 100644 --- a/src/TestIt.Client/Model/ApiV2WebhooksSearchPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2WebhooksSearchPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2WebhooksSearchPostRequest @@ -131,30 +131,30 @@ public bool Equals(ApiV2WebhooksSearchPostRequest input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.EventTypes == input.EventTypes || this.EventTypes != null && input.EventTypes != null && this.EventTypes.SequenceEqual(input.EventTypes) - ) && + ) && ( this.Methods == input.Methods || this.Methods != null && input.Methods != null && this.Methods.SequenceEqual(input.Methods) - ) && + ) && ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.IsEnabled == input.IsEnabled || (this.IsEnabled != null && diff --git a/src/TestIt.Client/Model/ApiV2WebhooksTestPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2WebhooksTestPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2WebhooksTestPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2WebhooksTestPostRequest.cs index d9c0ff15..0765909b 100644 --- a/src/TestIt.Client/Model/ApiV2WebhooksTestPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2WebhooksTestPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2WebhooksTestPostRequest @@ -110,11 +110,11 @@ public bool Equals(ApiV2WebhooksTestPostRequest input) { return false; } - return + return ( this.RequestType == input.RequestType || this.RequestType.Equals(input.RequestType) - ) && + ) && ( this.Url == input.Url || (this.Url != null && diff --git a/src/TestIt.Client/Model/ApiV2WorkItemsCommentsPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2WorkItemsCommentsPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2WorkItemsCommentsPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2WorkItemsCommentsPostRequest.cs index 2fa32f41..4a3d9652 100644 --- a/src/TestIt.Client/Model/ApiV2WorkItemsCommentsPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2WorkItemsCommentsPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2WorkItemsCommentsPostRequest @@ -109,12 +109,12 @@ public bool Equals(ApiV2WorkItemsCommentsPostRequest input) { return false; } - return + return ( this.Text == input.Text || (this.Text != null && this.Text.Equals(input.Text)) - ) && + ) && ( this.WorkItemId == input.WorkItemId || (this.WorkItemId != null && diff --git a/src/TestIt.Client/Model/ApiV2WorkItemsCommentsPutRequest.cs b/src/TestIT.ApiClient/Model/ApiV2WorkItemsCommentsPutRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2WorkItemsCommentsPutRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2WorkItemsCommentsPutRequest.cs index 732a4e85..14c62edb 100644 --- a/src/TestIt.Client/Model/ApiV2WorkItemsCommentsPutRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2WorkItemsCommentsPutRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2WorkItemsCommentsPutRequest @@ -111,12 +111,12 @@ public bool Equals(ApiV2WorkItemsCommentsPutRequest input) { return false; } - return + return ( this.Text == input.Text || (this.Text != null && this.Text.Equals(input.Text)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && diff --git a/src/TestIt.Client/Model/ApiV2WorkItemsMovePostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2WorkItemsMovePostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2WorkItemsMovePostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2WorkItemsMovePostRequest.cs index 707c2a5e..22b12a94 100644 --- a/src/TestIt.Client/Model/ApiV2WorkItemsMovePostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2WorkItemsMovePostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2WorkItemsMovePostRequest @@ -122,22 +122,22 @@ public bool Equals(ApiV2WorkItemsMovePostRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.NewSectionId == input.NewSectionId || (this.NewSectionId != null && this.NewSectionId.Equals(input.NewSectionId)) - ) && + ) && ( this.OldSectionId == input.OldSectionId || (this.OldSectionId != null && this.OldSectionId.Equals(input.OldSectionId)) - ) && + ) && ( this.NextWorkItemId == input.NextWorkItemId || (this.NextWorkItemId != null && diff --git a/src/TestIt.Client/Model/ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest.cs index 1d5bdae9..f26c4ffe 100644 --- a/src/TestIt.Client/Model/ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest @@ -129,29 +129,29 @@ public bool Equals(ApiV2WorkItemsSharedStepIdReferencesSectionsPostRequest input { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && diff --git a/src/TestIt.Client/Model/ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest.cs b/src/TestIT.ApiClient/Model/ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest.cs similarity index 97% rename from src/TestIt.Client/Model/ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest.cs rename to src/TestIT.ApiClient/Model/ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest.cs index 29fdfce7..15f4c585 100644 --- a/src/TestIt.Client/Model/ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest.cs +++ b/src/TestIT.ApiClient/Model/ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest @@ -199,69 +199,69 @@ public bool Equals(ApiV2WorkItemsSharedStepIdReferencesWorkItemsPostRequest inpu { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.SectionIds == input.SectionIds || this.SectionIds != null && input.SectionIds != null && this.SectionIds.SequenceEqual(input.SectionIds) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.Priorities == input.Priorities || this.Priorities != null && input.Priorities != null && this.Priorities.SequenceEqual(input.Priorities) - ) && + ) && ( this.EntityTypes == input.EntityTypes || this.EntityTypes != null && input.EntityTypes != null && this.EntityTypes.SequenceEqual(input.EntityTypes) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.IsAutomated == input.IsAutomated || (this.IsAutomated != null && this.IsAutomated.Equals(input.IsAutomated)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && diff --git a/src/TestIt.Client/Model/AttachmentChangeViewModel.cs b/src/TestIT.ApiClient/Model/AttachmentChangeViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/AttachmentChangeViewModel.cs rename to src/TestIT.ApiClient/Model/AttachmentChangeViewModel.cs index fedc4561..0d62904d 100644 --- a/src/TestIt.Client/Model/AttachmentChangeViewModel.cs +++ b/src/TestIT.ApiClient/Model/AttachmentChangeViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AttachmentChangeViewModel @@ -122,22 +122,22 @@ public bool Equals(AttachmentChangeViewModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Type == input.Type || (this.Type != null && this.Type.Equals(input.Type)) - ) && + ) && ( this.Size == input.Size || this.Size.Equals(input.Size) diff --git a/src/TestIt.Client/Model/AttachmentChangeViewModelArrayChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/AttachmentChangeViewModelArrayChangedFieldViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/AttachmentChangeViewModelArrayChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/AttachmentChangeViewModelArrayChangedFieldViewModel.cs index 905efa15..9fec8db3 100644 --- a/src/TestIt.Client/Model/AttachmentChangeViewModelArrayChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/AttachmentChangeViewModelArrayChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AttachmentChangeViewModelArrayChangedFieldViewModel @@ -99,13 +99,13 @@ public bool Equals(AttachmentChangeViewModelArrayChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || this.OldValue != null && input.OldValue != null && this.OldValue.SequenceEqual(input.OldValue) - ) && + ) && ( this.NewValue == input.NewValue || this.NewValue != null && diff --git a/src/TestIt.Client/Model/AttachmentModel.cs b/src/TestIT.ApiClient/Model/AttachmentModel.cs similarity index 96% rename from src/TestIt.Client/Model/AttachmentModel.cs rename to src/TestIT.ApiClient/Model/AttachmentModel.cs index 461b8afd..0e431998 100644 --- a/src/TestIt.Client/Model/AttachmentModel.cs +++ b/src/TestIT.ApiClient/Model/AttachmentModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AttachmentModel @@ -176,46 +176,46 @@ public bool Equals(AttachmentModel input) { return false; } - return + return ( this.FileId == input.FileId || (this.FileId != null && this.FileId.Equals(input.FileId)) - ) && + ) && ( this.Type == input.Type || (this.Type != null && this.Type.Equals(input.Type)) - ) && + ) && ( this.Size == input.Size || this.Size.Equals(input.Size) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && diff --git a/src/TestIt.Client/Model/AttachmentModelAutoTestStepResultsModel.cs b/src/TestIT.ApiClient/Model/AttachmentModelAutoTestStepResultsModel.cs similarity index 97% rename from src/TestIt.Client/Model/AttachmentModelAutoTestStepResultsModel.cs rename to src/TestIT.ApiClient/Model/AttachmentModelAutoTestStepResultsModel.cs index 9e091aaf..ff2612a4 100644 --- a/src/TestIt.Client/Model/AttachmentModelAutoTestStepResultsModel.cs +++ b/src/TestIT.ApiClient/Model/AttachmentModelAutoTestStepResultsModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AttachmentModelAutoTestStepResultsModel @@ -180,53 +180,53 @@ public bool Equals(AttachmentModelAutoTestStepResultsModel input) { return false; } - return + return ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Info == input.Info || (this.Info != null && this.Info.Equals(input.Info)) - ) && + ) && ( this.StartedOn == input.StartedOn || (this.StartedOn != null && this.StartedOn.Equals(input.StartedOn)) - ) && + ) && ( this.CompletedOn == input.CompletedOn || (this.CompletedOn != null && this.CompletedOn.Equals(input.CompletedOn)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.Outcome == input.Outcome || this.Outcome.Equals(input.Outcome) - ) && + ) && ( this.StepResults == input.StepResults || this.StepResults != null && input.StepResults != null && this.StepResults.SequenceEqual(input.StepResults) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && diff --git a/src/TestIt.Client/Model/AttachmentPutModel.cs b/src/TestIT.ApiClient/Model/AttachmentPutModel.cs similarity index 95% rename from src/TestIt.Client/Model/AttachmentPutModel.cs rename to src/TestIT.ApiClient/Model/AttachmentPutModel.cs index 2b7d5735..e87a418f 100644 --- a/src/TestIt.Client/Model/AttachmentPutModel.cs +++ b/src/TestIT.ApiClient/Model/AttachmentPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AttachmentPutModel @@ -96,7 +96,7 @@ public bool Equals(AttachmentPutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && diff --git a/src/TestIt.Client/Model/AttachmentPutModelAutoTestStepResultsModel.cs b/src/TestIT.ApiClient/Model/AttachmentPutModelAutoTestStepResultsModel.cs similarity index 97% rename from src/TestIt.Client/Model/AttachmentPutModelAutoTestStepResultsModel.cs rename to src/TestIT.ApiClient/Model/AttachmentPutModelAutoTestStepResultsModel.cs index d3e9cd56..d76c274a 100644 --- a/src/TestIt.Client/Model/AttachmentPutModelAutoTestStepResultsModel.cs +++ b/src/TestIT.ApiClient/Model/AttachmentPutModelAutoTestStepResultsModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AttachmentPutModelAutoTestStepResultsModel @@ -180,53 +180,53 @@ public bool Equals(AttachmentPutModelAutoTestStepResultsModel input) { return false; } - return + return ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Info == input.Info || (this.Info != null && this.Info.Equals(input.Info)) - ) && + ) && ( this.StartedOn == input.StartedOn || (this.StartedOn != null && this.StartedOn.Equals(input.StartedOn)) - ) && + ) && ( this.CompletedOn == input.CompletedOn || (this.CompletedOn != null && this.CompletedOn.Equals(input.CompletedOn)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.Outcome == input.Outcome || this.Outcome.Equals(input.Outcome) - ) && + ) && ( this.StepResults == input.StepResults || this.StepResults != null && input.StepResults != null && this.StepResults.SequenceEqual(input.StepResults) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && diff --git a/src/TestIt.Client/Model/AutoTestAverageDurationModel.cs b/src/TestIT.ApiClient/Model/AutoTestAverageDurationModel.cs similarity index 96% rename from src/TestIt.Client/Model/AutoTestAverageDurationModel.cs rename to src/TestIT.ApiClient/Model/AutoTestAverageDurationModel.cs index 752f399e..4eee4133 100644 --- a/src/TestIt.Client/Model/AutoTestAverageDurationModel.cs +++ b/src/TestIT.ApiClient/Model/AutoTestAverageDurationModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestAverageDurationModel @@ -106,11 +106,11 @@ public bool Equals(AutoTestAverageDurationModel input) { return false; } - return + return ( this.PassedAverageDuration == input.PassedAverageDuration || this.PassedAverageDuration.Equals(input.PassedAverageDuration) - ) && + ) && ( this.FailedAverageDuration == input.FailedAverageDuration || this.FailedAverageDuration.Equals(input.FailedAverageDuration) diff --git a/src/TestIt.Client/Model/AutoTestChangeViewModel.cs b/src/TestIT.ApiClient/Model/AutoTestChangeViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/AutoTestChangeViewModel.cs rename to src/TestIT.ApiClient/Model/AutoTestChangeViewModel.cs index 6e9768ba..28236d57 100644 --- a/src/TestIt.Client/Model/AutoTestChangeViewModel.cs +++ b/src/TestIT.ApiClient/Model/AutoTestChangeViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestChangeViewModel @@ -122,22 +122,22 @@ public bool Equals(AutoTestChangeViewModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ExternalId == input.ExternalId || (this.ExternalId != null && this.ExternalId.Equals(input.ExternalId)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) diff --git a/src/TestIt.Client/Model/AutoTestChangeViewModelArrayChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/AutoTestChangeViewModelArrayChangedFieldViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/AutoTestChangeViewModelArrayChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/AutoTestChangeViewModelArrayChangedFieldViewModel.cs index 3a855a68..d7868323 100644 --- a/src/TestIt.Client/Model/AutoTestChangeViewModelArrayChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/AutoTestChangeViewModelArrayChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestChangeViewModelArrayChangedFieldViewModel @@ -99,13 +99,13 @@ public bool Equals(AutoTestChangeViewModelArrayChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || this.OldValue != null && input.OldValue != null && this.OldValue.SequenceEqual(input.OldValue) - ) && + ) && ( this.NewValue == input.NewValue || this.NewValue != null && diff --git a/src/TestIt.Client/Model/AutoTestIdModel.cs b/src/TestIT.ApiClient/Model/AutoTestIdModel.cs similarity index 95% rename from src/TestIt.Client/Model/AutoTestIdModel.cs rename to src/TestIT.ApiClient/Model/AutoTestIdModel.cs index 467bc956..cb057cc9 100644 --- a/src/TestIt.Client/Model/AutoTestIdModel.cs +++ b/src/TestIT.ApiClient/Model/AutoTestIdModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestIdModel @@ -95,7 +95,7 @@ public bool Equals(AutoTestIdModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && diff --git a/src/TestIt.Client/Model/AutoTestModel.cs b/src/TestIT.ApiClient/Model/AutoTestModel.cs similarity index 97% rename from src/TestIt.Client/Model/AutoTestModel.cs rename to src/TestIT.ApiClient/Model/AutoTestModel.cs index 78aa624e..888824c3 100644 --- a/src/TestIt.Client/Model/AutoTestModel.cs +++ b/src/TestIT.ApiClient/Model/AutoTestModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestModel @@ -366,139 +366,139 @@ public bool Equals(AutoTestModel input) { return false; } - return + return ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.MustBeApproved == input.MustBeApproved || this.MustBeApproved.Equals(input.MustBeApproved) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.LastTestRunId == input.LastTestRunId || (this.LastTestRunId != null && this.LastTestRunId.Equals(input.LastTestRunId)) - ) && + ) && ( this.LastTestRunName == input.LastTestRunName || (this.LastTestRunName != null && this.LastTestRunName.Equals(input.LastTestRunName)) - ) && + ) && ( this.LastTestResultId == input.LastTestResultId || (this.LastTestResultId != null && this.LastTestResultId.Equals(input.LastTestResultId)) - ) && + ) && ( this.LastTestResultOutcome == input.LastTestResultOutcome || (this.LastTestResultOutcome != null && this.LastTestResultOutcome.Equals(input.LastTestResultOutcome)) - ) && + ) && ( this.StabilityPercentage == input.StabilityPercentage || (this.StabilityPercentage != null && this.StabilityPercentage.Equals(input.StabilityPercentage)) - ) && + ) && ( this.ExternalId == input.ExternalId || (this.ExternalId != null && this.ExternalId.Equals(input.ExternalId)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.Classname == input.Classname || (this.Classname != null && this.Classname.Equals(input.Classname)) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.Setup == input.Setup || this.Setup != null && input.Setup != null && this.Setup.SequenceEqual(input.Setup) - ) && + ) && ( this.Teardown == input.Teardown || this.Teardown != null && input.Teardown != null && this.Teardown.SequenceEqual(input.Teardown) - ) && + ) && ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Labels == input.Labels || this.Labels != null && input.Labels != null && this.Labels.SequenceEqual(input.Labels) - ) && + ) && ( this.IsFlaky == input.IsFlaky || (this.IsFlaky != null && this.IsFlaky.Equals(input.IsFlaky)) - ) && + ) && ( this.ExternalKey == input.ExternalKey || (this.ExternalKey != null && diff --git a/src/TestIt.Client/Model/AutoTestModelV2GetModel.cs b/src/TestIT.ApiClient/Model/AutoTestModelV2GetModel.cs similarity index 97% rename from src/TestIt.Client/Model/AutoTestModelV2GetModel.cs rename to src/TestIT.ApiClient/Model/AutoTestModelV2GetModel.cs index 0eff01ef..ae159f69 100644 --- a/src/TestIt.Client/Model/AutoTestModelV2GetModel.cs +++ b/src/TestIT.ApiClient/Model/AutoTestModelV2GetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestModelV2GetModel @@ -253,91 +253,91 @@ public bool Equals(AutoTestModelV2GetModel input) { return false; } - return + return ( this.ExternalId == input.ExternalId || (this.ExternalId != null && this.ExternalId.Equals(input.ExternalId)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.Classname == input.Classname || (this.Classname != null && this.Classname.Equals(input.Classname)) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.Setup == input.Setup || this.Setup != null && input.Setup != null && this.Setup.SequenceEqual(input.Setup) - ) && + ) && ( this.Teardown == input.Teardown || this.Teardown != null && input.Teardown != null && this.Teardown.SequenceEqual(input.Teardown) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.Labels == input.Labels || this.Labels != null && input.Labels != null && this.Labels.SequenceEqual(input.Labels) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/AutoTestNamespaceModel.cs b/src/TestIT.ApiClient/Model/AutoTestNamespaceModel.cs similarity index 95% rename from src/TestIt.Client/Model/AutoTestNamespaceModel.cs rename to src/TestIT.ApiClient/Model/AutoTestNamespaceModel.cs index 9079a6c4..91521e9c 100644 --- a/src/TestIt.Client/Model/AutoTestNamespaceModel.cs +++ b/src/TestIT.ApiClient/Model/AutoTestNamespaceModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestNamespaceModel @@ -100,12 +100,12 @@ public bool Equals(AutoTestNamespaceModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Classes == input.Classes || this.Classes != null && diff --git a/src/TestIt.Client/Model/AutoTestPostModel.cs b/src/TestIT.ApiClient/Model/AutoTestPostModel.cs similarity index 97% rename from src/TestIt.Client/Model/AutoTestPostModel.cs rename to src/TestIT.ApiClient/Model/AutoTestPostModel.cs index 1a9b8200..ae852522 100644 --- a/src/TestIt.Client/Model/AutoTestPostModel.cs +++ b/src/TestIT.ApiClient/Model/AutoTestPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestPostModel @@ -256,88 +256,88 @@ public bool Equals(AutoTestPostModel input) { return false; } - return + return ( this.WorkItemIdsForLinkWithAutoTest == input.WorkItemIdsForLinkWithAutoTest || this.WorkItemIdsForLinkWithAutoTest != null && input.WorkItemIdsForLinkWithAutoTest != null && this.WorkItemIdsForLinkWithAutoTest.SequenceEqual(input.WorkItemIdsForLinkWithAutoTest) - ) && + ) && ( this.ShouldCreateWorkItem == input.ShouldCreateWorkItem || (this.ShouldCreateWorkItem != null && this.ShouldCreateWorkItem.Equals(input.ShouldCreateWorkItem)) - ) && + ) && ( this.ExternalId == input.ExternalId || (this.ExternalId != null && this.ExternalId.Equals(input.ExternalId)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.Classname == input.Classname || (this.Classname != null && this.Classname.Equals(input.Classname)) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.Setup == input.Setup || this.Setup != null && input.Setup != null && this.Setup.SequenceEqual(input.Setup) - ) && + ) && ( this.Teardown == input.Teardown || this.Teardown != null && input.Teardown != null && this.Teardown.SequenceEqual(input.Teardown) - ) && + ) && ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Labels == input.Labels || this.Labels != null && input.Labels != null && this.Labels.SequenceEqual(input.Labels) - ) && + ) && ( this.IsFlaky == input.IsFlaky || (this.IsFlaky != null && this.IsFlaky.Equals(input.IsFlaky)) - ) && + ) && ( this.ExternalKey == input.ExternalKey || (this.ExternalKey != null && diff --git a/src/TestIt.Client/Model/AutoTestPutModel.cs b/src/TestIT.ApiClient/Model/AutoTestPutModel.cs similarity index 97% rename from src/TestIt.Client/Model/AutoTestPutModel.cs rename to src/TestIT.ApiClient/Model/AutoTestPutModel.cs index cd3973c0..0dc4e73e 100644 --- a/src/TestIt.Client/Model/AutoTestPutModel.cs +++ b/src/TestIT.ApiClient/Model/AutoTestPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestPutModel @@ -256,88 +256,88 @@ public bool Equals(AutoTestPutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.WorkItemIdsForLinkWithAutoTest == input.WorkItemIdsForLinkWithAutoTest || this.WorkItemIdsForLinkWithAutoTest != null && input.WorkItemIdsForLinkWithAutoTest != null && this.WorkItemIdsForLinkWithAutoTest.SequenceEqual(input.WorkItemIdsForLinkWithAutoTest) - ) && + ) && ( this.ExternalId == input.ExternalId || (this.ExternalId != null && this.ExternalId.Equals(input.ExternalId)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.Classname == input.Classname || (this.Classname != null && this.Classname.Equals(input.Classname)) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.Setup == input.Setup || this.Setup != null && input.Setup != null && this.Setup.SequenceEqual(input.Setup) - ) && + ) && ( this.Teardown == input.Teardown || this.Teardown != null && input.Teardown != null && this.Teardown.SequenceEqual(input.Teardown) - ) && + ) && ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Labels == input.Labels || this.Labels != null && input.Labels != null && this.Labels.SequenceEqual(input.Labels) - ) && + ) && ( this.IsFlaky == input.IsFlaky || (this.IsFlaky != null && this.IsFlaky.Equals(input.IsFlaky)) - ) && + ) && ( this.ExternalKey == input.ExternalKey || (this.ExternalKey != null && diff --git a/src/TestIt.Client/Model/AutoTestRelatedToTestResult.cs b/src/TestIT.ApiClient/Model/AutoTestRelatedToTestResult.cs similarity index 97% rename from src/TestIt.Client/Model/AutoTestRelatedToTestResult.cs rename to src/TestIT.ApiClient/Model/AutoTestRelatedToTestResult.cs index bdb6930c..9b6b182d 100644 --- a/src/TestIt.Client/Model/AutoTestRelatedToTestResult.cs +++ b/src/TestIT.ApiClient/Model/AutoTestRelatedToTestResult.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestRelatedToTestResult @@ -253,91 +253,91 @@ public bool Equals(AutoTestRelatedToTestResult input) { return false; } - return + return ( this.ExternalId == input.ExternalId || (this.ExternalId != null && this.ExternalId.Equals(input.ExternalId)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.Classname == input.Classname || (this.Classname != null && this.Classname.Equals(input.Classname)) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.Setup == input.Setup || this.Setup != null && input.Setup != null && this.Setup.SequenceEqual(input.Setup) - ) && + ) && ( this.Teardown == input.Teardown || this.Teardown != null && input.Teardown != null && this.Teardown.SequenceEqual(input.Teardown) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.Labels == input.Labels || this.Labels != null && input.Labels != null && this.Labels.SequenceEqual(input.Labels) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/AutoTestResultsForTestRunModel.cs b/src/TestIT.ApiClient/Model/AutoTestResultsForTestRunModel.cs similarity index 97% rename from src/TestIt.Client/Model/AutoTestResultsForTestRunModel.cs rename to src/TestIT.ApiClient/Model/AutoTestResultsForTestRunModel.cs index c2353c4a..620ed87e 100644 --- a/src/TestIt.Client/Model/AutoTestResultsForTestRunModel.cs +++ b/src/TestIT.ApiClient/Model/AutoTestResultsForTestRunModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestResultsForTestRunModel @@ -250,88 +250,88 @@ public bool Equals(AutoTestResultsForTestRunModel input) { return false; } - return + return ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.FailureReasonNames == input.FailureReasonNames || this.FailureReasonNames != null && input.FailureReasonNames != null && this.FailureReasonNames.SequenceEqual(input.FailureReasonNames) - ) && + ) && ( this.AutoTestExternalId == input.AutoTestExternalId || (this.AutoTestExternalId != null && this.AutoTestExternalId.Equals(input.AutoTestExternalId)) - ) && + ) && ( this.Outcome == input.Outcome || this.Outcome.Equals(input.Outcome) - ) && + ) && ( this.Message == input.Message || (this.Message != null && this.Message.Equals(input.Message)) - ) && + ) && ( this.Traces == input.Traces || (this.Traces != null && this.Traces.Equals(input.Traces)) - ) && + ) && ( this.StartedOn == input.StartedOn || (this.StartedOn != null && this.StartedOn.Equals(input.StartedOn)) - ) && + ) && ( this.CompletedOn == input.CompletedOn || (this.CompletedOn != null && this.CompletedOn.Equals(input.CompletedOn)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && input.Parameters != null && this.Parameters.SequenceEqual(input.Parameters) - ) && + ) && ( this.Properties == input.Properties || this.Properties != null && input.Properties != null && this.Properties.SequenceEqual(input.Properties) - ) && + ) && ( this.StepResults == input.StepResults || this.StepResults != null && input.StepResults != null && this.StepResults.SequenceEqual(input.StepResults) - ) && + ) && ( this.SetupResults == input.SetupResults || this.SetupResults != null && input.SetupResults != null && this.SetupResults.SequenceEqual(input.SetupResults) - ) && + ) && ( this.TeardownResults == input.TeardownResults || this.TeardownResults != null && diff --git a/src/TestIt.Client/Model/AutoTestShortModel.cs b/src/TestIT.ApiClient/Model/AutoTestShortModel.cs similarity index 96% rename from src/TestIt.Client/Model/AutoTestShortModel.cs rename to src/TestIT.ApiClient/Model/AutoTestShortModel.cs index 47f84f85..60500766 100644 --- a/src/TestIt.Client/Model/AutoTestShortModel.cs +++ b/src/TestIT.ApiClient/Model/AutoTestShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestShortModel @@ -131,26 +131,26 @@ public bool Equals(AutoTestShortModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.ExternalId == input.ExternalId || (this.ExternalId != null && this.ExternalId.Equals(input.ExternalId)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/AutoTestStepModel.cs b/src/TestIT.ApiClient/Model/AutoTestStepModel.cs similarity index 96% rename from src/TestIt.Client/Model/AutoTestStepModel.cs rename to src/TestIT.ApiClient/Model/AutoTestStepModel.cs index a64851ac..6cf83cb7 100644 --- a/src/TestIt.Client/Model/AutoTestStepModel.cs +++ b/src/TestIT.ApiClient/Model/AutoTestStepModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutoTestStepModel @@ -121,17 +121,17 @@ public bool Equals(AutoTestStepModel input) { return false; } - return + return ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && diff --git a/src/TestIt.Client/Model/AutotestFilterModel.cs b/src/TestIT.ApiClient/Model/AutotestFilterModel.cs similarity index 97% rename from src/TestIt.Client/Model/AutotestFilterModel.cs rename to src/TestIT.ApiClient/Model/AutotestFilterModel.cs index 3449b67e..7300be3d 100644 --- a/src/TestIt.Client/Model/AutotestFilterModel.cs +++ b/src/TestIT.ApiClient/Model/AutotestFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutotestFilterModel @@ -257,96 +257,96 @@ public bool Equals(AutotestFilterModel input) { return false; } - return + return ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.ExternalIds == input.ExternalIds || this.ExternalIds != null && input.ExternalIds != null && this.ExternalIds.SequenceEqual(input.ExternalIds) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsFlaky == input.IsFlaky || (this.IsFlaky != null && this.IsFlaky.Equals(input.IsFlaky)) - ) && + ) && ( this.MustBeApproved == input.MustBeApproved || (this.MustBeApproved != null && this.MustBeApproved.Equals(input.MustBeApproved)) - ) && + ) && ( this.StabilityPercentage == input.StabilityPercentage || (this.StabilityPercentage != null && this.StabilityPercentage.Equals(input.StabilityPercentage)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.IsEmptyNamespace == input.IsEmptyNamespace || (this.IsEmptyNamespace != null && this.IsEmptyNamespace.Equals(input.IsEmptyNamespace)) - ) && + ) && ( this.ClassName == input.ClassName || (this.ClassName != null && this.ClassName.Equals(input.ClassName)) - ) && + ) && ( this.IsEmptyClassName == input.IsEmptyClassName || (this.IsEmptyClassName != null && this.IsEmptyClassName.Equals(input.IsEmptyClassName)) - ) && + ) && ( this.LastTestResultOutcome == input.LastTestResultOutcome || this.LastTestResultOutcome.Equals(input.LastTestResultOutcome) - ) && + ) && ( this.ExternalKey == input.ExternalKey || (this.ExternalKey != null && diff --git a/src/TestIt.Client/Model/AutotestFilterModelCreatedDate.cs b/src/TestIT.ApiClient/Model/AutotestFilterModelCreatedDate.cs similarity index 95% rename from src/TestIt.Client/Model/AutotestFilterModelCreatedDate.cs rename to src/TestIT.ApiClient/Model/AutotestFilterModelCreatedDate.cs index 7d157c93..2d09bfac 100644 --- a/src/TestIt.Client/Model/AutotestFilterModelCreatedDate.cs +++ b/src/TestIT.ApiClient/Model/AutotestFilterModelCreatedDate.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies an autotest range of creation date to search for @@ -99,12 +99,12 @@ public bool Equals(AutotestFilterModelCreatedDate input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/AutotestFilterModelModifiedDate.cs b/src/TestIT.ApiClient/Model/AutotestFilterModelModifiedDate.cs similarity index 95% rename from src/TestIt.Client/Model/AutotestFilterModelModifiedDate.cs rename to src/TestIT.ApiClient/Model/AutotestFilterModelModifiedDate.cs index 7a845cb9..7e9a7774 100644 --- a/src/TestIt.Client/Model/AutotestFilterModelModifiedDate.cs +++ b/src/TestIT.ApiClient/Model/AutotestFilterModelModifiedDate.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies an autotest range of last modification date to search for @@ -99,12 +99,12 @@ public bool Equals(AutotestFilterModelModifiedDate input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/AutotestFilterModelStabilityPercentage.cs b/src/TestIT.ApiClient/Model/AutotestFilterModelStabilityPercentage.cs similarity index 95% rename from src/TestIt.Client/Model/AutotestFilterModelStabilityPercentage.cs rename to src/TestIT.ApiClient/Model/AutotestFilterModelStabilityPercentage.cs index 652291a8..a1a9ecef 100644 --- a/src/TestIt.Client/Model/AutotestFilterModelStabilityPercentage.cs +++ b/src/TestIT.ApiClient/Model/AutotestFilterModelStabilityPercentage.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies an autotest range of stability percentage to search for @@ -99,12 +99,12 @@ public bool Equals(AutotestFilterModelStabilityPercentage input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/AutotestHistoricalResultSelectModel.cs b/src/TestIT.ApiClient/Model/AutotestHistoricalResultSelectModel.cs similarity index 96% rename from src/TestIt.Client/Model/AutotestHistoricalResultSelectModel.cs rename to src/TestIT.ApiClient/Model/AutotestHistoricalResultSelectModel.cs index 1b528542..392c638b 100644 --- a/src/TestIt.Client/Model/AutotestHistoricalResultSelectModel.cs +++ b/src/TestIT.ApiClient/Model/AutotestHistoricalResultSelectModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutotestHistoricalResultSelectModel @@ -144,42 +144,42 @@ public bool Equals(AutotestHistoricalResultSelectModel input) { return false; } - return + return ( this.Outcomes == input.Outcomes || this.Outcomes != null && input.Outcomes != null && this.Outcomes.SequenceEqual(input.Outcomes) - ) && + ) && ( this.TestPlanIds == input.TestPlanIds || this.TestPlanIds != null && input.TestPlanIds != null && this.TestPlanIds.SequenceEqual(input.TestPlanIds) - ) && + ) && ( this.TestRunIds == input.TestRunIds || this.TestRunIds != null && input.TestRunIds != null && this.TestRunIds.SequenceEqual(input.TestRunIds) - ) && + ) && ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.UserIds == input.UserIds || this.UserIds != null && input.UserIds != null && this.UserIds.SequenceEqual(input.UserIds) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && diff --git a/src/TestIt.Client/Model/AutotestResultHistoricalGetModel.cs b/src/TestIT.ApiClient/Model/AutotestResultHistoricalGetModel.cs similarity index 96% rename from src/TestIt.Client/Model/AutotestResultHistoricalGetModel.cs rename to src/TestIT.ApiClient/Model/AutotestResultHistoricalGetModel.cs index 5b86411e..79b139c8 100644 --- a/src/TestIt.Client/Model/AutotestResultHistoricalGetModel.cs +++ b/src/TestIT.ApiClient/Model/AutotestResultHistoricalGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutotestResultHistoricalGetModel @@ -230,81 +230,81 @@ public bool Equals(AutotestResultHistoricalGetModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.CreatedByName == input.CreatedByName || (this.CreatedByName != null && this.CreatedByName.Equals(input.CreatedByName)) - ) && + ) && ( this.TestRunId == input.TestRunId || (this.TestRunId != null && this.TestRunId.Equals(input.TestRunId)) - ) && + ) && ( this.TestRunName == input.TestRunName || (this.TestRunName != null && this.TestRunName.Equals(input.TestRunName)) - ) && + ) && ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.ConfigurationName == input.ConfigurationName || (this.ConfigurationName != null && this.ConfigurationName.Equals(input.ConfigurationName)) - ) && + ) && ( this.Outcome == input.Outcome || this.Outcome.Equals(input.Outcome) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.TestPlanGlobalId == input.TestPlanGlobalId || (this.TestPlanGlobalId != null && this.TestPlanGlobalId.Equals(input.TestPlanGlobalId)) - ) && + ) && ( this.TestPlanName == input.TestPlanName || (this.TestPlanName != null && this.TestPlanName.Equals(input.TestPlanName)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && diff --git a/src/TestIt.Client/Model/AutotestResultOutcome.cs b/src/TestIT.ApiClient/Model/AutotestResultOutcome.cs similarity index 90% rename from src/TestIt.Client/Model/AutotestResultOutcome.cs rename to src/TestIT.ApiClient/Model/AutotestResultOutcome.cs index c09ea19e..ca494190 100644 --- a/src/TestIt.Client/Model/AutotestResultOutcome.cs +++ b/src/TestIT.ApiClient/Model/AutotestResultOutcome.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines AutotestResultOutcome diff --git a/src/TestIt.Client/Model/AutotestResultReasonSubGetModel.cs b/src/TestIT.ApiClient/Model/AutotestResultReasonSubGetModel.cs similarity index 96% rename from src/TestIt.Client/Model/AutotestResultReasonSubGetModel.cs rename to src/TestIT.ApiClient/Model/AutotestResultReasonSubGetModel.cs index 70fec165..24d8176a 100644 --- a/src/TestIt.Client/Model/AutotestResultReasonSubGetModel.cs +++ b/src/TestIT.ApiClient/Model/AutotestResultReasonSubGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutotestResultReasonSubGetModel @@ -104,11 +104,11 @@ public bool Equals(AutotestResultReasonSubGetModel input) { return false; } - return + return ( this.FailureCategory == input.FailureCategory || this.FailureCategory.Equals(input.FailureCategory) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/AutotestSelectModel.cs b/src/TestIT.ApiClient/Model/AutotestSelectModel.cs similarity index 95% rename from src/TestIt.Client/Model/AutotestSelectModel.cs rename to src/TestIT.ApiClient/Model/AutotestSelectModel.cs index 4ae11780..429695de 100644 --- a/src/TestIt.Client/Model/AutotestSelectModel.cs +++ b/src/TestIT.ApiClient/Model/AutotestSelectModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutotestSelectModel @@ -99,12 +99,12 @@ public bool Equals(AutotestSelectModel input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/AutotestsExtractionModel.cs b/src/TestIT.ApiClient/Model/AutotestsExtractionModel.cs similarity index 95% rename from src/TestIt.Client/Model/AutotestsExtractionModel.cs rename to src/TestIT.ApiClient/Model/AutotestsExtractionModel.cs index 22363479..73d53f82 100644 --- a/src/TestIt.Client/Model/AutotestsExtractionModel.cs +++ b/src/TestIT.ApiClient/Model/AutotestsExtractionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutotestsExtractionModel @@ -90,7 +90,7 @@ public bool Equals(AutotestsExtractionModel input) { return false; } - return + return ( this.Ids == input.Ids || (this.Ids != null && diff --git a/src/TestIt.Client/Model/AutotestsExtractionModelIds.cs b/src/TestIT.ApiClient/Model/AutotestsExtractionModelIds.cs similarity index 95% rename from src/TestIt.Client/Model/AutotestsExtractionModelIds.cs rename to src/TestIT.ApiClient/Model/AutotestsExtractionModelIds.cs index 87aa4d78..0c5db758 100644 --- a/src/TestIt.Client/Model/AutotestsExtractionModelIds.cs +++ b/src/TestIT.ApiClient/Model/AutotestsExtractionModelIds.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Extraction parameters for autotests @@ -99,13 +99,13 @@ public bool Equals(AutotestsExtractionModelIds input) { return false; } - return + return ( this.Include == input.Include || this.Include != null && input.Include != null && this.Include.SequenceEqual(input.Include) - ) && + ) && ( this.Exclude == input.Exclude || this.Exclude != null && diff --git a/src/TestIt.Client/Model/AutotestsSelectModel.cs b/src/TestIT.ApiClient/Model/AutotestsSelectModel.cs similarity index 95% rename from src/TestIt.Client/Model/AutotestsSelectModel.cs rename to src/TestIT.ApiClient/Model/AutotestsSelectModel.cs index 69335188..259a575e 100644 --- a/src/TestIt.Client/Model/AutotestsSelectModel.cs +++ b/src/TestIT.ApiClient/Model/AutotestsSelectModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// AutotestsSelectModel @@ -99,12 +99,12 @@ public bool Equals(AutotestsSelectModel input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.Includes == input.Includes || (this.Includes != null && diff --git a/src/TestIt.Client/Model/AutotestsSelectModelFilter.cs b/src/TestIT.ApiClient/Model/AutotestsSelectModelFilter.cs similarity index 97% rename from src/TestIt.Client/Model/AutotestsSelectModelFilter.cs rename to src/TestIT.ApiClient/Model/AutotestsSelectModelFilter.cs index 50ed7b76..c1cffeb1 100644 --- a/src/TestIt.Client/Model/AutotestsSelectModelFilter.cs +++ b/src/TestIT.ApiClient/Model/AutotestsSelectModelFilter.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Object containing different filters to adjust search @@ -257,96 +257,96 @@ public bool Equals(AutotestsSelectModelFilter input) { return false; } - return + return ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.ExternalIds == input.ExternalIds || this.ExternalIds != null && input.ExternalIds != null && this.ExternalIds.SequenceEqual(input.ExternalIds) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsFlaky == input.IsFlaky || (this.IsFlaky != null && this.IsFlaky.Equals(input.IsFlaky)) - ) && + ) && ( this.MustBeApproved == input.MustBeApproved || (this.MustBeApproved != null && this.MustBeApproved.Equals(input.MustBeApproved)) - ) && + ) && ( this.StabilityPercentage == input.StabilityPercentage || (this.StabilityPercentage != null && this.StabilityPercentage.Equals(input.StabilityPercentage)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.IsEmptyNamespace == input.IsEmptyNamespace || (this.IsEmptyNamespace != null && this.IsEmptyNamespace.Equals(input.IsEmptyNamespace)) - ) && + ) && ( this.ClassName == input.ClassName || (this.ClassName != null && this.ClassName.Equals(input.ClassName)) - ) && + ) && ( this.IsEmptyClassName == input.IsEmptyClassName || (this.IsEmptyClassName != null && this.IsEmptyClassName.Equals(input.IsEmptyClassName)) - ) && + ) && ( this.LastTestResultOutcome == input.LastTestResultOutcome || this.LastTestResultOutcome.Equals(input.LastTestResultOutcome) - ) && + ) && ( this.ExternalKey == input.ExternalKey || (this.ExternalKey != null && diff --git a/src/TestIt.Client/Model/AutotestsSelectModelIncludes.cs b/src/TestIT.ApiClient/Model/AutotestsSelectModelIncludes.cs similarity index 96% rename from src/TestIt.Client/Model/AutotestsSelectModelIncludes.cs rename to src/TestIT.ApiClient/Model/AutotestsSelectModelIncludes.cs index 3af8ebdb..a5916a9a 100644 --- a/src/TestIt.Client/Model/AutotestsSelectModelIncludes.cs +++ b/src/TestIT.ApiClient/Model/AutotestsSelectModelIncludes.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Object specifying data to be included @@ -116,15 +116,15 @@ public bool Equals(AutotestsSelectModelIncludes input) { return false; } - return + return ( this.IncludeSteps == input.IncludeSteps || this.IncludeSteps.Equals(input.IncludeSteps) - ) && + ) && ( this.IncludeLinks == input.IncludeLinks || this.IncludeLinks.Equals(input.IncludeLinks) - ) && + ) && ( this.IncludeLabels == input.IncludeLabels || this.IncludeLabels.Equals(input.IncludeLabels) diff --git a/src/TestIt.Client/Model/AvailableTestResultOutcome.cs b/src/TestIT.ApiClient/Model/AvailableTestResultOutcome.cs similarity index 89% rename from src/TestIt.Client/Model/AvailableTestResultOutcome.cs rename to src/TestIT.ApiClient/Model/AvailableTestResultOutcome.cs index 95dc64b5..83ee0c0e 100644 --- a/src/TestIt.Client/Model/AvailableTestResultOutcome.cs +++ b/src/TestIT.ApiClient/Model/AvailableTestResultOutcome.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines AvailableTestResultOutcome diff --git a/src/TestIt.Client/Model/BackgroundJobAttachmentModel.cs b/src/TestIT.ApiClient/Model/BackgroundJobAttachmentModel.cs similarity index 96% rename from src/TestIt.Client/Model/BackgroundJobAttachmentModel.cs rename to src/TestIT.ApiClient/Model/BackgroundJobAttachmentModel.cs index c0495965..dc08055b 100644 --- a/src/TestIt.Client/Model/BackgroundJobAttachmentModel.cs +++ b/src/TestIT.ApiClient/Model/BackgroundJobAttachmentModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// BackgroundJobAttachmentModel @@ -113,17 +113,17 @@ public bool Equals(BackgroundJobAttachmentModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Type == input.Type || (this.Type != null && diff --git a/src/TestIt.Client/Model/BackgroundJobFilterModel.cs b/src/TestIT.ApiClient/Model/BackgroundJobFilterModel.cs similarity index 96% rename from src/TestIt.Client/Model/BackgroundJobFilterModel.cs rename to src/TestIT.ApiClient/Model/BackgroundJobFilterModel.cs index 3dcd0eef..e383dc3f 100644 --- a/src/TestIt.Client/Model/BackgroundJobFilterModel.cs +++ b/src/TestIT.ApiClient/Model/BackgroundJobFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// BackgroundJobFilterModel @@ -126,29 +126,29 @@ public bool Equals(BackgroundJobFilterModel input) { return false; } - return + return ( this.Types == input.Types || this.Types != null && input.Types != null && this.Types.SequenceEqual(input.Types) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && diff --git a/src/TestIt.Client/Model/BackgroundJobGetModel.cs b/src/TestIT.ApiClient/Model/BackgroundJobGetModel.cs similarity index 96% rename from src/TestIt.Client/Model/BackgroundJobGetModel.cs rename to src/TestIT.ApiClient/Model/BackgroundJobGetModel.cs index 591025de..aa5db838 100644 --- a/src/TestIt.Client/Model/BackgroundJobGetModel.cs +++ b/src/TestIT.ApiClient/Model/BackgroundJobGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// BackgroundJobGetModel @@ -186,48 +186,48 @@ public bool Equals(BackgroundJobGetModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.JobId == input.JobId || (this.JobId != null && this.JobId.Equals(input.JobId)) - ) && + ) && ( this.JobType == input.JobType || this.JobType.Equals(input.JobType) - ) && + ) && ( this.State == input.State || this.State.Equals(input.State) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.Progress == input.Progress || this.Progress.Equals(input.Progress) - ) && + ) && ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && this.EndDate.Equals(input.EndDate)) - ) && + ) && ( this.Error == input.Error || (this.Error != null && this.Error.Equals(input.Error)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && diff --git a/src/TestIt.Client/Model/BackgroundJobState.cs b/src/TestIT.ApiClient/Model/BackgroundJobState.cs similarity index 90% rename from src/TestIt.Client/Model/BackgroundJobState.cs rename to src/TestIT.ApiClient/Model/BackgroundJobState.cs index aaa0bf6a..0266d365 100644 --- a/src/TestIt.Client/Model/BackgroundJobState.cs +++ b/src/TestIT.ApiClient/Model/BackgroundJobState.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines BackgroundJobState diff --git a/src/TestIt.Client/Model/BackgroundJobType.cs b/src/TestIT.ApiClient/Model/BackgroundJobType.cs similarity index 95% rename from src/TestIt.Client/Model/BackgroundJobType.cs rename to src/TestIT.ApiClient/Model/BackgroundJobType.cs index e2faf109..3032ae8e 100644 --- a/src/TestIt.Client/Model/BackgroundJobType.cs +++ b/src/TestIT.ApiClient/Model/BackgroundJobType.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines BackgroundJobType diff --git a/src/TestIt.Client/Model/BooleanChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/BooleanChangedFieldViewModel.cs similarity index 95% rename from src/TestIt.Client/Model/BooleanChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/BooleanChangedFieldViewModel.cs index 206dcf44..547e7b28 100644 --- a/src/TestIt.Client/Model/BooleanChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/BooleanChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// BooleanChangedFieldViewModel @@ -104,11 +104,11 @@ public bool Equals(BooleanChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || this.OldValue.Equals(input.OldValue) - ) && + ) && ( this.NewValue == input.NewValue || this.NewValue.Equals(input.NewValue) diff --git a/src/TestIt.Client/Model/BooleanNullableChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/BooleanNullableChangedFieldViewModel.cs similarity index 95% rename from src/TestIt.Client/Model/BooleanNullableChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/BooleanNullableChangedFieldViewModel.cs index 9296d374..8e93553b 100644 --- a/src/TestIt.Client/Model/BooleanNullableChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/BooleanNullableChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// BooleanNullableChangedFieldViewModel @@ -99,12 +99,12 @@ public bool Equals(BooleanNullableChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || (this.OldValue != null && this.OldValue.Equals(input.OldValue)) - ) && + ) && ( this.NewValue == input.NewValue || (this.NewValue != null && diff --git a/src/TestIt.Client/Model/ConfigurationByParametersModel.cs b/src/TestIT.ApiClient/Model/ConfigurationByParametersModel.cs similarity index 96% rename from src/TestIt.Client/Model/ConfigurationByParametersModel.cs rename to src/TestIT.ApiClient/Model/ConfigurationByParametersModel.cs index 62b5ef06..472b7a78 100644 --- a/src/TestIt.Client/Model/ConfigurationByParametersModel.cs +++ b/src/TestIT.ApiClient/Model/ConfigurationByParametersModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ConfigurationByParametersModel @@ -111,12 +111,12 @@ public bool Equals(ConfigurationByParametersModel input) { return false; } - return + return ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ParameterIds == input.ParameterIds || this.ParameterIds != null && diff --git a/src/TestIt.Client/Model/ConfigurationExtractionModel.cs b/src/TestIT.ApiClient/Model/ConfigurationExtractionModel.cs similarity index 95% rename from src/TestIt.Client/Model/ConfigurationExtractionModel.cs rename to src/TestIT.ApiClient/Model/ConfigurationExtractionModel.cs index 298ea24f..3ae49f98 100644 --- a/src/TestIt.Client/Model/ConfigurationExtractionModel.cs +++ b/src/TestIT.ApiClient/Model/ConfigurationExtractionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ConfigurationExtractionModel @@ -99,12 +99,12 @@ public bool Equals(ConfigurationExtractionModel input) { return false; } - return + return ( this.Ids == input.Ids || (this.Ids != null && this.Ids.Equals(input.Ids)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || (this.ProjectIds != null && diff --git a/src/TestIt.Client/Model/ConfigurationExtractionModelIds.cs b/src/TestIT.ApiClient/Model/ConfigurationExtractionModelIds.cs similarity index 95% rename from src/TestIt.Client/Model/ConfigurationExtractionModelIds.cs rename to src/TestIT.ApiClient/Model/ConfigurationExtractionModelIds.cs index 87bb7af4..358fb904 100644 --- a/src/TestIt.Client/Model/ConfigurationExtractionModelIds.cs +++ b/src/TestIT.ApiClient/Model/ConfigurationExtractionModelIds.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Extraction parameters for configurations @@ -99,13 +99,13 @@ public bool Equals(ConfigurationExtractionModelIds input) { return false; } - return + return ( this.Include == input.Include || this.Include != null && input.Include != null && this.Include.SequenceEqual(input.Include) - ) && + ) && ( this.Exclude == input.Exclude || this.Exclude != null && diff --git a/src/TestIt.Client/Model/ConfigurationExtractionModelProjectIds.cs b/src/TestIT.ApiClient/Model/ConfigurationExtractionModelProjectIds.cs similarity index 95% rename from src/TestIt.Client/Model/ConfigurationExtractionModelProjectIds.cs rename to src/TestIT.ApiClient/Model/ConfigurationExtractionModelProjectIds.cs index 5a33cba5..7422946d 100644 --- a/src/TestIt.Client/Model/ConfigurationExtractionModelProjectIds.cs +++ b/src/TestIT.ApiClient/Model/ConfigurationExtractionModelProjectIds.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Extraction parameters for projects @@ -99,13 +99,13 @@ public bool Equals(ConfigurationExtractionModelProjectIds input) { return false; } - return + return ( this.Include == input.Include || this.Include != null && input.Include != null && this.Include.SequenceEqual(input.Include) - ) && + ) && ( this.Exclude == input.Exclude || this.Exclude != null && diff --git a/src/TestIt.Client/Model/ConfigurationFilterModel.cs b/src/TestIT.ApiClient/Model/ConfigurationFilterModel.cs similarity index 96% rename from src/TestIt.Client/Model/ConfigurationFilterModel.cs rename to src/TestIT.ApiClient/Model/ConfigurationFilterModel.cs index 3b6c6bab..29488014 100644 --- a/src/TestIt.Client/Model/ConfigurationFilterModel.cs +++ b/src/TestIT.ApiClient/Model/ConfigurationFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ConfigurationFilterModel @@ -121,23 +121,23 @@ public bool Equals(ConfigurationFilterModel input) { return false; } - return + return ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && diff --git a/src/TestIt.Client/Model/ConfigurationModel.cs b/src/TestIT.ApiClient/Model/ConfigurationModel.cs similarity index 96% rename from src/TestIt.Client/Model/ConfigurationModel.cs rename to src/TestIT.ApiClient/Model/ConfigurationModel.cs index 1256d1cd..e5aa3ade 100644 --- a/src/TestIt.Client/Model/ConfigurationModel.cs +++ b/src/TestIT.ApiClient/Model/ConfigurationModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ConfigurationModel @@ -206,61 +206,61 @@ public bool Equals(ConfigurationModel input) { return false; } - return + return ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && input.Parameters != null && this.Parameters.SequenceEqual(input.Parameters) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.IsDefault == input.IsDefault || this.IsDefault.Equals(input.IsDefault) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/ConfigurationPostModel.cs b/src/TestIT.ApiClient/Model/ConfigurationPostModel.cs similarity index 96% rename from src/TestIt.Client/Model/ConfigurationPostModel.cs rename to src/TestIT.ApiClient/Model/ConfigurationPostModel.cs index 7fd76d3b..cb66b65c 100644 --- a/src/TestIt.Client/Model/ConfigurationPostModel.cs +++ b/src/TestIT.ApiClient/Model/ConfigurationPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ConfigurationPostModel @@ -145,27 +145,27 @@ public bool Equals(ConfigurationPostModel input) { return false; } - return + return ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && input.Parameters != null && this.Parameters.SequenceEqual(input.Parameters) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.IsDefault == input.IsDefault || this.IsDefault.Equals(input.IsDefault) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/ConfigurationPutModel.cs b/src/TestIT.ApiClient/Model/ConfigurationPutModel.cs similarity index 96% rename from src/TestIt.Client/Model/ConfigurationPutModel.cs rename to src/TestIT.ApiClient/Model/ConfigurationPutModel.cs index dda9f003..bcf4f5b5 100644 --- a/src/TestIt.Client/Model/ConfigurationPutModel.cs +++ b/src/TestIT.ApiClient/Model/ConfigurationPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ConfigurationPutModel @@ -155,32 +155,32 @@ public bool Equals(ConfigurationPutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && input.Parameters != null && this.Parameters.SequenceEqual(input.Parameters) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.IsDefault == input.IsDefault || this.IsDefault.Equals(input.IsDefault) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/ConfigurationSelectModel.cs b/src/TestIT.ApiClient/Model/ConfigurationSelectModel.cs similarity index 96% rename from src/TestIt.Client/Model/ConfigurationSelectModel.cs rename to src/TestIT.ApiClient/Model/ConfigurationSelectModel.cs index 7f84f030..f5abce2f 100644 --- a/src/TestIt.Client/Model/ConfigurationSelectModel.cs +++ b/src/TestIT.ApiClient/Model/ConfigurationSelectModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ConfigurationSelectModel @@ -99,12 +99,12 @@ public bool Equals(ConfigurationSelectModel input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/ConfigurationSelectModelExtractionModel.cs b/src/TestIT.ApiClient/Model/ConfigurationSelectModelExtractionModel.cs similarity index 96% rename from src/TestIt.Client/Model/ConfigurationSelectModelExtractionModel.cs rename to src/TestIT.ApiClient/Model/ConfigurationSelectModelExtractionModel.cs index eb3fbaa3..d2dd02ea 100644 --- a/src/TestIt.Client/Model/ConfigurationSelectModelExtractionModel.cs +++ b/src/TestIT.ApiClient/Model/ConfigurationSelectModelExtractionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Rules for configurations extraction @@ -99,12 +99,12 @@ public bool Equals(ConfigurationSelectModelExtractionModel input) { return false; } - return + return ( this.Ids == input.Ids || (this.Ids != null && this.Ids.Equals(input.Ids)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || (this.ProjectIds != null && diff --git a/src/TestIt.Client/Model/ConfigurationSelectModelFilter.cs b/src/TestIT.ApiClient/Model/ConfigurationSelectModelFilter.cs similarity index 96% rename from src/TestIt.Client/Model/ConfigurationSelectModelFilter.cs rename to src/TestIT.ApiClient/Model/ConfigurationSelectModelFilter.cs index be306642..e058ed69 100644 --- a/src/TestIt.Client/Model/ConfigurationSelectModelFilter.cs +++ b/src/TestIT.ApiClient/Model/ConfigurationSelectModelFilter.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Configuration filters collection @@ -121,23 +121,23 @@ public bool Equals(ConfigurationSelectModelFilter input) { return false; } - return + return ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && diff --git a/src/TestIt.Client/Model/CreateAndFillByAutoTestsRequest.cs b/src/TestIT.ApiClient/Model/CreateAndFillByAutoTestsRequest.cs similarity index 97% rename from src/TestIt.Client/Model/CreateAndFillByAutoTestsRequest.cs rename to src/TestIT.ApiClient/Model/CreateAndFillByAutoTestsRequest.cs index 8a4a4ad9..a5f8a1fd 100644 --- a/src/TestIt.Client/Model/CreateAndFillByAutoTestsRequest.cs +++ b/src/TestIT.ApiClient/Model/CreateAndFillByAutoTestsRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CreateAndFillByAutoTestsRequest @@ -176,45 +176,45 @@ public bool Equals(CreateAndFillByAutoTestsRequest input) { return false; } - return + return ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.AutoTestExternalIds == input.AutoTestExternalIds || this.AutoTestExternalIds != null && input.AutoTestExternalIds != null && this.AutoTestExternalIds.SequenceEqual(input.AutoTestExternalIds) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Links == input.Links || this.Links != null && diff --git a/src/TestIt.Client/Model/CreateAndFillByConfigurationsRequest.cs b/src/TestIT.ApiClient/Model/CreateAndFillByConfigurationsRequest.cs similarity index 97% rename from src/TestIt.Client/Model/CreateAndFillByConfigurationsRequest.cs rename to src/TestIT.ApiClient/Model/CreateAndFillByConfigurationsRequest.cs index 48e85146..c3e865d9 100644 --- a/src/TestIt.Client/Model/CreateAndFillByConfigurationsRequest.cs +++ b/src/TestIT.ApiClient/Model/CreateAndFillByConfigurationsRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CreateAndFillByConfigurationsRequest @@ -171,44 +171,44 @@ public bool Equals(CreateAndFillByConfigurationsRequest input) { return false; } - return + return ( this.TestPointSelectors == input.TestPointSelectors || this.TestPointSelectors != null && input.TestPointSelectors != null && this.TestPointSelectors.SequenceEqual(input.TestPointSelectors) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Links == input.Links || this.Links != null && diff --git a/src/TestIt.Client/Model/CreateAndFillByWorkItemsRequest.cs b/src/TestIT.ApiClient/Model/CreateAndFillByWorkItemsRequest.cs similarity index 97% rename from src/TestIt.Client/Model/CreateAndFillByWorkItemsRequest.cs rename to src/TestIT.ApiClient/Model/CreateAndFillByWorkItemsRequest.cs index 3f578c8b..389ce9c5 100644 --- a/src/TestIt.Client/Model/CreateAndFillByWorkItemsRequest.cs +++ b/src/TestIT.ApiClient/Model/CreateAndFillByWorkItemsRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CreateAndFillByWorkItemsRequest @@ -186,50 +186,50 @@ public bool Equals(CreateAndFillByWorkItemsRequest input) { return false; } - return + return ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.WorkItemIds == input.WorkItemIds || this.WorkItemIds != null && input.WorkItemIds != null && this.WorkItemIds.SequenceEqual(input.WorkItemIds) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Links == input.Links || this.Links != null && diff --git a/src/TestIt.Client/Model/CreateAutoTestRequest.cs b/src/TestIT.ApiClient/Model/CreateAutoTestRequest.cs similarity index 97% rename from src/TestIt.Client/Model/CreateAutoTestRequest.cs rename to src/TestIT.ApiClient/Model/CreateAutoTestRequest.cs index da16a3fd..7e5f53d1 100644 --- a/src/TestIt.Client/Model/CreateAutoTestRequest.cs +++ b/src/TestIT.ApiClient/Model/CreateAutoTestRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CreateAutoTestRequest @@ -256,88 +256,88 @@ public bool Equals(CreateAutoTestRequest input) { return false; } - return + return ( this.WorkItemIdsForLinkWithAutoTest == input.WorkItemIdsForLinkWithAutoTest || this.WorkItemIdsForLinkWithAutoTest != null && input.WorkItemIdsForLinkWithAutoTest != null && this.WorkItemIdsForLinkWithAutoTest.SequenceEqual(input.WorkItemIdsForLinkWithAutoTest) - ) && + ) && ( this.ShouldCreateWorkItem == input.ShouldCreateWorkItem || (this.ShouldCreateWorkItem != null && this.ShouldCreateWorkItem.Equals(input.ShouldCreateWorkItem)) - ) && + ) && ( this.ExternalId == input.ExternalId || (this.ExternalId != null && this.ExternalId.Equals(input.ExternalId)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.Classname == input.Classname || (this.Classname != null && this.Classname.Equals(input.Classname)) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.Setup == input.Setup || this.Setup != null && input.Setup != null && this.Setup.SequenceEqual(input.Setup) - ) && + ) && ( this.Teardown == input.Teardown || this.Teardown != null && input.Teardown != null && this.Teardown.SequenceEqual(input.Teardown) - ) && + ) && ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Labels == input.Labels || this.Labels != null && input.Labels != null && this.Labels.SequenceEqual(input.Labels) - ) && + ) && ( this.IsFlaky == input.IsFlaky || (this.IsFlaky != null && this.IsFlaky.Equals(input.IsFlaky)) - ) && + ) && ( this.ExternalKey == input.ExternalKey || (this.ExternalKey != null && diff --git a/src/TestIt.Client/Model/CreateConfigurationRequest.cs b/src/TestIT.ApiClient/Model/CreateConfigurationRequest.cs similarity index 96% rename from src/TestIt.Client/Model/CreateConfigurationRequest.cs rename to src/TestIT.ApiClient/Model/CreateConfigurationRequest.cs index 970e63d2..1dbcdadb 100644 --- a/src/TestIt.Client/Model/CreateConfigurationRequest.cs +++ b/src/TestIT.ApiClient/Model/CreateConfigurationRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CreateConfigurationRequest @@ -145,27 +145,27 @@ public bool Equals(CreateConfigurationRequest input) { return false; } - return + return ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && input.Parameters != null && this.Parameters.SequenceEqual(input.Parameters) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.IsDefault == input.IsDefault || this.IsDefault.Equals(input.IsDefault) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/CreateEmptyRequest.cs b/src/TestIT.ApiClient/Model/CreateEmptyRequest.cs similarity index 96% rename from src/TestIt.Client/Model/CreateEmptyRequest.cs rename to src/TestIT.ApiClient/Model/CreateEmptyRequest.cs index b11262a8..d45a81ee 100644 --- a/src/TestIt.Client/Model/CreateEmptyRequest.cs +++ b/src/TestIT.ApiClient/Model/CreateEmptyRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CreateEmptyRequest @@ -144,33 +144,33 @@ public bool Equals(CreateEmptyRequest input) { return false; } - return + return ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Links == input.Links || this.Links != null && diff --git a/src/TestIt.Client/Model/CreateParameterRequest.cs b/src/TestIT.ApiClient/Model/CreateParameterRequest.cs similarity index 96% rename from src/TestIt.Client/Model/CreateParameterRequest.cs rename to src/TestIT.ApiClient/Model/CreateParameterRequest.cs index fec9e52b..87ee4447 100644 --- a/src/TestIt.Client/Model/CreateParameterRequest.cs +++ b/src/TestIT.ApiClient/Model/CreateParameterRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CreateParameterRequest @@ -114,12 +114,12 @@ public bool Equals(CreateParameterRequest input) { return false; } - return + return ( this.Value == input.Value || (this.Value != null && this.Value.Equals(input.Value)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/CreateProjectRequest.cs b/src/TestIT.ApiClient/Model/CreateProjectRequest.cs similarity index 96% rename from src/TestIt.Client/Model/CreateProjectRequest.cs rename to src/TestIT.ApiClient/Model/CreateProjectRequest.cs index a7186615..dfb1ac91 100644 --- a/src/TestIt.Client/Model/CreateProjectRequest.cs +++ b/src/TestIT.ApiClient/Model/CreateProjectRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CreateProjectRequest @@ -121,17 +121,17 @@ public bool Equals(CreateProjectRequest input) { return false; } - return + return ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsFavorite == input.IsFavorite || (this.IsFavorite != null && diff --git a/src/TestIt.Client/Model/CreateProjectsAttributeRequest.cs b/src/TestIT.ApiClient/Model/CreateProjectsAttributeRequest.cs similarity index 96% rename from src/TestIt.Client/Model/CreateProjectsAttributeRequest.cs rename to src/TestIT.ApiClient/Model/CreateProjectsAttributeRequest.cs index fee0f3fd..5cb1513c 100644 --- a/src/TestIt.Client/Model/CreateProjectsAttributeRequest.cs +++ b/src/TestIT.ApiClient/Model/CreateProjectsAttributeRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CreateProjectsAttributeRequest @@ -150,30 +150,30 @@ public bool Equals(CreateProjectsAttributeRequest input) { return false; } - return + return ( this.Options == input.Options || this.Options != null && input.Options != null && this.Options.SequenceEqual(input.Options) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsEnabled == input.IsEnabled || this.IsEnabled.Equals(input.IsEnabled) - ) && + ) && ( this.IsRequired == input.IsRequired || this.IsRequired.Equals(input.IsRequired) - ) && + ) && ( this.IsGlobal == input.IsGlobal || this.IsGlobal.Equals(input.IsGlobal) diff --git a/src/TestIt.Client/Model/CreateSectionRequest.cs b/src/TestIT.ApiClient/Model/CreateSectionRequest.cs similarity index 96% rename from src/TestIt.Client/Model/CreateSectionRequest.cs rename to src/TestIT.ApiClient/Model/CreateSectionRequest.cs index 147e5fa1..f066e7e1 100644 --- a/src/TestIt.Client/Model/CreateSectionRequest.cs +++ b/src/TestIT.ApiClient/Model/CreateSectionRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CreateSectionRequest @@ -139,28 +139,28 @@ public bool Equals(CreateSectionRequest input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.PreconditionSteps == input.PreconditionSteps || this.PreconditionSteps != null && input.PreconditionSteps != null && this.PreconditionSteps.SequenceEqual(input.PreconditionSteps) - ) && + ) && ( this.PostconditionSteps == input.PostconditionSteps || this.PostconditionSteps != null && diff --git a/src/TestIt.Client/Model/CreateTestPlanRequest.cs b/src/TestIT.ApiClient/Model/CreateTestPlanRequest.cs similarity index 97% rename from src/TestIt.Client/Model/CreateTestPlanRequest.cs rename to src/TestIT.ApiClient/Model/CreateTestPlanRequest.cs index 582a77d3..e6752ee3 100644 --- a/src/TestIt.Client/Model/CreateTestPlanRequest.cs +++ b/src/TestIT.ApiClient/Model/CreateTestPlanRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CreateTestPlanRequest @@ -191,53 +191,53 @@ public bool Equals(CreateTestPlanRequest input) { return false; } - return + return ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && this.EndDate.Equals(input.EndDate)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Build == input.Build || (this.Build != null && this.Build.Equals(input.Build)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ProductName == input.ProductName || (this.ProductName != null && this.ProductName.Equals(input.ProductName)) - ) && + ) && ( this.HasAutomaticDurationTimer == input.HasAutomaticDurationTimer || (this.HasAutomaticDurationTimer != null && this.HasAutomaticDurationTimer.Equals(input.HasAutomaticDurationTimer)) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && diff --git a/src/TestIt.Client/Model/CreateWorkItemRequest.cs b/src/TestIT.ApiClient/Model/CreateWorkItemRequest.cs similarity index 97% rename from src/TestIt.Client/Model/CreateWorkItemRequest.cs rename to src/TestIT.ApiClient/Model/CreateWorkItemRequest.cs index f42813c4..09b6f6b4 100644 --- a/src/TestIt.Client/Model/CreateWorkItemRequest.cs +++ b/src/TestIT.ApiClient/Model/CreateWorkItemRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CreateWorkItemRequest @@ -281,91 +281,91 @@ public bool Equals(CreateWorkItemRequest input) { return false; } - return + return ( this.EntityTypeName == input.EntityTypeName || this.EntityTypeName.Equals(input.EntityTypeName) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.State == input.State || this.State.Equals(input.State) - ) && + ) && ( this.Priority == input.Priority || this.Priority.Equals(input.Priority) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.PreconditionSteps == input.PreconditionSteps || this.PreconditionSteps != null && input.PreconditionSteps != null && this.PreconditionSteps.SequenceEqual(input.PreconditionSteps) - ) && + ) && ( this.PostconditionSteps == input.PostconditionSteps || this.PostconditionSteps != null && input.PostconditionSteps != null && this.PostconditionSteps.SequenceEqual(input.PostconditionSteps) - ) && + ) && ( this.Duration == input.Duration || this.Duration.Equals(input.Duration) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Iterations == input.Iterations || this.Iterations != null && input.Iterations != null && this.Iterations.SequenceEqual(input.Iterations) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.SectionId == input.SectionId || (this.SectionId != null && this.SectionId.Equals(input.SectionId)) - ) && + ) && ( this.AutoTests == input.AutoTests || this.AutoTests != null && diff --git a/src/TestIt.Client/Model/CustomAttributeChangeModel.cs b/src/TestIT.ApiClient/Model/CustomAttributeChangeModel.cs similarity index 96% rename from src/TestIt.Client/Model/CustomAttributeChangeModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributeChangeModel.cs index fc3ef1d5..0a72ed8b 100644 --- a/src/TestIt.Client/Model/CustomAttributeChangeModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributeChangeModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributeChangeModel @@ -126,27 +126,27 @@ public bool Equals(CustomAttributeChangeModel input) { return false; } - return + return ( this.Type == input.Type || (this.Type != null && this.Type.Equals(input.Type)) - ) && + ) && ( this.OldAttributeName == input.OldAttributeName || (this.OldAttributeName != null && this.OldAttributeName.Equals(input.OldAttributeName)) - ) && + ) && ( this.NewAttributeName == input.NewAttributeName || (this.NewAttributeName != null && this.NewAttributeName.Equals(input.NewAttributeName)) - ) && + ) && ( this.OldValue == input.OldValue || (this.OldValue != null && this.OldValue.Equals(input.OldValue)) - ) && + ) && ( this.NewValue == input.NewValue || (this.NewValue != null && diff --git a/src/TestIt.Client/Model/CustomAttributeGetModel.cs b/src/TestIT.ApiClient/Model/CustomAttributeGetModel.cs similarity index 96% rename from src/TestIt.Client/Model/CustomAttributeGetModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributeGetModel.cs index 3c05db02..4a73cf85 100644 --- a/src/TestIt.Client/Model/CustomAttributeGetModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributeGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributeGetModel @@ -165,39 +165,39 @@ public bool Equals(CustomAttributeGetModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Options == input.Options || this.Options != null && input.Options != null && this.Options.SequenceEqual(input.Options) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsEnabled == input.IsEnabled || this.IsEnabled.Equals(input.IsEnabled) - ) && + ) && ( this.IsRequired == input.IsRequired || this.IsRequired.Equals(input.IsRequired) - ) && + ) && ( this.IsGlobal == input.IsGlobal || this.IsGlobal.Equals(input.IsGlobal) diff --git a/src/TestIt.Client/Model/CustomAttributeModel.cs b/src/TestIT.ApiClient/Model/CustomAttributeModel.cs similarity index 96% rename from src/TestIt.Client/Model/CustomAttributeModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributeModel.cs index e6388e52..bad8e1d6 100644 --- a/src/TestIt.Client/Model/CustomAttributeModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributeModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributeModel @@ -170,39 +170,39 @@ public bool Equals(CustomAttributeModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Options == input.Options || this.Options != null && input.Options != null && this.Options.SequenceEqual(input.Options) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsEnabled == input.IsEnabled || this.IsEnabled.Equals(input.IsEnabled) - ) && + ) && ( this.IsRequired == input.IsRequired || this.IsRequired.Equals(input.IsRequired) - ) && + ) && ( this.IsGlobal == input.IsGlobal || this.IsGlobal.Equals(input.IsGlobal) diff --git a/src/TestIt.Client/Model/CustomAttributeOptionModel.cs b/src/TestIT.ApiClient/Model/CustomAttributeOptionModel.cs similarity index 96% rename from src/TestIt.Client/Model/CustomAttributeOptionModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributeOptionModel.cs index 05c8b362..decc833d 100644 --- a/src/TestIt.Client/Model/CustomAttributeOptionModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributeOptionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributeOptionModel @@ -126,21 +126,21 @@ public bool Equals(CustomAttributeOptionModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.Value == input.Value || (this.Value != null && this.Value.Equals(input.Value)) - ) && + ) && ( this.IsDefault == input.IsDefault || this.IsDefault.Equals(input.IsDefault) diff --git a/src/TestIt.Client/Model/CustomAttributeOptionPostModel.cs b/src/TestIT.ApiClient/Model/CustomAttributeOptionPostModel.cs similarity index 96% rename from src/TestIt.Client/Model/CustomAttributeOptionPostModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributeOptionPostModel.cs index 25362355..ee421974 100644 --- a/src/TestIt.Client/Model/CustomAttributeOptionPostModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributeOptionPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributeOptionPostModel @@ -106,12 +106,12 @@ public bool Equals(CustomAttributeOptionPostModel input) { return false; } - return + return ( this.Value == input.Value || (this.Value != null && this.Value.Equals(input.Value)) - ) && + ) && ( this.IsDefault == input.IsDefault || this.IsDefault.Equals(input.IsDefault) diff --git a/src/TestIt.Client/Model/CustomAttributePostModel.cs b/src/TestIT.ApiClient/Model/CustomAttributePostModel.cs similarity index 96% rename from src/TestIt.Client/Model/CustomAttributePostModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributePostModel.cs index ff5c8024..ee03f72a 100644 --- a/src/TestIt.Client/Model/CustomAttributePostModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributePostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributePostModel @@ -150,30 +150,30 @@ public bool Equals(CustomAttributePostModel input) { return false; } - return + return ( this.Options == input.Options || this.Options != null && input.Options != null && this.Options.SequenceEqual(input.Options) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsEnabled == input.IsEnabled || this.IsEnabled.Equals(input.IsEnabled) - ) && + ) && ( this.IsRequired == input.IsRequired || this.IsRequired.Equals(input.IsRequired) - ) && + ) && ( this.IsGlobal == input.IsGlobal || this.IsGlobal.Equals(input.IsGlobal) diff --git a/src/TestIt.Client/Model/CustomAttributePutModel.cs b/src/TestIT.ApiClient/Model/CustomAttributePutModel.cs similarity index 96% rename from src/TestIt.Client/Model/CustomAttributePutModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributePutModel.cs index 0b1cefb7..b13a4169 100644 --- a/src/TestIt.Client/Model/CustomAttributePutModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributePutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributePutModel @@ -170,39 +170,39 @@ public bool Equals(CustomAttributePutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Options == input.Options || this.Options != null && input.Options != null && this.Options.SequenceEqual(input.Options) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsEnabled == input.IsEnabled || this.IsEnabled.Equals(input.IsEnabled) - ) && + ) && ( this.IsRequired == input.IsRequired || this.IsRequired.Equals(input.IsRequired) - ) && + ) && ( this.IsGlobal == input.IsGlobal || this.IsGlobal.Equals(input.IsGlobal) diff --git a/src/TestIt.Client/Model/CustomAttributeSearchQueryModel.cs b/src/TestIT.ApiClient/Model/CustomAttributeSearchQueryModel.cs similarity index 97% rename from src/TestIt.Client/Model/CustomAttributeSearchQueryModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributeSearchQueryModel.cs index d3c4b4bc..93c9c533 100644 --- a/src/TestIt.Client/Model/CustomAttributeSearchQueryModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributeSearchQueryModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributeSearchQueryModel @@ -141,35 +141,35 @@ public bool Equals(CustomAttributeSearchQueryModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.CustomAttributeIds == input.CustomAttributeIds || this.CustomAttributeIds != null && input.CustomAttributeIds != null && this.CustomAttributeIds.SequenceEqual(input.CustomAttributeIds) - ) && + ) && ( this.CustomAttributeTypes == input.CustomAttributeTypes || this.CustomAttributeTypes != null && input.CustomAttributeTypes != null && this.CustomAttributeTypes.SequenceEqual(input.CustomAttributeTypes) - ) && + ) && ( this.IsGlobal == input.IsGlobal || (this.IsGlobal != null && this.IsGlobal.Equals(input.IsGlobal)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && diff --git a/src/TestIt.Client/Model/CustomAttributeTemplateModel.cs b/src/TestIT.ApiClient/Model/CustomAttributeTemplateModel.cs similarity index 96% rename from src/TestIt.Client/Model/CustomAttributeTemplateModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributeTemplateModel.cs index 2c6df2b7..65aaee22 100644 --- a/src/TestIt.Client/Model/CustomAttributeTemplateModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributeTemplateModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributeTemplateModel @@ -121,16 +121,16 @@ public bool Equals(CustomAttributeTemplateModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/CustomAttributeTemplatePostModel.cs b/src/TestIT.ApiClient/Model/CustomAttributeTemplatePostModel.cs similarity index 96% rename from src/TestIt.Client/Model/CustomAttributeTemplatePostModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributeTemplatePostModel.cs index ed6e234a..9c49c09a 100644 --- a/src/TestIt.Client/Model/CustomAttributeTemplatePostModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributeTemplatePostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributeTemplatePostModel @@ -111,13 +111,13 @@ public bool Equals(CustomAttributeTemplatePostModel input) { return false; } - return + return ( this.CustomAttributeIds == input.CustomAttributeIds || this.CustomAttributeIds != null && input.CustomAttributeIds != null && this.CustomAttributeIds.SequenceEqual(input.CustomAttributeIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/CustomAttributeTemplatePutModel.cs b/src/TestIT.ApiClient/Model/CustomAttributeTemplatePutModel.cs similarity index 96% rename from src/TestIt.Client/Model/CustomAttributeTemplatePutModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributeTemplatePutModel.cs index db06c3f3..d07b21b1 100644 --- a/src/TestIt.Client/Model/CustomAttributeTemplatePutModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributeTemplatePutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributeTemplatePutModel @@ -121,18 +121,18 @@ public bool Equals(CustomAttributeTemplatePutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.CustomAttributeIds == input.CustomAttributeIds || this.CustomAttributeIds != null && input.CustomAttributeIds != null && this.CustomAttributeIds.SequenceEqual(input.CustomAttributeIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/CustomAttributeTemplateSearchQueryModel.cs b/src/TestIT.ApiClient/Model/CustomAttributeTemplateSearchQueryModel.cs similarity index 96% rename from src/TestIt.Client/Model/CustomAttributeTemplateSearchQueryModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributeTemplateSearchQueryModel.cs index e9e088c5..3b1b2451 100644 --- a/src/TestIt.Client/Model/CustomAttributeTemplateSearchQueryModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributeTemplateSearchQueryModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributeTemplateSearchQueryModel @@ -117,24 +117,24 @@ public bool Equals(CustomAttributeTemplateSearchQueryModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.CustomAttributeTypes == input.CustomAttributeTypes || this.CustomAttributeTypes != null && input.CustomAttributeTypes != null && this.CustomAttributeTypes.SequenceEqual(input.CustomAttributeTypes) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && diff --git a/src/TestIt.Client/Model/CustomAttributeTestPlanProjectRelationPutModel.cs b/src/TestIT.ApiClient/Model/CustomAttributeTestPlanProjectRelationPutModel.cs similarity index 96% rename from src/TestIt.Client/Model/CustomAttributeTestPlanProjectRelationPutModel.cs rename to src/TestIT.ApiClient/Model/CustomAttributeTestPlanProjectRelationPutModel.cs index 93754d43..a4424b0e 100644 --- a/src/TestIt.Client/Model/CustomAttributeTestPlanProjectRelationPutModel.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributeTestPlanProjectRelationPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// CustomAttributeTestPlanProjectRelationPutModel @@ -116,16 +116,16 @@ public bool Equals(CustomAttributeTestPlanProjectRelationPutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsEnabled == input.IsEnabled || this.IsEnabled.Equals(input.IsEnabled) - ) && + ) && ( this.IsRequired == input.IsRequired || this.IsRequired.Equals(input.IsRequired) diff --git a/src/TestIt.Client/Model/CustomAttributeTypesEnum.cs b/src/TestIT.ApiClient/Model/CustomAttributeTypesEnum.cs similarity index 91% rename from src/TestIt.Client/Model/CustomAttributeTypesEnum.cs rename to src/TestIT.ApiClient/Model/CustomAttributeTypesEnum.cs index aa539086..90c46d41 100644 --- a/src/TestIt.Client/Model/CustomAttributeTypesEnum.cs +++ b/src/TestIT.ApiClient/Model/CustomAttributeTypesEnum.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines CustomAttributeTypesEnum diff --git a/src/TestIt.Client/Model/DateTimeRangeSelectorModel.cs b/src/TestIT.ApiClient/Model/DateTimeRangeSelectorModel.cs similarity index 95% rename from src/TestIt.Client/Model/DateTimeRangeSelectorModel.cs rename to src/TestIT.ApiClient/Model/DateTimeRangeSelectorModel.cs index 4112e556..70040df9 100644 --- a/src/TestIt.Client/Model/DateTimeRangeSelectorModel.cs +++ b/src/TestIT.ApiClient/Model/DateTimeRangeSelectorModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// DateTimeRangeSelectorModel @@ -99,12 +99,12 @@ public bool Equals(DateTimeRangeSelectorModel input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/DeletionState.cs b/src/TestIT.ApiClient/Model/DeletionState.cs similarity index 87% rename from src/TestIt.Client/Model/DeletionState.cs rename to src/TestIT.ApiClient/Model/DeletionState.cs index 9ffa3cad..e85085fc 100644 --- a/src/TestIt.Client/Model/DeletionState.cs +++ b/src/TestIT.ApiClient/Model/DeletionState.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines DeletionState diff --git a/src/TestIt.Client/Model/ExportProjectJsonRequest.cs b/src/TestIT.ApiClient/Model/ExportProjectJsonRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ExportProjectJsonRequest.cs rename to src/TestIT.ApiClient/Model/ExportProjectJsonRequest.cs index 4d20bfd1..1f06a4d1 100644 --- a/src/TestIt.Client/Model/ExportProjectJsonRequest.cs +++ b/src/TestIT.ApiClient/Model/ExportProjectJsonRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ExportProjectJsonRequest @@ -101,13 +101,13 @@ public bool Equals(ExportProjectJsonRequest input) { return false; } - return + return ( this.SectionIds == input.SectionIds || this.SectionIds != null && input.SectionIds != null && this.SectionIds.SequenceEqual(input.SectionIds) - ) && + ) && ( this.WorkItemIds == input.WorkItemIds || this.WorkItemIds != null && diff --git a/src/TestIt.Client/Model/ExportProjectWithTestPlansJsonRequest.cs b/src/TestIT.ApiClient/Model/ExportProjectWithTestPlansJsonRequest.cs similarity index 96% rename from src/TestIt.Client/Model/ExportProjectWithTestPlansJsonRequest.cs rename to src/TestIT.ApiClient/Model/ExportProjectWithTestPlansJsonRequest.cs index 15ca27d0..68aecac4 100644 --- a/src/TestIt.Client/Model/ExportProjectWithTestPlansJsonRequest.cs +++ b/src/TestIT.ApiClient/Model/ExportProjectWithTestPlansJsonRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ExportProjectWithTestPlansJsonRequest @@ -91,7 +91,7 @@ public bool Equals(ExportProjectWithTestPlansJsonRequest input) { return false; } - return + return ( this.TestPlansIds == input.TestPlansIds || this.TestPlansIds != null && diff --git a/src/TestIt.Client/Model/ExternalLinkModel.cs b/src/TestIT.ApiClient/Model/ExternalLinkModel.cs similarity index 96% rename from src/TestIt.Client/Model/ExternalLinkModel.cs rename to src/TestIT.ApiClient/Model/ExternalLinkModel.cs index 76549648..fd6f529a 100644 --- a/src/TestIt.Client/Model/ExternalLinkModel.cs +++ b/src/TestIT.ApiClient/Model/ExternalLinkModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ExternalLinkModel @@ -153,42 +153,42 @@ public bool Equals(ExternalLinkModel input) { return false; } - return + return ( this.Url == input.Url || (this.Url != null && this.Url.Equals(input.Url)) - ) && + ) && ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.IssueTypeName == input.IssueTypeName || (this.IssueTypeName != null && this.IssueTypeName.Equals(input.IssueTypeName)) - ) && + ) && ( this.IssueTypeIconUrl == input.IssueTypeIconUrl || (this.IssueTypeIconUrl != null && this.IssueTypeIconUrl.Equals(input.IssueTypeIconUrl)) - ) && + ) && ( this.PriorityName == input.PriorityName || (this.PriorityName != null && this.PriorityName.Equals(input.PriorityName)) - ) && + ) && ( this.PriorityIconUrl == input.PriorityIconUrl || (this.PriorityIconUrl != null && this.PriorityIconUrl.Equals(input.PriorityIconUrl)) - ) && + ) && ( this.StatusName == input.StatusName || (this.StatusName != null && this.StatusName.Equals(input.StatusName)) - ) && + ) && ( this.AssigneeDisplayName == input.AssigneeDisplayName || (this.AssigneeDisplayName != null && diff --git a/src/TestIt.Client/Model/FailureCategoryModel.cs b/src/TestIT.ApiClient/Model/FailureCategoryModel.cs similarity index 90% rename from src/TestIt.Client/Model/FailureCategoryModel.cs rename to src/TestIT.ApiClient/Model/FailureCategoryModel.cs index 121020ff..580eeed8 100644 --- a/src/TestIt.Client/Model/FailureCategoryModel.cs +++ b/src/TestIT.ApiClient/Model/FailureCategoryModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines FailureCategoryModel diff --git a/src/TestIt.Client/Model/FailureClassModel.cs b/src/TestIT.ApiClient/Model/FailureClassModel.cs similarity index 96% rename from src/TestIt.Client/Model/FailureClassModel.cs rename to src/TestIT.ApiClient/Model/FailureClassModel.cs index 82e04e0b..20a28773 100644 --- a/src/TestIt.Client/Model/FailureClassModel.cs +++ b/src/TestIT.ApiClient/Model/FailureClassModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// FailureClassModel @@ -169,47 +169,47 @@ public bool Equals(FailureClassModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.FailureCategory == input.FailureCategory || this.FailureCategory.Equals(input.FailureCategory) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.FailureClassRegexes == input.FailureClassRegexes || this.FailureClassRegexes != null && input.FailureClassRegexes != null && this.FailureClassRegexes.SequenceEqual(input.FailureClassRegexes) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/FailureClassRegexModel.cs b/src/TestIT.ApiClient/Model/FailureClassRegexModel.cs similarity index 96% rename from src/TestIt.Client/Model/FailureClassRegexModel.cs rename to src/TestIT.ApiClient/Model/FailureClassRegexModel.cs index 17f71c52..fb6ecfce 100644 --- a/src/TestIt.Client/Model/FailureClassRegexModel.cs +++ b/src/TestIT.ApiClient/Model/FailureClassRegexModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// FailureClassRegexModel @@ -124,22 +124,22 @@ public bool Equals(FailureClassRegexModel input) { return false; } - return + return ( this.RegexText == input.RegexText || (this.RegexText != null && this.RegexText.Equals(input.RegexText)) - ) && + ) && ( this.FailureClassId == input.FailureClassId || (this.FailureClassId != null && this.FailureClassId.Equals(input.FailureClassId)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/FilterModel.cs b/src/TestIT.ApiClient/Model/FilterModel.cs similarity index 96% rename from src/TestIt.Client/Model/FilterModel.cs rename to src/TestIT.ApiClient/Model/FilterModel.cs index ef87673d..ee8c55a3 100644 --- a/src/TestIt.Client/Model/FilterModel.cs +++ b/src/TestIT.ApiClient/Model/FilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// FilterModel @@ -178,52 +178,52 @@ public bool Equals(FilterModel input) { return false; } - return + return ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.Data == input.Data || (this.Data != null && this.Data.Equals(input.Data)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.FieldsToShow == input.FieldsToShow || (this.FieldsToShow != null && this.FieldsToShow.Equals(input.FieldsToShow)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/FlakyBulkModel.cs b/src/TestIT.ApiClient/Model/FlakyBulkModel.cs similarity index 95% rename from src/TestIt.Client/Model/FlakyBulkModel.cs rename to src/TestIT.ApiClient/Model/FlakyBulkModel.cs index 225ca9e1..464d93d0 100644 --- a/src/TestIt.Client/Model/FlakyBulkModel.cs +++ b/src/TestIT.ApiClient/Model/FlakyBulkModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// FlakyBulkModel @@ -105,12 +105,12 @@ public bool Equals(FlakyBulkModel input) { return false; } - return + return ( this.AutotestSelect == input.AutotestSelect || (this.AutotestSelect != null && this.AutotestSelect.Equals(input.AutotestSelect)) - ) && + ) && ( this.Value == input.Value || this.Value.Equals(input.Value) diff --git a/src/TestIt.Client/Model/GetXlsxTestPointsByTestPlanModel.cs b/src/TestIT.ApiClient/Model/GetXlsxTestPointsByTestPlanModel.cs similarity index 96% rename from src/TestIt.Client/Model/GetXlsxTestPointsByTestPlanModel.cs rename to src/TestIT.ApiClient/Model/GetXlsxTestPointsByTestPlanModel.cs index db0e1639..775f4a56 100644 --- a/src/TestIt.Client/Model/GetXlsxTestPointsByTestPlanModel.cs +++ b/src/TestIT.ApiClient/Model/GetXlsxTestPointsByTestPlanModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// GetXlsxTestPointsByTestPlanModel @@ -212,61 +212,61 @@ public bool Equals(GetXlsxTestPointsByTestPlanModel input) { return false; } - return + return ( this.IncludeName == input.IncludeName || this.IncludeName.Equals(input.IncludeName) - ) && + ) && ( this.IncludeSection == input.IncludeSection || this.IncludeSection.Equals(input.IncludeSection) - ) && + ) && ( this.IncludePriority == input.IncludePriority || this.IncludePriority.Equals(input.IncludePriority) - ) && + ) && ( this.IncludeAutomated == input.IncludeAutomated || this.IncludeAutomated.Equals(input.IncludeAutomated) - ) && + ) && ( this.IncludeStatus == input.IncludeStatus || this.IncludeStatus.Equals(input.IncludeStatus) - ) && + ) && ( this.IncludeDuration == input.IncludeDuration || this.IncludeDuration.Equals(input.IncludeDuration) - ) && + ) && ( this.IncludeCreationDate == input.IncludeCreationDate || this.IncludeCreationDate.Equals(input.IncludeCreationDate) - ) && + ) && ( this.IncludeAuthor == input.IncludeAuthor || this.IncludeAuthor.Equals(input.IncludeAuthor) - ) && + ) && ( this.IncludeModificationDate == input.IncludeModificationDate || this.IncludeModificationDate.Equals(input.IncludeModificationDate) - ) && + ) && ( this.IncludeModifiedBy == input.IncludeModifiedBy || this.IncludeModifiedBy.Equals(input.IncludeModifiedBy) - ) && + ) && ( this.IncludeTags == input.IncludeTags || this.IncludeTags.Equals(input.IncludeTags) - ) && + ) && ( this.IncludeIterations == input.IncludeIterations || this.IncludeIterations.Equals(input.IncludeIterations) - ) && + ) && ( this.CustomAttributesIds == input.CustomAttributesIds || this.CustomAttributesIds != null && input.CustomAttributesIds != null && this.CustomAttributesIds.SequenceEqual(input.CustomAttributesIds) - ) && + ) && ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && diff --git a/src/TestIt.Client/Model/GlobalCustomAttributePostModel.cs b/src/TestIT.ApiClient/Model/GlobalCustomAttributePostModel.cs similarity index 97% rename from src/TestIt.Client/Model/GlobalCustomAttributePostModel.cs rename to src/TestIT.ApiClient/Model/GlobalCustomAttributePostModel.cs index c19d1905..2dc07ecf 100644 --- a/src/TestIt.Client/Model/GlobalCustomAttributePostModel.cs +++ b/src/TestIT.ApiClient/Model/GlobalCustomAttributePostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// GlobalCustomAttributePostModel @@ -140,28 +140,28 @@ public bool Equals(GlobalCustomAttributePostModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsEnabled == input.IsEnabled || (this.IsEnabled != null && this.IsEnabled.Equals(input.IsEnabled)) - ) && + ) && ( this.IsRequired == input.IsRequired || (this.IsRequired != null && this.IsRequired.Equals(input.IsRequired)) - ) && + ) && ( this.Options == input.Options || this.Options != null && input.Options != null && this.Options.SequenceEqual(input.Options) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) diff --git a/src/TestIt.Client/Model/GlobalCustomAttributeUpdateModel.cs b/src/TestIT.ApiClient/Model/GlobalCustomAttributeUpdateModel.cs similarity index 97% rename from src/TestIt.Client/Model/GlobalCustomAttributeUpdateModel.cs rename to src/TestIT.ApiClient/Model/GlobalCustomAttributeUpdateModel.cs index 4367e76b..eda7fb3c 100644 --- a/src/TestIt.Client/Model/GlobalCustomAttributeUpdateModel.cs +++ b/src/TestIT.ApiClient/Model/GlobalCustomAttributeUpdateModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// GlobalCustomAttributeUpdateModel @@ -131,23 +131,23 @@ public bool Equals(GlobalCustomAttributeUpdateModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Options == input.Options || this.Options != null && input.Options != null && this.Options.SequenceEqual(input.Options) - ) && + ) && ( this.IsEnabled == input.IsEnabled || (this.IsEnabled != null && this.IsEnabled.Equals(input.IsEnabled)) - ) && + ) && ( this.IsRequired == input.IsRequired || (this.IsRequired != null && diff --git a/src/TestIt.Client/Model/GlobalSearchItemResult.cs b/src/TestIT.ApiClient/Model/GlobalSearchItemResult.cs similarity index 96% rename from src/TestIt.Client/Model/GlobalSearchItemResult.cs rename to src/TestIT.ApiClient/Model/GlobalSearchItemResult.cs index d6220ebd..8b74988c 100644 --- a/src/TestIt.Client/Model/GlobalSearchItemResult.cs +++ b/src/TestIT.ApiClient/Model/GlobalSearchItemResult.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// GlobalSearchItemResult @@ -141,27 +141,27 @@ public bool Equals(GlobalSearchItemResult input) { return false; } - return + return ( this.ResourceType == input.ResourceType || (this.ResourceType != null && this.ResourceType.Equals(input.ResourceType)) - ) && + ) && ( this.ResourceId == input.ResourceId || (this.ResourceId != null && this.ResourceId.Equals(input.ResourceId)) - ) && + ) && ( this.GlobalId == input.GlobalId || (this.GlobalId != null && this.GlobalId.Equals(input.GlobalId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProjectGlobalId == input.ProjectGlobalId || this.ProjectGlobalId.Equals(input.ProjectGlobalId) diff --git a/src/TestIt.Client/Model/GlobalSearchRequest.cs b/src/TestIT.ApiClient/Model/GlobalSearchRequest.cs similarity index 96% rename from src/TestIt.Client/Model/GlobalSearchRequest.cs rename to src/TestIT.ApiClient/Model/GlobalSearchRequest.cs index 9012831f..57f5f749 100644 --- a/src/TestIt.Client/Model/GlobalSearchRequest.cs +++ b/src/TestIT.ApiClient/Model/GlobalSearchRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// GlobalSearchRequest @@ -127,21 +127,21 @@ public bool Equals(GlobalSearchRequest input) { return false; } - return + return ( this.Query == input.Query || (this.Query != null && this.Query.Equals(input.Query)) - ) && + ) && ( this.ResourceType == input.ResourceType || (this.ResourceType != null && this.ResourceType.Equals(input.ResourceType)) - ) && + ) && ( this.Take == input.Take || this.Take.Equals(input.Take) - ) && + ) && ( this.Skip == input.Skip || this.Skip.Equals(input.Skip) diff --git a/src/TestIt.Client/Model/GlobalSearchResponse.cs b/src/TestIT.ApiClient/Model/GlobalSearchResponse.cs similarity index 96% rename from src/TestIt.Client/Model/GlobalSearchResponse.cs rename to src/TestIT.ApiClient/Model/GlobalSearchResponse.cs index e8674a6d..3ac86907 100644 --- a/src/TestIt.Client/Model/GlobalSearchResponse.cs +++ b/src/TestIT.ApiClient/Model/GlobalSearchResponse.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// GlobalSearchResponse @@ -123,17 +123,17 @@ public bool Equals(GlobalSearchResponse input) { return false; } - return + return ( this.Results == input.Results || this.Results != null && input.Results != null && this.Results.SequenceEqual(input.Results) - ) && + ) && ( this.MoreResultsAvailable == input.MoreResultsAvailable || this.MoreResultsAvailable.Equals(input.MoreResultsAvailable) - ) && + ) && ( this.AvailableResourceTypes == input.AvailableResourceTypes || this.AvailableResourceTypes != null && diff --git a/src/TestIt.Client/Model/GuidChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/GuidChangedFieldViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/GuidChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/GuidChangedFieldViewModel.cs index 6edbc2ac..e635caf7 100644 --- a/src/TestIt.Client/Model/GuidChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/GuidChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// GuidChangedFieldViewModel @@ -104,12 +104,12 @@ public bool Equals(GuidChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || (this.OldValue != null && this.OldValue.Equals(input.OldValue)) - ) && + ) && ( this.NewValue == input.NewValue || (this.NewValue != null && diff --git a/src/TestIt.Client/Model/GuidExtractionModel.cs b/src/TestIT.ApiClient/Model/GuidExtractionModel.cs similarity index 95% rename from src/TestIt.Client/Model/GuidExtractionModel.cs rename to src/TestIT.ApiClient/Model/GuidExtractionModel.cs index 31d0cf08..3a3fb537 100644 --- a/src/TestIt.Client/Model/GuidExtractionModel.cs +++ b/src/TestIT.ApiClient/Model/GuidExtractionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// GuidExtractionModel @@ -99,13 +99,13 @@ public bool Equals(GuidExtractionModel input) { return false; } - return + return ( this.Include == input.Include || this.Include != null && input.Include != null && this.Include.SequenceEqual(input.Include) - ) && + ) && ( this.Exclude == input.Exclude || this.Exclude != null && diff --git a/src/TestIt.Client/Model/ImageResizeType.cs b/src/TestIT.ApiClient/Model/ImageResizeType.cs similarity index 86% rename from src/TestIt.Client/Model/ImageResizeType.cs rename to src/TestIT.ApiClient/Model/ImageResizeType.cs index b6755e5b..9d3176ef 100644 --- a/src/TestIt.Client/Model/ImageResizeType.cs +++ b/src/TestIT.ApiClient/Model/ImageResizeType.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines ImageResizeType diff --git a/src/TestIt.Client/Model/Int32ChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/Int32ChangedFieldViewModel.cs similarity index 95% rename from src/TestIt.Client/Model/Int32ChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/Int32ChangedFieldViewModel.cs index a145abf1..2ee8f3b3 100644 --- a/src/TestIt.Client/Model/Int32ChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/Int32ChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Int32ChangedFieldViewModel @@ -104,11 +104,11 @@ public bool Equals(Int32ChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || this.OldValue.Equals(input.OldValue) - ) && + ) && ( this.NewValue == input.NewValue || this.NewValue.Equals(input.NewValue) diff --git a/src/TestIt.Client/Model/Int32RangeSelectorModel.cs b/src/TestIT.ApiClient/Model/Int32RangeSelectorModel.cs similarity index 95% rename from src/TestIt.Client/Model/Int32RangeSelectorModel.cs rename to src/TestIT.ApiClient/Model/Int32RangeSelectorModel.cs index 3fdb85bf..bc46170a 100644 --- a/src/TestIt.Client/Model/Int32RangeSelectorModel.cs +++ b/src/TestIT.ApiClient/Model/Int32RangeSelectorModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Int32RangeSelectorModel @@ -99,12 +99,12 @@ public bool Equals(Int32RangeSelectorModel input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/Int64ChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/Int64ChangedFieldViewModel.cs similarity index 95% rename from src/TestIt.Client/Model/Int64ChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/Int64ChangedFieldViewModel.cs index f2c0ea50..4dba8b89 100644 --- a/src/TestIt.Client/Model/Int64ChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/Int64ChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Int64ChangedFieldViewModel @@ -104,11 +104,11 @@ public bool Equals(Int64ChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || this.OldValue.Equals(input.OldValue) - ) && + ) && ( this.NewValue == input.NewValue || this.NewValue.Equals(input.NewValue) diff --git a/src/TestIt.Client/Model/Int64RangeSelectorModel.cs b/src/TestIT.ApiClient/Model/Int64RangeSelectorModel.cs similarity index 95% rename from src/TestIt.Client/Model/Int64RangeSelectorModel.cs rename to src/TestIT.ApiClient/Model/Int64RangeSelectorModel.cs index 01d801bb..759b8e60 100644 --- a/src/TestIt.Client/Model/Int64RangeSelectorModel.cs +++ b/src/TestIT.ApiClient/Model/Int64RangeSelectorModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Int64RangeSelectorModel @@ -99,12 +99,12 @@ public bool Equals(Int64RangeSelectorModel input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/IterationModel.cs b/src/TestIT.ApiClient/Model/IterationModel.cs similarity index 95% rename from src/TestIt.Client/Model/IterationModel.cs rename to src/TestIT.ApiClient/Model/IterationModel.cs index 7371fb49..b5331026 100644 --- a/src/TestIt.Client/Model/IterationModel.cs +++ b/src/TestIT.ApiClient/Model/IterationModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// IterationModel @@ -104,12 +104,12 @@ public bool Equals(IterationModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && diff --git a/src/TestIt.Client/Model/IterationPutModel.cs b/src/TestIT.ApiClient/Model/IterationPutModel.cs similarity index 96% rename from src/TestIt.Client/Model/IterationPutModel.cs rename to src/TestIT.ApiClient/Model/IterationPutModel.cs index 0b134c57..3ad7cb1c 100644 --- a/src/TestIt.Client/Model/IterationPutModel.cs +++ b/src/TestIT.ApiClient/Model/IterationPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// IterationPutModel @@ -110,13 +110,13 @@ public bool Equals(IterationPutModel input) { return false; } - return + return ( this.Parameters == input.Parameters || this.Parameters != null && input.Parameters != null && this.Parameters.SequenceEqual(input.Parameters) - ) && + ) && ( this.Id == input.Id || (this.Id != null && diff --git a/src/TestIt.Client/Model/LabelPostModel.cs b/src/TestIT.ApiClient/Model/LabelPostModel.cs similarity index 96% rename from src/TestIt.Client/Model/LabelPostModel.cs rename to src/TestIT.ApiClient/Model/LabelPostModel.cs index abf2b414..ccd3b511 100644 --- a/src/TestIt.Client/Model/LabelPostModel.cs +++ b/src/TestIT.ApiClient/Model/LabelPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// LabelPostModel @@ -101,7 +101,7 @@ public bool Equals(LabelPostModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/LabelShortModel.cs b/src/TestIT.ApiClient/Model/LabelShortModel.cs similarity index 96% rename from src/TestIt.Client/Model/LabelShortModel.cs rename to src/TestIT.ApiClient/Model/LabelShortModel.cs index 1961b50d..a3527b4d 100644 --- a/src/TestIt.Client/Model/LabelShortModel.cs +++ b/src/TestIT.ApiClient/Model/LabelShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// LabelShortModel @@ -111,11 +111,11 @@ public bool Equals(LabelShortModel input) { return false; } - return + return ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/LastTestResultModel.cs b/src/TestIT.ApiClient/Model/LastTestResultModel.cs similarity index 96% rename from src/TestIt.Client/Model/LastTestResultModel.cs rename to src/TestIT.ApiClient/Model/LastTestResultModel.cs index 1995f9e7..6da52a2a 100644 --- a/src/TestIt.Client/Model/LastTestResultModel.cs +++ b/src/TestIT.ApiClient/Model/LastTestResultModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// LastTestResultModel @@ -149,38 +149,38 @@ public bool Equals(LastTestResultModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.TestRunId == input.TestRunId || (this.TestRunId != null && this.TestRunId.Equals(input.TestRunId)) - ) && + ) && ( this.AutoTestId == input.AutoTestId || (this.AutoTestId != null && this.AutoTestId.Equals(input.AutoTestId)) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.WorkItemVersionId == input.WorkItemVersionId || (this.WorkItemVersionId != null && this.WorkItemVersionId.Equals(input.WorkItemVersionId)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && diff --git a/src/TestIt.Client/Model/LinkAutoTestToWorkItemRequest.cs b/src/TestIT.ApiClient/Model/LinkAutoTestToWorkItemRequest.cs similarity index 96% rename from src/TestIt.Client/Model/LinkAutoTestToWorkItemRequest.cs rename to src/TestIT.ApiClient/Model/LinkAutoTestToWorkItemRequest.cs index 3cf183aa..c03683b0 100644 --- a/src/TestIt.Client/Model/LinkAutoTestToWorkItemRequest.cs +++ b/src/TestIT.ApiClient/Model/LinkAutoTestToWorkItemRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// LinkAutoTestToWorkItemRequest @@ -102,7 +102,7 @@ public bool Equals(LinkAutoTestToWorkItemRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && diff --git a/src/TestIt.Client/Model/LinkModel.cs b/src/TestIT.ApiClient/Model/LinkModel.cs similarity index 96% rename from src/TestIt.Client/Model/LinkModel.cs rename to src/TestIT.ApiClient/Model/LinkModel.cs index d2897c4b..78453e00 100644 --- a/src/TestIt.Client/Model/LinkModel.cs +++ b/src/TestIT.ApiClient/Model/LinkModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// LinkModel @@ -149,31 +149,31 @@ public bool Equals(LinkModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.Url == input.Url || (this.Url != null && this.Url.Equals(input.Url)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.HasInfo == input.HasInfo || this.HasInfo.Equals(input.HasInfo) diff --git a/src/TestIt.Client/Model/LinkPostModel.cs b/src/TestIT.ApiClient/Model/LinkPostModel.cs similarity index 96% rename from src/TestIt.Client/Model/LinkPostModel.cs rename to src/TestIT.ApiClient/Model/LinkPostModel.cs index 021fb1b4..f1c3ae71 100644 --- a/src/TestIt.Client/Model/LinkPostModel.cs +++ b/src/TestIT.ApiClient/Model/LinkPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// LinkPostModel @@ -139,26 +139,26 @@ public bool Equals(LinkPostModel input) { return false; } - return + return ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.Url == input.Url || (this.Url != null && this.Url.Equals(input.Url)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.HasInfo == input.HasInfo || this.HasInfo.Equals(input.HasInfo) diff --git a/src/TestIt.Client/Model/LinkPutModel.cs b/src/TestIT.ApiClient/Model/LinkPutModel.cs similarity index 96% rename from src/TestIt.Client/Model/LinkPutModel.cs rename to src/TestIT.ApiClient/Model/LinkPutModel.cs index 5bdd4207..d4fd9e1b 100644 --- a/src/TestIt.Client/Model/LinkPutModel.cs +++ b/src/TestIT.ApiClient/Model/LinkPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// LinkPutModel @@ -149,31 +149,31 @@ public bool Equals(LinkPutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.Url == input.Url || (this.Url != null && this.Url.Equals(input.Url)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.HasInfo == input.HasInfo || (this.HasInfo != null && diff --git a/src/TestIt.Client/Model/LinkShortModel.cs b/src/TestIT.ApiClient/Model/LinkShortModel.cs similarity index 95% rename from src/TestIt.Client/Model/LinkShortModel.cs rename to src/TestIT.ApiClient/Model/LinkShortModel.cs index 4f30c2e8..0e665e05 100644 --- a/src/TestIt.Client/Model/LinkShortModel.cs +++ b/src/TestIT.ApiClient/Model/LinkShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// LinkShortModel @@ -113,17 +113,17 @@ public bool Equals(LinkShortModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.Url == input.Url || (this.Url != null && diff --git a/src/TestIt.Client/Model/LinkSubGetModel.cs b/src/TestIT.ApiClient/Model/LinkSubGetModel.cs similarity index 95% rename from src/TestIt.Client/Model/LinkSubGetModel.cs rename to src/TestIT.ApiClient/Model/LinkSubGetModel.cs index 1d594b7e..22a13e8d 100644 --- a/src/TestIt.Client/Model/LinkSubGetModel.cs +++ b/src/TestIT.ApiClient/Model/LinkSubGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// LinkSubGetModel @@ -99,12 +99,12 @@ public bool Equals(LinkSubGetModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Url == input.Url || (this.Url != null && diff --git a/src/TestIt.Client/Model/LinkType.cs b/src/TestIT.ApiClient/Model/LinkType.cs similarity index 90% rename from src/TestIt.Client/Model/LinkType.cs rename to src/TestIT.ApiClient/Model/LinkType.cs index 5dc87fe4..829c7e8d 100644 --- a/src/TestIt.Client/Model/LinkType.cs +++ b/src/TestIT.ApiClient/Model/LinkType.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines LinkType diff --git a/src/TestIt.Client/Model/MoveRequest.cs b/src/TestIT.ApiClient/Model/MoveRequest.cs similarity index 96% rename from src/TestIt.Client/Model/MoveRequest.cs rename to src/TestIT.ApiClient/Model/MoveRequest.cs index bb3af9ad..c3d287e7 100644 --- a/src/TestIt.Client/Model/MoveRequest.cs +++ b/src/TestIT.ApiClient/Model/MoveRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// MoveRequest @@ -126,22 +126,22 @@ public bool Equals(MoveRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.OldParentId == input.OldParentId || (this.OldParentId != null && this.OldParentId.Equals(input.OldParentId)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.NextSectionId == input.NextSectionId || (this.NextSectionId != null && diff --git a/src/TestIt.Client/Model/NoContentResult.cs b/src/TestIT.ApiClient/Model/NoContentResult.cs similarity index 95% rename from src/TestIt.Client/Model/NoContentResult.cs rename to src/TestIT.ApiClient/Model/NoContentResult.cs index ed39fb17..7770faf2 100644 --- a/src/TestIt.Client/Model/NoContentResult.cs +++ b/src/TestIT.ApiClient/Model/NoContentResult.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// NoContentResult @@ -95,7 +95,7 @@ public bool Equals(NoContentResult input) { return false; } - return + return ( this.StatusCode == input.StatusCode || this.StatusCode.Equals(input.StatusCode) diff --git a/src/TestIt.Client/Model/NotificationModel.cs b/src/TestIT.ApiClient/Model/NotificationModel.cs similarity index 96% rename from src/TestIt.Client/Model/NotificationModel.cs rename to src/TestIT.ApiClient/Model/NotificationModel.cs index 702f9dc7..ed373488 100644 --- a/src/TestIt.Client/Model/NotificationModel.cs +++ b/src/TestIT.ApiClient/Model/NotificationModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// NotificationModel @@ -212,69 +212,69 @@ public bool Equals(NotificationModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.IsRead == input.IsRead || this.IsRead.Equals(input.IsRead) - ) && + ) && ( this.EntityId == input.EntityId || (this.EntityId != null && this.EntityId.Equals(input.EntityId)) - ) && + ) && ( this.NotificationType == input.NotificationType || this.NotificationType.Equals(input.NotificationType) - ) && + ) && ( this.ProjectGlobalId == input.ProjectGlobalId || (this.ProjectGlobalId != null && this.ProjectGlobalId.Equals(input.ProjectGlobalId)) - ) && + ) && ( this.ProjectName == input.ProjectName || (this.ProjectName != null && this.ProjectName.Equals(input.ProjectName)) - ) && + ) && ( this.TestPlanGlobalId == input.TestPlanGlobalId || this.TestPlanGlobalId.Equals(input.TestPlanGlobalId) - ) && + ) && ( this.TestPlanName == input.TestPlanName || (this.TestPlanName != null && this.TestPlanName.Equals(input.TestPlanName)) - ) && + ) && ( this.WorkitemGlobalId == input.WorkitemGlobalId || (this.WorkitemGlobalId != null && this.WorkitemGlobalId.Equals(input.WorkitemGlobalId)) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.WorkItemName == input.WorkItemName || (this.WorkItemName != null && this.WorkItemName.Equals(input.WorkItemName)) - ) && + ) && ( this.AttributeName == input.AttributeName || (this.AttributeName != null && this.AttributeName.Equals(input.AttributeName)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && diff --git a/src/TestIt.Client/Model/NotificationQueryFilterModel.cs b/src/TestIT.ApiClient/Model/NotificationQueryFilterModel.cs similarity index 96% rename from src/TestIt.Client/Model/NotificationQueryFilterModel.cs rename to src/TestIT.ApiClient/Model/NotificationQueryFilterModel.cs index a31e4146..c7dc0ba0 100644 --- a/src/TestIt.Client/Model/NotificationQueryFilterModel.cs +++ b/src/TestIT.ApiClient/Model/NotificationQueryFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// NotificationQueryFilterModel @@ -108,18 +108,18 @@ public bool Equals(NotificationQueryFilterModel input) { return false; } - return + return ( this.Types == input.Types || this.Types != null && input.Types != null && this.Types.SequenceEqual(input.Types) - ) && + ) && ( this.IsRead == input.IsRead || (this.IsRead != null && this.IsRead.Equals(input.IsRead)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && diff --git a/src/TestIt.Client/Model/NotificationTypeModel.cs b/src/TestIT.ApiClient/Model/NotificationTypeModel.cs similarity index 90% rename from src/TestIt.Client/Model/NotificationTypeModel.cs rename to src/TestIT.ApiClient/Model/NotificationTypeModel.cs index 892dfcd7..3e7d8a4e 100644 --- a/src/TestIt.Client/Model/NotificationTypeModel.cs +++ b/src/TestIT.ApiClient/Model/NotificationTypeModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines NotificationTypeModel diff --git a/src/TestIt.Client/Model/Operation.cs b/src/TestIT.ApiClient/Model/Operation.cs similarity index 95% rename from src/TestIt.Client/Model/Operation.cs rename to src/TestIT.ApiClient/Model/Operation.cs index f0388255..ea50cf81 100644 --- a/src/TestIt.Client/Model/Operation.cs +++ b/src/TestIT.ApiClient/Model/Operation.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Operation @@ -117,22 +117,22 @@ public bool Equals(Operation input) { return false; } - return + return ( this.Value == input.Value || (this.Value != null && this.Value.Equals(input.Value)) - ) && + ) && ( this.Path == input.Path || (this.Path != null && this.Path.Equals(input.Path)) - ) && + ) && ( this.Op == input.Op || (this.Op != null && this.Op.Equals(input.Op)) - ) && + ) && ( this.From == input.From || (this.From != null && diff --git a/src/TestIt.Client/Model/ParameterFilterModel.cs b/src/TestIT.ApiClient/Model/ParameterFilterModel.cs similarity index 95% rename from src/TestIt.Client/Model/ParameterFilterModel.cs rename to src/TestIT.ApiClient/Model/ParameterFilterModel.cs index 9267db65..47d453b6 100644 --- a/src/TestIt.Client/Model/ParameterFilterModel.cs +++ b/src/TestIT.ApiClient/Model/ParameterFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ParameterFilterModel @@ -101,12 +101,12 @@ public bool Equals(ParameterFilterModel input) { return false; } - return + return ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/ParameterGroupModel.cs b/src/TestIT.ApiClient/Model/ParameterGroupModel.cs similarity index 96% rename from src/TestIt.Client/Model/ParameterGroupModel.cs rename to src/TestIT.ApiClient/Model/ParameterGroupModel.cs index 09520f65..5944ddc5 100644 --- a/src/TestIt.Client/Model/ParameterGroupModel.cs +++ b/src/TestIT.ApiClient/Model/ParameterGroupModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ParameterGroupModel @@ -113,18 +113,18 @@ public bool Equals(ParameterGroupModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Values == input.Values || this.Values != null && input.Values != null && this.Values.SequenceEqual(input.Values) - ) && + ) && ( this.ParameterKeyId == input.ParameterKeyId || (this.ParameterKeyId != null && diff --git a/src/TestIt.Client/Model/ParameterIterationModel.cs b/src/TestIT.ApiClient/Model/ParameterIterationModel.cs similarity index 95% rename from src/TestIt.Client/Model/ParameterIterationModel.cs rename to src/TestIT.ApiClient/Model/ParameterIterationModel.cs index 5727a813..448c0e2b 100644 --- a/src/TestIt.Client/Model/ParameterIterationModel.cs +++ b/src/TestIT.ApiClient/Model/ParameterIterationModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ParameterIterationModel @@ -96,7 +96,7 @@ public bool Equals(ParameterIterationModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && diff --git a/src/TestIt.Client/Model/ParameterModel.cs b/src/TestIT.ApiClient/Model/ParameterModel.cs similarity index 97% rename from src/TestIt.Client/Model/ParameterModel.cs rename to src/TestIT.ApiClient/Model/ParameterModel.cs index a216578e..7bb8a278 100644 --- a/src/TestIt.Client/Model/ParameterModel.cs +++ b/src/TestIT.ApiClient/Model/ParameterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ParameterModel @@ -179,46 +179,46 @@ public bool Equals(ParameterModel input) { return false; } - return + return ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.ParameterKeyId == input.ParameterKeyId || (this.ParameterKeyId != null && this.ParameterKeyId.Equals(input.ParameterKeyId)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Value == input.Value || (this.Value != null && this.Value.Equals(input.Value)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/ParameterPostModel.cs b/src/TestIT.ApiClient/Model/ParameterPostModel.cs similarity index 96% rename from src/TestIt.Client/Model/ParameterPostModel.cs rename to src/TestIT.ApiClient/Model/ParameterPostModel.cs index b628b285..dcd5d2a6 100644 --- a/src/TestIt.Client/Model/ParameterPostModel.cs +++ b/src/TestIT.ApiClient/Model/ParameterPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ParameterPostModel @@ -114,12 +114,12 @@ public bool Equals(ParameterPostModel input) { return false; } - return + return ( this.Value == input.Value || (this.Value != null && this.Value.Equals(input.Value)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/ParameterPutModel.cs b/src/TestIT.ApiClient/Model/ParameterPutModel.cs similarity index 96% rename from src/TestIt.Client/Model/ParameterPutModel.cs rename to src/TestIT.ApiClient/Model/ParameterPutModel.cs index 10f186ec..318c4d13 100644 --- a/src/TestIt.Client/Model/ParameterPutModel.cs +++ b/src/TestIT.ApiClient/Model/ParameterPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ParameterPutModel @@ -124,17 +124,17 @@ public bool Equals(ParameterPutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Value == input.Value || (this.Value != null && this.Value.Equals(input.Value)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/ParameterShortModel.cs b/src/TestIT.ApiClient/Model/ParameterShortModel.cs similarity index 96% rename from src/TestIt.Client/Model/ParameterShortModel.cs rename to src/TestIT.ApiClient/Model/ParameterShortModel.cs index c8dd7ab2..b585b5e0 100644 --- a/src/TestIt.Client/Model/ParameterShortModel.cs +++ b/src/TestIT.ApiClient/Model/ParameterShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ParameterShortModel @@ -132,22 +132,22 @@ public bool Equals(ParameterShortModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.ParameterKeyId == input.ParameterKeyId || (this.ParameterKeyId != null && this.ParameterKeyId.Equals(input.ParameterKeyId)) - ) && + ) && ( this.Value == input.Value || (this.Value != null && this.Value.Equals(input.Value)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/PeriodViewModel.cs b/src/TestIT.ApiClient/Model/PeriodViewModel.cs similarity index 95% rename from src/TestIt.Client/Model/PeriodViewModel.cs rename to src/TestIT.ApiClient/Model/PeriodViewModel.cs index 79e5e53f..d863e9bc 100644 --- a/src/TestIt.Client/Model/PeriodViewModel.cs +++ b/src/TestIT.ApiClient/Model/PeriodViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// PeriodViewModel @@ -99,12 +99,12 @@ public bool Equals(PeriodViewModel input) { return false; } - return + return ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && diff --git a/src/TestIt.Client/Model/PeriodViewModelChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/PeriodViewModelChangedFieldViewModel.cs similarity index 95% rename from src/TestIt.Client/Model/PeriodViewModelChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/PeriodViewModelChangedFieldViewModel.cs index 61df8862..e8d9d186 100644 --- a/src/TestIt.Client/Model/PeriodViewModelChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/PeriodViewModelChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// PeriodViewModelChangedFieldViewModel @@ -99,12 +99,12 @@ public bool Equals(PeriodViewModelChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || (this.OldValue != null && this.OldValue.Equals(input.OldValue)) - ) && + ) && ( this.NewValue == input.NewValue || (this.NewValue != null && diff --git a/src/TestIt.Client/Model/ProblemDetails.cs b/src/TestIT.ApiClient/Model/ProblemDetails.cs similarity index 94% rename from src/TestIt.Client/Model/ProblemDetails.cs rename to src/TestIT.ApiClient/Model/ProblemDetails.cs index 0b9d6b4f..744a26d1 100644 --- a/src/TestIt.Client/Model/ProblemDetails.cs +++ b/src/TestIT.ApiClient/Model/ProblemDetails.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProblemDetails @@ -127,27 +127,27 @@ public bool Equals(ProblemDetails input) { return false; } - return base.Equals(input) && + return base.Equals(input) && ( this.Type == input.Type || (this.Type != null && this.Type.Equals(input.Type)) - ) && base.Equals(input) && + ) && base.Equals(input) && ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && base.Equals(input) && + ) && base.Equals(input) && ( this.Status == input.Status || (this.Status != null && this.Status.Equals(input.Status)) - ) && base.Equals(input) && + ) && base.Equals(input) && ( this.Detail == input.Detail || (this.Detail != null && this.Detail.Equals(input.Detail)) - ) && base.Equals(input) && + ) && base.Equals(input) && ( this.Instance == input.Instance || (this.Instance != null && diff --git a/src/TestIt.Client/Model/ProjectAttributesFilterModel.cs b/src/TestIT.ApiClient/Model/ProjectAttributesFilterModel.cs similarity index 96% rename from src/TestIt.Client/Model/ProjectAttributesFilterModel.cs rename to src/TestIT.ApiClient/Model/ProjectAttributesFilterModel.cs index 9992b5fa..c6b3dc69 100644 --- a/src/TestIt.Client/Model/ProjectAttributesFilterModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectAttributesFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProjectAttributesFilterModel @@ -131,28 +131,28 @@ public bool Equals(ProjectAttributesFilterModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsRequired == input.IsRequired || (this.IsRequired != null && this.IsRequired.Equals(input.IsRequired)) - ) && + ) && ( this.IsGlobal == input.IsGlobal || (this.IsGlobal != null && this.IsGlobal.Equals(input.IsGlobal)) - ) && + ) && ( this.Types == input.Types || this.Types != null && input.Types != null && this.Types.SequenceEqual(input.Types) - ) && + ) && ( this.IsEnabled == input.IsEnabled || (this.IsEnabled != null && diff --git a/src/TestIt.Client/Model/ProjectCustomAttributeTemplateGetModel.cs b/src/TestIT.ApiClient/Model/ProjectCustomAttributeTemplateGetModel.cs similarity index 96% rename from src/TestIt.Client/Model/ProjectCustomAttributeTemplateGetModel.cs rename to src/TestIT.ApiClient/Model/ProjectCustomAttributeTemplateGetModel.cs index 05093f2c..8baaa79a 100644 --- a/src/TestIt.Client/Model/ProjectCustomAttributeTemplateGetModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectCustomAttributeTemplateGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProjectCustomAttributeTemplateGetModel @@ -126,21 +126,21 @@ public bool Equals(ProjectCustomAttributeTemplateGetModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.CustomAttributeModels == input.CustomAttributeModels || this.CustomAttributeModels != null && diff --git a/src/TestIt.Client/Model/ProjectCustomAttributesTemplatesFilterModel.cs b/src/TestIT.ApiClient/Model/ProjectCustomAttributesTemplatesFilterModel.cs similarity index 96% rename from src/TestIt.Client/Model/ProjectCustomAttributesTemplatesFilterModel.cs rename to src/TestIT.ApiClient/Model/ProjectCustomAttributesTemplatesFilterModel.cs index 525cccc8..574128d4 100644 --- a/src/TestIt.Client/Model/ProjectCustomAttributesTemplatesFilterModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectCustomAttributesTemplatesFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Collection of filters to apply to search @@ -101,12 +101,12 @@ public bool Equals(ProjectCustomAttributesTemplatesFilterModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.CustomAttributeTypes == input.CustomAttributeTypes || this.CustomAttributeTypes != null && diff --git a/src/TestIt.Client/Model/ProjectExportQueryModel.cs b/src/TestIT.ApiClient/Model/ProjectExportQueryModel.cs similarity index 96% rename from src/TestIt.Client/Model/ProjectExportQueryModel.cs rename to src/TestIT.ApiClient/Model/ProjectExportQueryModel.cs index f5bedb7c..2b8bafcf 100644 --- a/src/TestIt.Client/Model/ProjectExportQueryModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectExportQueryModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProjectExportQueryModel @@ -101,13 +101,13 @@ public bool Equals(ProjectExportQueryModel input) { return false; } - return + return ( this.SectionIds == input.SectionIds || this.SectionIds != null && input.SectionIds != null && this.SectionIds.SequenceEqual(input.SectionIds) - ) && + ) && ( this.WorkItemIds == input.WorkItemIds || this.WorkItemIds != null && diff --git a/src/TestIt.Client/Model/ProjectExportWithTestPlansPostModel.cs b/src/TestIT.ApiClient/Model/ProjectExportWithTestPlansPostModel.cs similarity index 96% rename from src/TestIt.Client/Model/ProjectExportWithTestPlansPostModel.cs rename to src/TestIT.ApiClient/Model/ProjectExportWithTestPlansPostModel.cs index 61ac455d..dea292dd 100644 --- a/src/TestIt.Client/Model/ProjectExportWithTestPlansPostModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectExportWithTestPlansPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProjectExportWithTestPlansPostModel @@ -91,7 +91,7 @@ public bool Equals(ProjectExportWithTestPlansPostModel input) { return false; } - return + return ( this.TestPlansIds == input.TestPlansIds || this.TestPlansIds != null && diff --git a/src/TestIt.Client/Model/ProjectExtractionModel.cs b/src/TestIT.ApiClient/Model/ProjectExtractionModel.cs similarity index 95% rename from src/TestIt.Client/Model/ProjectExtractionModel.cs rename to src/TestIT.ApiClient/Model/ProjectExtractionModel.cs index 50bdf4d1..20027d9a 100644 --- a/src/TestIt.Client/Model/ProjectExtractionModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectExtractionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProjectExtractionModel @@ -90,7 +90,7 @@ public bool Equals(ProjectExtractionModel input) { return false; } - return + return ( this.Ids == input.Ids || (this.Ids != null && diff --git a/src/TestIt.Client/Model/ProjectModel.cs b/src/TestIT.ApiClient/Model/ProjectModel.cs similarity index 97% rename from src/TestIt.Client/Model/ProjectModel.cs rename to src/TestIT.ApiClient/Model/ProjectModel.cs index ee57d5d5..4896cf6d 100644 --- a/src/TestIt.Client/Model/ProjectModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProjectModel @@ -246,82 +246,82 @@ public bool Equals(ProjectModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsFavorite == input.IsFavorite || this.IsFavorite.Equals(input.IsFavorite) - ) && + ) && ( this.AttributesScheme == input.AttributesScheme || this.AttributesScheme != null && input.AttributesScheme != null && this.AttributesScheme.SequenceEqual(input.AttributesScheme) - ) && + ) && ( this.TestPlansAttributesScheme == input.TestPlansAttributesScheme || this.TestPlansAttributesScheme != null && input.TestPlansAttributesScheme != null && this.TestPlansAttributesScheme.SequenceEqual(input.TestPlansAttributesScheme) - ) && + ) && ( this.TestCasesCount == input.TestCasesCount || (this.TestCasesCount != null && this.TestCasesCount.Equals(input.TestCasesCount)) - ) && + ) && ( this.SharedStepsCount == input.SharedStepsCount || (this.SharedStepsCount != null && this.SharedStepsCount.Equals(input.SharedStepsCount)) - ) && + ) && ( this.CheckListsCount == input.CheckListsCount || (this.CheckListsCount != null && this.CheckListsCount.Equals(input.CheckListsCount)) - ) && + ) && ( this.AutoTestsCount == input.AutoTestsCount || (this.AutoTestsCount != null && this.AutoTestsCount.Equals(input.AutoTestsCount)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) diff --git a/src/TestIt.Client/Model/ProjectPostModel.cs b/src/TestIT.ApiClient/Model/ProjectPostModel.cs similarity index 96% rename from src/TestIt.Client/Model/ProjectPostModel.cs rename to src/TestIT.ApiClient/Model/ProjectPostModel.cs index ee1b7d9c..eaafadf9 100644 --- a/src/TestIt.Client/Model/ProjectPostModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProjectPostModel @@ -121,17 +121,17 @@ public bool Equals(ProjectPostModel input) { return false; } - return + return ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsFavorite == input.IsFavorite || (this.IsFavorite != null && diff --git a/src/TestIt.Client/Model/ProjectPutModel.cs b/src/TestIT.ApiClient/Model/ProjectPutModel.cs similarity index 96% rename from src/TestIt.Client/Model/ProjectPutModel.cs rename to src/TestIT.ApiClient/Model/ProjectPutModel.cs index da95080c..44232e61 100644 --- a/src/TestIt.Client/Model/ProjectPutModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProjectPutModel @@ -131,22 +131,22 @@ public bool Equals(ProjectPutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsFavorite == input.IsFavorite || (this.IsFavorite != null && diff --git a/src/TestIt.Client/Model/ProjectSelectModel.cs b/src/TestIT.ApiClient/Model/ProjectSelectModel.cs similarity index 95% rename from src/TestIt.Client/Model/ProjectSelectModel.cs rename to src/TestIT.ApiClient/Model/ProjectSelectModel.cs index a7b60e77..63f31ffb 100644 --- a/src/TestIt.Client/Model/ProjectSelectModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectSelectModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProjectSelectModel @@ -99,12 +99,12 @@ public bool Equals(ProjectSelectModel input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/ProjectShortestModel.cs b/src/TestIT.ApiClient/Model/ProjectShortestModel.cs similarity index 96% rename from src/TestIt.Client/Model/ProjectShortestModel.cs rename to src/TestIT.ApiClient/Model/ProjectShortestModel.cs index 20c81a10..9c41bf4f 100644 --- a/src/TestIt.Client/Model/ProjectShortestModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectShortestModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProjectShortestModel @@ -126,20 +126,20 @@ public bool Equals(ProjectShortestModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/ProjectTestPlansFilterModel.cs b/src/TestIT.ApiClient/Model/ProjectTestPlansFilterModel.cs similarity index 97% rename from src/TestIt.Client/Model/ProjectTestPlansFilterModel.cs rename to src/TestIT.ApiClient/Model/ProjectTestPlansFilterModel.cs index a4434a69..1e37671f 100644 --- a/src/TestIt.Client/Model/ProjectTestPlansFilterModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectTestPlansFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProjectTestPlansFilterModel @@ -225,88 +225,88 @@ public bool Equals(ProjectTestPlansFilterModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Build == input.Build || (this.Build != null && this.Build.Equals(input.Build)) - ) && + ) && ( this.ProductName == input.ProductName || (this.ProductName != null && this.ProductName.Equals(input.ProductName)) - ) && + ) && ( this.Status == input.Status || this.Status != null && input.Status != null && this.Status.SequenceEqual(input.Status) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.IsLocked == input.IsLocked || (this.IsLocked != null && this.IsLocked.Equals(input.IsLocked)) - ) && + ) && ( this.LockedDate == input.LockedDate || (this.LockedDate != null && this.LockedDate.Equals(input.LockedDate)) - ) && + ) && ( this.AutomaticDurationTimer == input.AutomaticDurationTimer || this.AutomaticDurationTimer != null && input.AutomaticDurationTimer != null && this.AutomaticDurationTimer.SequenceEqual(input.AutomaticDurationTimer) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && this.EndDate.Equals(input.EndDate)) - ) && + ) && ( this.TagNames == input.TagNames || this.TagNames != null && input.TagNames != null && this.TagNames.SequenceEqual(input.TagNames) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && diff --git a/src/TestIt.Client/Model/ProjectsFilterModel.cs b/src/TestIT.ApiClient/Model/ProjectsFilterModel.cs similarity index 97% rename from src/TestIt.Client/Model/ProjectsFilterModel.cs rename to src/TestIT.ApiClient/Model/ProjectsFilterModel.cs index 6bfd418d..51af5627 100644 --- a/src/TestIt.Client/Model/ProjectsFilterModel.cs +++ b/src/TestIT.ApiClient/Model/ProjectsFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ProjectsFilterModel @@ -176,53 +176,53 @@ public bool Equals(ProjectsFilterModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsFavorite == input.IsFavorite || (this.IsFavorite != null && this.IsFavorite.Equals(input.IsFavorite)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.TestCasesCount == input.TestCasesCount || (this.TestCasesCount != null && this.TestCasesCount.Equals(input.TestCasesCount)) - ) && + ) && ( this.ChecklistsCount == input.ChecklistsCount || (this.ChecklistsCount != null && this.ChecklistsCount.Equals(input.ChecklistsCount)) - ) && + ) && ( this.SharedStepsCount == input.SharedStepsCount || (this.SharedStepsCount != null && this.SharedStepsCount.Equals(input.SharedStepsCount)) - ) && + ) && ( this.AutotestsCount == input.AutotestsCount || (this.AutotestsCount != null && this.AutotestsCount.Equals(input.AutotestsCount)) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && diff --git a/src/TestIt.Client/Model/ProjectsFilterModelAutotestsCount.cs b/src/TestIT.ApiClient/Model/ProjectsFilterModelAutotestsCount.cs similarity index 95% rename from src/TestIt.Client/Model/ProjectsFilterModelAutotestsCount.cs rename to src/TestIT.ApiClient/Model/ProjectsFilterModelAutotestsCount.cs index e13c256f..eb7f032e 100644 --- a/src/TestIt.Client/Model/ProjectsFilterModelAutotestsCount.cs +++ b/src/TestIT.ApiClient/Model/ProjectsFilterModelAutotestsCount.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a project range of autotests count to search for @@ -99,12 +99,12 @@ public bool Equals(ProjectsFilterModelAutotestsCount input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/ProjectsFilterModelChecklistsCount.cs b/src/TestIT.ApiClient/Model/ProjectsFilterModelChecklistsCount.cs similarity index 95% rename from src/TestIt.Client/Model/ProjectsFilterModelChecklistsCount.cs rename to src/TestIT.ApiClient/Model/ProjectsFilterModelChecklistsCount.cs index f1dc7989..e3f9fa86 100644 --- a/src/TestIt.Client/Model/ProjectsFilterModelChecklistsCount.cs +++ b/src/TestIT.ApiClient/Model/ProjectsFilterModelChecklistsCount.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a project range of checklists count to search for @@ -99,12 +99,12 @@ public bool Equals(ProjectsFilterModelChecklistsCount input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/ProjectsFilterModelCreatedDate.cs b/src/TestIT.ApiClient/Model/ProjectsFilterModelCreatedDate.cs similarity index 95% rename from src/TestIt.Client/Model/ProjectsFilterModelCreatedDate.cs rename to src/TestIT.ApiClient/Model/ProjectsFilterModelCreatedDate.cs index cddcc2d8..3351676b 100644 --- a/src/TestIt.Client/Model/ProjectsFilterModelCreatedDate.cs +++ b/src/TestIT.ApiClient/Model/ProjectsFilterModelCreatedDate.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a project range of creation date to search for @@ -99,12 +99,12 @@ public bool Equals(ProjectsFilterModelCreatedDate input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/ProjectsFilterModelSharedStepsCount.cs b/src/TestIT.ApiClient/Model/ProjectsFilterModelSharedStepsCount.cs similarity index 95% rename from src/TestIt.Client/Model/ProjectsFilterModelSharedStepsCount.cs rename to src/TestIT.ApiClient/Model/ProjectsFilterModelSharedStepsCount.cs index d3e980cc..25652594 100644 --- a/src/TestIt.Client/Model/ProjectsFilterModelSharedStepsCount.cs +++ b/src/TestIT.ApiClient/Model/ProjectsFilterModelSharedStepsCount.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a project range of shared steps count to search for @@ -99,12 +99,12 @@ public bool Equals(ProjectsFilterModelSharedStepsCount input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/ProjectsFilterModelTestCasesCount.cs b/src/TestIT.ApiClient/Model/ProjectsFilterModelTestCasesCount.cs similarity index 95% rename from src/TestIt.Client/Model/ProjectsFilterModelTestCasesCount.cs rename to src/TestIT.ApiClient/Model/ProjectsFilterModelTestCasesCount.cs index ceb30eaf..2751f6f0 100644 --- a/src/TestIt.Client/Model/ProjectsFilterModelTestCasesCount.cs +++ b/src/TestIT.ApiClient/Model/ProjectsFilterModelTestCasesCount.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a project range of test cases count to search for @@ -99,12 +99,12 @@ public bool Equals(ProjectsFilterModelTestCasesCount input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/PublicTestPointModel.cs b/src/TestIT.ApiClient/Model/PublicTestPointModel.cs similarity index 96% rename from src/TestIt.Client/Model/PublicTestPointModel.cs rename to src/TestIT.ApiClient/Model/PublicTestPointModel.cs index 1fc0a4fa..c797171b 100644 --- a/src/TestIt.Client/Model/PublicTestPointModel.cs +++ b/src/TestIT.ApiClient/Model/PublicTestPointModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// PublicTestPointModel @@ -131,27 +131,27 @@ public bool Equals(PublicTestPointModel input) { return false; } - return + return ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.ConfigurationGlobalId == input.ConfigurationGlobalId || this.ConfigurationGlobalId.Equals(input.ConfigurationGlobalId) - ) && + ) && ( this.AutoTestIds == input.AutoTestIds || this.AutoTestIds != null && input.AutoTestIds != null && this.AutoTestIds.SequenceEqual(input.AutoTestIds) - ) && + ) && ( this.IterationId == input.IterationId || (this.IterationId != null && this.IterationId.Equals(input.IterationId)) - ) && + ) && ( this.ParameterModels == input.ParameterModels || this.ParameterModels != null && diff --git a/src/TestIt.Client/Model/PublicTestRunModel.cs b/src/TestIT.ApiClient/Model/PublicTestRunModel.cs similarity index 96% rename from src/TestIt.Client/Model/PublicTestRunModel.cs rename to src/TestIT.ApiClient/Model/PublicTestRunModel.cs index ed776126..2460f03c 100644 --- a/src/TestIt.Client/Model/PublicTestRunModel.cs +++ b/src/TestIT.ApiClient/Model/PublicTestRunModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// PublicTestRunModel @@ -176,54 +176,54 @@ public bool Equals(PublicTestRunModel input) { return false; } - return + return ( this.TestRunId == input.TestRunId || (this.TestRunId != null && this.TestRunId.Equals(input.TestRunId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.TestPlanGlobalId == input.TestPlanGlobalId || this.TestPlanGlobalId.Equals(input.TestPlanGlobalId) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProductName == input.ProductName || (this.ProductName != null && this.ProductName.Equals(input.ProductName)) - ) && + ) && ( this.Build == input.Build || (this.Build != null && this.Build.Equals(input.Build)) - ) && + ) && ( this.Configurations == input.Configurations || this.Configurations != null && input.Configurations != null && this.Configurations.SequenceEqual(input.Configurations) - ) && + ) && ( this.AutoTests == input.AutoTests || this.AutoTests != null && input.AutoTests != null && this.AutoTests.SequenceEqual(input.AutoTests) - ) && + ) && ( this.TestPoints == input.TestPoints || this.TestPoints != null && input.TestPoints != null && this.TestPoints.SequenceEqual(input.TestPoints) - ) && + ) && ( this.Status == input.Status || (this.Status != null && diff --git a/src/TestIt.Client/Model/RenameRequest.cs b/src/TestIT.ApiClient/Model/RenameRequest.cs similarity index 96% rename from src/TestIt.Client/Model/RenameRequest.cs rename to src/TestIT.ApiClient/Model/RenameRequest.cs index c92da4ba..0cef0dd3 100644 --- a/src/TestIt.Client/Model/RenameRequest.cs +++ b/src/TestIT.ApiClient/Model/RenameRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// RenameRequest @@ -111,12 +111,12 @@ public bool Equals(RenameRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/RequestData.cs b/src/TestIT.ApiClient/Model/RequestData.cs similarity index 96% rename from src/TestIt.Client/Model/RequestData.cs rename to src/TestIT.ApiClient/Model/RequestData.cs index 0f314b50..756209b0 100644 --- a/src/TestIt.Client/Model/RequestData.cs +++ b/src/TestIT.ApiClient/Model/RequestData.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// RequestData @@ -155,31 +155,31 @@ public bool Equals(RequestData input) { return false; } - return + return ( this.Uri == input.Uri || (this.Uri != null && this.Uri.Equals(input.Uri)) - ) && + ) && ( this.StatusCode == input.StatusCode || this.StatusCode.Equals(input.StatusCode) - ) && + ) && ( this.RequestBody == input.RequestBody || (this.RequestBody != null && this.RequestBody.Equals(input.RequestBody)) - ) && + ) && ( this.RequestMeta == input.RequestMeta || (this.RequestMeta != null && this.RequestMeta.Equals(input.RequestMeta)) - ) && + ) && ( this.ResponseBody == input.ResponseBody || (this.ResponseBody != null && this.ResponseBody.Equals(input.ResponseBody)) - ) && + ) && ( this.ResponseMeta == input.ResponseMeta || (this.ResponseMeta != null && diff --git a/src/TestIt.Client/Model/RequestTypeModel.cs b/src/TestIT.ApiClient/Model/RequestTypeModel.cs similarity index 87% rename from src/TestIt.Client/Model/RequestTypeModel.cs rename to src/TestIT.ApiClient/Model/RequestTypeModel.cs index a134c6f1..eb38a708 100644 --- a/src/TestIt.Client/Model/RequestTypeModel.cs +++ b/src/TestIT.ApiClient/Model/RequestTypeModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines RequestTypeModel diff --git a/src/TestIt.Client/Model/SearchAttributesInProjectRequest.cs b/src/TestIT.ApiClient/Model/SearchAttributesInProjectRequest.cs similarity index 96% rename from src/TestIt.Client/Model/SearchAttributesInProjectRequest.cs rename to src/TestIT.ApiClient/Model/SearchAttributesInProjectRequest.cs index ced302eb..ec9e7781 100644 --- a/src/TestIt.Client/Model/SearchAttributesInProjectRequest.cs +++ b/src/TestIT.ApiClient/Model/SearchAttributesInProjectRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SearchAttributesInProjectRequest @@ -131,28 +131,28 @@ public bool Equals(SearchAttributesInProjectRequest input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsRequired == input.IsRequired || (this.IsRequired != null && this.IsRequired.Equals(input.IsRequired)) - ) && + ) && ( this.IsGlobal == input.IsGlobal || (this.IsGlobal != null && this.IsGlobal.Equals(input.IsGlobal)) - ) && + ) && ( this.Types == input.Types || this.Types != null && input.Types != null && this.Types.SequenceEqual(input.Types) - ) && + ) && ( this.IsEnabled == input.IsEnabled || (this.IsEnabled != null && diff --git a/src/TestIt.Client/Model/SearchAutoTestsQueryIncludesModel.cs b/src/TestIT.ApiClient/Model/SearchAutoTestsQueryIncludesModel.cs similarity index 96% rename from src/TestIt.Client/Model/SearchAutoTestsQueryIncludesModel.cs rename to src/TestIT.ApiClient/Model/SearchAutoTestsQueryIncludesModel.cs index a426386b..478e30f9 100644 --- a/src/TestIt.Client/Model/SearchAutoTestsQueryIncludesModel.cs +++ b/src/TestIT.ApiClient/Model/SearchAutoTestsQueryIncludesModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SearchAutoTestsQueryIncludesModel @@ -116,15 +116,15 @@ public bool Equals(SearchAutoTestsQueryIncludesModel input) { return false; } - return + return ( this.IncludeSteps == input.IncludeSteps || this.IncludeSteps.Equals(input.IncludeSteps) - ) && + ) && ( this.IncludeLinks == input.IncludeLinks || this.IncludeLinks.Equals(input.IncludeLinks) - ) && + ) && ( this.IncludeLabels == input.IncludeLabels || this.IncludeLabels.Equals(input.IncludeLabels) diff --git a/src/TestIt.Client/Model/SearchCustomAttributeTemplateGetModel.cs b/src/TestIT.ApiClient/Model/SearchCustomAttributeTemplateGetModel.cs similarity index 96% rename from src/TestIt.Client/Model/SearchCustomAttributeTemplateGetModel.cs rename to src/TestIT.ApiClient/Model/SearchCustomAttributeTemplateGetModel.cs index cd7c264c..7cc7afeb 100644 --- a/src/TestIt.Client/Model/SearchCustomAttributeTemplateGetModel.cs +++ b/src/TestIT.ApiClient/Model/SearchCustomAttributeTemplateGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SearchCustomAttributeTemplateGetModel @@ -131,27 +131,27 @@ public bool Equals(SearchCustomAttributeTemplateGetModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProjectShortestModels == input.ProjectShortestModels || this.ProjectShortestModels != null && input.ProjectShortestModels != null && this.ProjectShortestModels.SequenceEqual(input.ProjectShortestModels) - ) && + ) && ( this.CustomAttributeModels == input.CustomAttributeModels || this.CustomAttributeModels != null && diff --git a/src/TestIt.Client/Model/SearchWebhooksQueryModel.cs b/src/TestIT.ApiClient/Model/SearchWebhooksQueryModel.cs similarity index 96% rename from src/TestIt.Client/Model/SearchWebhooksQueryModel.cs rename to src/TestIT.ApiClient/Model/SearchWebhooksQueryModel.cs index 83fbe1ab..00638fcb 100644 --- a/src/TestIt.Client/Model/SearchWebhooksQueryModel.cs +++ b/src/TestIT.ApiClient/Model/SearchWebhooksQueryModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SearchWebhooksQueryModel @@ -131,30 +131,30 @@ public bool Equals(SearchWebhooksQueryModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.EventTypes == input.EventTypes || this.EventTypes != null && input.EventTypes != null && this.EventTypes.SequenceEqual(input.EventTypes) - ) && + ) && ( this.Methods == input.Methods || this.Methods != null && input.Methods != null && this.Methods.SequenceEqual(input.Methods) - ) && + ) && ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.IsEnabled == input.IsEnabled || (this.IsEnabled != null && diff --git a/src/TestIt.Client/Model/SearchWorkItemsRequest.cs b/src/TestIT.ApiClient/Model/SearchWorkItemsRequest.cs similarity index 97% rename from src/TestIt.Client/Model/SearchWorkItemsRequest.cs rename to src/TestIT.ApiClient/Model/SearchWorkItemsRequest.cs index 3938cddb..ec45fb06 100644 --- a/src/TestIt.Client/Model/SearchWorkItemsRequest.cs +++ b/src/TestIT.ApiClient/Model/SearchWorkItemsRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SearchWorkItemsRequest @@ -319,137 +319,137 @@ public bool Equals(SearchWorkItemsRequest input) { return false; } - return + return ( this.TagNames == input.TagNames || this.TagNames != null && input.TagNames != null && this.TagNames.SequenceEqual(input.TagNames) - ) && + ) && ( this.EntityTypes == input.EntityTypes || this.EntityTypes != null && input.EntityTypes != null && this.EntityTypes.SequenceEqual(input.EntityTypes) - ) && + ) && ( this.NameOrId == input.NameOrId || (this.NameOrId != null && this.NameOrId.Equals(input.NameOrId)) - ) && + ) && ( this.IncludeIds == input.IncludeIds || this.IncludeIds != null && input.IncludeIds != null && this.IncludeIds.SequenceEqual(input.IncludeIds) - ) && + ) && ( this.ExcludeIds == input.ExcludeIds || this.ExcludeIds != null && input.ExcludeIds != null && this.ExcludeIds.SequenceEqual(input.ExcludeIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Ids == input.Ids || this.Ids != null && input.Ids != null && this.Ids.SequenceEqual(input.Ids) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.SectionIds == input.SectionIds || this.SectionIds != null && input.SectionIds != null && this.SectionIds.SequenceEqual(input.SectionIds) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.Priorities == input.Priorities || this.Priorities != null && input.Priorities != null && this.Priorities.SequenceEqual(input.Priorities) - ) && + ) && ( this.Types == input.Types || this.Types != null && input.Types != null && this.Types.SequenceEqual(input.Types) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.MedianDuration == input.MedianDuration || (this.MedianDuration != null && this.MedianDuration.Equals(input.MedianDuration)) - ) && + ) && ( this.IsAutomated == input.IsAutomated || (this.IsAutomated != null && this.IsAutomated.Equals(input.IsAutomated)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.AutoTestIds == input.AutoTestIds || this.AutoTestIds != null && diff --git a/src/TestIt.Client/Model/SectionModel.cs b/src/TestIT.ApiClient/Model/SectionModel.cs similarity index 96% rename from src/TestIt.Client/Model/SectionModel.cs rename to src/TestIT.ApiClient/Model/SectionModel.cs index d70d9c01..8631b62f 100644 --- a/src/TestIt.Client/Model/SectionModel.cs +++ b/src/TestIT.ApiClient/Model/SectionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SectionModel @@ -181,46 +181,46 @@ public bool Equals(SectionModel input) { return false; } - return + return ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/SectionMoveModel.cs b/src/TestIT.ApiClient/Model/SectionMoveModel.cs similarity index 96% rename from src/TestIt.Client/Model/SectionMoveModel.cs rename to src/TestIT.ApiClient/Model/SectionMoveModel.cs index efbc6fa1..a27f2cbc 100644 --- a/src/TestIt.Client/Model/SectionMoveModel.cs +++ b/src/TestIT.ApiClient/Model/SectionMoveModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SectionMoveModel @@ -126,22 +126,22 @@ public bool Equals(SectionMoveModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.OldParentId == input.OldParentId || (this.OldParentId != null && this.OldParentId.Equals(input.OldParentId)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.NextSectionId == input.NextSectionId || (this.NextSectionId != null && diff --git a/src/TestIt.Client/Model/SectionPostModel.cs b/src/TestIT.ApiClient/Model/SectionPostModel.cs similarity index 96% rename from src/TestIt.Client/Model/SectionPostModel.cs rename to src/TestIT.ApiClient/Model/SectionPostModel.cs index bb71cc3d..6dffe060 100644 --- a/src/TestIt.Client/Model/SectionPostModel.cs +++ b/src/TestIT.ApiClient/Model/SectionPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SectionPostModel @@ -139,28 +139,28 @@ public bool Equals(SectionPostModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.PreconditionSteps == input.PreconditionSteps || this.PreconditionSteps != null && input.PreconditionSteps != null && this.PreconditionSteps.SequenceEqual(input.PreconditionSteps) - ) && + ) && ( this.PostconditionSteps == input.PostconditionSteps || this.PostconditionSteps != null && diff --git a/src/TestIt.Client/Model/SectionPutModel.cs b/src/TestIT.ApiClient/Model/SectionPutModel.cs similarity index 96% rename from src/TestIt.Client/Model/SectionPutModel.cs rename to src/TestIT.ApiClient/Model/SectionPutModel.cs index 7748bfa5..b7162cf3 100644 --- a/src/TestIt.Client/Model/SectionPutModel.cs +++ b/src/TestIT.ApiClient/Model/SectionPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SectionPutModel @@ -148,33 +148,33 @@ public bool Equals(SectionPutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.PreconditionSteps == input.PreconditionSteps || this.PreconditionSteps != null && input.PreconditionSteps != null && this.PreconditionSteps.SequenceEqual(input.PreconditionSteps) - ) && + ) && ( this.PostconditionSteps == input.PostconditionSteps || this.PostconditionSteps != null && diff --git a/src/TestIt.Client/Model/SectionRenameModel.cs b/src/TestIT.ApiClient/Model/SectionRenameModel.cs similarity index 96% rename from src/TestIt.Client/Model/SectionRenameModel.cs rename to src/TestIT.ApiClient/Model/SectionRenameModel.cs index 18021109..6057bd8f 100644 --- a/src/TestIt.Client/Model/SectionRenameModel.cs +++ b/src/TestIT.ApiClient/Model/SectionRenameModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SectionRenameModel @@ -111,12 +111,12 @@ public bool Equals(SectionRenameModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/SectionSharedStep.cs b/src/TestIT.ApiClient/Model/SectionSharedStep.cs similarity index 96% rename from src/TestIt.Client/Model/SectionSharedStep.cs rename to src/TestIT.ApiClient/Model/SectionSharedStep.cs index 1be2de79..4220f341 100644 --- a/src/TestIt.Client/Model/SectionSharedStep.cs +++ b/src/TestIT.ApiClient/Model/SectionSharedStep.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Nested shared steps are allowed @@ -136,27 +136,27 @@ public bool Equals(SectionSharedStep input) { return false; } - return + return ( this.VersionId == input.VersionId || (this.VersionId != null && this.VersionId.Equals(input.VersionId)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/SectionWithStepsModel.cs b/src/TestIT.ApiClient/Model/SectionWithStepsModel.cs similarity index 97% rename from src/TestIt.Client/Model/SectionWithStepsModel.cs rename to src/TestIT.ApiClient/Model/SectionWithStepsModel.cs index 12374931..312d5e43 100644 --- a/src/TestIt.Client/Model/SectionWithStepsModel.cs +++ b/src/TestIT.ApiClient/Model/SectionWithStepsModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SectionWithStepsModel @@ -199,58 +199,58 @@ public bool Equals(SectionWithStepsModel input) { return false; } - return + return ( this.PreconditionSteps == input.PreconditionSteps || this.PreconditionSteps != null && input.PreconditionSteps != null && this.PreconditionSteps.SequenceEqual(input.PreconditionSteps) - ) && + ) && ( this.PostconditionSteps == input.PostconditionSteps || this.PostconditionSteps != null && input.PostconditionSteps != null && this.PostconditionSteps.SequenceEqual(input.PostconditionSteps) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/SetOfAttachmentIds.cs b/src/TestIT.ApiClient/Model/SetOfAttachmentIds.cs similarity index 95% rename from src/TestIt.Client/Model/SetOfAttachmentIds.cs rename to src/TestIT.ApiClient/Model/SetOfAttachmentIds.cs index 3b27a9e7..9105dc32 100644 --- a/src/TestIt.Client/Model/SetOfAttachmentIds.cs +++ b/src/TestIT.ApiClient/Model/SetOfAttachmentIds.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SetOfAttachmentIds @@ -104,11 +104,11 @@ public bool Equals(SetOfAttachmentIds input) { return false; } - return + return ( this.Action == input.Action || this.Action.Equals(input.Action) - ) && + ) && ( this.AttachmentIds == input.AttachmentIds || this.AttachmentIds != null && diff --git a/src/TestIt.Client/Model/SetOfLinks.cs b/src/TestIT.ApiClient/Model/SetOfLinks.cs similarity index 95% rename from src/TestIt.Client/Model/SetOfLinks.cs rename to src/TestIT.ApiClient/Model/SetOfLinks.cs index c4ac92d2..94b7c2d0 100644 --- a/src/TestIt.Client/Model/SetOfLinks.cs +++ b/src/TestIT.ApiClient/Model/SetOfLinks.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SetOfLinks @@ -104,11 +104,11 @@ public bool Equals(SetOfLinks input) { return false; } - return + return ( this.Action == input.Action || this.Action.Equals(input.Action) - ) && + ) && ( this.Links == input.Links || this.Links != null && diff --git a/src/TestIt.Client/Model/SharedStepChangeViewModel.cs b/src/TestIT.ApiClient/Model/SharedStepChangeViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/SharedStepChangeViewModel.cs rename to src/TestIT.ApiClient/Model/SharedStepChangeViewModel.cs index 67634e9e..98d9753a 100644 --- a/src/TestIt.Client/Model/SharedStepChangeViewModel.cs +++ b/src/TestIT.ApiClient/Model/SharedStepChangeViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SharedStepChangeViewModel @@ -122,21 +122,21 @@ public bool Equals(SharedStepChangeViewModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && diff --git a/src/TestIt.Client/Model/SharedStepModel.cs b/src/TestIT.ApiClient/Model/SharedStepModel.cs similarity index 96% rename from src/TestIt.Client/Model/SharedStepModel.cs rename to src/TestIT.ApiClient/Model/SharedStepModel.cs index c5e294f2..ef868233 100644 --- a/src/TestIt.Client/Model/SharedStepModel.cs +++ b/src/TestIT.ApiClient/Model/SharedStepModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SharedStepModel @@ -136,27 +136,27 @@ public bool Equals(SharedStepModel input) { return false; } - return + return ( this.VersionId == input.VersionId || (this.VersionId != null && this.VersionId.Equals(input.VersionId)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/SharedStepReferenceModel.cs b/src/TestIT.ApiClient/Model/SharedStepReferenceModel.cs similarity index 97% rename from src/TestIt.Client/Model/SharedStepReferenceModel.cs rename to src/TestIT.ApiClient/Model/SharedStepReferenceModel.cs index 02fb9799..7699952c 100644 --- a/src/TestIt.Client/Model/SharedStepReferenceModel.cs +++ b/src/TestIT.ApiClient/Model/SharedStepReferenceModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SharedStepReferenceModel @@ -265,85 +265,85 @@ public bool Equals(SharedStepReferenceModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.EntityTypeName == input.EntityTypeName || (this.EntityTypeName != null && this.EntityTypeName.Equals(input.EntityTypeName)) - ) && + ) && ( this.HasThisSharedStepAsStep == input.HasThisSharedStepAsStep || this.HasThisSharedStepAsStep.Equals(input.HasThisSharedStepAsStep) - ) && + ) && ( this.HasThisSharedStepAsPrecondition == input.HasThisSharedStepAsPrecondition || this.HasThisSharedStepAsPrecondition.Equals(input.HasThisSharedStepAsPrecondition) - ) && + ) && ( this.HasThisSharedStepAsPostcondition == input.HasThisSharedStepAsPostcondition || this.HasThisSharedStepAsPostcondition.Equals(input.HasThisSharedStepAsPostcondition) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.State == input.State || (this.State != null && this.State.Equals(input.State)) - ) && + ) && ( this.Priority == input.Priority || this.Priority.Equals(input.Priority) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.VersionId == input.VersionId || (this.VersionId != null && this.VersionId.Equals(input.VersionId)) - ) && + ) && ( this.IsAutomated == input.IsAutomated || this.IsAutomated.Equals(input.IsAutomated) - ) && + ) && ( this.SectionId == input.SectionId || (this.SectionId != null && this.SectionId.Equals(input.SectionId)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && diff --git a/src/TestIt.Client/Model/SharedStepReferenceSectionModel.cs b/src/TestIT.ApiClient/Model/SharedStepReferenceSectionModel.cs similarity index 96% rename from src/TestIt.Client/Model/SharedStepReferenceSectionModel.cs rename to src/TestIT.ApiClient/Model/SharedStepReferenceSectionModel.cs index 23c97c4c..9930b52c 100644 --- a/src/TestIt.Client/Model/SharedStepReferenceSectionModel.cs +++ b/src/TestIT.ApiClient/Model/SharedStepReferenceSectionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SharedStepReferenceSectionModel @@ -176,45 +176,45 @@ public bool Equals(SharedStepReferenceSectionModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.HasThisSharedStepAsPrecondition == input.HasThisSharedStepAsPrecondition || this.HasThisSharedStepAsPrecondition.Equals(input.HasThisSharedStepAsPrecondition) - ) && + ) && ( this.HasThisSharedStepAsPostcondition == input.HasThisSharedStepAsPostcondition || this.HasThisSharedStepAsPostcondition.Equals(input.HasThisSharedStepAsPostcondition) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/SharedStepReferenceSectionsQueryFilterModel.cs b/src/TestIT.ApiClient/Model/SharedStepReferenceSectionsQueryFilterModel.cs similarity index 96% rename from src/TestIt.Client/Model/SharedStepReferenceSectionsQueryFilterModel.cs rename to src/TestIT.ApiClient/Model/SharedStepReferenceSectionsQueryFilterModel.cs index 1a85a8fd..dd10281d 100644 --- a/src/TestIt.Client/Model/SharedStepReferenceSectionsQueryFilterModel.cs +++ b/src/TestIT.ApiClient/Model/SharedStepReferenceSectionsQueryFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SharedStepReferenceSectionsQueryFilterModel @@ -129,29 +129,29 @@ public bool Equals(SharedStepReferenceSectionsQueryFilterModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && diff --git a/src/TestIt.Client/Model/SharedStepReferenceSectionsQueryFilterModelCreatedDate.cs b/src/TestIT.ApiClient/Model/SharedStepReferenceSectionsQueryFilterModelCreatedDate.cs similarity index 95% rename from src/TestIt.Client/Model/SharedStepReferenceSectionsQueryFilterModelCreatedDate.cs rename to src/TestIT.ApiClient/Model/SharedStepReferenceSectionsQueryFilterModelCreatedDate.cs index c667f453..ba24bffd 100644 --- a/src/TestIt.Client/Model/SharedStepReferenceSectionsQueryFilterModelCreatedDate.cs +++ b/src/TestIT.ApiClient/Model/SharedStepReferenceSectionsQueryFilterModelCreatedDate.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Date and time of work item creation @@ -99,12 +99,12 @@ public bool Equals(SharedStepReferenceSectionsQueryFilterModelCreatedDate input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/SharedStepReferenceSectionsQueryFilterModelModifiedDate.cs b/src/TestIT.ApiClient/Model/SharedStepReferenceSectionsQueryFilterModelModifiedDate.cs similarity index 95% rename from src/TestIt.Client/Model/SharedStepReferenceSectionsQueryFilterModelModifiedDate.cs rename to src/TestIT.ApiClient/Model/SharedStepReferenceSectionsQueryFilterModelModifiedDate.cs index d9f63517..a30e3891 100644 --- a/src/TestIt.Client/Model/SharedStepReferenceSectionsQueryFilterModelModifiedDate.cs +++ b/src/TestIT.ApiClient/Model/SharedStepReferenceSectionsQueryFilterModelModifiedDate.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Date and time of work item last modification @@ -99,12 +99,12 @@ public bool Equals(SharedStepReferenceSectionsQueryFilterModelModifiedDate input { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/SharedStepReferencesQueryFilterModel.cs b/src/TestIT.ApiClient/Model/SharedStepReferencesQueryFilterModel.cs similarity index 97% rename from src/TestIt.Client/Model/SharedStepReferencesQueryFilterModel.cs rename to src/TestIT.ApiClient/Model/SharedStepReferencesQueryFilterModel.cs index 9e060fd1..87db6134 100644 --- a/src/TestIt.Client/Model/SharedStepReferencesQueryFilterModel.cs +++ b/src/TestIT.ApiClient/Model/SharedStepReferencesQueryFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SharedStepReferencesQueryFilterModel @@ -199,69 +199,69 @@ public bool Equals(SharedStepReferencesQueryFilterModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.SectionIds == input.SectionIds || this.SectionIds != null && input.SectionIds != null && this.SectionIds.SequenceEqual(input.SectionIds) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.Priorities == input.Priorities || this.Priorities != null && input.Priorities != null && this.Priorities.SequenceEqual(input.Priorities) - ) && + ) && ( this.EntityTypes == input.EntityTypes || this.EntityTypes != null && input.EntityTypes != null && this.EntityTypes.SequenceEqual(input.EntityTypes) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.IsAutomated == input.IsAutomated || (this.IsAutomated != null && this.IsAutomated.Equals(input.IsAutomated)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && diff --git a/src/TestIt.Client/Model/SharedStepResultModel.cs b/src/TestIT.ApiClient/Model/SharedStepResultModel.cs similarity index 95% rename from src/TestIt.Client/Model/SharedStepResultModel.cs rename to src/TestIT.ApiClient/Model/SharedStepResultModel.cs index 0d82574a..c5df141c 100644 --- a/src/TestIt.Client/Model/SharedStepResultModel.cs +++ b/src/TestIT.ApiClient/Model/SharedStepResultModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// SharedStepResultModel @@ -104,12 +104,12 @@ public bool Equals(SharedStepResultModel input) { return false; } - return + return ( this.StepId == input.StepId || (this.StepId != null && this.StepId.Equals(input.StepId)) - ) && + ) && ( this.Outcome == input.Outcome || (this.Outcome != null && diff --git a/src/TestIt.Client/Model/ShortConfiguration.cs b/src/TestIT.ApiClient/Model/ShortConfiguration.cs similarity index 95% rename from src/TestIt.Client/Model/ShortConfiguration.cs rename to src/TestIT.ApiClient/Model/ShortConfiguration.cs index 010c6df9..0bd875d2 100644 --- a/src/TestIt.Client/Model/ShortConfiguration.cs +++ b/src/TestIT.ApiClient/Model/ShortConfiguration.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ShortConfiguration @@ -104,12 +104,12 @@ public bool Equals(ShortConfiguration input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/StepCommentModel.cs b/src/TestIT.ApiClient/Model/StepCommentModel.cs similarity index 96% rename from src/TestIt.Client/Model/StepCommentModel.cs rename to src/TestIT.ApiClient/Model/StepCommentModel.cs index cc99ae04..032cce71 100644 --- a/src/TestIt.Client/Model/StepCommentModel.cs +++ b/src/TestIT.ApiClient/Model/StepCommentModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// StepCommentModel @@ -177,53 +177,53 @@ public bool Equals(StepCommentModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Text == input.Text || (this.Text != null && this.Text.Equals(input.Text)) - ) && + ) && ( this.StepId == input.StepId || (this.StepId != null && this.StepId.Equals(input.StepId)) - ) && + ) && ( this.ParentStepId == input.ParentStepId || (this.ParentStepId != null && this.ParentStepId.Equals(input.ParentStepId)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.TestResultId == input.TestResultId || (this.TestResultId != null && this.TestResultId.Equals(input.TestResultId)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && diff --git a/src/TestIt.Client/Model/StepModel.cs b/src/TestIT.ApiClient/Model/StepModel.cs similarity index 96% rename from src/TestIt.Client/Model/StepModel.cs rename to src/TestIT.ApiClient/Model/StepModel.cs index d4312e38..c57ead07 100644 --- a/src/TestIt.Client/Model/StepModel.cs +++ b/src/TestIT.ApiClient/Model/StepModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// StepModel @@ -155,37 +155,37 @@ public bool Equals(StepModel input) { return false; } - return + return ( this.WorkItem == input.WorkItem || (this.WorkItem != null && this.WorkItem.Equals(input.WorkItem)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Action == input.Action || (this.Action != null && this.Action.Equals(input.Action)) - ) && + ) && ( this.Expected == input.Expected || (this.Expected != null && this.Expected.Equals(input.Expected)) - ) && + ) && ( this.TestData == input.TestData || (this.TestData != null && this.TestData.Equals(input.TestData)) - ) && + ) && ( this.Comments == input.Comments || (this.Comments != null && this.Comments.Equals(input.Comments)) - ) && + ) && ( this.WorkItemId == input.WorkItemId || (this.WorkItemId != null && diff --git a/src/TestIt.Client/Model/StepPutModel.cs b/src/TestIT.ApiClient/Model/StepPutModel.cs similarity index 96% rename from src/TestIt.Client/Model/StepPutModel.cs rename to src/TestIT.ApiClient/Model/StepPutModel.cs index 92f369bb..d80b2569 100644 --- a/src/TestIt.Client/Model/StepPutModel.cs +++ b/src/TestIT.ApiClient/Model/StepPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// StepPutModel @@ -146,32 +146,32 @@ public bool Equals(StepPutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Action == input.Action || (this.Action != null && this.Action.Equals(input.Action)) - ) && + ) && ( this.Expected == input.Expected || (this.Expected != null && this.Expected.Equals(input.Expected)) - ) && + ) && ( this.TestData == input.TestData || (this.TestData != null && this.TestData.Equals(input.TestData)) - ) && + ) && ( this.Comments == input.Comments || (this.Comments != null && this.Comments.Equals(input.Comments)) - ) && + ) && ( this.WorkItemId == input.WorkItemId || (this.WorkItemId != null && diff --git a/src/TestIt.Client/Model/StepResultModel.cs b/src/TestIT.ApiClient/Model/StepResultModel.cs similarity index 96% rename from src/TestIt.Client/Model/StepResultModel.cs rename to src/TestIT.ApiClient/Model/StepResultModel.cs index 17940c34..b96235ed 100644 --- a/src/TestIt.Client/Model/StepResultModel.cs +++ b/src/TestIT.ApiClient/Model/StepResultModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// StepResultModel @@ -131,28 +131,28 @@ public bool Equals(StepResultModel input) { return false; } - return + return ( this.StepId == input.StepId || (this.StepId != null && this.StepId.Equals(input.StepId)) - ) && + ) && ( this.Outcome == input.Outcome || (this.Outcome != null && this.Outcome.Equals(input.Outcome)) - ) && + ) && ( this.SharedStepVersionId == input.SharedStepVersionId || (this.SharedStepVersionId != null && this.SharedStepVersionId.Equals(input.SharedStepVersionId)) - ) && + ) && ( this.SharedStepResults == input.SharedStepResults || this.SharedStepResults != null && input.SharedStepResults != null && this.SharedStepResults.SequenceEqual(input.SharedStepResults) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && diff --git a/src/TestIt.Client/Model/StringArrayChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/StringArrayChangedFieldViewModel.cs similarity index 95% rename from src/TestIt.Client/Model/StringArrayChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/StringArrayChangedFieldViewModel.cs index 44751e50..0427547c 100644 --- a/src/TestIt.Client/Model/StringArrayChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/StringArrayChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// StringArrayChangedFieldViewModel @@ -99,13 +99,13 @@ public bool Equals(StringArrayChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || this.OldValue != null && input.OldValue != null && this.OldValue.SequenceEqual(input.OldValue) - ) && + ) && ( this.NewValue == input.NewValue || this.NewValue != null && diff --git a/src/TestIt.Client/Model/StringChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/StringChangedFieldViewModel.cs similarity index 95% rename from src/TestIt.Client/Model/StringChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/StringChangedFieldViewModel.cs index c299050c..425d3ba9 100644 --- a/src/TestIt.Client/Model/StringChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/StringChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// StringChangedFieldViewModel @@ -99,12 +99,12 @@ public bool Equals(StringChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || (this.OldValue != null && this.OldValue.Equals(input.OldValue)) - ) && + ) && ( this.NewValue == input.NewValue || (this.NewValue != null && diff --git a/src/TestIt.Client/Model/StringChangedFieldWithDiffsViewModel.cs b/src/TestIT.ApiClient/Model/StringChangedFieldWithDiffsViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/StringChangedFieldWithDiffsViewModel.cs rename to src/TestIT.ApiClient/Model/StringChangedFieldWithDiffsViewModel.cs index cdff8696..d9a4adfc 100644 --- a/src/TestIt.Client/Model/StringChangedFieldWithDiffsViewModel.cs +++ b/src/TestIT.ApiClient/Model/StringChangedFieldWithDiffsViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// StringChangedFieldWithDiffsViewModel @@ -108,17 +108,17 @@ public bool Equals(StringChangedFieldWithDiffsViewModel input) { return false; } - return + return ( this.DiffValue == input.DiffValue || (this.DiffValue != null && this.DiffValue.Equals(input.DiffValue)) - ) && + ) && ( this.OldValue == input.OldValue || (this.OldValue != null && this.OldValue.Equals(input.OldValue)) - ) && + ) && ( this.NewValue == input.NewValue || (this.NewValue != null && diff --git a/src/TestIt.Client/Model/TagShortModel.cs b/src/TestIT.ApiClient/Model/TagShortModel.cs similarity index 96% rename from src/TestIt.Client/Model/TagShortModel.cs rename to src/TestIT.ApiClient/Model/TagShortModel.cs index e89b1ee9..a7d0a889 100644 --- a/src/TestIt.Client/Model/TagShortModel.cs +++ b/src/TestIT.ApiClient/Model/TagShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TagShortModel @@ -100,7 +100,7 @@ public bool Equals(TagShortModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/TestPlanChangeModel.cs b/src/TestIT.ApiClient/Model/TestPlanChangeModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestPlanChangeModel.cs rename to src/TestIT.ApiClient/Model/TestPlanChangeModel.cs index cba597ec..7ae703ee 100644 --- a/src/TestIt.Client/Model/TestPlanChangeModel.cs +++ b/src/TestIT.ApiClient/Model/TestPlanChangeModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanChangeModel @@ -131,27 +131,27 @@ public bool Equals(TestPlanChangeModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.TestPlanChangedFields == input.TestPlanChangedFields || (this.TestPlanChangedFields != null && this.TestPlanChangedFields.Equals(input.TestPlanChangedFields)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && diff --git a/src/TestIt.Client/Model/TestPlanChangedFieldsViewModel.cs b/src/TestIT.ApiClient/Model/TestPlanChangedFieldsViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestPlanChangedFieldsViewModel.cs rename to src/TestIT.ApiClient/Model/TestPlanChangedFieldsViewModel.cs index 991f5bf4..5a7f2727 100644 --- a/src/TestIt.Client/Model/TestPlanChangedFieldsViewModel.cs +++ b/src/TestIT.ApiClient/Model/TestPlanChangedFieldsViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanChangedFieldsViewModel @@ -198,67 +198,67 @@ public bool Equals(TestPlanChangedFieldsViewModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.ProductName == input.ProductName || (this.ProductName != null && this.ProductName.Equals(input.ProductName)) - ) && + ) && ( this.Build == input.Build || (this.Build != null && this.Build.Equals(input.Build)) - ) && + ) && ( this.Period == input.Period || (this.Period != null && this.Period.Equals(input.Period)) - ) && + ) && ( this.Status == input.Status || (this.Status != null && this.Status.Equals(input.Status)) - ) && + ) && ( this.Tags == input.Tags || (this.Tags != null && this.Tags.Equals(input.Tags)) - ) && + ) && ( this.TestSuite == input.TestSuite || (this.TestSuite != null && this.TestSuite.Equals(input.TestSuite)) - ) && + ) && ( this.TestPoints == input.TestPoints || (this.TestPoints != null && this.TestPoints.Equals(input.TestPoints)) - ) && + ) && ( this.TestResults == input.TestResults || (this.TestResults != null && this.TestResults.Equals(input.TestResults)) - ) && + ) && ( this.Locking == input.Locking || (this.Locking != null && this.Locking.Equals(input.Locking)) - ) && + ) && ( this.HasAutomaticDurationTimer == input.HasAutomaticDurationTimer || (this.HasAutomaticDurationTimer != null && this.HasAutomaticDurationTimer.Equals(input.HasAutomaticDurationTimer)) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && diff --git a/src/TestIt.Client/Model/TestPlanExtractionModel.cs b/src/TestIT.ApiClient/Model/TestPlanExtractionModel.cs similarity index 95% rename from src/TestIt.Client/Model/TestPlanExtractionModel.cs rename to src/TestIT.ApiClient/Model/TestPlanExtractionModel.cs index b3deb18a..e23d131c 100644 --- a/src/TestIt.Client/Model/TestPlanExtractionModel.cs +++ b/src/TestIT.ApiClient/Model/TestPlanExtractionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanExtractionModel @@ -90,7 +90,7 @@ public bool Equals(TestPlanExtractionModel input) { return false; } - return + return ( this.Ids == input.Ids || (this.Ids != null && diff --git a/src/TestIt.Client/Model/TestPlanGroupByStatus.cs b/src/TestIT.ApiClient/Model/TestPlanGroupByStatus.cs similarity index 95% rename from src/TestIt.Client/Model/TestPlanGroupByStatus.cs rename to src/TestIT.ApiClient/Model/TestPlanGroupByStatus.cs index 656bffea..6d0a0eb9 100644 --- a/src/TestIt.Client/Model/TestPlanGroupByStatus.cs +++ b/src/TestIT.ApiClient/Model/TestPlanGroupByStatus.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanGroupByStatus @@ -104,12 +104,12 @@ public bool Equals(TestPlanGroupByStatus input) { return false; } - return + return ( this.Status == input.Status || (this.Status != null && this.Status.Equals(input.Status)) - ) && + ) && ( this.Value == input.Value || this.Value.Equals(input.Value) diff --git a/src/TestIt.Client/Model/TestPlanGroupByTestSuite.cs b/src/TestIT.ApiClient/Model/TestPlanGroupByTestSuite.cs similarity index 96% rename from src/TestIt.Client/Model/TestPlanGroupByTestSuite.cs rename to src/TestIT.ApiClient/Model/TestPlanGroupByTestSuite.cs index 7b6c8651..43f4a38f 100644 --- a/src/TestIt.Client/Model/TestPlanGroupByTestSuite.cs +++ b/src/TestIT.ApiClient/Model/TestPlanGroupByTestSuite.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanGroupByTestSuite @@ -113,17 +113,17 @@ public bool Equals(TestPlanGroupByTestSuite input) { return false; } - return + return ( this.TestSuiteId == input.TestSuiteId || (this.TestSuiteId != null && this.TestSuiteId.Equals(input.TestSuiteId)) - ) && + ) && ( this.TestSuiteName == input.TestSuiteName || (this.TestSuiteName != null && this.TestSuiteName.Equals(input.TestSuiteName)) - ) && + ) && ( this.Value == input.Value || this.Value.Equals(input.Value) diff --git a/src/TestIt.Client/Model/TestPlanGroupByTester.cs b/src/TestIT.ApiClient/Model/TestPlanGroupByTester.cs similarity index 95% rename from src/TestIt.Client/Model/TestPlanGroupByTester.cs rename to src/TestIT.ApiClient/Model/TestPlanGroupByTester.cs index cb40236d..93ee3224 100644 --- a/src/TestIt.Client/Model/TestPlanGroupByTester.cs +++ b/src/TestIT.ApiClient/Model/TestPlanGroupByTester.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanGroupByTester @@ -104,12 +104,12 @@ public bool Equals(TestPlanGroupByTester input) { return false; } - return + return ( this.UserId == input.UserId || (this.UserId != null && this.UserId.Equals(input.UserId)) - ) && + ) && ( this.Value == input.Value || this.Value.Equals(input.Value) diff --git a/src/TestIt.Client/Model/TestPlanGroupByTesterAndStatus.cs b/src/TestIT.ApiClient/Model/TestPlanGroupByTesterAndStatus.cs similarity index 96% rename from src/TestIt.Client/Model/TestPlanGroupByTesterAndStatus.cs rename to src/TestIT.ApiClient/Model/TestPlanGroupByTesterAndStatus.cs index c4a4c7e7..c109fe21 100644 --- a/src/TestIt.Client/Model/TestPlanGroupByTesterAndStatus.cs +++ b/src/TestIT.ApiClient/Model/TestPlanGroupByTesterAndStatus.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanGroupByTesterAndStatus @@ -113,17 +113,17 @@ public bool Equals(TestPlanGroupByTesterAndStatus input) { return false; } - return + return ( this.UserId == input.UserId || (this.UserId != null && this.UserId.Equals(input.UserId)) - ) && + ) && ( this.Status == input.Status || (this.Status != null && this.Status.Equals(input.Status)) - ) && + ) && ( this.Value == input.Value || this.Value.Equals(input.Value) diff --git a/src/TestIt.Client/Model/TestPlanLink.cs b/src/TestIT.ApiClient/Model/TestPlanLink.cs similarity index 96% rename from src/TestIt.Client/Model/TestPlanLink.cs rename to src/TestIT.ApiClient/Model/TestPlanLink.cs index 681103fc..9e6f1570 100644 --- a/src/TestIt.Client/Model/TestPlanLink.cs +++ b/src/TestIT.ApiClient/Model/TestPlanLink.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanLink @@ -144,37 +144,37 @@ public bool Equals(TestPlanLink input) { return false; } - return + return ( this.BugLink == input.BugLink || (this.BugLink != null && this.BugLink.Equals(input.BugLink)) - ) && + ) && ( this.WorkItemGlobalId == input.WorkItemGlobalId || (this.WorkItemGlobalId != null && this.WorkItemGlobalId.Equals(input.WorkItemGlobalId)) - ) && + ) && ( this.WorkItemName == input.WorkItemName || (this.WorkItemName != null && this.WorkItemName.Equals(input.WorkItemName)) - ) && + ) && ( this.ConfigurationName == input.ConfigurationName || (this.ConfigurationName != null && this.ConfigurationName.Equals(input.ConfigurationName)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.Info == input.Info || (this.Info != null && diff --git a/src/TestIt.Client/Model/TestPlanModel.cs b/src/TestIT.ApiClient/Model/TestPlanModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestPlanModel.cs rename to src/TestIT.ApiClient/Model/TestPlanModel.cs index 939c77e2..ed5ca7fe 100644 --- a/src/TestIt.Client/Model/TestPlanModel.cs +++ b/src/TestIT.ApiClient/Model/TestPlanModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanModel @@ -312,110 +312,110 @@ public bool Equals(TestPlanModel input) { return false; } - return + return ( this.Status == input.Status || this.Status.Equals(input.Status) - ) && + ) && ( this.StartedOn == input.StartedOn || (this.StartedOn != null && this.StartedOn.Equals(input.StartedOn)) - ) && + ) && ( this.CompletedOn == input.CompletedOn || (this.CompletedOn != null && this.CompletedOn.Equals(input.CompletedOn)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.LockedDate == input.LockedDate || (this.LockedDate != null && this.LockedDate.Equals(input.LockedDate)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.LockedById == input.LockedById || (this.LockedById != null && this.LockedById.Equals(input.LockedById)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && this.EndDate.Equals(input.EndDate)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Build == input.Build || (this.Build != null && this.Build.Equals(input.Build)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ProductName == input.ProductName || (this.ProductName != null && this.ProductName.Equals(input.ProductName)) - ) && + ) && ( this.HasAutomaticDurationTimer == input.HasAutomaticDurationTimer || (this.HasAutomaticDurationTimer != null && this.HasAutomaticDurationTimer.Equals(input.HasAutomaticDurationTimer)) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && diff --git a/src/TestIt.Client/Model/TestPlanPostModel.cs b/src/TestIT.ApiClient/Model/TestPlanPostModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestPlanPostModel.cs rename to src/TestIT.ApiClient/Model/TestPlanPostModel.cs index 674fbd95..43d2ecc2 100644 --- a/src/TestIt.Client/Model/TestPlanPostModel.cs +++ b/src/TestIT.ApiClient/Model/TestPlanPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanPostModel @@ -191,53 +191,53 @@ public bool Equals(TestPlanPostModel input) { return false; } - return + return ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && this.EndDate.Equals(input.EndDate)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Build == input.Build || (this.Build != null && this.Build.Equals(input.Build)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ProductName == input.ProductName || (this.ProductName != null && this.ProductName.Equals(input.ProductName)) - ) && + ) && ( this.HasAutomaticDurationTimer == input.HasAutomaticDurationTimer || (this.HasAutomaticDurationTimer != null && this.HasAutomaticDurationTimer.Equals(input.HasAutomaticDurationTimer)) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && diff --git a/src/TestIt.Client/Model/TestPlanPutModel.cs b/src/TestIT.ApiClient/Model/TestPlanPutModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestPlanPutModel.cs rename to src/TestIT.ApiClient/Model/TestPlanPutModel.cs index 79c8da87..348f2b30 100644 --- a/src/TestIt.Client/Model/TestPlanPutModel.cs +++ b/src/TestIT.ApiClient/Model/TestPlanPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanPutModel @@ -210,63 +210,63 @@ public bool Equals(TestPlanPutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.LockedById == input.LockedById || (this.LockedById != null && this.LockedById.Equals(input.LockedById)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && this.EndDate.Equals(input.EndDate)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Build == input.Build || (this.Build != null && this.Build.Equals(input.Build)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ProductName == input.ProductName || (this.ProductName != null && this.ProductName.Equals(input.ProductName)) - ) && + ) && ( this.HasAutomaticDurationTimer == input.HasAutomaticDurationTimer || (this.HasAutomaticDurationTimer != null && this.HasAutomaticDurationTimer.Equals(input.HasAutomaticDurationTimer)) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && diff --git a/src/TestIt.Client/Model/TestPlanSelectModel.cs b/src/TestIT.ApiClient/Model/TestPlanSelectModel.cs similarity index 95% rename from src/TestIt.Client/Model/TestPlanSelectModel.cs rename to src/TestIT.ApiClient/Model/TestPlanSelectModel.cs index 4c04fd99..abc73d9e 100644 --- a/src/TestIt.Client/Model/TestPlanSelectModel.cs +++ b/src/TestIT.ApiClient/Model/TestPlanSelectModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanSelectModel @@ -99,12 +99,12 @@ public bool Equals(TestPlanSelectModel input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/TestPlanShortModel.cs b/src/TestIT.ApiClient/Model/TestPlanShortModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestPlanShortModel.cs rename to src/TestIT.ApiClient/Model/TestPlanShortModel.cs index ca8b3ef6..4c20bf8e 100644 --- a/src/TestIt.Client/Model/TestPlanShortModel.cs +++ b/src/TestIT.ApiClient/Model/TestPlanShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanShortModel @@ -113,17 +113,17 @@ public bool Equals(TestPlanShortModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/TestPlanStatusModel.cs b/src/TestIT.ApiClient/Model/TestPlanStatusModel.cs similarity index 89% rename from src/TestIt.Client/Model/TestPlanStatusModel.cs rename to src/TestIT.ApiClient/Model/TestPlanStatusModel.cs index 6962389f..6df2ef35 100644 --- a/src/TestIt.Client/Model/TestPlanStatusModel.cs +++ b/src/TestIT.ApiClient/Model/TestPlanStatusModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines TestPlanStatusModel diff --git a/src/TestIt.Client/Model/TestPlanWithAnalyticModel.cs b/src/TestIT.ApiClient/Model/TestPlanWithAnalyticModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestPlanWithAnalyticModel.cs rename to src/TestIT.ApiClient/Model/TestPlanWithAnalyticModel.cs index a3dc5497..c0e77b62 100644 --- a/src/TestIt.Client/Model/TestPlanWithAnalyticModel.cs +++ b/src/TestIT.ApiClient/Model/TestPlanWithAnalyticModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanWithAnalyticModel @@ -321,115 +321,115 @@ public bool Equals(TestPlanWithAnalyticModel input) { return false; } - return + return ( this.Analytic == input.Analytic || (this.Analytic != null && this.Analytic.Equals(input.Analytic)) - ) && + ) && ( this.Status == input.Status || this.Status.Equals(input.Status) - ) && + ) && ( this.StartedOn == input.StartedOn || (this.StartedOn != null && this.StartedOn.Equals(input.StartedOn)) - ) && + ) && ( this.CompletedOn == input.CompletedOn || (this.CompletedOn != null && this.CompletedOn.Equals(input.CompletedOn)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.LockedDate == input.LockedDate || (this.LockedDate != null && this.LockedDate.Equals(input.LockedDate)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.LockedById == input.LockedById || (this.LockedById != null && this.LockedById.Equals(input.LockedById)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && this.EndDate.Equals(input.EndDate)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Build == input.Build || (this.Build != null && this.Build.Equals(input.Build)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ProductName == input.ProductName || (this.ProductName != null && this.ProductName.Equals(input.ProductName)) - ) && + ) && ( this.HasAutomaticDurationTimer == input.HasAutomaticDurationTimer || (this.HasAutomaticDurationTimer != null && this.HasAutomaticDurationTimer.Equals(input.HasAutomaticDurationTimer)) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && diff --git a/src/TestIt.Client/Model/TestPlanWithTestSuiteTreeModel.cs b/src/TestIT.ApiClient/Model/TestPlanWithTestSuiteTreeModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestPlanWithTestSuiteTreeModel.cs rename to src/TestIT.ApiClient/Model/TestPlanWithTestSuiteTreeModel.cs index 47ba2e71..bc05ad72 100644 --- a/src/TestIt.Client/Model/TestPlanWithTestSuiteTreeModel.cs +++ b/src/TestIT.ApiClient/Model/TestPlanWithTestSuiteTreeModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPlanWithTestSuiteTreeModel @@ -321,116 +321,116 @@ public bool Equals(TestPlanWithTestSuiteTreeModel input) { return false; } - return + return ( this.TestSuites == input.TestSuites || this.TestSuites != null && input.TestSuites != null && this.TestSuites.SequenceEqual(input.TestSuites) - ) && + ) && ( this.Status == input.Status || this.Status.Equals(input.Status) - ) && + ) && ( this.StartedOn == input.StartedOn || (this.StartedOn != null && this.StartedOn.Equals(input.StartedOn)) - ) && + ) && ( this.CompletedOn == input.CompletedOn || (this.CompletedOn != null && this.CompletedOn.Equals(input.CompletedOn)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.LockedDate == input.LockedDate || (this.LockedDate != null && this.LockedDate.Equals(input.LockedDate)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.LockedById == input.LockedById || (this.LockedById != null && this.LockedById.Equals(input.LockedById)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && this.EndDate.Equals(input.EndDate)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Build == input.Build || (this.Build != null && this.Build.Equals(input.Build)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ProductName == input.ProductName || (this.ProductName != null && this.ProductName.Equals(input.ProductName)) - ) && + ) && ( this.HasAutomaticDurationTimer == input.HasAutomaticDurationTimer || (this.HasAutomaticDurationTimer != null && this.HasAutomaticDurationTimer.Equals(input.HasAutomaticDurationTimer)) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && diff --git a/src/TestIt.Client/Model/TestPointAnalyticResult.cs b/src/TestIT.ApiClient/Model/TestPointAnalyticResult.cs similarity index 96% rename from src/TestIt.Client/Model/TestPointAnalyticResult.cs rename to src/TestIT.ApiClient/Model/TestPointAnalyticResult.cs index a44a0fa0..d41c1f68 100644 --- a/src/TestIt.Client/Model/TestPointAnalyticResult.cs +++ b/src/TestIT.ApiClient/Model/TestPointAnalyticResult.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointAnalyticResult @@ -126,31 +126,31 @@ public bool Equals(TestPointAnalyticResult input) { return false; } - return + return ( this.CountGroupByStatus == input.CountGroupByStatus || this.CountGroupByStatus != null && input.CountGroupByStatus != null && this.CountGroupByStatus.SequenceEqual(input.CountGroupByStatus) - ) && + ) && ( this.SumGroupByTester == input.SumGroupByTester || this.SumGroupByTester != null && input.SumGroupByTester != null && this.SumGroupByTester.SequenceEqual(input.SumGroupByTester) - ) && + ) && ( this.CountGroupByTester == input.CountGroupByTester || this.CountGroupByTester != null && input.CountGroupByTester != null && this.CountGroupByTester.SequenceEqual(input.CountGroupByTester) - ) && + ) && ( this.CountGroupByTestSuite == input.CountGroupByTestSuite || this.CountGroupByTestSuite != null && input.CountGroupByTestSuite != null && this.CountGroupByTestSuite.SequenceEqual(input.CountGroupByTestSuite) - ) && + ) && ( this.CountGroupByTesterAndStatus == input.CountGroupByTesterAndStatus || this.CountGroupByTesterAndStatus != null && diff --git a/src/TestIt.Client/Model/TestPointByTestSuiteModel.cs b/src/TestIT.ApiClient/Model/TestPointByTestSuiteModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestPointByTestSuiteModel.cs rename to src/TestIT.ApiClient/Model/TestPointByTestSuiteModel.cs index 5985846c..6b31f37d 100644 --- a/src/TestIt.Client/Model/TestPointByTestSuiteModel.cs +++ b/src/TestIT.ApiClient/Model/TestPointByTestSuiteModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointByTestSuiteModel @@ -157,37 +157,37 @@ public bool Equals(TestPointByTestSuiteModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.TesterId == input.TesterId || (this.TesterId != null && this.TesterId.Equals(input.TesterId)) - ) && + ) && ( this.WorkItemId == input.WorkItemId || (this.WorkItemId != null && this.WorkItemId.Equals(input.WorkItemId)) - ) && + ) && ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.Status == input.Status || (this.Status != null && this.Status.Equals(input.Status)) - ) && + ) && ( this.LastTestResultId == input.LastTestResultId || (this.LastTestResultId != null && this.LastTestResultId.Equals(input.LastTestResultId)) - ) && + ) && ( this.IterationId == input.IterationId || (this.IterationId != null && diff --git a/src/TestIt.Client/Model/TestPointChangeViewModel.cs b/src/TestIT.ApiClient/Model/TestPointChangeViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestPointChangeViewModel.cs rename to src/TestIT.ApiClient/Model/TestPointChangeViewModel.cs index 60f775f9..b5a9ac58 100644 --- a/src/TestIt.Client/Model/TestPointChangeViewModel.cs +++ b/src/TestIT.ApiClient/Model/TestPointChangeViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointChangeViewModel @@ -113,17 +113,17 @@ public bool Equals(TestPointChangeViewModel input) { return false; } - return + return ( this.UserId == input.UserId || (this.UserId != null && this.UserId.Equals(input.UserId)) - ) && + ) && ( this.UserName == input.UserName || (this.UserName != null && this.UserName.Equals(input.UserName)) - ) && + ) && ( this.TestPointCount == input.TestPointCount || this.TestPointCount.Equals(input.TestPointCount) diff --git a/src/TestIt.Client/Model/TestPointChangeViewModelChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/TestPointChangeViewModelChangedFieldViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestPointChangeViewModelChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/TestPointChangeViewModelChangedFieldViewModel.cs index 7934e961..9e746666 100644 --- a/src/TestIt.Client/Model/TestPointChangeViewModelChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/TestPointChangeViewModelChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointChangeViewModelChangedFieldViewModel @@ -99,12 +99,12 @@ public bool Equals(TestPointChangeViewModelChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || (this.OldValue != null && this.OldValue.Equals(input.OldValue)) - ) && + ) && ( this.NewValue == input.NewValue || (this.NewValue != null && diff --git a/src/TestIt.Client/Model/TestPointFilterModel.cs b/src/TestIT.ApiClient/Model/TestPointFilterModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestPointFilterModel.cs rename to src/TestIT.ApiClient/Model/TestPointFilterModel.cs index 77e1c03d..57f4d5c9 100644 --- a/src/TestIt.Client/Model/TestPointFilterModel.cs +++ b/src/TestIT.ApiClient/Model/TestPointFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointFilterModel @@ -295,125 +295,125 @@ public bool Equals(TestPointFilterModel input) { return false; } - return + return ( this.TestPlanIds == input.TestPlanIds || this.TestPlanIds != null && input.TestPlanIds != null && this.TestPlanIds.SequenceEqual(input.TestPlanIds) - ) && + ) && ( this.TestSuiteIds == input.TestSuiteIds || this.TestSuiteIds != null && input.TestSuiteIds != null && this.TestSuiteIds.SequenceEqual(input.TestSuiteIds) - ) && + ) && ( this.WorkItemGlobalIds == input.WorkItemGlobalIds || this.WorkItemGlobalIds != null && input.WorkItemGlobalIds != null && this.WorkItemGlobalIds.SequenceEqual(input.WorkItemGlobalIds) - ) && + ) && ( this.WorkItemMedianDuration == input.WorkItemMedianDuration || (this.WorkItemMedianDuration != null && this.WorkItemMedianDuration.Equals(input.WorkItemMedianDuration)) - ) && + ) && ( this.Statuses == input.Statuses || this.Statuses != null && input.Statuses != null && this.Statuses.SequenceEqual(input.Statuses) - ) && + ) && ( this.Priorities == input.Priorities || this.Priorities != null && input.Priorities != null && this.Priorities.SequenceEqual(input.Priorities) - ) && + ) && ( this.IsAutomated == input.IsAutomated || (this.IsAutomated != null && this.IsAutomated.Equals(input.IsAutomated)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.TesterIds == input.TesterIds || this.TesterIds != null && input.TesterIds != null && this.TesterIds.SequenceEqual(input.TesterIds) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.SectionIds == input.SectionIds || this.SectionIds != null && input.SectionIds != null && this.SectionIds.SequenceEqual(input.SectionIds) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.WorkItemCreatedDate == input.WorkItemCreatedDate || (this.WorkItemCreatedDate != null && this.WorkItemCreatedDate.Equals(input.WorkItemCreatedDate)) - ) && + ) && ( this.WorkItemCreatedByIds == input.WorkItemCreatedByIds || this.WorkItemCreatedByIds != null && input.WorkItemCreatedByIds != null && this.WorkItemCreatedByIds.SequenceEqual(input.WorkItemCreatedByIds) - ) && + ) && ( this.WorkItemModifiedDate == input.WorkItemModifiedDate || (this.WorkItemModifiedDate != null && this.WorkItemModifiedDate.Equals(input.WorkItemModifiedDate)) - ) && + ) && ( this.WorkItemModifiedByIds == input.WorkItemModifiedByIds || this.WorkItemModifiedByIds != null && diff --git a/src/TestIt.Client/Model/TestPointFilterModelCreatedDate.cs b/src/TestIT.ApiClient/Model/TestPointFilterModelCreatedDate.cs similarity index 95% rename from src/TestIt.Client/Model/TestPointFilterModelCreatedDate.cs rename to src/TestIT.ApiClient/Model/TestPointFilterModelCreatedDate.cs index 92a24801..326f4ebd 100644 --- a/src/TestIt.Client/Model/TestPointFilterModelCreatedDate.cs +++ b/src/TestIT.ApiClient/Model/TestPointFilterModelCreatedDate.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a test point range of creation date to search for @@ -99,12 +99,12 @@ public bool Equals(TestPointFilterModelCreatedDate input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/TestPointFilterModelDuration.cs b/src/TestIT.ApiClient/Model/TestPointFilterModelDuration.cs similarity index 95% rename from src/TestIt.Client/Model/TestPointFilterModelDuration.cs rename to src/TestIT.ApiClient/Model/TestPointFilterModelDuration.cs index 93dbaf0d..3d220b2a 100644 --- a/src/TestIt.Client/Model/TestPointFilterModelDuration.cs +++ b/src/TestIT.ApiClient/Model/TestPointFilterModelDuration.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a test point range of duration to search for @@ -99,12 +99,12 @@ public bool Equals(TestPointFilterModelDuration input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/TestPointFilterModelModifiedDate.cs b/src/TestIT.ApiClient/Model/TestPointFilterModelModifiedDate.cs similarity index 95% rename from src/TestIt.Client/Model/TestPointFilterModelModifiedDate.cs rename to src/TestIT.ApiClient/Model/TestPointFilterModelModifiedDate.cs index cf35580b..0ecffaa1 100644 --- a/src/TestIt.Client/Model/TestPointFilterModelModifiedDate.cs +++ b/src/TestIT.ApiClient/Model/TestPointFilterModelModifiedDate.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a test point range of last modification date to search for @@ -99,12 +99,12 @@ public bool Equals(TestPointFilterModelModifiedDate input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/TestPointFilterModelWorkItemCreatedDate.cs b/src/TestIT.ApiClient/Model/TestPointFilterModelWorkItemCreatedDate.cs similarity index 95% rename from src/TestIt.Client/Model/TestPointFilterModelWorkItemCreatedDate.cs rename to src/TestIT.ApiClient/Model/TestPointFilterModelWorkItemCreatedDate.cs index 6a3f02ac..9f68bc38 100644 --- a/src/TestIt.Client/Model/TestPointFilterModelWorkItemCreatedDate.cs +++ b/src/TestIT.ApiClient/Model/TestPointFilterModelWorkItemCreatedDate.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a work item range of creation date to search for @@ -99,12 +99,12 @@ public bool Equals(TestPointFilterModelWorkItemCreatedDate input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/TestPointFilterModelWorkItemMedianDuration.cs b/src/TestIT.ApiClient/Model/TestPointFilterModelWorkItemMedianDuration.cs similarity index 95% rename from src/TestIt.Client/Model/TestPointFilterModelWorkItemMedianDuration.cs rename to src/TestIT.ApiClient/Model/TestPointFilterModelWorkItemMedianDuration.cs index 2154039f..25789e3b 100644 --- a/src/TestIt.Client/Model/TestPointFilterModelWorkItemMedianDuration.cs +++ b/src/TestIT.ApiClient/Model/TestPointFilterModelWorkItemMedianDuration.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a test point work item median duration range to search for @@ -99,12 +99,12 @@ public bool Equals(TestPointFilterModelWorkItemMedianDuration input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/TestPointFilterModelWorkItemModifiedDate.cs b/src/TestIT.ApiClient/Model/TestPointFilterModelWorkItemModifiedDate.cs similarity index 95% rename from src/TestIt.Client/Model/TestPointFilterModelWorkItemModifiedDate.cs rename to src/TestIT.ApiClient/Model/TestPointFilterModelWorkItemModifiedDate.cs index 0af21b65..2d921a07 100644 --- a/src/TestIt.Client/Model/TestPointFilterModelWorkItemModifiedDate.cs +++ b/src/TestIT.ApiClient/Model/TestPointFilterModelWorkItemModifiedDate.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a work item range of last modification date to search for @@ -99,12 +99,12 @@ public bool Equals(TestPointFilterModelWorkItemModifiedDate input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/TestPointPutModel.cs b/src/TestIT.ApiClient/Model/TestPointPutModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestPointPutModel.cs rename to src/TestIT.ApiClient/Model/TestPointPutModel.cs index 37c5f882..223e7061 100644 --- a/src/TestIt.Client/Model/TestPointPutModel.cs +++ b/src/TestIT.ApiClient/Model/TestPointPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointPutModel @@ -169,47 +169,47 @@ public bool Equals(TestPointPutModel input) { return false; } - return + return ( this.TesterId == input.TesterId || (this.TesterId != null && this.TesterId.Equals(input.TesterId)) - ) && + ) && ( this.IterationId == input.IterationId || (this.IterationId != null && this.IterationId.Equals(input.IterationId)) - ) && + ) && ( this.WorkItemId == input.WorkItemId || (this.WorkItemId != null && this.WorkItemId.Equals(input.WorkItemId)) - ) && + ) && ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.TestSuiteId == input.TestSuiteId || (this.TestSuiteId != null && this.TestSuiteId.Equals(input.TestSuiteId)) - ) && + ) && ( this.Status == input.Status || (this.Status != null && this.Status.Equals(input.Status)) - ) && + ) && ( this.LastTestResultId == input.LastTestResultId || (this.LastTestResultId != null && this.LastTestResultId.Equals(input.LastTestResultId)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/TestPointRelatedToTestResult.cs b/src/TestIT.ApiClient/Model/TestPointRelatedToTestResult.cs similarity index 96% rename from src/TestIt.Client/Model/TestPointRelatedToTestResult.cs rename to src/TestIT.ApiClient/Model/TestPointRelatedToTestResult.cs index 08731fcf..62ac50ac 100644 --- a/src/TestIt.Client/Model/TestPointRelatedToTestResult.cs +++ b/src/TestIT.ApiClient/Model/TestPointRelatedToTestResult.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointRelatedToTestResult @@ -167,42 +167,42 @@ public bool Equals(TestPointRelatedToTestResult input) { return false; } - return + return ( this.TestSuiteId == input.TestSuiteId || (this.TestSuiteId != null && this.TestSuiteId.Equals(input.TestSuiteId)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.TesterId == input.TesterId || (this.TesterId != null && this.TesterId.Equals(input.TesterId)) - ) && + ) && ( this.WorkItemId == input.WorkItemId || (this.WorkItemId != null && this.WorkItemId.Equals(input.WorkItemId)) - ) && + ) && ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.Status == input.Status || (this.Status != null && this.Status.Equals(input.Status)) - ) && + ) && ( this.LastTestResultId == input.LastTestResultId || (this.LastTestResultId != null && this.LastTestResultId.Equals(input.LastTestResultId)) - ) && + ) && ( this.IterationId == input.IterationId || (this.IterationId != null && diff --git a/src/TestIt.Client/Model/TestPointResultModel.cs b/src/TestIT.ApiClient/Model/TestPointResultModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestPointResultModel.cs rename to src/TestIT.ApiClient/Model/TestPointResultModel.cs index 89820c22..c6d9e2e1 100644 --- a/src/TestIt.Client/Model/TestPointResultModel.cs +++ b/src/TestIT.ApiClient/Model/TestPointResultModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointResultModel @@ -144,38 +144,38 @@ public bool Equals(TestPointResultModel input) { return false; } - return + return ( this.TestPointId == input.TestPointId || (this.TestPointId != null && this.TestPointId.Equals(input.TestPointId)) - ) && + ) && ( this.AggregatedOutcome == input.AggregatedOutcome || (this.AggregatedOutcome != null && this.AggregatedOutcome.Equals(input.AggregatedOutcome)) - ) && + ) && ( this.WorkItemGlobalId == input.WorkItemGlobalId || (this.WorkItemGlobalId != null && this.WorkItemGlobalId.Equals(input.WorkItemGlobalId)) - ) && + ) && ( this.WorkItemName == input.WorkItemName || (this.WorkItemName != null && this.WorkItemName.Equals(input.WorkItemName)) - ) && + ) && ( this.ConfigurationName == input.ConfigurationName || (this.ConfigurationName != null && this.ConfigurationName.Equals(input.ConfigurationName)) - ) && + ) && ( this.TestResults == input.TestResults || this.TestResults != null && input.TestResults != null && this.TestResults.SequenceEqual(input.TestResults) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && diff --git a/src/TestIt.Client/Model/TestPointSelectModel.cs b/src/TestIT.ApiClient/Model/TestPointSelectModel.cs similarity index 95% rename from src/TestIt.Client/Model/TestPointSelectModel.cs rename to src/TestIT.ApiClient/Model/TestPointSelectModel.cs index 9ddeadc4..0dea275c 100644 --- a/src/TestIt.Client/Model/TestPointSelectModel.cs +++ b/src/TestIT.ApiClient/Model/TestPointSelectModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointSelectModel @@ -99,12 +99,12 @@ public bool Equals(TestPointSelectModel input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/TestPointSelector.cs b/src/TestIT.ApiClient/Model/TestPointSelector.cs similarity index 96% rename from src/TestIt.Client/Model/TestPointSelector.cs rename to src/TestIT.ApiClient/Model/TestPointSelector.cs index ed150654..022491bf 100644 --- a/src/TestIt.Client/Model/TestPointSelector.cs +++ b/src/TestIT.ApiClient/Model/TestPointSelector.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointSelector @@ -111,12 +111,12 @@ public bool Equals(TestPointSelector input) { return false; } - return + return ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.WorkItemIds == input.WorkItemIds || this.WorkItemIds != null && diff --git a/src/TestIt.Client/Model/TestPointShortGetModel.cs b/src/TestIT.ApiClient/Model/TestPointShortGetModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestPointShortGetModel.cs rename to src/TestIT.ApiClient/Model/TestPointShortGetModel.cs index 4e88c9cc..70aa47f6 100644 --- a/src/TestIt.Client/Model/TestPointShortGetModel.cs +++ b/src/TestIT.ApiClient/Model/TestPointShortGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointShortGetModel @@ -397,155 +397,155 @@ public bool Equals(TestPointShortGetModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.TesterId == input.TesterId || (this.TesterId != null && this.TesterId.Equals(input.TesterId)) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && input.Parameters != null && this.Parameters.SequenceEqual(input.Parameters) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.TestSuiteId == input.TestSuiteId || (this.TestSuiteId != null && this.TestSuiteId.Equals(input.TestSuiteId)) - ) && + ) && ( this.WorkItemId == input.WorkItemId || (this.WorkItemId != null && this.WorkItemId.Equals(input.WorkItemId)) - ) && + ) && ( this.WorkItemGlobalId == input.WorkItemGlobalId || this.WorkItemGlobalId.Equals(input.WorkItemGlobalId) - ) && + ) && ( this.WorkItemVersionId == input.WorkItemVersionId || (this.WorkItemVersionId != null && this.WorkItemVersionId.Equals(input.WorkItemVersionId)) - ) && + ) && ( this.WorkItemMedianDuration == input.WorkItemMedianDuration || (this.WorkItemMedianDuration != null && this.WorkItemMedianDuration.Equals(input.WorkItemMedianDuration)) - ) && + ) && ( this.Status == input.Status || this.Status.Equals(input.Status) - ) && + ) && ( this.Priority == input.Priority || this.Priority.Equals(input.Priority) - ) && + ) && ( this.IsAutomated == input.IsAutomated || this.IsAutomated.Equals(input.IsAutomated) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.Duration == input.Duration || this.Duration.Equals(input.Duration) - ) && + ) && ( this.SectionId == input.SectionId || (this.SectionId != null && this.SectionId.Equals(input.SectionId)) - ) && + ) && ( this.SectionName == input.SectionName || (this.SectionName != null && this.SectionName.Equals(input.SectionName)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.LastTestResult == input.LastTestResult || (this.LastTestResult != null && this.LastTestResult.Equals(input.LastTestResult)) - ) && + ) && ( this.IterationId == input.IterationId || (this.IterationId != null && this.IterationId.Equals(input.IterationId)) - ) && + ) && ( this.WorkItemState == input.WorkItemState || this.WorkItemState.Equals(input.WorkItemState) - ) && + ) && ( this.WorkItemCreatedById == input.WorkItemCreatedById || (this.WorkItemCreatedById != null && this.WorkItemCreatedById.Equals(input.WorkItemCreatedById)) - ) && + ) && ( this.WorkItemCreatedDate == input.WorkItemCreatedDate || (this.WorkItemCreatedDate != null && this.WorkItemCreatedDate.Equals(input.WorkItemCreatedDate)) - ) && + ) && ( this.WorkItemModifiedById == input.WorkItemModifiedById || (this.WorkItemModifiedById != null && this.WorkItemModifiedById.Equals(input.WorkItemModifiedById)) - ) && + ) && ( this.WorkItemModifiedDate == input.WorkItemModifiedDate || (this.WorkItemModifiedDate != null && diff --git a/src/TestIt.Client/Model/TestPointShortGetModelLastTestResult.cs b/src/TestIT.ApiClient/Model/TestPointShortGetModelLastTestResult.cs similarity index 96% rename from src/TestIt.Client/Model/TestPointShortGetModelLastTestResult.cs rename to src/TestIT.ApiClient/Model/TestPointShortGetModelLastTestResult.cs index 1ed8cab4..fe828bee 100644 --- a/src/TestIt.Client/Model/TestPointShortGetModelLastTestResult.cs +++ b/src/TestIT.ApiClient/Model/TestPointShortGetModelLastTestResult.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Model of the test point last test result @@ -149,38 +149,38 @@ public bool Equals(TestPointShortGetModelLastTestResult input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.TestRunId == input.TestRunId || (this.TestRunId != null && this.TestRunId.Equals(input.TestRunId)) - ) && + ) && ( this.AutoTestId == input.AutoTestId || (this.AutoTestId != null && this.AutoTestId.Equals(input.AutoTestId)) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.WorkItemVersionId == input.WorkItemVersionId || (this.WorkItemVersionId != null && this.WorkItemVersionId.Equals(input.WorkItemVersionId)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && diff --git a/src/TestIt.Client/Model/TestPointShortModel.cs b/src/TestIT.ApiClient/Model/TestPointShortModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestPointShortModel.cs rename to src/TestIT.ApiClient/Model/TestPointShortModel.cs index 165b0f32..9c31f5cf 100644 --- a/src/TestIt.Client/Model/TestPointShortModel.cs +++ b/src/TestIT.ApiClient/Model/TestPointShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointShortModel @@ -167,42 +167,42 @@ public bool Equals(TestPointShortModel input) { return false; } - return + return ( this.TestSuiteId == input.TestSuiteId || (this.TestSuiteId != null && this.TestSuiteId.Equals(input.TestSuiteId)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.TesterId == input.TesterId || (this.TesterId != null && this.TesterId.Equals(input.TesterId)) - ) && + ) && ( this.WorkItemId == input.WorkItemId || (this.WorkItemId != null && this.WorkItemId.Equals(input.WorkItemId)) - ) && + ) && ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.Status == input.Status || (this.Status != null && this.Status.Equals(input.Status)) - ) && + ) && ( this.LastTestResultId == input.LastTestResultId || (this.LastTestResultId != null && this.LastTestResultId.Equals(input.LastTestResultId)) - ) && + ) && ( this.IterationId == input.IterationId || (this.IterationId != null && diff --git a/src/TestIt.Client/Model/TestPointStatus.cs b/src/TestIT.ApiClient/Model/TestPointStatus.cs similarity index 90% rename from src/TestIt.Client/Model/TestPointStatus.cs rename to src/TestIT.ApiClient/Model/TestPointStatus.cs index 2753064a..80e73016 100644 --- a/src/TestIt.Client/Model/TestPointStatus.cs +++ b/src/TestIT.ApiClient/Model/TestPointStatus.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines TestPointStatus diff --git a/src/TestIt.Client/Model/TestPointWithLastResultModel.cs b/src/TestIT.ApiClient/Model/TestPointWithLastResultModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestPointWithLastResultModel.cs rename to src/TestIT.ApiClient/Model/TestPointWithLastResultModel.cs index 89d95c64..9b218e34 100644 --- a/src/TestIt.Client/Model/TestPointWithLastResultModel.cs +++ b/src/TestIT.ApiClient/Model/TestPointWithLastResultModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointWithLastResultModel @@ -302,122 +302,122 @@ public bool Equals(TestPointWithLastResultModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.WorkItemName == input.WorkItemName || (this.WorkItemName != null && this.WorkItemName.Equals(input.WorkItemName)) - ) && + ) && ( this.IsAutomated == input.IsAutomated || this.IsAutomated.Equals(input.IsAutomated) - ) && + ) && ( this.TesterId == input.TesterId || (this.TesterId != null && this.TesterId.Equals(input.TesterId)) - ) && + ) && ( this.WorkItemId == input.WorkItemId || (this.WorkItemId != null && this.WorkItemId.Equals(input.WorkItemId)) - ) && + ) && ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.TestSuiteId == input.TestSuiteId || (this.TestSuiteId != null && this.TestSuiteId.Equals(input.TestSuiteId)) - ) && + ) && ( this.LastTestResult == input.LastTestResult || (this.LastTestResult != null && this.LastTestResult.Equals(input.LastTestResult)) - ) && + ) && ( this.Status == input.Status || (this.Status != null && this.Status.Equals(input.Status)) - ) && + ) && ( this.WorkItemGlobalId == input.WorkItemGlobalId || (this.WorkItemGlobalId != null && this.WorkItemGlobalId.Equals(input.WorkItemGlobalId)) - ) && + ) && ( this.WorkItemEntityTypeName == input.WorkItemEntityTypeName || (this.WorkItemEntityTypeName != null && this.WorkItemEntityTypeName.Equals(input.WorkItemEntityTypeName)) - ) && + ) && ( this.SectionId == input.SectionId || (this.SectionId != null && this.SectionId.Equals(input.SectionId)) - ) && + ) && ( this.SectionName == input.SectionName || (this.SectionName != null && this.SectionName.Equals(input.SectionName)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.TagNames == input.TagNames || this.TagNames != null && input.TagNames != null && this.TagNames.SequenceEqual(input.TagNames) - ) && + ) && ( this.Duration == input.Duration || this.Duration.Equals(input.Duration) - ) && + ) && ( this.Priority == input.Priority || this.Priority.Equals(input.Priority) - ) && + ) && ( this.TestSuiteNameBreadCrumbs == input.TestSuiteNameBreadCrumbs || this.TestSuiteNameBreadCrumbs != null && input.TestSuiteNameBreadCrumbs != null && this.TestSuiteNameBreadCrumbs.SequenceEqual(input.TestSuiteNameBreadCrumbs) - ) && + ) && ( this.GroupCount == input.GroupCount || (this.GroupCount != null && this.GroupCount.Equals(input.GroupCount)) - ) && + ) && ( this.Iteration == input.Iteration || (this.Iteration != null && diff --git a/src/TestIt.Client/Model/TestPointsExtractionModel.cs b/src/TestIT.ApiClient/Model/TestPointsExtractionModel.cs similarity index 95% rename from src/TestIt.Client/Model/TestPointsExtractionModel.cs rename to src/TestIT.ApiClient/Model/TestPointsExtractionModel.cs index 751ceb58..66be6d22 100644 --- a/src/TestIt.Client/Model/TestPointsExtractionModel.cs +++ b/src/TestIT.ApiClient/Model/TestPointsExtractionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestPointsExtractionModel @@ -90,7 +90,7 @@ public bool Equals(TestPointsExtractionModel input) { return false; } - return + return ( this.Ids == input.Ids || (this.Ids != null && diff --git a/src/TestIt.Client/Model/TestPointsExtractionModelIds.cs b/src/TestIT.ApiClient/Model/TestPointsExtractionModelIds.cs similarity index 95% rename from src/TestIt.Client/Model/TestPointsExtractionModelIds.cs rename to src/TestIT.ApiClient/Model/TestPointsExtractionModelIds.cs index bd1926a3..83046df0 100644 --- a/src/TestIt.Client/Model/TestPointsExtractionModelIds.cs +++ b/src/TestIT.ApiClient/Model/TestPointsExtractionModelIds.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Extraction parameters for test points @@ -99,13 +99,13 @@ public bool Equals(TestPointsExtractionModelIds input) { return false; } - return + return ( this.Include == input.Include || this.Include != null && input.Include != null && this.Include.SequenceEqual(input.Include) - ) && + ) && ( this.Exclude == input.Exclude || this.Exclude != null && diff --git a/src/TestIt.Client/Model/TestResultChangeViewModel.cs b/src/TestIT.ApiClient/Model/TestResultChangeViewModel.cs similarity index 95% rename from src/TestIt.Client/Model/TestResultChangeViewModel.cs rename to src/TestIT.ApiClient/Model/TestResultChangeViewModel.cs index 08b8effe..a141b212 100644 --- a/src/TestIt.Client/Model/TestResultChangeViewModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultChangeViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultChangeViewModel @@ -95,7 +95,7 @@ public bool Equals(TestResultChangeViewModel input) { return false; } - return + return ( this.TestPointCount == input.TestPointCount || this.TestPointCount.Equals(input.TestPointCount) diff --git a/src/TestIt.Client/Model/TestResultChangeViewModelChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/TestResultChangeViewModelChangedFieldViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestResultChangeViewModelChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/TestResultChangeViewModelChangedFieldViewModel.cs index fd01ab3a..47735c38 100644 --- a/src/TestIt.Client/Model/TestResultChangeViewModelChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultChangeViewModelChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultChangeViewModelChangedFieldViewModel @@ -99,12 +99,12 @@ public bool Equals(TestResultChangeViewModelChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || (this.OldValue != null && this.OldValue.Equals(input.OldValue)) - ) && + ) && ( this.NewValue == input.NewValue || (this.NewValue != null && diff --git a/src/TestIt.Client/Model/TestResultChronologyModel.cs b/src/TestIT.ApiClient/Model/TestResultChronologyModel.cs similarity index 95% rename from src/TestIt.Client/Model/TestResultChronologyModel.cs rename to src/TestIT.ApiClient/Model/TestResultChronologyModel.cs index 4b346388..d470391c 100644 --- a/src/TestIt.Client/Model/TestResultChronologyModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultChronologyModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultChronologyModel @@ -105,12 +105,12 @@ public bool Equals(TestResultChronologyModel input) { return false; } - return + return ( this.Outcome == input.Outcome || (this.Outcome != null && this.Outcome.Equals(input.Outcome)) - ) && + ) && ( this.Count == input.Count || this.Count.Equals(input.Count) diff --git a/src/TestIt.Client/Model/TestResultConfiguration.cs b/src/TestIT.ApiClient/Model/TestResultConfiguration.cs similarity index 96% rename from src/TestIt.Client/Model/TestResultConfiguration.cs rename to src/TestIT.ApiClient/Model/TestResultConfiguration.cs index 8dd5d73c..cbd0d974 100644 --- a/src/TestIt.Client/Model/TestResultConfiguration.cs +++ b/src/TestIT.ApiClient/Model/TestResultConfiguration.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultConfiguration @@ -206,61 +206,61 @@ public bool Equals(TestResultConfiguration input) { return false; } - return + return ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && input.Parameters != null && this.Parameters.SequenceEqual(input.Parameters) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.IsDefault == input.IsDefault || this.IsDefault.Equals(input.IsDefault) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/TestResultHistoryReportModel.cs b/src/TestIT.ApiClient/Model/TestResultHistoryReportModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestResultHistoryReportModel.cs rename to src/TestIT.ApiClient/Model/TestResultHistoryReportModel.cs index 669909be..152eb1be 100644 --- a/src/TestIt.Client/Model/TestResultHistoryReportModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultHistoryReportModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultHistoryReportModel @@ -346,134 +346,134 @@ public bool Equals(TestResultHistoryReportModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.UserId == input.UserId || (this.UserId != null && this.UserId.Equals(input.UserId)) - ) && + ) && ( this.TestRunId == input.TestRunId || (this.TestRunId != null && this.TestRunId.Equals(input.TestRunId)) - ) && + ) && ( this.TestRunName == input.TestRunName || (this.TestRunName != null && this.TestRunName.Equals(input.TestRunName)) - ) && + ) && ( this.CreatedByUserName == input.CreatedByUserName || (this.CreatedByUserName != null && this.CreatedByUserName.Equals(input.CreatedByUserName)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.TestPlanGlobalId == input.TestPlanGlobalId || (this.TestPlanGlobalId != null && this.TestPlanGlobalId.Equals(input.TestPlanGlobalId)) - ) && + ) && ( this.TestPlanName == input.TestPlanName || (this.TestPlanName != null && this.TestPlanName.Equals(input.TestPlanName)) - ) && + ) && ( this.ConfigurationName == input.ConfigurationName || (this.ConfigurationName != null && this.ConfigurationName.Equals(input.ConfigurationName)) - ) && + ) && ( this.IsAutomated == input.IsAutomated || this.IsAutomated.Equals(input.IsAutomated) - ) && + ) && ( this.Outcome == input.Outcome || (this.Outcome != null && this.Outcome.Equals(input.Outcome)) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.StartedOn == input.StartedOn || (this.StartedOn != null && this.StartedOn.Equals(input.StartedOn)) - ) && + ) && ( this.CompletedOn == input.CompletedOn || (this.CompletedOn != null && this.CompletedOn.Equals(input.CompletedOn)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.WorkItemVersionId == input.WorkItemVersionId || (this.WorkItemVersionId != null && this.WorkItemVersionId.Equals(input.WorkItemVersionId)) - ) && + ) && ( this.WorkItemVersionNumber == input.WorkItemVersionNumber || (this.WorkItemVersionNumber != null && this.WorkItemVersionNumber.Equals(input.WorkItemVersionNumber)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.FailureClassIds == input.FailureClassIds || this.FailureClassIds != null && input.FailureClassIds != null && this.FailureClassIds.SequenceEqual(input.FailureClassIds) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && diff --git a/src/TestIt.Client/Model/TestResultModel.cs b/src/TestIT.ApiClient/Model/TestResultModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestResultModel.cs rename to src/TestIT.ApiClient/Model/TestResultModel.cs index be67aff9..88b9d4a5 100644 --- a/src/TestIt.Client/Model/TestResultModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultModel @@ -383,175 +383,175 @@ public bool Equals(TestResultModel input) { return false; } - return + return ( this.AutoTestId == input.AutoTestId || (this.AutoTestId != null && this.AutoTestId.Equals(input.AutoTestId)) - ) && + ) && ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.StartedOn == input.StartedOn || (this.StartedOn != null && this.StartedOn.Equals(input.StartedOn)) - ) && + ) && ( this.CompletedOn == input.CompletedOn || (this.CompletedOn != null && this.CompletedOn.Equals(input.CompletedOn)) - ) && + ) && ( this.DurationInMs == input.DurationInMs || (this.DurationInMs != null && this.DurationInMs.Equals(input.DurationInMs)) - ) && + ) && ( this.Traces == input.Traces || (this.Traces != null && this.Traces.Equals(input.Traces)) - ) && + ) && ( this.FailureType == input.FailureType || (this.FailureType != null && this.FailureType.Equals(input.FailureType)) - ) && + ) && ( this.Message == input.Message || (this.Message != null && this.Message.Equals(input.Message)) - ) && + ) && ( this.RunByUserId == input.RunByUserId || (this.RunByUserId != null && this.RunByUserId.Equals(input.RunByUserId)) - ) && + ) && ( this.StoppedByUserId == input.StoppedByUserId || (this.StoppedByUserId != null && this.StoppedByUserId.Equals(input.StoppedByUserId)) - ) && + ) && ( this.TestPointId == input.TestPointId || (this.TestPointId != null && this.TestPointId.Equals(input.TestPointId)) - ) && + ) && ( this.TestRunId == input.TestRunId || (this.TestRunId != null && this.TestRunId.Equals(input.TestRunId)) - ) && + ) && ( this.TestPoint == input.TestPoint || (this.TestPoint != null && this.TestPoint.Equals(input.TestPoint)) - ) && + ) && ( this.AutoTest == input.AutoTest || (this.AutoTest != null && this.AutoTest.Equals(input.AutoTest)) - ) && + ) && ( this.AutoTestStepResults == input.AutoTestStepResults || this.AutoTestStepResults != null && input.AutoTestStepResults != null && this.AutoTestStepResults.SequenceEqual(input.AutoTestStepResults) - ) && + ) && ( this.SetupResults == input.SetupResults || this.SetupResults != null && input.SetupResults != null && this.SetupResults.SequenceEqual(input.SetupResults) - ) && + ) && ( this.TeardownResults == input.TeardownResults || this.TeardownResults != null && input.TeardownResults != null && this.TeardownResults.SequenceEqual(input.TeardownResults) - ) && + ) && ( this.WorkItemVersionId == input.WorkItemVersionId || (this.WorkItemVersionId != null && this.WorkItemVersionId.Equals(input.WorkItemVersionId)) - ) && + ) && ( this.WorkItemVersionNumber == input.WorkItemVersionNumber || (this.WorkItemVersionNumber != null && this.WorkItemVersionNumber.Equals(input.WorkItemVersionNumber)) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && input.Parameters != null && this.Parameters.SequenceEqual(input.Parameters) - ) && + ) && ( this.Properties == input.Properties || this.Properties != null && input.Properties != null && this.Properties.SequenceEqual(input.Properties) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.StepComments == input.StepComments || this.StepComments != null && input.StepComments != null && this.StepComments.SequenceEqual(input.StepComments) - ) && + ) && ( this.FailureClassIds == input.FailureClassIds || this.FailureClassIds != null && input.FailureClassIds != null && this.FailureClassIds.SequenceEqual(input.FailureClassIds) - ) && + ) && ( this.Outcome == input.Outcome || this.Outcome.Equals(input.Outcome) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.StepResults == input.StepResults || this.StepResults != null && input.StepResults != null && this.StepResults.SequenceEqual(input.StepResults) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && diff --git a/src/TestIt.Client/Model/TestResultOutcome.cs b/src/TestIT.ApiClient/Model/TestResultOutcome.cs similarity index 90% rename from src/TestIt.Client/Model/TestResultOutcome.cs rename to src/TestIT.ApiClient/Model/TestResultOutcome.cs index d607d2d0..a2151c3b 100644 --- a/src/TestIt.Client/Model/TestResultOutcome.cs +++ b/src/TestIT.ApiClient/Model/TestResultOutcome.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines TestResultOutcome diff --git a/src/TestIt.Client/Model/TestResultShortGetModel.cs b/src/TestIT.ApiClient/Model/TestResultShortGetModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestResultShortGetModel.cs rename to src/TestIT.ApiClient/Model/TestResultShortGetModel.cs index d469f02b..0b7e0449 100644 --- a/src/TestIt.Client/Model/TestResultShortGetModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultShortGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultShortGetModel @@ -216,68 +216,68 @@ public bool Equals(TestResultShortGetModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.AutotestGlobalId == input.AutotestGlobalId || this.AutotestGlobalId.Equals(input.AutotestGlobalId) - ) && + ) && ( this.TestRunId == input.TestRunId || (this.TestRunId != null && this.TestRunId.Equals(input.TestRunId)) - ) && + ) && ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.ConfigurationName == input.ConfigurationName || (this.ConfigurationName != null && this.ConfigurationName.Equals(input.ConfigurationName)) - ) && + ) && ( this.Outcome == input.Outcome || (this.Outcome != null && this.Outcome.Equals(input.Outcome)) - ) && + ) && ( this.ResultReasons == input.ResultReasons || this.ResultReasons != null && input.ResultReasons != null && this.ResultReasons.SequenceEqual(input.ResultReasons) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.Date == input.Date || (this.Date != null && this.Date.Equals(input.Date)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && diff --git a/src/TestIt.Client/Model/TestResultShortModel.cs b/src/TestIT.ApiClient/Model/TestResultShortModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestResultShortModel.cs rename to src/TestIT.ApiClient/Model/TestResultShortModel.cs index 4aa2eab7..a05e2d05 100644 --- a/src/TestIt.Client/Model/TestResultShortModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultShortModel @@ -167,47 +167,47 @@ public bool Equals(TestResultShortModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Outcome == input.Outcome || (this.Outcome != null && this.Outcome.Equals(input.Outcome)) - ) && + ) && ( this.Traces == input.Traces || (this.Traces != null && this.Traces.Equals(input.Traces)) - ) && + ) && ( this.FailureType == input.FailureType || (this.FailureType != null && this.FailureType.Equals(input.FailureType)) - ) && + ) && ( this.Message == input.Message || (this.Message != null && this.Message.Equals(input.Message)) - ) && + ) && ( this.TestPoint == input.TestPoint || (this.TestPoint != null && this.TestPoint.Equals(input.TestPoint)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.AutoTest == input.AutoTest || (this.AutoTest != null && this.AutoTest.Equals(input.AutoTest)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && diff --git a/src/TestIt.Client/Model/TestResultStepCommentPutModel.cs b/src/TestIT.ApiClient/Model/TestResultStepCommentPutModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestResultStepCommentPutModel.cs rename to src/TestIT.ApiClient/Model/TestResultStepCommentPutModel.cs index 58b1485b..0c585b5b 100644 --- a/src/TestIt.Client/Model/TestResultStepCommentPutModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultStepCommentPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultStepCommentPutModel @@ -132,27 +132,27 @@ public bool Equals(TestResultStepCommentPutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Text == input.Text || (this.Text != null && this.Text.Equals(input.Text)) - ) && + ) && ( this.StepId == input.StepId || (this.StepId != null && this.StepId.Equals(input.StepId)) - ) && + ) && ( this.ParentStepId == input.ParentStepId || (this.ParentStepId != null && this.ParentStepId.Equals(input.ParentStepId)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && diff --git a/src/TestIt.Client/Model/TestResultUpdateModel.cs b/src/TestIT.ApiClient/Model/TestResultUpdateModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestResultUpdateModel.cs rename to src/TestIT.ApiClient/Model/TestResultUpdateModel.cs index 1c6007e4..13236ae1 100644 --- a/src/TestIt.Client/Model/TestResultUpdateModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultUpdateModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultUpdateModel @@ -199,73 +199,73 @@ public bool Equals(TestResultUpdateModel input) { return false; } - return + return ( this.FailureClassIds == input.FailureClassIds || this.FailureClassIds != null && input.FailureClassIds != null && this.FailureClassIds.SequenceEqual(input.FailureClassIds) - ) && + ) && ( this.Outcome == input.Outcome || this.Outcome.Equals(input.Outcome) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.StepResults == input.StepResults || this.StepResults != null && input.StepResults != null && this.StepResults.SequenceEqual(input.StepResults) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.DurationInMs == input.DurationInMs || (this.DurationInMs != null && this.DurationInMs.Equals(input.DurationInMs)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.StepComments == input.StepComments || this.StepComments != null && input.StepComments != null && this.StepComments.SequenceEqual(input.StepComments) - ) && + ) && ( this.SetupResults == input.SetupResults || this.SetupResults != null && input.SetupResults != null && this.SetupResults.SequenceEqual(input.SetupResults) - ) && + ) && ( this.TeardownResults == input.TeardownResults || this.TeardownResults != null && input.TeardownResults != null && this.TeardownResults.SequenceEqual(input.TeardownResults) - ) && + ) && ( this.Message == input.Message || (this.Message != null && this.Message.Equals(input.Message)) - ) && + ) && ( this.Trace == input.Trace || (this.Trace != null && diff --git a/src/TestIt.Client/Model/TestResultV2GetModel.cs b/src/TestIT.ApiClient/Model/TestResultV2GetModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestResultV2GetModel.cs rename to src/TestIT.ApiClient/Model/TestResultV2GetModel.cs index ad0fde0d..32344e8a 100644 --- a/src/TestIt.Client/Model/TestResultV2GetModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultV2GetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultV2GetModel @@ -290,110 +290,110 @@ public bool Equals(TestResultV2GetModel input) { return false; } - return + return ( this._Configuration == input._Configuration || (this._Configuration != null && this._Configuration.Equals(input._Configuration)) - ) && + ) && ( this.AutoTest == input.AutoTest || (this.AutoTest != null && this.AutoTest.Equals(input.AutoTest)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.WorkItemVersionId == input.WorkItemVersionId || (this.WorkItemVersionId != null && this.WorkItemVersionId.Equals(input.WorkItemVersionId)) - ) && + ) && ( this.AutoTestId == input.AutoTestId || (this.AutoTestId != null && this.AutoTestId.Equals(input.AutoTestId)) - ) && + ) && ( this.Message == input.Message || (this.Message != null && this.Message.Equals(input.Message)) - ) && + ) && ( this.Traces == input.Traces || (this.Traces != null && this.Traces.Equals(input.Traces)) - ) && + ) && ( this.StartedOn == input.StartedOn || (this.StartedOn != null && this.StartedOn.Equals(input.StartedOn)) - ) && + ) && ( this.CompletedOn == input.CompletedOn || (this.CompletedOn != null && this.CompletedOn.Equals(input.CompletedOn)) - ) && + ) && ( this.RunByUserId == input.RunByUserId || (this.RunByUserId != null && this.RunByUserId.Equals(input.RunByUserId)) - ) && + ) && ( this.StoppedByUserId == input.StoppedByUserId || (this.StoppedByUserId != null && this.StoppedByUserId.Equals(input.StoppedByUserId)) - ) && + ) && ( this.TestPointId == input.TestPointId || (this.TestPointId != null && this.TestPointId.Equals(input.TestPointId)) - ) && + ) && ( this.TestPoint == input.TestPoint || (this.TestPoint != null && this.TestPoint.Equals(input.TestPoint)) - ) && + ) && ( this.TestRunId == input.TestRunId || (this.TestRunId != null && this.TestRunId.Equals(input.TestRunId)) - ) && + ) && ( this.Outcome == input.Outcome || (this.Outcome != null && this.Outcome.Equals(input.Outcome)) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && input.Parameters != null && this.Parameters.SequenceEqual(input.Parameters) - ) && + ) && ( this.Properties == input.Properties || this.Properties != null && diff --git a/src/TestIt.Client/Model/TestResultV2ShortModel.cs b/src/TestIT.ApiClient/Model/TestResultV2ShortModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestResultV2ShortModel.cs rename to src/TestIT.ApiClient/Model/TestResultV2ShortModel.cs index ae8a9fce..1fd488f2 100644 --- a/src/TestIt.Client/Model/TestResultV2ShortModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultV2ShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultV2ShortModel @@ -272,100 +272,100 @@ public bool Equals(TestResultV2ShortModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.ConfigurationId == input.ConfigurationId || (this.ConfigurationId != null && this.ConfigurationId.Equals(input.ConfigurationId)) - ) && + ) && ( this.WorkItemVersionId == input.WorkItemVersionId || (this.WorkItemVersionId != null && this.WorkItemVersionId.Equals(input.WorkItemVersionId)) - ) && + ) && ( this.AutoTestId == input.AutoTestId || (this.AutoTestId != null && this.AutoTestId.Equals(input.AutoTestId)) - ) && + ) && ( this.Message == input.Message || (this.Message != null && this.Message.Equals(input.Message)) - ) && + ) && ( this.Traces == input.Traces || (this.Traces != null && this.Traces.Equals(input.Traces)) - ) && + ) && ( this.StartedOn == input.StartedOn || (this.StartedOn != null && this.StartedOn.Equals(input.StartedOn)) - ) && + ) && ( this.CompletedOn == input.CompletedOn || (this.CompletedOn != null && this.CompletedOn.Equals(input.CompletedOn)) - ) && + ) && ( this.RunByUserId == input.RunByUserId || (this.RunByUserId != null && this.RunByUserId.Equals(input.RunByUserId)) - ) && + ) && ( this.StoppedByUserId == input.StoppedByUserId || (this.StoppedByUserId != null && this.StoppedByUserId.Equals(input.StoppedByUserId)) - ) && + ) && ( this.TestPointId == input.TestPointId || (this.TestPointId != null && this.TestPointId.Equals(input.TestPointId)) - ) && + ) && ( this.TestPoint == input.TestPoint || (this.TestPoint != null && this.TestPoint.Equals(input.TestPoint)) - ) && + ) && ( this.TestRunId == input.TestRunId || (this.TestRunId != null && this.TestRunId.Equals(input.TestRunId)) - ) && + ) && ( this.Outcome == input.Outcome || (this.Outcome != null && this.Outcome.Equals(input.Outcome)) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Parameters == input.Parameters || this.Parameters != null && input.Parameters != null && this.Parameters.SequenceEqual(input.Parameters) - ) && + ) && ( this.Properties == input.Properties || this.Properties != null && diff --git a/src/TestIt.Client/Model/TestResultsFilterModel.cs b/src/TestIT.ApiClient/Model/TestResultsFilterModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestResultsFilterModel.cs rename to src/TestIT.ApiClient/Model/TestResultsFilterModel.cs index 4ee95457..c4449019 100644 --- a/src/TestIt.Client/Model/TestResultsFilterModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultsFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultsFilterModel @@ -141,36 +141,36 @@ public bool Equals(TestResultsFilterModel input) { return false; } - return + return ( this.TestRunIds == input.TestRunIds || this.TestRunIds != null && input.TestRunIds != null && this.TestRunIds.SequenceEqual(input.TestRunIds) - ) && + ) && ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.Outcomes == input.Outcomes || this.Outcomes != null && input.Outcomes != null && this.Outcomes.SequenceEqual(input.Outcomes) - ) && + ) && ( this.FailureCategories == input.FailureCategories || this.FailureCategories != null && input.FailureCategories != null && this.FailureCategories.SequenceEqual(input.FailureCategories) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.ClassName == input.ClassName || (this.ClassName != null && diff --git a/src/TestIt.Client/Model/TestResultsLocalFilterModel.cs b/src/TestIT.ApiClient/Model/TestResultsLocalFilterModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestResultsLocalFilterModel.cs rename to src/TestIT.ApiClient/Model/TestResultsLocalFilterModel.cs index 870fde3f..e5a263b9 100644 --- a/src/TestIt.Client/Model/TestResultsLocalFilterModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultsLocalFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultsLocalFilterModel @@ -131,30 +131,30 @@ public bool Equals(TestResultsLocalFilterModel input) { return false; } - return + return ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.Outcomes == input.Outcomes || this.Outcomes != null && input.Outcomes != null && this.Outcomes.SequenceEqual(input.Outcomes) - ) && + ) && ( this.FailureCategories == input.FailureCategories || this.FailureCategories != null && input.FailureCategories != null && this.FailureCategories.SequenceEqual(input.FailureCategories) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.ClassName == input.ClassName || (this.ClassName != null && diff --git a/src/TestIt.Client/Model/TestResultsStatisticsGetModel.cs b/src/TestIT.ApiClient/Model/TestResultsStatisticsGetModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestResultsStatisticsGetModel.cs rename to src/TestIT.ApiClient/Model/TestResultsStatisticsGetModel.cs index 91286417..544844b1 100644 --- a/src/TestIt.Client/Model/TestResultsStatisticsGetModel.cs +++ b/src/TestIT.ApiClient/Model/TestResultsStatisticsGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestResultsStatisticsGetModel @@ -99,12 +99,12 @@ public bool Equals(TestResultsStatisticsGetModel input) { return false; } - return + return ( this.Statuses == input.Statuses || (this.Statuses != null && this.Statuses.Equals(input.Statuses)) - ) && + ) && ( this.FailureCategories == input.FailureCategories || (this.FailureCategories != null && diff --git a/src/TestIt.Client/Model/TestResultsStatisticsGetModelFailureCategories.cs b/src/TestIT.ApiClient/Model/TestResultsStatisticsGetModelFailureCategories.cs similarity index 96% rename from src/TestIt.Client/Model/TestResultsStatisticsGetModelFailureCategories.cs rename to src/TestIT.ApiClient/Model/TestResultsStatisticsGetModelFailureCategories.cs index 5593ba05..bc0fa4c1 100644 --- a/src/TestIt.Client/Model/TestResultsStatisticsGetModelFailureCategories.cs +++ b/src/TestIT.ApiClient/Model/TestResultsStatisticsGetModelFailureCategories.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Test results counts aggregated by result failure categories @@ -136,23 +136,23 @@ public bool Equals(TestResultsStatisticsGetModelFailureCategories input) { return false; } - return + return ( this.NoAnalytics == input.NoAnalytics || this.NoAnalytics.Equals(input.NoAnalytics) - ) && + ) && ( this.NoDefect == input.NoDefect || this.NoDefect.Equals(input.NoDefect) - ) && + ) && ( this.InfrastructureDefect == input.InfrastructureDefect || this.InfrastructureDefect.Equals(input.InfrastructureDefect) - ) && + ) && ( this.ProductDefect == input.ProductDefect || this.ProductDefect.Equals(input.ProductDefect) - ) && + ) && ( this.TestDefect == input.TestDefect || this.TestDefect.Equals(input.TestDefect) diff --git a/src/TestIt.Client/Model/TestResultsStatisticsGetModelStatuses.cs b/src/TestIT.ApiClient/Model/TestResultsStatisticsGetModelStatuses.cs similarity index 96% rename from src/TestIt.Client/Model/TestResultsStatisticsGetModelStatuses.cs rename to src/TestIT.ApiClient/Model/TestResultsStatisticsGetModelStatuses.cs index 5dc3669b..4f653d15 100644 --- a/src/TestIt.Client/Model/TestResultsStatisticsGetModelStatuses.cs +++ b/src/TestIT.ApiClient/Model/TestResultsStatisticsGetModelStatuses.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Test results counts aggregated by outcome @@ -136,23 +136,23 @@ public bool Equals(TestResultsStatisticsGetModelStatuses input) { return false; } - return + return ( this.InProgress == input.InProgress || this.InProgress.Equals(input.InProgress) - ) && + ) && ( this.Passed == input.Passed || this.Passed.Equals(input.Passed) - ) && + ) && ( this.Failed == input.Failed || this.Failed.Equals(input.Failed) - ) && + ) && ( this.Skipped == input.Skipped || this.Skipped.Equals(input.Skipped) - ) && + ) && ( this.Blocked == input.Blocked || this.Blocked.Equals(input.Blocked) diff --git a/src/TestIt.Client/Model/TestRunAnalyticResultModel.cs b/src/TestIT.ApiClient/Model/TestRunAnalyticResultModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunAnalyticResultModel.cs rename to src/TestIT.ApiClient/Model/TestRunAnalyticResultModel.cs index 8129d760..87c116d0 100644 --- a/src/TestIt.Client/Model/TestRunAnalyticResultModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunAnalyticResultModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunAnalyticResultModel @@ -99,13 +99,13 @@ public bool Equals(TestRunAnalyticResultModel input) { return false; } - return + return ( this.CountGroupByStatus == input.CountGroupByStatus || this.CountGroupByStatus != null && input.CountGroupByStatus != null && this.CountGroupByStatus.SequenceEqual(input.CountGroupByStatus) - ) && + ) && ( this.CountGroupByFailureClass == input.CountGroupByFailureClass || this.CountGroupByFailureClass != null && diff --git a/src/TestIt.Client/Model/TestRunExtractionModel.cs b/src/TestIT.ApiClient/Model/TestRunExtractionModel.cs similarity index 95% rename from src/TestIt.Client/Model/TestRunExtractionModel.cs rename to src/TestIT.ApiClient/Model/TestRunExtractionModel.cs index d1471638..f707e00d 100644 --- a/src/TestIt.Client/Model/TestRunExtractionModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunExtractionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Rules for different level entities inclusion/exclusion @@ -90,7 +90,7 @@ public bool Equals(TestRunExtractionModel input) { return false; } - return + return ( this.Ids == input.Ids || (this.Ids != null && diff --git a/src/TestIt.Client/Model/TestRunExtractionModelIds.cs b/src/TestIT.ApiClient/Model/TestRunExtractionModelIds.cs similarity index 95% rename from src/TestIt.Client/Model/TestRunExtractionModelIds.cs rename to src/TestIT.ApiClient/Model/TestRunExtractionModelIds.cs index 05e45605..1c5ff1d0 100644 --- a/src/TestIt.Client/Model/TestRunExtractionModelIds.cs +++ b/src/TestIT.ApiClient/Model/TestRunExtractionModelIds.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Extraction parameters for test runs @@ -99,13 +99,13 @@ public bool Equals(TestRunExtractionModelIds input) { return false; } - return + return ( this.Include == input.Include || this.Include != null && input.Include != null && this.Include.SequenceEqual(input.Include) - ) && + ) && ( this.Exclude == input.Exclude || this.Exclude != null && diff --git a/src/TestIt.Client/Model/TestRunFillByAutoTestsPostModel.cs b/src/TestIT.ApiClient/Model/TestRunFillByAutoTestsPostModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestRunFillByAutoTestsPostModel.cs rename to src/TestIT.ApiClient/Model/TestRunFillByAutoTestsPostModel.cs index e4bd5857..0d565fda 100644 --- a/src/TestIt.Client/Model/TestRunFillByAutoTestsPostModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunFillByAutoTestsPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunFillByAutoTestsPostModel @@ -176,45 +176,45 @@ public bool Equals(TestRunFillByAutoTestsPostModel input) { return false; } - return + return ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.AutoTestExternalIds == input.AutoTestExternalIds || this.AutoTestExternalIds != null && input.AutoTestExternalIds != null && this.AutoTestExternalIds.SequenceEqual(input.AutoTestExternalIds) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Links == input.Links || this.Links != null && diff --git a/src/TestIt.Client/Model/TestRunFillByConfigurationsPostModel.cs b/src/TestIT.ApiClient/Model/TestRunFillByConfigurationsPostModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestRunFillByConfigurationsPostModel.cs rename to src/TestIT.ApiClient/Model/TestRunFillByConfigurationsPostModel.cs index 81419d17..05b71376 100644 --- a/src/TestIt.Client/Model/TestRunFillByConfigurationsPostModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunFillByConfigurationsPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunFillByConfigurationsPostModel @@ -171,44 +171,44 @@ public bool Equals(TestRunFillByConfigurationsPostModel input) { return false; } - return + return ( this.TestPointSelectors == input.TestPointSelectors || this.TestPointSelectors != null && input.TestPointSelectors != null && this.TestPointSelectors.SequenceEqual(input.TestPointSelectors) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Links == input.Links || this.Links != null && diff --git a/src/TestIt.Client/Model/TestRunFillByWorkItemsPostModel.cs b/src/TestIT.ApiClient/Model/TestRunFillByWorkItemsPostModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestRunFillByWorkItemsPostModel.cs rename to src/TestIT.ApiClient/Model/TestRunFillByWorkItemsPostModel.cs index 85e7982b..3f9a5f23 100644 --- a/src/TestIt.Client/Model/TestRunFillByWorkItemsPostModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunFillByWorkItemsPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunFillByWorkItemsPostModel @@ -186,50 +186,50 @@ public bool Equals(TestRunFillByWorkItemsPostModel input) { return false; } - return + return ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.WorkItemIds == input.WorkItemIds || this.WorkItemIds != null && input.WorkItemIds != null && this.WorkItemIds.SequenceEqual(input.WorkItemIds) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Links == input.Links || this.Links != null && diff --git a/src/TestIt.Client/Model/TestRunFilterModel.cs b/src/TestIT.ApiClient/Model/TestRunFilterModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestRunFilterModel.cs rename to src/TestIT.ApiClient/Model/TestRunFilterModel.cs index 78de1aae..c2eacf83 100644 --- a/src/TestIt.Client/Model/TestRunFilterModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunFilterModel @@ -188,63 +188,63 @@ public bool Equals(TestRunFilterModel input) { return false; } - return + return ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.StartedDate == input.StartedDate || (this.StartedDate != null && this.StartedDate.Equals(input.StartedDate)) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.AutoTestsCount == input.AutoTestsCount || (this.AutoTestsCount != null && this.AutoTestsCount.Equals(input.AutoTestsCount)) - ) && + ) && ( this.TestResultsOutcome == input.TestResultsOutcome || this.TestResultsOutcome != null && input.TestResultsOutcome != null && this.TestResultsOutcome.SequenceEqual(input.TestResultsOutcome) - ) && + ) && ( this.FailureCategory == input.FailureCategory || this.FailureCategory != null && input.FailureCategory != null && this.FailureCategory.SequenceEqual(input.FailureCategory) - ) && + ) && ( this.CompletedDate == input.CompletedDate || (this.CompletedDate != null && diff --git a/src/TestIt.Client/Model/TestRunFilterModelAutoTestsCount.cs b/src/TestIT.ApiClient/Model/TestRunFilterModelAutoTestsCount.cs similarity index 95% rename from src/TestIt.Client/Model/TestRunFilterModelAutoTestsCount.cs rename to src/TestIT.ApiClient/Model/TestRunFilterModelAutoTestsCount.cs index 452dce1d..a28283bb 100644 --- a/src/TestIt.Client/Model/TestRunFilterModelAutoTestsCount.cs +++ b/src/TestIT.ApiClient/Model/TestRunFilterModelAutoTestsCount.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Number of autoTests run in the test run @@ -99,12 +99,12 @@ public bool Equals(TestRunFilterModelAutoTestsCount input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/TestRunFilterModelCompletedDate.cs b/src/TestIT.ApiClient/Model/TestRunFilterModelCompletedDate.cs similarity index 95% rename from src/TestIt.Client/Model/TestRunFilterModelCompletedDate.cs rename to src/TestIT.ApiClient/Model/TestRunFilterModelCompletedDate.cs index 5b6387c6..b84d9234 100644 --- a/src/TestIt.Client/Model/TestRunFilterModelCompletedDate.cs +++ b/src/TestIT.ApiClient/Model/TestRunFilterModelCompletedDate.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a test run range of completed date to search for @@ -99,12 +99,12 @@ public bool Equals(TestRunFilterModelCompletedDate input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/TestRunFilterModelStartedDate.cs b/src/TestIT.ApiClient/Model/TestRunFilterModelStartedDate.cs similarity index 95% rename from src/TestIt.Client/Model/TestRunFilterModelStartedDate.cs rename to src/TestIT.ApiClient/Model/TestRunFilterModelStartedDate.cs index 5ebf810e..b3876b15 100644 --- a/src/TestIt.Client/Model/TestRunFilterModelStartedDate.cs +++ b/src/TestIT.ApiClient/Model/TestRunFilterModelStartedDate.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a test run range of started date to search for @@ -99,12 +99,12 @@ public bool Equals(TestRunFilterModelStartedDate input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/TestRunGroupByFailureClassModel.cs b/src/TestIT.ApiClient/Model/TestRunGroupByFailureClassModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunGroupByFailureClassModel.cs rename to src/TestIT.ApiClient/Model/TestRunGroupByFailureClassModel.cs index 58eb2598..1d6d17d3 100644 --- a/src/TestIt.Client/Model/TestRunGroupByFailureClassModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunGroupByFailureClassModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunGroupByFailureClassModel @@ -104,12 +104,12 @@ public bool Equals(TestRunGroupByFailureClassModel input) { return false; } - return + return ( this.FailureCategory == input.FailureCategory || (this.FailureCategory != null && this.FailureCategory.Equals(input.FailureCategory)) - ) && + ) && ( this.Value == input.Value || this.Value.Equals(input.Value) diff --git a/src/TestIt.Client/Model/TestRunGroupByStatusModel.cs b/src/TestIT.ApiClient/Model/TestRunGroupByStatusModel.cs similarity index 95% rename from src/TestIt.Client/Model/TestRunGroupByStatusModel.cs rename to src/TestIT.ApiClient/Model/TestRunGroupByStatusModel.cs index 408eae7c..6dc2070b 100644 --- a/src/TestIt.Client/Model/TestRunGroupByStatusModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunGroupByStatusModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunGroupByStatusModel @@ -104,12 +104,12 @@ public bool Equals(TestRunGroupByStatusModel input) { return false; } - return + return ( this.Status == input.Status || (this.Status != null && this.Status.Equals(input.Status)) - ) && + ) && ( this.Value == input.Value || this.Value.Equals(input.Value) diff --git a/src/TestIt.Client/Model/TestRunModel.cs b/src/TestIT.ApiClient/Model/TestRunModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestRunModel.cs rename to src/TestIT.ApiClient/Model/TestRunModel.cs index 19e2e679..be7132fe 100644 --- a/src/TestIt.Client/Model/TestRunModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunModel @@ -313,127 +313,127 @@ public bool Equals(TestRunModel input) { return false; } - return + return ( this.AutoTests == input.AutoTests || this.AutoTests != null && input.AutoTests != null && this.AutoTests.SequenceEqual(input.AutoTests) - ) && + ) && ( this.AutoTestsCount == input.AutoTestsCount || this.AutoTestsCount.Equals(input.AutoTestsCount) - ) && + ) && ( this.TestSuiteIds == input.TestSuiteIds || this.TestSuiteIds != null && input.TestSuiteIds != null && this.TestSuiteIds.SequenceEqual(input.TestSuiteIds) - ) && + ) && ( this.IsAutomated == input.IsAutomated || this.IsAutomated.Equals(input.IsAutomated) - ) && + ) && ( this.Analytic == input.Analytic || (this.Analytic != null && this.Analytic.Equals(input.Analytic)) - ) && + ) && ( this.TestResults == input.TestResults || this.TestResults != null && input.TestResults != null && this.TestResults.SequenceEqual(input.TestResults) - ) && + ) && ( this.TestPlan == input.TestPlan || (this.TestPlan != null && this.TestPlan.Equals(input.TestPlan)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.CreatedByUserName == input.CreatedByUserName || (this.CreatedByUserName != null && this.CreatedByUserName.Equals(input.CreatedByUserName)) - ) && + ) && ( this.StartedDate == input.StartedDate || (this.StartedDate != null && this.StartedDate.Equals(input.StartedDate)) - ) && + ) && ( this.CompletedDate == input.CompletedDate || (this.CompletedDate != null && this.CompletedDate.Equals(input.CompletedDate)) - ) && + ) && ( this.Build == input.Build || (this.Build != null && this.Build.Equals(input.Build)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.StateName == input.StateName || this.StateName.Equals(input.StateName) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.RunByUserId == input.RunByUserId || (this.RunByUserId != null && this.RunByUserId.Equals(input.RunByUserId)) - ) && + ) && ( this.StoppedByUserId == input.StoppedByUserId || (this.StoppedByUserId != null && this.StoppedByUserId.Equals(input.StoppedByUserId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/TestRunSearchQueryModel.cs b/src/TestIT.ApiClient/Model/TestRunSearchQueryModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunSearchQueryModel.cs rename to src/TestIT.ApiClient/Model/TestRunSearchQueryModel.cs index a94eca4b..dda055a8 100644 --- a/src/TestIt.Client/Model/TestRunSearchQueryModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunSearchQueryModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunSearchQueryModel @@ -135,34 +135,34 @@ public bool Equals(TestRunSearchQueryModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.StartedDate == input.StartedDate || (this.StartedDate != null && this.StartedDate.Equals(input.StartedDate)) - ) && + ) && ( this.CompletedDate == input.CompletedDate || (this.CompletedDate != null && this.CompletedDate.Equals(input.CompletedDate)) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && diff --git a/src/TestIt.Client/Model/TestRunSelectModel.cs b/src/TestIT.ApiClient/Model/TestRunSelectModel.cs similarity index 95% rename from src/TestIt.Client/Model/TestRunSelectModel.cs rename to src/TestIT.ApiClient/Model/TestRunSelectModel.cs index 68cd4287..fc5cc28e 100644 --- a/src/TestIt.Client/Model/TestRunSelectModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunSelectModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Model containing options to filter test runs @@ -99,12 +99,12 @@ public bool Equals(TestRunSelectModel input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/TestRunSelectModelExtractionModel.cs b/src/TestIT.ApiClient/Model/TestRunSelectModelExtractionModel.cs similarity index 95% rename from src/TestIt.Client/Model/TestRunSelectModelExtractionModel.cs rename to src/TestIT.ApiClient/Model/TestRunSelectModelExtractionModel.cs index bf2bafd0..fb57c7ce 100644 --- a/src/TestIt.Client/Model/TestRunSelectModelExtractionModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunSelectModelExtractionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Rules for different level entities inclusion/exclusion @@ -90,7 +90,7 @@ public bool Equals(TestRunSelectModelExtractionModel input) { return false; } - return + return ( this.Ids == input.Ids || (this.Ids != null && diff --git a/src/TestIt.Client/Model/TestRunSelectionModel.cs b/src/TestIT.ApiClient/Model/TestRunSelectionModel.cs similarity index 95% rename from src/TestIt.Client/Model/TestRunSelectionModel.cs rename to src/TestIT.ApiClient/Model/TestRunSelectionModel.cs index 5a3d3056..e8bd6458 100644 --- a/src/TestIt.Client/Model/TestRunSelectionModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunSelectionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Model containing options to filter test runs @@ -99,12 +99,12 @@ public bool Equals(TestRunSelectionModel input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/TestRunShortGetModel.cs b/src/TestIT.ApiClient/Model/TestRunShortGetModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunShortGetModel.cs rename to src/TestIT.ApiClient/Model/TestRunShortGetModel.cs index 562cb90b..4891ee8c 100644 --- a/src/TestIt.Client/Model/TestRunShortGetModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunShortGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunShortGetModel @@ -194,54 +194,54 @@ public bool Equals(TestRunShortGetModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.State == input.State || this.State.Equals(input.State) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.StartedDate == input.StartedDate || (this.StartedDate != null && this.StartedDate.Equals(input.StartedDate)) - ) && + ) && ( this.CompletedDate == input.CompletedDate || (this.CompletedDate != null && this.CompletedDate.Equals(input.CompletedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.AutoTestsCount == input.AutoTestsCount || this.AutoTestsCount.Equals(input.AutoTestsCount) - ) && + ) && ( this.Statistics == input.Statistics || (this.Statistics != null && diff --git a/src/TestIt.Client/Model/TestRunShortGetModelStatistics.cs b/src/TestIT.ApiClient/Model/TestRunShortGetModelStatistics.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunShortGetModelStatistics.cs rename to src/TestIT.ApiClient/Model/TestRunShortGetModelStatistics.cs index 93bf76ac..4deb0f47 100644 --- a/src/TestIt.Client/Model/TestRunShortGetModelStatistics.cs +++ b/src/TestIT.ApiClient/Model/TestRunShortGetModelStatistics.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Statistics of the test run @@ -99,12 +99,12 @@ public bool Equals(TestRunShortGetModelStatistics input) { return false; } - return + return ( this.Statuses == input.Statuses || (this.Statuses != null && this.Statuses.Equals(input.Statuses)) - ) && + ) && ( this.FailureCategories == input.FailureCategories || (this.FailureCategories != null && diff --git a/src/TestIt.Client/Model/TestRunShortModel.cs b/src/TestIT.ApiClient/Model/TestRunShortModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunShortModel.cs rename to src/TestIT.ApiClient/Model/TestRunShortModel.cs index 52495a20..6fc7ecf8 100644 --- a/src/TestIt.Client/Model/TestRunShortModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunShortModel @@ -154,36 +154,36 @@ public bool Equals(TestRunShortModel input) { return false; } - return + return ( this.StateName == input.StateName || this.StateName.Equals(input.StateName) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/TestRunState.cs b/src/TestIT.ApiClient/Model/TestRunState.cs similarity index 89% rename from src/TestIt.Client/Model/TestRunState.cs rename to src/TestIT.ApiClient/Model/TestRunState.cs index 6aea98db..ec098209 100644 --- a/src/TestIt.Client/Model/TestRunState.cs +++ b/src/TestIT.ApiClient/Model/TestRunState.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines TestRunState diff --git a/src/TestIt.Client/Model/TestRunStatisticsErrorCategoriesGetModel.cs b/src/TestIT.ApiClient/Model/TestRunStatisticsErrorCategoriesGetModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunStatisticsErrorCategoriesGetModel.cs rename to src/TestIT.ApiClient/Model/TestRunStatisticsErrorCategoriesGetModel.cs index 470332bb..f6761b3f 100644 --- a/src/TestIt.Client/Model/TestRunStatisticsErrorCategoriesGetModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunStatisticsErrorCategoriesGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunStatisticsErrorCategoriesGetModel @@ -136,23 +136,23 @@ public bool Equals(TestRunStatisticsErrorCategoriesGetModel input) { return false; } - return + return ( this.NoAnalytics == input.NoAnalytics || this.NoAnalytics.Equals(input.NoAnalytics) - ) && + ) && ( this.NoDefect == input.NoDefect || this.NoDefect.Equals(input.NoDefect) - ) && + ) && ( this.InfrastructureDefect == input.InfrastructureDefect || this.InfrastructureDefect.Equals(input.InfrastructureDefect) - ) && + ) && ( this.ProductDefect == input.ProductDefect || this.ProductDefect.Equals(input.ProductDefect) - ) && + ) && ( this.TestDefect == input.TestDefect || this.TestDefect.Equals(input.TestDefect) diff --git a/src/TestIt.Client/Model/TestRunStatisticsStatusesGetModel.cs b/src/TestIT.ApiClient/Model/TestRunStatisticsStatusesGetModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunStatisticsStatusesGetModel.cs rename to src/TestIT.ApiClient/Model/TestRunStatisticsStatusesGetModel.cs index 0c6c174c..5f76769f 100644 --- a/src/TestIt.Client/Model/TestRunStatisticsStatusesGetModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunStatisticsStatusesGetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunStatisticsStatusesGetModel @@ -136,23 +136,23 @@ public bool Equals(TestRunStatisticsStatusesGetModel input) { return false; } - return + return ( this.InProgress == input.InProgress || this.InProgress.Equals(input.InProgress) - ) && + ) && ( this.Passed == input.Passed || this.Passed.Equals(input.Passed) - ) && + ) && ( this.Failed == input.Failed || this.Failed.Equals(input.Failed) - ) && + ) && ( this.Skipped == input.Skipped || this.Skipped.Equals(input.Skipped) - ) && + ) && ( this.Blocked == input.Blocked || this.Blocked.Equals(input.Blocked) diff --git a/src/TestIt.Client/Model/TestRunTestResultsPartialBulkSetModel.cs b/src/TestIT.ApiClient/Model/TestRunTestResultsPartialBulkSetModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunTestResultsPartialBulkSetModel.cs rename to src/TestIT.ApiClient/Model/TestRunTestResultsPartialBulkSetModel.cs index 8c84de01..e9e1309b 100644 --- a/src/TestIt.Client/Model/TestRunTestResultsPartialBulkSetModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunTestResultsPartialBulkSetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunTestResultsPartialBulkSetModel @@ -130,29 +130,29 @@ public bool Equals(TestRunTestResultsPartialBulkSetModel input) { return false; } - return + return ( this.Selector == input.Selector || (this.Selector != null && this.Selector.Equals(input.Selector)) - ) && + ) && ( this.ResultReasonIds == input.ResultReasonIds || this.ResultReasonIds != null && input.ResultReasonIds != null && this.ResultReasonIds.SequenceEqual(input.ResultReasonIds) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.Comment == input.Comment || (this.Comment != null && this.Comment.Equals(input.Comment)) - ) && + ) && ( this.AttachmentIds == input.AttachmentIds || this.AttachmentIds != null && diff --git a/src/TestIt.Client/Model/TestRunTestResultsPartialBulkSetModelSelector.cs b/src/TestIT.ApiClient/Model/TestRunTestResultsPartialBulkSetModelSelector.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunTestResultsPartialBulkSetModelSelector.cs rename to src/TestIT.ApiClient/Model/TestRunTestResultsPartialBulkSetModelSelector.cs index dd3087e1..f8a52db1 100644 --- a/src/TestIt.Client/Model/TestRunTestResultsPartialBulkSetModelSelector.cs +++ b/src/TestIT.ApiClient/Model/TestRunTestResultsPartialBulkSetModelSelector.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Object with filters and extraction parameters @@ -99,12 +99,12 @@ public bool Equals(TestRunTestResultsPartialBulkSetModelSelector input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.TestResultIdsExtractionModel == input.TestResultIdsExtractionModel || (this.TestResultIdsExtractionModel != null && diff --git a/src/TestIt.Client/Model/TestRunTestResultsSelectModel.cs b/src/TestIT.ApiClient/Model/TestRunTestResultsSelectModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunTestResultsSelectModel.cs rename to src/TestIT.ApiClient/Model/TestRunTestResultsSelectModel.cs index f50c6381..12fd25f3 100644 --- a/src/TestIt.Client/Model/TestRunTestResultsSelectModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunTestResultsSelectModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunTestResultsSelectModel @@ -99,12 +99,12 @@ public bool Equals(TestRunTestResultsSelectModel input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.TestResultIdsExtractionModel == input.TestResultIdsExtractionModel || (this.TestResultIdsExtractionModel != null && diff --git a/src/TestIt.Client/Model/TestRunTestResultsSelectModelFilter.cs b/src/TestIT.ApiClient/Model/TestRunTestResultsSelectModelFilter.cs similarity index 97% rename from src/TestIt.Client/Model/TestRunTestResultsSelectModelFilter.cs rename to src/TestIT.ApiClient/Model/TestRunTestResultsSelectModelFilter.cs index d8f1b955..9c677154 100644 --- a/src/TestIt.Client/Model/TestRunTestResultsSelectModelFilter.cs +++ b/src/TestIT.ApiClient/Model/TestRunTestResultsSelectModelFilter.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Collection of filters to apply to search @@ -131,30 +131,30 @@ public bool Equals(TestRunTestResultsSelectModelFilter input) { return false; } - return + return ( this.ConfigurationIds == input.ConfigurationIds || this.ConfigurationIds != null && input.ConfigurationIds != null && this.ConfigurationIds.SequenceEqual(input.ConfigurationIds) - ) && + ) && ( this.Outcomes == input.Outcomes || this.Outcomes != null && input.Outcomes != null && this.Outcomes.SequenceEqual(input.Outcomes) - ) && + ) && ( this.FailureCategories == input.FailureCategories || this.FailureCategories != null && input.FailureCategories != null && this.FailureCategories.SequenceEqual(input.FailureCategories) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.ClassName == input.ClassName || (this.ClassName != null && diff --git a/src/TestIt.Client/Model/TestRunTestResultsSelectModelTestResultIdsExtractionModel.cs b/src/TestIT.ApiClient/Model/TestRunTestResultsSelectModelTestResultIdsExtractionModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunTestResultsSelectModelTestResultIdsExtractionModel.cs rename to src/TestIT.ApiClient/Model/TestRunTestResultsSelectModelTestResultIdsExtractionModel.cs index 3302dfdc..6015eaf7 100644 --- a/src/TestIt.Client/Model/TestRunTestResultsSelectModelTestResultIdsExtractionModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunTestResultsSelectModelTestResultIdsExtractionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Rules to include and exclude certain entities in result @@ -99,13 +99,13 @@ public bool Equals(TestRunTestResultsSelectModelTestResultIdsExtractionModel inp { return false; } - return + return ( this.Include == input.Include || this.Include != null && input.Include != null && this.Include.SequenceEqual(input.Include) - ) && + ) && ( this.Exclude == input.Exclude || this.Exclude != null && diff --git a/src/TestIt.Client/Model/TestRunUpdateMultipleModel.cs b/src/TestIT.ApiClient/Model/TestRunUpdateMultipleModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunUpdateMultipleModel.cs rename to src/TestIT.ApiClient/Model/TestRunUpdateMultipleModel.cs index 758abb42..8b99c672 100644 --- a/src/TestIt.Client/Model/TestRunUpdateMultipleModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunUpdateMultipleModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunUpdateMultipleModel @@ -127,22 +127,22 @@ public bool Equals(TestRunUpdateMultipleModel input) { return false; } - return + return ( this.SelectModel == input.SelectModel || (this.SelectModel != null && this.SelectModel.Equals(input.SelectModel)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.AttachmentUpdateScheme == input.AttachmentUpdateScheme || (this.AttachmentUpdateScheme != null && this.AttachmentUpdateScheme.Equals(input.AttachmentUpdateScheme)) - ) && + ) && ( this.LinkUpdateScheme == input.LinkUpdateScheme || (this.LinkUpdateScheme != null && diff --git a/src/TestIt.Client/Model/TestRunV2GetModel.cs b/src/TestIT.ApiClient/Model/TestRunV2GetModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestRunV2GetModel.cs rename to src/TestIT.ApiClient/Model/TestRunV2GetModel.cs index 628c0b5a..e0822a47 100644 --- a/src/TestIt.Client/Model/TestRunV2GetModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunV2GetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunV2GetModel @@ -259,89 +259,89 @@ public bool Equals(TestRunV2GetModel input) { return false; } - return + return ( this.StartedOn == input.StartedOn || (this.StartedOn != null && this.StartedOn.Equals(input.StartedOn)) - ) && + ) && ( this.CompletedOn == input.CompletedOn || (this.CompletedOn != null && this.CompletedOn.Equals(input.CompletedOn)) - ) && + ) && ( this.StateName == input.StateName || this.StateName.Equals(input.StateName) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.TestResults == input.TestResults || this.TestResults != null && input.TestResults != null && this.TestResults.SequenceEqual(input.TestResults) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.CreatedByUserName == input.CreatedByUserName || (this.CreatedByUserName != null && this.CreatedByUserName.Equals(input.CreatedByUserName)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && diff --git a/src/TestIt.Client/Model/TestRunV2PostShortModel.cs b/src/TestIT.ApiClient/Model/TestRunV2PostShortModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunV2PostShortModel.cs rename to src/TestIT.ApiClient/Model/TestRunV2PostShortModel.cs index 2d179075..159d2858 100644 --- a/src/TestIt.Client/Model/TestRunV2PostShortModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunV2PostShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunV2PostShortModel @@ -144,33 +144,33 @@ public bool Equals(TestRunV2PostShortModel input) { return false; } - return + return ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Links == input.Links || this.Links != null && diff --git a/src/TestIt.Client/Model/TestRunV2PutModel.cs b/src/TestIT.ApiClient/Model/TestRunV2PutModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestRunV2PutModel.cs rename to src/TestIT.ApiClient/Model/TestRunV2PutModel.cs index 05f7a957..1dc0c5c3 100644 --- a/src/TestIt.Client/Model/TestRunV2PutModel.cs +++ b/src/TestIT.ApiClient/Model/TestRunV2PutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestRunV2PutModel @@ -149,33 +149,33 @@ public bool Equals(TestRunV2PutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Links == input.Links || this.Links != null && diff --git a/src/TestIt.Client/Model/TestSuiteChangeViewModel.cs b/src/TestIT.ApiClient/Model/TestSuiteChangeViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestSuiteChangeViewModel.cs rename to src/TestIT.ApiClient/Model/TestSuiteChangeViewModel.cs index 25093bda..a72cbb67 100644 --- a/src/TestIt.Client/Model/TestSuiteChangeViewModel.cs +++ b/src/TestIT.ApiClient/Model/TestSuiteChangeViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestSuiteChangeViewModel @@ -122,23 +122,23 @@ public bool Equals(TestSuiteChangeViewModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Configurations == input.Configurations || this.Configurations != null && input.Configurations != null && this.Configurations.SequenceEqual(input.Configurations) - ) && + ) && ( this.WorkItemCount == input.WorkItemCount || this.WorkItemCount.Equals(input.WorkItemCount) diff --git a/src/TestIt.Client/Model/TestSuiteChangeViewModelChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/TestSuiteChangeViewModelChangedFieldViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestSuiteChangeViewModelChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/TestSuiteChangeViewModelChangedFieldViewModel.cs index ddead31e..aa34b114 100644 --- a/src/TestIt.Client/Model/TestSuiteChangeViewModelChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/TestSuiteChangeViewModelChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestSuiteChangeViewModelChangedFieldViewModel @@ -99,12 +99,12 @@ public bool Equals(TestSuiteChangeViewModelChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || (this.OldValue != null && this.OldValue.Equals(input.OldValue)) - ) && + ) && ( this.NewValue == input.NewValue || (this.NewValue != null && diff --git a/src/TestIt.Client/Model/TestSuiteType.cs b/src/TestIT.ApiClient/Model/TestSuiteType.cs similarity index 87% rename from src/TestIt.Client/Model/TestSuiteType.cs rename to src/TestIT.ApiClient/Model/TestSuiteType.cs index 102897dc..26b0ad11 100644 --- a/src/TestIt.Client/Model/TestSuiteType.cs +++ b/src/TestIT.ApiClient/Model/TestSuiteType.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines TestSuiteType diff --git a/src/TestIt.Client/Model/TestSuiteV2GetModel.cs b/src/TestIT.ApiClient/Model/TestSuiteV2GetModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestSuiteV2GetModel.cs rename to src/TestIT.ApiClient/Model/TestSuiteV2GetModel.cs index a4ebe921..f1fd4a07 100644 --- a/src/TestIt.Client/Model/TestSuiteV2GetModel.cs +++ b/src/TestIT.ApiClient/Model/TestSuiteV2GetModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestSuiteV2GetModel @@ -170,41 +170,41 @@ public bool Equals(TestSuiteV2GetModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.RefreshDate == input.RefreshDate || (this.RefreshDate != null && this.RefreshDate.Equals(input.RefreshDate)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.SaveStructure == input.SaveStructure || (this.SaveStructure != null && this.SaveStructure.Equals(input.SaveStructure)) - ) && + ) && ( this.AutoRefresh == input.AutoRefresh || (this.AutoRefresh != null && diff --git a/src/TestIt.Client/Model/TestSuiteV2PostModel.cs b/src/TestIT.ApiClient/Model/TestSuiteV2PostModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestSuiteV2PostModel.cs rename to src/TestIT.ApiClient/Model/TestSuiteV2PostModel.cs index dcfd1fb4..309c2633 100644 --- a/src/TestIt.Client/Model/TestSuiteV2PostModel.cs +++ b/src/TestIT.ApiClient/Model/TestSuiteV2PostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestSuiteV2PostModel @@ -150,31 +150,31 @@ public bool Equals(TestSuiteV2PostModel input) { return false; } - return + return ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.SaveStructure == input.SaveStructure || (this.SaveStructure != null && this.SaveStructure.Equals(input.SaveStructure)) - ) && + ) && ( this.AutoRefresh == input.AutoRefresh || (this.AutoRefresh != null && diff --git a/src/TestIt.Client/Model/TestSuiteV2PutModel.cs b/src/TestIT.ApiClient/Model/TestSuiteV2PutModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestSuiteV2PutModel.cs rename to src/TestIT.ApiClient/Model/TestSuiteV2PutModel.cs index bbd98806..7e1d8c62 100644 --- a/src/TestIt.Client/Model/TestSuiteV2PutModel.cs +++ b/src/TestIT.ApiClient/Model/TestSuiteV2PutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestSuiteV2PutModel @@ -136,26 +136,26 @@ public bool Equals(TestSuiteV2PutModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.AutoRefresh == input.AutoRefresh || (this.AutoRefresh != null && diff --git a/src/TestIt.Client/Model/TestSuiteV2TreeModel.cs b/src/TestIT.ApiClient/Model/TestSuiteV2TreeModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestSuiteV2TreeModel.cs rename to src/TestIT.ApiClient/Model/TestSuiteV2TreeModel.cs index 84d2655c..22862d0d 100644 --- a/src/TestIt.Client/Model/TestSuiteV2TreeModel.cs +++ b/src/TestIT.ApiClient/Model/TestSuiteV2TreeModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestSuiteV2TreeModel @@ -181,47 +181,47 @@ public bool Equals(TestSuiteV2TreeModel input) { return false; } - return + return ( this.Children == input.Children || this.Children != null && input.Children != null && this.Children.SequenceEqual(input.Children) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.RefreshDate == input.RefreshDate || (this.RefreshDate != null && this.RefreshDate.Equals(input.RefreshDate)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.SaveStructure == input.SaveStructure || (this.SaveStructure != null && this.SaveStructure.Equals(input.SaveStructure)) - ) && + ) && ( this.AutoRefresh == input.AutoRefresh || (this.AutoRefresh != null && diff --git a/src/TestIt.Client/Model/TestSuiteWithChildrenModel.cs b/src/TestIT.ApiClient/Model/TestSuiteWithChildrenModel.cs similarity index 96% rename from src/TestIt.Client/Model/TestSuiteWithChildrenModel.cs rename to src/TestIT.ApiClient/Model/TestSuiteWithChildrenModel.cs index aea17d83..3f9440db 100644 --- a/src/TestIt.Client/Model/TestSuiteWithChildrenModel.cs +++ b/src/TestIT.ApiClient/Model/TestSuiteWithChildrenModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestSuiteWithChildrenModel @@ -151,38 +151,38 @@ public bool Equals(TestSuiteWithChildrenModel input) { return false; } - return + return ( this.Children == input.Children || this.Children != null && input.Children != null && this.Children.SequenceEqual(input.Children) - ) && + ) && ( this.TesterId == input.TesterId || (this.TesterId != null && this.TesterId.Equals(input.TesterId)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.TestPlanId == input.TestPlanId || (this.TestPlanId != null && this.TestPlanId.Equals(input.TestPlanId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/TestSuiteWorkItemsSearchModel.cs b/src/TestIT.ApiClient/Model/TestSuiteWorkItemsSearchModel.cs similarity index 97% rename from src/TestIt.Client/Model/TestSuiteWorkItemsSearchModel.cs rename to src/TestIT.ApiClient/Model/TestSuiteWorkItemsSearchModel.cs index 2d6d40ed..9ec8543e 100644 --- a/src/TestIt.Client/Model/TestSuiteWorkItemsSearchModel.cs +++ b/src/TestIT.ApiClient/Model/TestSuiteWorkItemsSearchModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// TestSuiteWorkItemsSearchModel @@ -319,137 +319,137 @@ public bool Equals(TestSuiteWorkItemsSearchModel input) { return false; } - return + return ( this.TagNames == input.TagNames || this.TagNames != null && input.TagNames != null && this.TagNames.SequenceEqual(input.TagNames) - ) && + ) && ( this.EntityTypes == input.EntityTypes || this.EntityTypes != null && input.EntityTypes != null && this.EntityTypes.SequenceEqual(input.EntityTypes) - ) && + ) && ( this.NameOrId == input.NameOrId || (this.NameOrId != null && this.NameOrId.Equals(input.NameOrId)) - ) && + ) && ( this.IncludeIds == input.IncludeIds || this.IncludeIds != null && input.IncludeIds != null && this.IncludeIds.SequenceEqual(input.IncludeIds) - ) && + ) && ( this.ExcludeIds == input.ExcludeIds || this.ExcludeIds != null && input.ExcludeIds != null && this.ExcludeIds.SequenceEqual(input.ExcludeIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Ids == input.Ids || this.Ids != null && input.Ids != null && this.Ids.SequenceEqual(input.Ids) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.SectionIds == input.SectionIds || this.SectionIds != null && input.SectionIds != null && this.SectionIds.SequenceEqual(input.SectionIds) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.Priorities == input.Priorities || this.Priorities != null && input.Priorities != null && this.Priorities.SequenceEqual(input.Priorities) - ) && + ) && ( this.Types == input.Types || this.Types != null && input.Types != null && this.Types.SequenceEqual(input.Types) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.MedianDuration == input.MedianDuration || (this.MedianDuration != null && this.MedianDuration.Equals(input.MedianDuration)) - ) && + ) && ( this.IsAutomated == input.IsAutomated || (this.IsAutomated != null && this.IsAutomated.Equals(input.IsAutomated)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.AutoTestIds == input.AutoTestIds || this.AutoTestIds != null && diff --git a/src/TestIt.Client/Model/TestSuiteWorkItemsSearchModelDuration.cs b/src/TestIT.ApiClient/Model/TestSuiteWorkItemsSearchModelDuration.cs similarity index 95% rename from src/TestIt.Client/Model/TestSuiteWorkItemsSearchModelDuration.cs rename to src/TestIT.ApiClient/Model/TestSuiteWorkItemsSearchModelDuration.cs index 9484f669..bf2d4c35 100644 --- a/src/TestIt.Client/Model/TestSuiteWorkItemsSearchModelDuration.cs +++ b/src/TestIT.ApiClient/Model/TestSuiteWorkItemsSearchModelDuration.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a work item duration range to search for @@ -99,12 +99,12 @@ public bool Equals(TestSuiteWorkItemsSearchModelDuration input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/TestSuiteWorkItemsSearchModelMedianDuration.cs b/src/TestIT.ApiClient/Model/TestSuiteWorkItemsSearchModelMedianDuration.cs similarity index 95% rename from src/TestIt.Client/Model/TestSuiteWorkItemsSearchModelMedianDuration.cs rename to src/TestIT.ApiClient/Model/TestSuiteWorkItemsSearchModelMedianDuration.cs index cf56bcf8..9ba074d3 100644 --- a/src/TestIt.Client/Model/TestSuiteWorkItemsSearchModelMedianDuration.cs +++ b/src/TestIT.ApiClient/Model/TestSuiteWorkItemsSearchModelMedianDuration.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Specifies a work item median duration range to search for @@ -99,12 +99,12 @@ public bool Equals(TestSuiteWorkItemsSearchModelMedianDuration input) { return false; } - return + return ( this.From == input.From || (this.From != null && this.From.Equals(input.From)) - ) && + ) && ( this.To == input.To || (this.To != null && diff --git a/src/TestIt.Client/Model/UpdateAttachmentShortModel.cs b/src/TestIT.ApiClient/Model/UpdateAttachmentShortModel.cs similarity index 96% rename from src/TestIt.Client/Model/UpdateAttachmentShortModel.cs rename to src/TestIT.ApiClient/Model/UpdateAttachmentShortModel.cs index 40b06b9e..30377468 100644 --- a/src/TestIt.Client/Model/UpdateAttachmentShortModel.cs +++ b/src/TestIT.ApiClient/Model/UpdateAttachmentShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UpdateAttachmentShortModel @@ -104,11 +104,11 @@ public bool Equals(UpdateAttachmentShortModel input) { return false; } - return + return ( this.Action == input.Action || this.Action.Equals(input.Action) - ) && + ) && ( this.AttachmentIds == input.AttachmentIds || this.AttachmentIds != null && diff --git a/src/TestIt.Client/Model/UpdateAutoTestRequest.cs b/src/TestIT.ApiClient/Model/UpdateAutoTestRequest.cs similarity index 97% rename from src/TestIt.Client/Model/UpdateAutoTestRequest.cs rename to src/TestIT.ApiClient/Model/UpdateAutoTestRequest.cs index b60d22fe..daa2e042 100644 --- a/src/TestIt.Client/Model/UpdateAutoTestRequest.cs +++ b/src/TestIT.ApiClient/Model/UpdateAutoTestRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UpdateAutoTestRequest @@ -256,88 +256,88 @@ public bool Equals(UpdateAutoTestRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.WorkItemIdsForLinkWithAutoTest == input.WorkItemIdsForLinkWithAutoTest || this.WorkItemIdsForLinkWithAutoTest != null && input.WorkItemIdsForLinkWithAutoTest != null && this.WorkItemIdsForLinkWithAutoTest.SequenceEqual(input.WorkItemIdsForLinkWithAutoTest) - ) && + ) && ( this.ExternalId == input.ExternalId || (this.ExternalId != null && this.ExternalId.Equals(input.ExternalId)) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Namespace == input.Namespace || (this.Namespace != null && this.Namespace.Equals(input.Namespace)) - ) && + ) && ( this.Classname == input.Classname || (this.Classname != null && this.Classname.Equals(input.Classname)) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.Setup == input.Setup || this.Setup != null && input.Setup != null && this.Setup.SequenceEqual(input.Setup) - ) && + ) && ( this.Teardown == input.Teardown || this.Teardown != null && input.Teardown != null && this.Teardown.SequenceEqual(input.Teardown) - ) && + ) && ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Labels == input.Labels || this.Labels != null && input.Labels != null && this.Labels.SequenceEqual(input.Labels) - ) && + ) && ( this.IsFlaky == input.IsFlaky || (this.IsFlaky != null && this.IsFlaky.Equals(input.IsFlaky)) - ) && + ) && ( this.ExternalKey == input.ExternalKey || (this.ExternalKey != null && diff --git a/src/TestIt.Client/Model/UpdateCustomAttributeTestPlanProjectRelationsRequest.cs b/src/TestIT.ApiClient/Model/UpdateCustomAttributeTestPlanProjectRelationsRequest.cs similarity index 96% rename from src/TestIt.Client/Model/UpdateCustomAttributeTestPlanProjectRelationsRequest.cs rename to src/TestIT.ApiClient/Model/UpdateCustomAttributeTestPlanProjectRelationsRequest.cs index 5dedd711..391b4bb1 100644 --- a/src/TestIt.Client/Model/UpdateCustomAttributeTestPlanProjectRelationsRequest.cs +++ b/src/TestIT.ApiClient/Model/UpdateCustomAttributeTestPlanProjectRelationsRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UpdateCustomAttributeTestPlanProjectRelationsRequest @@ -116,16 +116,16 @@ public bool Equals(UpdateCustomAttributeTestPlanProjectRelationsRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsEnabled == input.IsEnabled || this.IsEnabled.Equals(input.IsEnabled) - ) && + ) && ( this.IsRequired == input.IsRequired || this.IsRequired.Equals(input.IsRequired) diff --git a/src/TestIt.Client/Model/UpdateEmptyRequest.cs b/src/TestIT.ApiClient/Model/UpdateEmptyRequest.cs similarity index 96% rename from src/TestIt.Client/Model/UpdateEmptyRequest.cs rename to src/TestIT.ApiClient/Model/UpdateEmptyRequest.cs index 7951e1d7..68ef0634 100644 --- a/src/TestIt.Client/Model/UpdateEmptyRequest.cs +++ b/src/TestIT.ApiClient/Model/UpdateEmptyRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UpdateEmptyRequest @@ -149,33 +149,33 @@ public bool Equals(UpdateEmptyRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.LaunchSource == input.LaunchSource || (this.LaunchSource != null && this.LaunchSource.Equals(input.LaunchSource)) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Links == input.Links || this.Links != null && diff --git a/src/TestIt.Client/Model/UpdateLinkShortModel.cs b/src/TestIT.ApiClient/Model/UpdateLinkShortModel.cs similarity index 95% rename from src/TestIt.Client/Model/UpdateLinkShortModel.cs rename to src/TestIT.ApiClient/Model/UpdateLinkShortModel.cs index 8d2201ec..0ca47c6a 100644 --- a/src/TestIt.Client/Model/UpdateLinkShortModel.cs +++ b/src/TestIT.ApiClient/Model/UpdateLinkShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UpdateLinkShortModel @@ -104,11 +104,11 @@ public bool Equals(UpdateLinkShortModel input) { return false; } - return + return ( this.Action == input.Action || this.Action.Equals(input.Action) - ) && + ) && ( this.Links == input.Links || this.Links != null && diff --git a/src/TestIt.Client/Model/UpdateParameterRequest.cs b/src/TestIT.ApiClient/Model/UpdateParameterRequest.cs similarity index 96% rename from src/TestIt.Client/Model/UpdateParameterRequest.cs rename to src/TestIT.ApiClient/Model/UpdateParameterRequest.cs index 85cc7fd6..97c2cc50 100644 --- a/src/TestIt.Client/Model/UpdateParameterRequest.cs +++ b/src/TestIT.ApiClient/Model/UpdateParameterRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UpdateParameterRequest @@ -124,17 +124,17 @@ public bool Equals(UpdateParameterRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Value == input.Value || (this.Value != null && this.Value.Equals(input.Value)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/UpdateProjectRequest.cs b/src/TestIT.ApiClient/Model/UpdateProjectRequest.cs similarity index 96% rename from src/TestIt.Client/Model/UpdateProjectRequest.cs rename to src/TestIT.ApiClient/Model/UpdateProjectRequest.cs index 114993c5..ec0d23f4 100644 --- a/src/TestIt.Client/Model/UpdateProjectRequest.cs +++ b/src/TestIT.ApiClient/Model/UpdateProjectRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UpdateProjectRequest @@ -131,22 +131,22 @@ public bool Equals(UpdateProjectRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsFavorite == input.IsFavorite || (this.IsFavorite != null && diff --git a/src/TestIt.Client/Model/UpdateProjectsAttributeRequest.cs b/src/TestIT.ApiClient/Model/UpdateProjectsAttributeRequest.cs similarity index 97% rename from src/TestIt.Client/Model/UpdateProjectsAttributeRequest.cs rename to src/TestIT.ApiClient/Model/UpdateProjectsAttributeRequest.cs index c5657772..81230515 100644 --- a/src/TestIt.Client/Model/UpdateProjectsAttributeRequest.cs +++ b/src/TestIT.ApiClient/Model/UpdateProjectsAttributeRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UpdateProjectsAttributeRequest @@ -170,39 +170,39 @@ public bool Equals(UpdateProjectsAttributeRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Options == input.Options || this.Options != null && input.Options != null && this.Options.SequenceEqual(input.Options) - ) && + ) && ( this.Type == input.Type || this.Type.Equals(input.Type) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsEnabled == input.IsEnabled || this.IsEnabled.Equals(input.IsEnabled) - ) && + ) && ( this.IsRequired == input.IsRequired || this.IsRequired.Equals(input.IsRequired) - ) && + ) && ( this.IsGlobal == input.IsGlobal || this.IsGlobal.Equals(input.IsGlobal) diff --git a/src/TestIt.Client/Model/UpdateSectionRequest.cs b/src/TestIT.ApiClient/Model/UpdateSectionRequest.cs similarity index 96% rename from src/TestIt.Client/Model/UpdateSectionRequest.cs rename to src/TestIT.ApiClient/Model/UpdateSectionRequest.cs index 303dec68..51844d8d 100644 --- a/src/TestIt.Client/Model/UpdateSectionRequest.cs +++ b/src/TestIT.ApiClient/Model/UpdateSectionRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UpdateSectionRequest @@ -148,33 +148,33 @@ public bool Equals(UpdateSectionRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ParentId == input.ParentId || (this.ParentId != null && this.ParentId.Equals(input.ParentId)) - ) && + ) && ( this.PreconditionSteps == input.PreconditionSteps || this.PreconditionSteps != null && input.PreconditionSteps != null && this.PreconditionSteps.SequenceEqual(input.PreconditionSteps) - ) && + ) && ( this.PostconditionSteps == input.PostconditionSteps || this.PostconditionSteps != null && diff --git a/src/TestIt.Client/Model/UpdateTestPlanRequest.cs b/src/TestIT.ApiClient/Model/UpdateTestPlanRequest.cs similarity index 97% rename from src/TestIt.Client/Model/UpdateTestPlanRequest.cs rename to src/TestIT.ApiClient/Model/UpdateTestPlanRequest.cs index 6499902d..f9e216cd 100644 --- a/src/TestIt.Client/Model/UpdateTestPlanRequest.cs +++ b/src/TestIT.ApiClient/Model/UpdateTestPlanRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UpdateTestPlanRequest @@ -210,63 +210,63 @@ public bool Equals(UpdateTestPlanRequest input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.LockedById == input.LockedById || (this.LockedById != null && this.LockedById.Equals(input.LockedById)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.StartDate == input.StartDate || (this.StartDate != null && this.StartDate.Equals(input.StartDate)) - ) && + ) && ( this.EndDate == input.EndDate || (this.EndDate != null && this.EndDate.Equals(input.EndDate)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Build == input.Build || (this.Build != null && this.Build.Equals(input.Build)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.ProductName == input.ProductName || (this.ProductName != null && this.ProductName.Equals(input.ProductName)) - ) && + ) && ( this.HasAutomaticDurationTimer == input.HasAutomaticDurationTimer || (this.HasAutomaticDurationTimer != null && this.HasAutomaticDurationTimer.Equals(input.HasAutomaticDurationTimer)) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && diff --git a/src/TestIt.Client/Model/UpdateWorkItemRequest.cs b/src/TestIT.ApiClient/Model/UpdateWorkItemRequest.cs similarity index 97% rename from src/TestIt.Client/Model/UpdateWorkItemRequest.cs rename to src/TestIT.ApiClient/Model/UpdateWorkItemRequest.cs index d2c3b6f9..a2ef0f78 100644 --- a/src/TestIt.Client/Model/UpdateWorkItemRequest.cs +++ b/src/TestIT.ApiClient/Model/UpdateWorkItemRequest.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UpdateWorkItemRequest @@ -275,88 +275,88 @@ public bool Equals(UpdateWorkItemRequest input) { return false; } - return + return ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Iterations == input.Iterations || this.Iterations != null && input.Iterations != null && this.Iterations.SequenceEqual(input.Iterations) - ) && + ) && ( this.AutoTests == input.AutoTests || this.AutoTests != null && input.AutoTests != null && this.AutoTests.SequenceEqual(input.AutoTests) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.SectionId == input.SectionId || (this.SectionId != null && this.SectionId.Equals(input.SectionId)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.State == input.State || this.State.Equals(input.State) - ) && + ) && ( this.Priority == input.Priority || this.Priority.Equals(input.Priority) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.PreconditionSteps == input.PreconditionSteps || this.PreconditionSteps != null && input.PreconditionSteps != null && this.PreconditionSteps.SequenceEqual(input.PreconditionSteps) - ) && + ) && ( this.PostconditionSteps == input.PostconditionSteps || this.PostconditionSteps != null && input.PostconditionSteps != null && this.PostconditionSteps.SequenceEqual(input.PostconditionSteps) - ) && + ) && ( this.Duration == input.Duration || this.Duration.Equals(input.Duration) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/UserRankModel.cs b/src/TestIT.ApiClient/Model/UserRankModel.cs similarity index 96% rename from src/TestIt.Client/Model/UserRankModel.cs rename to src/TestIT.ApiClient/Model/UserRankModel.cs index 8dedf7c1..5e599aca 100644 --- a/src/TestIt.Client/Model/UserRankModel.cs +++ b/src/TestIT.ApiClient/Model/UserRankModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UserRankModel @@ -140,27 +140,27 @@ public bool Equals(UserRankModel input) { return false; } - return + return ( this.Score == input.Score || this.Score.Equals(input.Score) - ) && + ) && ( this.WorkItemsCreated == input.WorkItemsCreated || this.WorkItemsCreated.Equals(input.WorkItemsCreated) - ) && + ) && ( this.PassedTestPoints == input.PassedTestPoints || this.PassedTestPoints.Equals(input.PassedTestPoints) - ) && + ) && ( this.FailedTestPoints == input.FailedTestPoints || this.FailedTestPoints.Equals(input.FailedTestPoints) - ) && + ) && ( this.SkippedTestPoints == input.SkippedTestPoints || this.SkippedTestPoints.Equals(input.SkippedTestPoints) - ) && + ) && ( this.BlockedTestPoints == input.BlockedTestPoints || this.BlockedTestPoints.Equals(input.BlockedTestPoints) diff --git a/src/TestIt.Client/Model/UserWithRankModel.cs b/src/TestIT.ApiClient/Model/UserWithRankModel.cs similarity index 96% rename from src/TestIt.Client/Model/UserWithRankModel.cs rename to src/TestIT.ApiClient/Model/UserWithRankModel.cs index 7062a229..db36de7d 100644 --- a/src/TestIt.Client/Model/UserWithRankModel.cs +++ b/src/TestIT.ApiClient/Model/UserWithRankModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// UserWithRankModel @@ -212,69 +212,69 @@ public bool Equals(UserWithRankModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.FirstName == input.FirstName || (this.FirstName != null && this.FirstName.Equals(input.FirstName)) - ) && + ) && ( this.LastName == input.LastName || (this.LastName != null && this.LastName.Equals(input.LastName)) - ) && + ) && ( this.MiddleName == input.MiddleName || (this.MiddleName != null && this.MiddleName.Equals(input.MiddleName)) - ) && + ) && ( this.UserName == input.UserName || (this.UserName != null && this.UserName.Equals(input.UserName)) - ) && + ) && ( this.DisplayName == input.DisplayName || (this.DisplayName != null && this.DisplayName.Equals(input.DisplayName)) - ) && + ) && ( this.UserType == input.UserType || (this.UserType != null && this.UserType.Equals(input.UserType)) - ) && + ) && ( this.AvatarUrl == input.AvatarUrl || (this.AvatarUrl != null && this.AvatarUrl.Equals(input.AvatarUrl)) - ) && + ) && ( this.AvatarMetadata == input.AvatarMetadata || (this.AvatarMetadata != null && this.AvatarMetadata.Equals(input.AvatarMetadata)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.IsDisabled == input.IsDisabled || this.IsDisabled.Equals(input.IsDisabled) - ) && + ) && ( this.ProviderId == input.ProviderId || (this.ProviderId != null && this.ProviderId.Equals(input.ProviderId)) - ) && + ) && ( this.IsActiveStatusByEntity == input.IsActiveStatusByEntity || this.IsActiveStatusByEntity.Equals(input.IsActiveStatusByEntity) - ) && + ) && ( this.UserRank == input.UserRank || (this.UserRank != null && diff --git a/src/TestIt.Client/Model/ValidateAntiForgeryTokenAttribute.cs b/src/TestIT.ApiClient/Model/ValidateAntiForgeryTokenAttribute.cs similarity index 96% rename from src/TestIt.Client/Model/ValidateAntiForgeryTokenAttribute.cs rename to src/TestIT.ApiClient/Model/ValidateAntiForgeryTokenAttribute.cs index 2e3abc5f..1a4594e2 100644 --- a/src/TestIt.Client/Model/ValidateAntiForgeryTokenAttribute.cs +++ b/src/TestIT.ApiClient/Model/ValidateAntiForgeryTokenAttribute.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ValidateAntiForgeryTokenAttribute @@ -125,15 +125,15 @@ public bool Equals(ValidateAntiForgeryTokenAttribute input) { return false; } - return + return ( this.Order == input.Order || this.Order.Equals(input.Order) - ) && + ) && ( this.IsReusable == input.IsReusable || this.IsReusable.Equals(input.IsReusable) - ) && + ) && ( this.TypeId == input.TypeId || (this.TypeId != null && diff --git a/src/TestIt.Client/Model/ValidationProblemDetails.cs b/src/TestIT.ApiClient/Model/ValidationProblemDetails.cs similarity index 95% rename from src/TestIt.Client/Model/ValidationProblemDetails.cs rename to src/TestIT.ApiClient/Model/ValidationProblemDetails.cs index 5893778f..63ede3ff 100644 --- a/src/TestIt.Client/Model/ValidationProblemDetails.cs +++ b/src/TestIT.ApiClient/Model/ValidationProblemDetails.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// ValidationProblemDetails @@ -146,33 +146,33 @@ public bool Equals(ValidationProblemDetails input) { return false; } - return base.Equals(input) && + return base.Equals(input) && ( this.Errors == input.Errors || this.Errors != null && input.Errors != null && this.Errors.SequenceEqual(input.Errors) - ) && base.Equals(input) && + ) && base.Equals(input) && ( this.Type == input.Type || (this.Type != null && this.Type.Equals(input.Type)) - ) && base.Equals(input) && + ) && base.Equals(input) && ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && base.Equals(input) && + ) && base.Equals(input) && ( this.Status == input.Status || (this.Status != null && this.Status.Equals(input.Status)) - ) && base.Equals(input) && + ) && base.Equals(input) && ( this.Detail == input.Detail || (this.Detail != null && this.Detail.Equals(input.Detail)) - ) && base.Equals(input) && + ) && base.Equals(input) && ( this.Instance == input.Instance || (this.Instance != null && diff --git a/src/TestIt.Client/Model/WebHookEventType.cs b/src/TestIT.ApiClient/Model/WebHookEventType.cs similarity index 96% rename from src/TestIt.Client/Model/WebHookEventType.cs rename to src/TestIT.ApiClient/Model/WebHookEventType.cs index 9afe2948..0c066af0 100644 --- a/src/TestIt.Client/Model/WebHookEventType.cs +++ b/src/TestIT.ApiClient/Model/WebHookEventType.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines WebHookEventType diff --git a/src/TestIt.Client/Model/WebHookEventTypeModel.cs b/src/TestIT.ApiClient/Model/WebHookEventTypeModel.cs similarity index 96% rename from src/TestIt.Client/Model/WebHookEventTypeModel.cs rename to src/TestIT.ApiClient/Model/WebHookEventTypeModel.cs index 392253a4..68679677 100644 --- a/src/TestIt.Client/Model/WebHookEventTypeModel.cs +++ b/src/TestIT.ApiClient/Model/WebHookEventTypeModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines WebHookEventTypeModel diff --git a/src/TestIt.Client/Model/WebHookLogModel.cs b/src/TestIT.ApiClient/Model/WebHookLogModel.cs similarity index 96% rename from src/TestIt.Client/Model/WebHookLogModel.cs rename to src/TestIT.ApiClient/Model/WebHookLogModel.cs index 1147c38f..b94cd073 100644 --- a/src/TestIt.Client/Model/WebHookLogModel.cs +++ b/src/TestIT.ApiClient/Model/WebHookLogModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WebHookLogModel @@ -241,84 +241,84 @@ public bool Equals(WebHookLogModel input) { return false; } - return + return ( this.WebHookName == input.WebHookName || (this.WebHookName != null && this.WebHookName.Equals(input.WebHookName)) - ) && + ) && ( this.EventType == input.EventType || this.EventType.Equals(input.EventType) - ) && + ) && ( this.WebHookId == input.WebHookId || (this.WebHookId != null && this.WebHookId.Equals(input.WebHookId)) - ) && + ) && ( this.RequestBody == input.RequestBody || (this.RequestBody != null && this.RequestBody.Equals(input.RequestBody)) - ) && + ) && ( this.RequestMeta == input.RequestMeta || (this.RequestMeta != null && this.RequestMeta.Equals(input.RequestMeta)) - ) && + ) && ( this.ResponseStatusCode == input.ResponseStatusCode || this.ResponseStatusCode.Equals(input.ResponseStatusCode) - ) && + ) && ( this.ResponseBody == input.ResponseBody || (this.ResponseBody != null && this.ResponseBody.Equals(input.ResponseBody)) - ) && + ) && ( this.ResponseMeta == input.ResponseMeta || (this.ResponseMeta != null && this.ResponseMeta.Equals(input.ResponseMeta)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Url == input.Url || (this.Url != null && this.Url.Equals(input.Url)) - ) && + ) && ( this.RequestType == input.RequestType || this.RequestType.Equals(input.RequestType) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/WebHookModel.cs b/src/TestIT.ApiClient/Model/WebHookModel.cs similarity index 97% rename from src/TestIt.Client/Model/WebHookModel.cs rename to src/TestIT.ApiClient/Model/WebHookModel.cs index 100edcd4..306d5493 100644 --- a/src/TestIt.Client/Model/WebHookModel.cs +++ b/src/TestIT.ApiClient/Model/WebHookModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WebHookModel @@ -294,102 +294,102 @@ public bool Equals(WebHookModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.EventType == input.EventType || this.EventType.Equals(input.EventType) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Url == input.Url || (this.Url != null && this.Url.Equals(input.Url)) - ) && + ) && ( this.RequestType == input.RequestType || this.RequestType.Equals(input.RequestType) - ) && + ) && ( this.ShouldSendBody == input.ShouldSendBody || this.ShouldSendBody.Equals(input.ShouldSendBody) - ) && + ) && ( this.Headers == input.Headers || this.Headers != null && input.Headers != null && this.Headers.SequenceEqual(input.Headers) - ) && + ) && ( this.QueryParameters == input.QueryParameters || this.QueryParameters != null && input.QueryParameters != null && this.QueryParameters.SequenceEqual(input.QueryParameters) - ) && + ) && ( this.IsEnabled == input.IsEnabled || this.IsEnabled.Equals(input.IsEnabled) - ) && + ) && ( this.ShouldSendCustomBody == input.ShouldSendCustomBody || this.ShouldSendCustomBody.Equals(input.ShouldSendCustomBody) - ) && + ) && ( this.CustomBody == input.CustomBody || (this.CustomBody != null && this.CustomBody.Equals(input.CustomBody)) - ) && + ) && ( this.CustomBodyMediaType == input.CustomBodyMediaType || (this.CustomBodyMediaType != null && this.CustomBodyMediaType.Equals(input.CustomBodyMediaType)) - ) && + ) && ( this.ShouldReplaceParameters == input.ShouldReplaceParameters || this.ShouldReplaceParameters.Equals(input.ShouldReplaceParameters) - ) && + ) && ( this.ShouldEscapeParameters == input.ShouldEscapeParameters || this.ShouldEscapeParameters.Equals(input.ShouldEscapeParameters) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/WebHookPostModel.cs b/src/TestIT.ApiClient/Model/WebHookPostModel.cs similarity index 97% rename from src/TestIt.Client/Model/WebHookPostModel.cs rename to src/TestIT.ApiClient/Model/WebHookPostModel.cs index 34477dbd..d3536d88 100644 --- a/src/TestIt.Client/Model/WebHookPostModel.cs +++ b/src/TestIT.ApiClient/Model/WebHookPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WebHookPostModel @@ -234,67 +234,67 @@ public bool Equals(WebHookPostModel input) { return false; } - return + return ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.EventType == input.EventType || this.EventType.Equals(input.EventType) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Url == input.Url || (this.Url != null && this.Url.Equals(input.Url)) - ) && + ) && ( this.RequestType == input.RequestType || this.RequestType.Equals(input.RequestType) - ) && + ) && ( this.ShouldSendBody == input.ShouldSendBody || this.ShouldSendBody.Equals(input.ShouldSendBody) - ) && + ) && ( this.Headers == input.Headers || this.Headers != null && input.Headers != null && this.Headers.SequenceEqual(input.Headers) - ) && + ) && ( this.QueryParameters == input.QueryParameters || this.QueryParameters != null && input.QueryParameters != null && this.QueryParameters.SequenceEqual(input.QueryParameters) - ) && + ) && ( this.IsEnabled == input.IsEnabled || this.IsEnabled.Equals(input.IsEnabled) - ) && + ) && ( this.ShouldSendCustomBody == input.ShouldSendCustomBody || this.ShouldSendCustomBody.Equals(input.ShouldSendCustomBody) - ) && + ) && ( this.CustomBody == input.CustomBody || (this.CustomBody != null && this.CustomBody.Equals(input.CustomBody)) - ) && + ) && ( this.ShouldReplaceParameters == input.ShouldReplaceParameters || this.ShouldReplaceParameters.Equals(input.ShouldReplaceParameters) - ) && + ) && ( this.ShouldEscapeParameters == input.ShouldEscapeParameters || this.ShouldEscapeParameters.Equals(input.ShouldEscapeParameters) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/WebHookTestModel.cs b/src/TestIT.ApiClient/Model/WebHookTestModel.cs similarity index 96% rename from src/TestIt.Client/Model/WebHookTestModel.cs rename to src/TestIT.ApiClient/Model/WebHookTestModel.cs index afb21f10..8f9d3a9f 100644 --- a/src/TestIt.Client/Model/WebHookTestModel.cs +++ b/src/TestIT.ApiClient/Model/WebHookTestModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WebHookTestModel @@ -110,11 +110,11 @@ public bool Equals(WebHookTestModel input) { return false; } - return + return ( this.RequestType == input.RequestType || this.RequestType.Equals(input.RequestType) - ) && + ) && ( this.Url == input.Url || (this.Url != null && diff --git a/src/TestIt.Client/Model/WebhookVariablesType.cs b/src/TestIT.ApiClient/Model/WebhookVariablesType.cs similarity index 88% rename from src/TestIt.Client/Model/WebhookVariablesType.cs rename to src/TestIT.ApiClient/Model/WebhookVariablesType.cs index 83ac37a0..86edb776 100644 --- a/src/TestIt.Client/Model/WebhookVariablesType.cs +++ b/src/TestIT.ApiClient/Model/WebhookVariablesType.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines WebhookVariablesType diff --git a/src/TestIt.Client/Model/WorkItemChangeModel.cs b/src/TestIT.ApiClient/Model/WorkItemChangeModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemChangeModel.cs rename to src/TestIT.ApiClient/Model/WorkItemChangeModel.cs index 9bab5d63..6e2fbb14 100644 --- a/src/TestIt.Client/Model/WorkItemChangeModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemChangeModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemChangeModel @@ -149,37 +149,37 @@ public bool Equals(WorkItemChangeModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.WorkItemId == input.WorkItemId || (this.WorkItemId != null && this.WorkItemId.Equals(input.WorkItemId)) - ) && + ) && ( this.OldVersionId == input.OldVersionId || (this.OldVersionId != null && this.OldVersionId.Equals(input.OldVersionId)) - ) && + ) && ( this.NewVersionId == input.NewVersionId || (this.NewVersionId != null && this.NewVersionId.Equals(input.NewVersionId)) - ) && + ) && ( this.WorkItemChangedFields == input.WorkItemChangedFields || (this.WorkItemChangedFields != null && this.WorkItemChangedFields.Equals(input.WorkItemChangedFields)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && diff --git a/src/TestIt.Client/Model/WorkItemChangedAttributeViewModel.cs b/src/TestIT.ApiClient/Model/WorkItemChangedAttributeViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemChangedAttributeViewModel.cs rename to src/TestIT.ApiClient/Model/WorkItemChangedAttributeViewModel.cs index 59db6097..c98b459e 100644 --- a/src/TestIt.Client/Model/WorkItemChangedAttributeViewModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemChangedAttributeViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemChangedAttributeViewModel @@ -126,27 +126,27 @@ public bool Equals(WorkItemChangedAttributeViewModel input) { return false; } - return + return ( this.Type == input.Type || (this.Type != null && this.Type.Equals(input.Type)) - ) && + ) && ( this.OldAttributeName == input.OldAttributeName || (this.OldAttributeName != null && this.OldAttributeName.Equals(input.OldAttributeName)) - ) && + ) && ( this.NewAttributeName == input.NewAttributeName || (this.NewAttributeName != null && this.NewAttributeName.Equals(input.NewAttributeName)) - ) && + ) && ( this.OldValue == input.OldValue || (this.OldValue != null && this.OldValue.Equals(input.OldValue)) - ) && + ) && ( this.NewValue == input.NewValue || (this.NewValue != null && diff --git a/src/TestIt.Client/Model/WorkItemChangedFieldsViewModel.cs b/src/TestIT.ApiClient/Model/WorkItemChangedFieldsViewModel.cs similarity index 97% rename from src/TestIt.Client/Model/WorkItemChangedFieldsViewModel.cs rename to src/TestIT.ApiClient/Model/WorkItemChangedFieldsViewModel.cs index b90e087d..c4a65496 100644 --- a/src/TestIt.Client/Model/WorkItemChangedFieldsViewModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemChangedFieldsViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemChangedFieldsViewModel @@ -261,103 +261,103 @@ public bool Equals(WorkItemChangedFieldsViewModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.IsAutomated == input.IsAutomated || (this.IsAutomated != null && this.IsAutomated.Equals(input.IsAutomated)) - ) && + ) && ( this.SectionId == input.SectionId || (this.SectionId != null && this.SectionId.Equals(input.SectionId)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.State == input.State || (this.State != null && this.State.Equals(input.State)) - ) && + ) && ( this.Priority == input.Priority || (this.Priority != null && this.Priority.Equals(input.Priority)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.Steps == input.Steps || (this.Steps != null && this.Steps.Equals(input.Steps)) - ) && + ) && ( this.PreconditionSteps == input.PreconditionSteps || (this.PreconditionSteps != null && this.PreconditionSteps.Equals(input.PreconditionSteps)) - ) && + ) && ( this.PostconditionSteps == input.PostconditionSteps || (this.PostconditionSteps != null && this.PostconditionSteps.Equals(input.PostconditionSteps)) - ) && + ) && ( this.AutoTests == input.AutoTests || (this.AutoTests != null && this.AutoTests.Equals(input.AutoTests)) - ) && + ) && ( this.Attachments == input.Attachments || (this.Attachments != null && this.Attachments.Equals(input.Attachments)) - ) && + ) && ( this.Tags == input.Tags || (this.Tags != null && this.Tags.Equals(input.Tags)) - ) && + ) && ( this.Links == input.Links || (this.Links != null && this.Links.Equals(input.Links)) - ) && + ) && ( this.GlobalId == input.GlobalId || (this.GlobalId != null && this.GlobalId.Equals(input.GlobalId)) - ) && + ) && ( this.VersionNumber == input.VersionNumber || (this.VersionNumber != null && this.VersionNumber.Equals(input.VersionNumber)) - ) && + ) && ( this.EntityTypeName == input.EntityTypeName || (this.EntityTypeName != null && diff --git a/src/TestIt.Client/Model/WorkItemCommentModel.cs b/src/TestIT.ApiClient/Model/WorkItemCommentModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemCommentModel.cs rename to src/TestIT.ApiClient/Model/WorkItemCommentModel.cs index 3c39e0fe..78264695 100644 --- a/src/TestIt.Client/Model/WorkItemCommentModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemCommentModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemCommentModel @@ -149,37 +149,37 @@ public bool Equals(WorkItemCommentModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Text == input.Text || (this.Text != null && this.Text.Equals(input.Text)) - ) && + ) && ( this.User == input.User || (this.User != null && this.User.Equals(input.User)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && diff --git a/src/TestIt.Client/Model/WorkItemCommentPostModel.cs b/src/TestIT.ApiClient/Model/WorkItemCommentPostModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemCommentPostModel.cs rename to src/TestIT.ApiClient/Model/WorkItemCommentPostModel.cs index e29c3670..dac4713c 100644 --- a/src/TestIt.Client/Model/WorkItemCommentPostModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemCommentPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemCommentPostModel @@ -109,12 +109,12 @@ public bool Equals(WorkItemCommentPostModel input) { return false; } - return + return ( this.Text == input.Text || (this.Text != null && this.Text.Equals(input.Text)) - ) && + ) && ( this.WorkItemId == input.WorkItemId || (this.WorkItemId != null && diff --git a/src/TestIt.Client/Model/WorkItemCommentPutModel.cs b/src/TestIT.ApiClient/Model/WorkItemCommentPutModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemCommentPutModel.cs rename to src/TestIT.ApiClient/Model/WorkItemCommentPutModel.cs index 8693194b..2b02c795 100644 --- a/src/TestIt.Client/Model/WorkItemCommentPutModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemCommentPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemCommentPutModel @@ -111,12 +111,12 @@ public bool Equals(WorkItemCommentPutModel input) { return false; } - return + return ( this.Text == input.Text || (this.Text != null && this.Text.Equals(input.Text)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && diff --git a/src/TestIt.Client/Model/WorkItemEntityTypes.cs b/src/TestIT.ApiClient/Model/WorkItemEntityTypes.cs similarity index 88% rename from src/TestIt.Client/Model/WorkItemEntityTypes.cs rename to src/TestIT.ApiClient/Model/WorkItemEntityTypes.cs index 840b330a..001c2162 100644 --- a/src/TestIt.Client/Model/WorkItemEntityTypes.cs +++ b/src/TestIT.ApiClient/Model/WorkItemEntityTypes.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines WorkItemEntityTypes diff --git a/src/TestIt.Client/Model/WorkItemFilterModel.cs b/src/TestIT.ApiClient/Model/WorkItemFilterModel.cs similarity index 97% rename from src/TestIt.Client/Model/WorkItemFilterModel.cs rename to src/TestIT.ApiClient/Model/WorkItemFilterModel.cs index 91b4a066..3c4ddaf6 100644 --- a/src/TestIt.Client/Model/WorkItemFilterModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemFilterModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Collection of filters to apply to search @@ -297,125 +297,125 @@ public bool Equals(WorkItemFilterModel input) { return false; } - return + return ( this.NameOrId == input.NameOrId || (this.NameOrId != null && this.NameOrId.Equals(input.NameOrId)) - ) && + ) && ( this.IncludeIds == input.IncludeIds || this.IncludeIds != null && input.IncludeIds != null && this.IncludeIds.SequenceEqual(input.IncludeIds) - ) && + ) && ( this.ExcludeIds == input.ExcludeIds || this.ExcludeIds != null && input.ExcludeIds != null && this.ExcludeIds.SequenceEqual(input.ExcludeIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Ids == input.Ids || this.Ids != null && input.Ids != null && this.Ids.SequenceEqual(input.Ids) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.SectionIds == input.SectionIds || this.SectionIds != null && input.SectionIds != null && this.SectionIds.SequenceEqual(input.SectionIds) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.Priorities == input.Priorities || this.Priorities != null && input.Priorities != null && this.Priorities.SequenceEqual(input.Priorities) - ) && + ) && ( this.Types == input.Types || this.Types != null && input.Types != null && this.Types.SequenceEqual(input.Types) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.MedianDuration == input.MedianDuration || (this.MedianDuration != null && this.MedianDuration.Equals(input.MedianDuration)) - ) && + ) && ( this.IsAutomated == input.IsAutomated || (this.IsAutomated != null && this.IsAutomated.Equals(input.IsAutomated)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.AutoTestIds == input.AutoTestIds || this.AutoTestIds != null && diff --git a/src/TestIt.Client/Model/WorkItemIdModel.cs b/src/TestIT.ApiClient/Model/WorkItemIdModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemIdModel.cs rename to src/TestIT.ApiClient/Model/WorkItemIdModel.cs index 3d406e4e..59361986 100644 --- a/src/TestIt.Client/Model/WorkItemIdModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemIdModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemIdModel @@ -102,7 +102,7 @@ public bool Equals(WorkItemIdModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && diff --git a/src/TestIt.Client/Model/WorkItemIdentifierModel.cs b/src/TestIT.ApiClient/Model/WorkItemIdentifierModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemIdentifierModel.cs rename to src/TestIT.ApiClient/Model/WorkItemIdentifierModel.cs index 7e9b677b..0d223a2d 100644 --- a/src/TestIt.Client/Model/WorkItemIdentifierModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemIdentifierModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemIdentifierModel @@ -107,12 +107,12 @@ public bool Equals(WorkItemIdentifierModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) diff --git a/src/TestIt.Client/Model/WorkItemLikeModel.cs b/src/TestIT.ApiClient/Model/WorkItemLikeModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemLikeModel.cs rename to src/TestIT.ApiClient/Model/WorkItemLikeModel.cs index 4f55f4f6..b80f7335 100644 --- a/src/TestIt.Client/Model/WorkItemLikeModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemLikeModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemLikeModel @@ -151,37 +151,37 @@ public bool Equals(WorkItemLikeModel input) { return false; } - return + return ( this.WorkItemId == input.WorkItemId || (this.WorkItemId != null && this.WorkItemId.Equals(input.WorkItemId)) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) diff --git a/src/TestIt.Client/Model/WorkItemLinkChangeViewModel.cs b/src/TestIT.ApiClient/Model/WorkItemLinkChangeViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemLinkChangeViewModel.cs rename to src/TestIT.ApiClient/Model/WorkItemLinkChangeViewModel.cs index 611db2c5..b9d9e3a0 100644 --- a/src/TestIt.Client/Model/WorkItemLinkChangeViewModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemLinkChangeViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemLinkChangeViewModel @@ -140,31 +140,31 @@ public bool Equals(WorkItemLinkChangeViewModel input) { return false; } - return + return ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.Url == input.Url || (this.Url != null && this.Url.Equals(input.Url)) - ) && + ) && ( this.Title == input.Title || (this.Title != null && this.Title.Equals(input.Title)) - ) && + ) && ( this.HasInfo == input.HasInfo || this.HasInfo.Equals(input.HasInfo) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.Type == input.Type || (this.Type != null && diff --git a/src/TestIt.Client/Model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.cs b/src/TestIT.ApiClient/Model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.cs rename to src/TestIT.ApiClient/Model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.cs index ecaf9adc..bae8aa47 100644 --- a/src/TestIt.Client/Model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemLinkChangeViewModelArrayChangedFieldViewModel @@ -99,13 +99,13 @@ public bool Equals(WorkItemLinkChangeViewModelArrayChangedFieldViewModel input) { return false; } - return + return ( this.OldValue == input.OldValue || this.OldValue != null && input.OldValue != null && this.OldValue.SequenceEqual(input.OldValue) - ) && + ) && ( this.NewValue == input.NewValue || this.NewValue != null && diff --git a/src/TestIt.Client/Model/WorkItemModel.cs b/src/TestIT.ApiClient/Model/WorkItemModel.cs similarity index 97% rename from src/TestIt.Client/Model/WorkItemModel.cs rename to src/TestIT.ApiClient/Model/WorkItemModel.cs index 96d69940..0ab13647 100644 --- a/src/TestIt.Client/Model/WorkItemModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemModel @@ -410,154 +410,154 @@ public bool Equals(WorkItemModel input) { return false; } - return + return ( this.VersionId == input.VersionId || (this.VersionId != null && this.VersionId.Equals(input.VersionId)) - ) && + ) && ( this.MedianDuration == input.MedianDuration || this.MedianDuration.Equals(input.MedianDuration) - ) && + ) && ( this.IsDeleted == input.IsDeleted || this.IsDeleted.Equals(input.IsDeleted) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.EntityTypeName == input.EntityTypeName || this.EntityTypeName.Equals(input.EntityTypeName) - ) && + ) && ( this.IsAutomated == input.IsAutomated || this.IsAutomated.Equals(input.IsAutomated) - ) && + ) && ( this.AutoTests == input.AutoTests || this.AutoTests != null && input.AutoTests != null && this.AutoTests.SequenceEqual(input.AutoTests) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.SectionPreconditionSteps == input.SectionPreconditionSteps || this.SectionPreconditionSteps != null && input.SectionPreconditionSteps != null && this.SectionPreconditionSteps.SequenceEqual(input.SectionPreconditionSteps) - ) && + ) && ( this.SectionPostconditionSteps == input.SectionPostconditionSteps || this.SectionPostconditionSteps != null && input.SectionPostconditionSteps != null && this.SectionPostconditionSteps.SequenceEqual(input.SectionPostconditionSteps) - ) && + ) && ( this.VersionNumber == input.VersionNumber || this.VersionNumber.Equals(input.VersionNumber) - ) && + ) && ( this.Iterations == input.Iterations || this.Iterations != null && input.Iterations != null && this.Iterations.SequenceEqual(input.Iterations) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.CreatedById == input.CreatedById || (this.CreatedById != null && this.CreatedById.Equals(input.CreatedById)) - ) && + ) && ( this.ModifiedById == input.ModifiedById || (this.ModifiedById != null && this.ModifiedById.Equals(input.ModifiedById)) - ) && + ) && ( this.GlobalId == input.GlobalId || this.GlobalId.Equals(input.GlobalId) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.SectionId == input.SectionId || (this.SectionId != null && this.SectionId.Equals(input.SectionId)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.State == input.State || this.State.Equals(input.State) - ) && + ) && ( this.Priority == input.Priority || this.Priority.Equals(input.Priority) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.PreconditionSteps == input.PreconditionSteps || this.PreconditionSteps != null && input.PreconditionSteps != null && this.PreconditionSteps.SequenceEqual(input.PreconditionSteps) - ) && + ) && ( this.PostconditionSteps == input.PostconditionSteps || this.PostconditionSteps != null && input.PostconditionSteps != null && this.PostconditionSteps.SequenceEqual(input.PostconditionSteps) - ) && + ) && ( this.Duration == input.Duration || this.Duration.Equals(input.Duration) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/WorkItemMovePostModel.cs b/src/TestIT.ApiClient/Model/WorkItemMovePostModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemMovePostModel.cs rename to src/TestIT.ApiClient/Model/WorkItemMovePostModel.cs index 879cceb6..97a16cbc 100644 --- a/src/TestIt.Client/Model/WorkItemMovePostModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemMovePostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemMovePostModel @@ -122,22 +122,22 @@ public bool Equals(WorkItemMovePostModel input) { return false; } - return + return ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.NewSectionId == input.NewSectionId || (this.NewSectionId != null && this.NewSectionId.Equals(input.NewSectionId)) - ) && + ) && ( this.OldSectionId == input.OldSectionId || (this.OldSectionId != null && this.OldSectionId.Equals(input.OldSectionId)) - ) && + ) && ( this.NextWorkItemId == input.NextWorkItemId || (this.NextWorkItemId != null && diff --git a/src/TestIt.Client/Model/WorkItemPostModel.cs b/src/TestIT.ApiClient/Model/WorkItemPostModel.cs similarity index 97% rename from src/TestIt.Client/Model/WorkItemPostModel.cs rename to src/TestIT.ApiClient/Model/WorkItemPostModel.cs index fd387d09..1146f236 100644 --- a/src/TestIt.Client/Model/WorkItemPostModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemPostModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemPostModel @@ -281,91 +281,91 @@ public bool Equals(WorkItemPostModel input) { return false; } - return + return ( this.EntityTypeName == input.EntityTypeName || this.EntityTypeName.Equals(input.EntityTypeName) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.State == input.State || this.State.Equals(input.State) - ) && + ) && ( this.Priority == input.Priority || this.Priority.Equals(input.Priority) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.PreconditionSteps == input.PreconditionSteps || this.PreconditionSteps != null && input.PreconditionSteps != null && this.PreconditionSteps.SequenceEqual(input.PreconditionSteps) - ) && + ) && ( this.PostconditionSteps == input.PostconditionSteps || this.PostconditionSteps != null && input.PostconditionSteps != null && this.PostconditionSteps.SequenceEqual(input.PostconditionSteps) - ) && + ) && ( this.Duration == input.Duration || this.Duration.Equals(input.Duration) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Iterations == input.Iterations || this.Iterations != null && input.Iterations != null && this.Iterations.SequenceEqual(input.Iterations) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.ProjectId == input.ProjectId || (this.ProjectId != null && this.ProjectId.Equals(input.ProjectId)) - ) && + ) && ( this.SectionId == input.SectionId || (this.SectionId != null && this.SectionId.Equals(input.SectionId)) - ) && + ) && ( this.AutoTests == input.AutoTests || this.AutoTests != null && diff --git a/src/TestIt.Client/Model/WorkItemPriorityModel.cs b/src/TestIT.ApiClient/Model/WorkItemPriorityModel.cs similarity index 89% rename from src/TestIt.Client/Model/WorkItemPriorityModel.cs rename to src/TestIT.ApiClient/Model/WorkItemPriorityModel.cs index 26acdbe8..c75bf552 100644 --- a/src/TestIt.Client/Model/WorkItemPriorityModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemPriorityModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines WorkItemPriorityModel diff --git a/src/TestIt.Client/Model/WorkItemPutModel.cs b/src/TestIT.ApiClient/Model/WorkItemPutModel.cs similarity index 97% rename from src/TestIt.Client/Model/WorkItemPutModel.cs rename to src/TestIT.ApiClient/Model/WorkItemPutModel.cs index a576aa25..243afe73 100644 --- a/src/TestIt.Client/Model/WorkItemPutModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemPutModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemPutModel @@ -275,88 +275,88 @@ public bool Equals(WorkItemPutModel input) { return false; } - return + return ( this.Attachments == input.Attachments || this.Attachments != null && input.Attachments != null && this.Attachments.SequenceEqual(input.Attachments) - ) && + ) && ( this.Iterations == input.Iterations || this.Iterations != null && input.Iterations != null && this.Iterations.SequenceEqual(input.Iterations) - ) && + ) && ( this.AutoTests == input.AutoTests || this.AutoTests != null && input.AutoTests != null && this.AutoTests.SequenceEqual(input.AutoTests) - ) && + ) && ( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) - ) && + ) && ( this.SectionId == input.SectionId || (this.SectionId != null && this.SectionId.Equals(input.SectionId)) - ) && + ) && ( this.Description == input.Description || (this.Description != null && this.Description.Equals(input.Description)) - ) && + ) && ( this.State == input.State || this.State.Equals(input.State) - ) && + ) && ( this.Priority == input.Priority || this.Priority.Equals(input.Priority) - ) && + ) && ( this.Steps == input.Steps || this.Steps != null && input.Steps != null && this.Steps.SequenceEqual(input.Steps) - ) && + ) && ( this.PreconditionSteps == input.PreconditionSteps || this.PreconditionSteps != null && input.PreconditionSteps != null && this.PreconditionSteps.SequenceEqual(input.PreconditionSteps) - ) && + ) && ( this.PostconditionSteps == input.PostconditionSteps || this.PostconditionSteps != null && input.PostconditionSteps != null && this.PostconditionSteps.SequenceEqual(input.PostconditionSteps) - ) && + ) && ( this.Duration == input.Duration || this.Duration.Equals(input.Duration) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.Links == input.Links || this.Links != null && input.Links != null && this.Links.SequenceEqual(input.Links) - ) && + ) && ( this.Name == input.Name || (this.Name != null && diff --git a/src/TestIt.Client/Model/WorkItemSearchQueryModel.cs b/src/TestIT.ApiClient/Model/WorkItemSearchQueryModel.cs similarity index 97% rename from src/TestIt.Client/Model/WorkItemSearchQueryModel.cs rename to src/TestIT.ApiClient/Model/WorkItemSearchQueryModel.cs index c1a1a1de..6aa980dd 100644 --- a/src/TestIt.Client/Model/WorkItemSearchQueryModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemSearchQueryModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemSearchQueryModel @@ -267,108 +267,108 @@ public bool Equals(WorkItemSearchQueryModel input) { return false; } - return + return ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Ids == input.Ids || this.Ids != null && input.Ids != null && this.Ids.SequenceEqual(input.Ids) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.SectionIds == input.SectionIds || this.SectionIds != null && input.SectionIds != null && this.SectionIds.SequenceEqual(input.SectionIds) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.Priorities == input.Priorities || this.Priorities != null && input.Priorities != null && this.Priorities.SequenceEqual(input.Priorities) - ) && + ) && ( this.Types == input.Types || this.Types != null && input.Types != null && this.Types.SequenceEqual(input.Types) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.MedianDuration == input.MedianDuration || (this.MedianDuration != null && this.MedianDuration.Equals(input.MedianDuration)) - ) && + ) && ( this.IsAutomated == input.IsAutomated || (this.IsAutomated != null && this.IsAutomated.Equals(input.IsAutomated)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.AutoTestIds == input.AutoTestIds || this.AutoTestIds != null && diff --git a/src/TestIt.Client/Model/WorkItemSelectModel.cs b/src/TestIT.ApiClient/Model/WorkItemSelectModel.cs similarity index 95% rename from src/TestIt.Client/Model/WorkItemSelectModel.cs rename to src/TestIT.ApiClient/Model/WorkItemSelectModel.cs index aeba6c04..f09ce8e7 100644 --- a/src/TestIt.Client/Model/WorkItemSelectModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemSelectModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Model containing options to filter work items @@ -99,12 +99,12 @@ public bool Equals(WorkItemSelectModel input) { return false; } - return + return ( this.Filter == input.Filter || (this.Filter != null && this.Filter.Equals(input.Filter)) - ) && + ) && ( this.ExtractionModel == input.ExtractionModel || (this.ExtractionModel != null && diff --git a/src/TestIt.Client/Model/WorkItemSelectModelExtractionModel.cs b/src/TestIT.ApiClient/Model/WorkItemSelectModelExtractionModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemSelectModelExtractionModel.cs rename to src/TestIT.ApiClient/Model/WorkItemSelectModelExtractionModel.cs index d8c68048..e2bc920c 100644 --- a/src/TestIt.Client/Model/WorkItemSelectModelExtractionModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemSelectModelExtractionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Rules for different level entities inclusion/exclusion @@ -108,17 +108,17 @@ public bool Equals(WorkItemSelectModelExtractionModel input) { return false; } - return + return ( this.Ids == input.Ids || (this.Ids != null && this.Ids.Equals(input.Ids)) - ) && + ) && ( this.SectionIds == input.SectionIds || (this.SectionIds != null && this.SectionIds.Equals(input.SectionIds)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || (this.ProjectIds != null && diff --git a/src/TestIt.Client/Model/WorkItemSelectModelFilter.cs b/src/TestIT.ApiClient/Model/WorkItemSelectModelFilter.cs similarity index 97% rename from src/TestIt.Client/Model/WorkItemSelectModelFilter.cs rename to src/TestIT.ApiClient/Model/WorkItemSelectModelFilter.cs index 5f49a680..aab6c31c 100644 --- a/src/TestIt.Client/Model/WorkItemSelectModelFilter.cs +++ b/src/TestIT.ApiClient/Model/WorkItemSelectModelFilter.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Collection of filters to apply to search @@ -297,125 +297,125 @@ public bool Equals(WorkItemSelectModelFilter input) { return false; } - return + return ( this.NameOrId == input.NameOrId || (this.NameOrId != null && this.NameOrId.Equals(input.NameOrId)) - ) && + ) && ( this.IncludeIds == input.IncludeIds || this.IncludeIds != null && input.IncludeIds != null && this.IncludeIds.SequenceEqual(input.IncludeIds) - ) && + ) && ( this.ExcludeIds == input.ExcludeIds || this.ExcludeIds != null && input.ExcludeIds != null && this.ExcludeIds.SequenceEqual(input.ExcludeIds) - ) && + ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) - ) && + ) && ( this.Ids == input.Ids || this.Ids != null && input.Ids != null && this.Ids.SequenceEqual(input.Ids) - ) && + ) && ( this.GlobalIds == input.GlobalIds || this.GlobalIds != null && input.GlobalIds != null && this.GlobalIds.SequenceEqual(input.GlobalIds) - ) && + ) && ( this.Attributes == input.Attributes || this.Attributes != null && input.Attributes != null && this.Attributes.SequenceEqual(input.Attributes) - ) && + ) && ( this.IsDeleted == input.IsDeleted || (this.IsDeleted != null && this.IsDeleted.Equals(input.IsDeleted)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || this.ProjectIds != null && input.ProjectIds != null && this.ProjectIds.SequenceEqual(input.ProjectIds) - ) && + ) && ( this.SectionIds == input.SectionIds || this.SectionIds != null && input.SectionIds != null && this.SectionIds.SequenceEqual(input.SectionIds) - ) && + ) && ( this.CreatedByIds == input.CreatedByIds || this.CreatedByIds != null && input.CreatedByIds != null && this.CreatedByIds.SequenceEqual(input.CreatedByIds) - ) && + ) && ( this.ModifiedByIds == input.ModifiedByIds || this.ModifiedByIds != null && input.ModifiedByIds != null && this.ModifiedByIds.SequenceEqual(input.ModifiedByIds) - ) && + ) && ( this.States == input.States || this.States != null && input.States != null && this.States.SequenceEqual(input.States) - ) && + ) && ( this.Priorities == input.Priorities || this.Priorities != null && input.Priorities != null && this.Priorities.SequenceEqual(input.Priorities) - ) && + ) && ( this.Types == input.Types || this.Types != null && input.Types != null && this.Types.SequenceEqual(input.Types) - ) && + ) && ( this.CreatedDate == input.CreatedDate || (this.CreatedDate != null && this.CreatedDate.Equals(input.CreatedDate)) - ) && + ) && ( this.ModifiedDate == input.ModifiedDate || (this.ModifiedDate != null && this.ModifiedDate.Equals(input.ModifiedDate)) - ) && + ) && ( this.Duration == input.Duration || (this.Duration != null && this.Duration.Equals(input.Duration)) - ) && + ) && ( this.MedianDuration == input.MedianDuration || (this.MedianDuration != null && this.MedianDuration.Equals(input.MedianDuration)) - ) && + ) && ( this.IsAutomated == input.IsAutomated || (this.IsAutomated != null && this.IsAutomated.Equals(input.IsAutomated)) - ) && + ) && ( this.Tags == input.Tags || this.Tags != null && input.Tags != null && this.Tags.SequenceEqual(input.Tags) - ) && + ) && ( this.AutoTestIds == input.AutoTestIds || this.AutoTestIds != null && diff --git a/src/TestIt.Client/Model/WorkItemShortModel.cs b/src/TestIT.ApiClient/Model/WorkItemShortModel.cs similarity index 99% rename from src/TestIt.Client/Model/WorkItemShortModel.cs rename to src/TestIT.ApiClient/Model/WorkItemShortModel.cs index f6981101..39615fc9 100644 --- a/src/TestIt.Client/Model/WorkItemShortModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemShortModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemShortModel diff --git a/src/TestIt.Client/Model/WorkItemState.cs b/src/TestIT.ApiClient/Model/WorkItemState.cs similarity index 87% rename from src/TestIt.Client/Model/WorkItemState.cs rename to src/TestIT.ApiClient/Model/WorkItemState.cs index 68427b0e..27ae54f7 100644 --- a/src/TestIt.Client/Model/WorkItemState.cs +++ b/src/TestIT.ApiClient/Model/WorkItemState.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines WorkItemState diff --git a/src/TestIt.Client/Model/WorkItemStates.cs b/src/TestIT.ApiClient/Model/WorkItemStates.cs similarity index 88% rename from src/TestIt.Client/Model/WorkItemStates.cs rename to src/TestIT.ApiClient/Model/WorkItemStates.cs index d317a497..76d07183 100644 --- a/src/TestIt.Client/Model/WorkItemStates.cs +++ b/src/TestIT.ApiClient/Model/WorkItemStates.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Defines WorkItemStates diff --git a/src/TestIt.Client/Model/WorkItemStepChangeViewModel.cs b/src/TestIT.ApiClient/Model/WorkItemStepChangeViewModel.cs similarity index 98% rename from src/TestIt.Client/Model/WorkItemStepChangeViewModel.cs rename to src/TestIT.ApiClient/Model/WorkItemStepChangeViewModel.cs index c8c011ca..a1e2bdcc 100644 --- a/src/TestIt.Client/Model/WorkItemStepChangeViewModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemStepChangeViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemStepChangeViewModel diff --git a/src/TestIt.Client/Model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.cs b/src/TestIT.ApiClient/Model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.cs similarity index 97% rename from src/TestIt.Client/Model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.cs rename to src/TestIT.ApiClient/Model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.cs index 3b73d8e2..f7b7dffb 100644 --- a/src/TestIt.Client/Model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel diff --git a/src/TestIt.Client/Model/WorkItemVersionModel.cs b/src/TestIT.ApiClient/Model/WorkItemVersionModel.cs similarity index 97% rename from src/TestIt.Client/Model/WorkItemVersionModel.cs rename to src/TestIT.ApiClient/Model/WorkItemVersionModel.cs index 4144fa5d..c94b4cf6 100644 --- a/src/TestIt.Client/Model/WorkItemVersionModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemVersionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// WorkItemVersionModel diff --git a/src/TestIt.Client/Model/WorkItemsExtractionModel.cs b/src/TestIT.ApiClient/Model/WorkItemsExtractionModel.cs similarity index 96% rename from src/TestIt.Client/Model/WorkItemsExtractionModel.cs rename to src/TestIT.ApiClient/Model/WorkItemsExtractionModel.cs index cc52887a..501ea7e6 100644 --- a/src/TestIt.Client/Model/WorkItemsExtractionModel.cs +++ b/src/TestIT.ApiClient/Model/WorkItemsExtractionModel.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Rules for different level entities inclusion/exclusion @@ -108,17 +108,17 @@ public bool Equals(WorkItemsExtractionModel input) { return false; } - return + return ( this.Ids == input.Ids || (this.Ids != null && this.Ids.Equals(input.Ids)) - ) && + ) && ( this.SectionIds == input.SectionIds || (this.SectionIds != null && this.SectionIds.Equals(input.SectionIds)) - ) && + ) && ( this.ProjectIds == input.ProjectIds || (this.ProjectIds != null && diff --git a/src/TestIt.Client/Model/WorkItemsExtractionModelIds.cs b/src/TestIT.ApiClient/Model/WorkItemsExtractionModelIds.cs similarity index 95% rename from src/TestIt.Client/Model/WorkItemsExtractionModelIds.cs rename to src/TestIT.ApiClient/Model/WorkItemsExtractionModelIds.cs index 16ddc8ed..d0923403 100644 --- a/src/TestIt.Client/Model/WorkItemsExtractionModelIds.cs +++ b/src/TestIT.ApiClient/Model/WorkItemsExtractionModelIds.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Extraction parameters for work items @@ -99,13 +99,13 @@ public bool Equals(WorkItemsExtractionModelIds input) { return false; } - return + return ( this.Include == input.Include || this.Include != null && input.Include != null && this.Include.SequenceEqual(input.Include) - ) && + ) && ( this.Exclude == input.Exclude || this.Exclude != null && diff --git a/src/TestIt.Client/Model/WorkItemsExtractionModelSectionIds.cs b/src/TestIT.ApiClient/Model/WorkItemsExtractionModelSectionIds.cs similarity index 95% rename from src/TestIt.Client/Model/WorkItemsExtractionModelSectionIds.cs rename to src/TestIT.ApiClient/Model/WorkItemsExtractionModelSectionIds.cs index cd10fed5..db6edcb4 100644 --- a/src/TestIt.Client/Model/WorkItemsExtractionModelSectionIds.cs +++ b/src/TestIT.ApiClient/Model/WorkItemsExtractionModelSectionIds.cs @@ -21,10 +21,10 @@ using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using FileParameter = TestIt.Client.Client.FileParameter; -using OpenAPIDateConverter = TestIt.Client.Client.OpenAPIDateConverter; +using FileParameter = TestIT.ApiClient.Client.FileParameter; +using OpenAPIDateConverter = TestIT.ApiClient.Client.OpenAPIDateConverter; -namespace TestIt.Client.Model +namespace TestIT.ApiClient.Model { /// /// Extraction parameters for sections @@ -99,13 +99,13 @@ public bool Equals(WorkItemsExtractionModelSectionIds input) { return false; } - return + return ( this.Include == input.Include || this.Include != null && input.Include != null && this.Include.SequenceEqual(input.Include) - ) && + ) && ( this.Exclude == input.Exclude || this.Exclude != null && diff --git a/src/TestIt.Client/TestIt.Client.csproj b/src/TestIT.ApiClient/TestIT.ApiClient.csproj similarity index 95% rename from src/TestIt.Client/TestIt.Client.csproj rename to src/TestIT.ApiClient/TestIT.ApiClient.csproj index b72bc3e1..423dacab 100644 --- a/src/TestIt.Client/TestIt.Client.csproj +++ b/src/TestIT.ApiClient/TestIT.ApiClient.csproj @@ -3,10 +3,11 @@ netstandard2.0 10 + 2.4.0 enable true Test IT API client - TestIt.ApiClient + TestIT.ApiClient Test IT Test IT TMS API client for .NET Copyright (c) 2019 - 2023 Test IT diff --git a/src/TestIt.Client.sln b/src/TestIt.Client.sln index 8adee93e..ae7bb71b 100644 --- a/src/TestIt.Client.sln +++ b/src/TestIt.Client.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestIt.Client", "TestIt.Client\TestIt.Client.csproj", "{B4E94E97-55A8-4BA7-9BFA-D1B8D237D6AF}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestIT.ApiClient", "TestIT.ApiClient\TestIT.ApiClient.csproj", "{B4E94E97-55A8-4BA7-9BFA-D1B8D237D6AF}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -22,4 +22,4 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection -EndGlobal \ No newline at end of file +EndGlobal